Commit Graph

19 Commits

Author SHA1 Message Date
Andrea a2b9f7a7c1 Simple cache debouncer, better logging, multi-room check optimizations
Added a simple cache refresh debouncer
Made the update_cache method return a boolean if the cache needed to update
Moved logging info to Sanic.log.logger
Made the admin check into a middleware
Added room check as a standalone action in the admin panel
Added a counter in the nose count for admins
2024-01-22 00:35:44 +01:00
Stranck ca2ad6589b Fixed upload size for propics 2024-01-13 16:59:13 +01:00
Stranck dafe98dfbb Updated prints 2024-01-11 18:15:56 +01:00
Stranck c5fb4fd55d Hash is not used anymore in propics upload 2024-01-10 11:24:24 +01:00
Stranck 5d815defc8 Fixed default propic and propic file removal 2024-01-09 23:42:54 +01:00
stranck 76c8df9e03 Merge pull request '[Various fixes]' (#7) from drew-dev into stranck-dev
Reviewed-on: #7
2024-01-08 22:08:59 +00:00
Stranck bebc7011cf Fixed python version support - propic 2024-01-08 23:04:34 +01:00
Andrea 823aaf4f13 [Various fixes]
Fix nosecount requiring an order to be displayed

Fix answer uploading bug

Code cleanup in propic
2024-01-08 23:04:11 +01:00
Andrea 53232de597 Auto Id Indexing + Admin panel + Propic upload checks + Room editing
Added auto indexing by metadata, instead of ID matching
Added checks to propic image uploading
Added an admin page, featuring:
 - Manual cache clearing
 Added admin controls in nosecount to unconfirm / rename or delete the room

Co-authored-by: Luca Sorace "Stranck" <stranck@users.noreply.github.com>
2024-01-08 22:02:27 +01:00
Stranck 6b70d91201 Fixed propic upload limits
If the size is bigger than 5MB the error will be handled by SANIC directly. Maybe we'd like a better user-visible handling?
2024-01-04 22:15:02 +01:00
Stranck 160d186aeb Furizon overlord - working 2023-12-30 11:27:42 +01:00
Ed 1519272463 Fixed cannot change propic 2023-08-06 15:08:27 +02:00
Ed 294d30a464 Translated ita -> eng and tidied for public release 2023-08-06 12:47:07 +02:00
Ed 86ceed6a93 Now you can upload pics even after the deadline 2023-05-23 22:15:01 +02:00
Ed 75fd737baa Added support for propic expiration 2023-05-08 22:08:44 +02:00
Ed 5d00cdd7f4 Propic clarification and option to lock propic editing 2023-01-19 17:03:38 +01:00
Ed 954a12e414 Removed accidental raise in propic 2023-01-08 11:46:04 +01:00
Ed a5ac5b175f Crop square pic, save original 2022-12-21 20:58:33 +01:00
Ed 8288aaf349 Added support for propic 2022-12-19 22:07:53 +01:00