Commit Graph

67 Commits

Author SHA1 Message Date
kolo f9d65b159a add transaction deletion for creator: delete button in detail window, confirmation window, delete_transaction repo method 2026-07-15 01:37:16 +03:00
kolo 78930ab920 sort transactions newest-first in resident and user history; 40 transactions in creator history 2026-07-15 01:34:33 +03:00
kolo 061c9c9ad6 update 2026-07-15 01:29:40 +03:00
kolo d8e6cead6e fix empty message text in detail windows for media groups; add emoji to add room hours button 2026-07-15 01:21:57 +03:00
kolo ae940a58e6 fix broken emoji in remove_hours_remark_window, remove unused json import, add input validation to on_room_remark_input 2026-07-15 01:14:14 +03:00
kolo 504c454afb keep back button in dialog window: single photo via DynamicMedia, media group via bot with caption 2026-07-15 01:05:02 +03:00
kolo 16e9d7f124 send photo/media group with detail text as caption, not separately 2026-07-15 01:02:54 +03:00
kolo c325586ef9 fix: move item_id before FromDishka params in Select on_click handlers 2026-07-15 01:00:24 +03:00
kolo ccd06c99b0 show all photos immediately on transaction detail, remove All Photos button, fix bot KeyError 2026-07-15 00:59:23 +03:00
kolo 6d5608343a refactor: use AlbumMiddleware instead of MediaGroupCollector, send photos with caption, add photo support for room hours 2026-07-15 00:55:40 +03:00
kolo 05b4a79b40 refactor: move MediaGroupCollector to dishka DI instead of module-level dicts 2026-07-15 00:48:31 +03:00
kolo 53f30c923b fix: media group photos saving, add photos to user notifications, admin info in transaction details, remove deep link fallback
- Fix media group collection: use module-level dicts instead of dialog_data
  to avoid race conditions between concurrent handler calls
- Add photo/media group sending in user notifications (add/remove hours)
- Add admin username with emoji to all transaction detail windows
- Add emoji prefixes to detail content fields
- Support multiple photos via JSON array in photo_file_id column
- Change photo_file_id column from String(512) to Text
- Add get_photo_file_ids() helper with backward compat for single file_id
- Add 'All photos' button for media groups in detail views
- Remove /start photo_ deep link fallback handler
- Add Alembic migration for column type change
2026-07-15 00:45:58 +03:00
kolo 8526440d14 update 2026-04-29 10:43:00 +03:00
kolo f78f7bf1df update 2026-04-29 10:32:30 +03:00
kolo b380b0ce9b update 2026-04-29 10:22:59 +03:00
kolo 2904a6b730 update 2026-04-04 00:50:42 +03:00
kolo b548021b86 update 2026-04-04 00:44:09 +03:00
kolo 98274ffa49 update 2026-03-18 10:19:39 +03:00
kolo a7667c703b update 2026-03-18 10:16:39 +03:00
kolo b9cd26abf1 update 2026-03-18 09:36:10 +03:00
kolo d307061669 update 2026-03-18 09:22:50 +03:00
kolo 993eb988e4 update 2026-03-17 21:28:51 +03:00
kolo 9ff450b6be update 2026-03-17 21:19:07 +03:00
kolo 49c84565ac update 2026-03-17 21:13:15 +03:00
kolo b2eaa79f51 update 2026-03-17 21:06:49 +03:00
kolo eaeeb7bbce update 2026-03-17 20:41:01 +03:00
kolo f59791caf1 update 2026-03-17 20:36:51 +03:00
kolo c80faeb665 update 2026-03-17 20:27:30 +03:00
kolo d05f9c3042 update 2026-03-17 20:12:29 +03:00
kolo e796a5bfdd update 2026-03-04 01:43:20 +03:00
kolo 9b004c3a86 update 2026-03-04 01:21:06 +03:00
kolo c7ad35d343 update 2026-03-03 22:58:04 +03:00
kolo 7210ebd540 update 2026-03-03 22:50:47 +03:00
kolo 507258367a commit 2026-03-03 22:33:21 +03:00
kolo 69995cf099 update 2026-03-03 22:27:11 +03:00
kolo 4783735308 update 2026-03-03 22:13:53 +03:00
kolo 9bc13b0617 update 2026-03-01 17:00:49 +03:00
kolo 186de7af75 update 2026-03-01 16:53:32 +03:00
kolo 67c60bcbb8 update 2026-03-01 16:29:47 +03:00
kolo 52def1cb19 update 2026-03-01 16:26:47 +03:00
kolo 3d0dd57752 update 2026-03-01 16:19:55 +03:00
kolo cf0b0309fc update 2026-03-01 15:58:47 +03:00
kolo 1110d89bb0 update 2026-03-01 15:32:25 +03:00
kolo 8b05a2d512 update 2026-03-01 15:06:22 +03:00
kolo aff088723a update 2026-03-01 14:19:05 +03:00
kolo 8f7b8df096 update 2026-03-01 13:45:51 +03:00
kolo 84df1fe56b update 2026-03-01 01:53:17 +03:00
kolo 901c0c479e update 2026-03-01 01:29:07 +03:00
kolo d081b3b63c update 2026-03-01 01:25:22 +03:00
kolo f899eb9199 update 2026-03-01 01:14:32 +03:00