Commit Graph

428 Commits

Author SHA1 Message Date
Joe Fox d7332e8b85 Delete classquiz/routers/sitemap (copy).py
Cleaning up
2024-07-11 06:27:45 +09:00
pre-commit-ci[bot] add85dc29f [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-07-10 19:40:35 +00:00
BogPlaymate 65cbcf2282 I made a minor error in the last push, so am pushing this again.
Config file changes
This file can now be pushed to the main branch. The following changes have taken place:
1) Removed my personal data.
2) Made it compliant with pydantic 2. This involved:
    a) Changing the way of noting optional strings (now 'none' strings). This is as elegant as is possible.
    b) Updating the imports. Origin code results in "pydantic.errors.PydanticImportError: `BaseSettings` has been moved to the `pydantic-settings` package. See https://docs.pydantic.dev/2.7/migration/#basesettings-has-moved-to-pydantic-settings for more details.
    c) converting urls using the str() method. Origin code results in AttributeError: 'pydantic_core._pydantic_core.Url' object has no attribute 'decode' For further information visit https://errors.pydantic.dev/2.7/u/import-error"

New developers will still need to fill out the mail_address, mail_password, mail_username, mail_port and secret_key before they can run the code. This is by design, though.
2024-07-09 18:01:44 +09:00
BogPlaymate d7a39513f6 Config file changes
This file can now be pushed to the main branch. The following changes have taken place:
1) Removed my personal data.
2) Made it compliant with pydantic 2. This involved:
    a) Changing the way of noting optional strings (now 'none' strings). This is as elegant as is possible.
    b) Updating the imports. Origin code results in "pydantic.errors.PydanticImportError: `BaseSettings` has been moved to the `pydantic-settings` package. See https://docs.pydantic.dev/2.7/migration/#basesettings-has-moved-to-pydantic-settings for more details.
    c) converting urls using the str() method. Origin code results in AttributeError: 'pydantic_core._pydantic_core.Url' object has no attribute 'decode' For further information visit https://errors.pydantic.dev/2.7/u/import-error"

New developers will still need to fill out the mail_address, mail_password, mail_username, mail_port and secret_key before they can run the code. This is by design, though.

Hope this saves time, Mawoka!
2024-07-09 17:54:52 +09:00
BogPlaymate d3e311ede5 Resolved naming conflict 2024-07-09 06:40:09 +09:00
BogPlaymate 95647ee794 Unusused code was previously commented out. This change deletes it entirely. 2024-07-07 21:14:47 +09:00
BogPlaymate 82900f3e3d Committing Everything 2024-07-05 19:22:01 +09:00
Mawoka a686aca841 🐛 Fix S3 upload not working 2024-06-16 12:28:54 +02:00
Mawoka 7e5acf82c6 🐛 Fix S3 upload not working 2024-06-15 23:23:26 +02:00
Mawoka e3788c815f 🐛 Fix S3 upload not working 2024-06-15 23:17:59 +02:00
Mawoka 0e29a22141 🐛 Fix S3 upload not working 2024-06-15 23:16:02 +02:00
Mawoka dcf3a1cee3 🐛 Fix S3 upload not working 2024-06-15 23:13:10 +02:00
Mawoka ac1072b4fa 🐛 Fix S3 upload not working 2024-06-15 21:47:55 +02:00
Mawoka fe12cf099f 🐛 Fix s3 upload failing 2024-06-15 21:16:41 +02:00
Marlon 573f7fc4d1 🐛 Fix excel import not working 2024-05-19 23:08:54 +02:00
Mawoka 65f3400f14 Improved email spam-score 2024-03-12 14:21:27 +01:00
Mawoka a5efd264da Updated dependencies 2024-02-15 22:07:38 +01:00
pre-commit-ci[bot] 73c29d04a5 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-01-29 21:09:51 +00:00
Mawoka 7e11c48891 🔒 Fixed another security found out by https://github.com/aplhk 2024-01-22 15:21:36 +01:00
Mawoka 188a935012 🔒 Fixed some security issues. Please upgrade! 2024-01-21 23:15:30 +01:00
Mawoka 936ae56693 🐛 Closes #323 2024-01-03 18:58:44 +01:00
Mawoka 341796a77a Decreasing the likelihood of collision during a quiz 2024-01-03 18:41:31 +01:00
Mawoka d1a97ca85d 🐛 Closes #244 2023-12-20 16:30:50 +01:00
Mawoka 6571fffb8f 🐛 Fixed overwriting images when importing from excel (#322) 2023-12-20 14:16:29 +01:00
Mawoka d5ce9f0337 🐛 Fixes #316 2023-12-08 10:40:11 +01:00
Mawoka 918f7314fc 🐛 Fixed Excel Import 2023-10-30 19:22:14 +01:00
Mawoka 31d1e3e3e6 Quizzes can now be exported as excel files 2023-10-30 11:11:50 +01:00
Mawoka 250d58d7c5 🐛 Fixed Controller answering multiple times 2023-10-11 17:22:04 +02:00
Mawoka 4cbdfb6c86 🐛 Fixed Controller answering multiple times 2023-10-11 17:16:33 +02:00
Mawoka 206e72c4e0 🐛 Fixed Controller answering multiple times 2023-10-11 17:12:37 +02:00
Mawoka 3dd0b65ceb 🐛 Fixed Controller answering multiple times 2023-10-11 15:31:54 +02:00
Marlon 0d6539d64f Merge pull request #287 from anleg/patch-1 2023-10-01 10:51:38 +02:00
Mawoka 121e693e92 Updated admin-join-screen 2023-10-01 10:49:44 +02:00
Anleg 71a27d3707 fix(models): RangeQuizAnswer is not a List 2023-09-29 22:07:02 +02:00
Mawoka dd0f953713 🚨 Fixed flake8 error 2023-09-18 21:03:13 +02:00
Mawoka 40dba3e469 🐛 Fixed show results button not working after nobody answered 2023-09-17 11:11:28 +02:00
Mawoka f712bdf3ef Implemented basic connection recovery 2023-09-12 16:31:23 +02:00
Mawoka e819adcb4c Closes #273 2023-08-23 18:13:25 +02:00
Mawoka 994983c58e Closing #216 2023-08-07 16:10:02 +02:00
Mawoka f84900b99a 🚨 Fixed linter errors and formatting 2023-08-02 09:45:02 +02:00
Mawoka 36dbd6cd60 🐛 Fixed non-latin-1 characters in image description (also closes #266) 2023-08-02 09:41:23 +02:00
Mawoka 051bceed8f 🚑 Fixed login allowing unverified accounts 2023-08-01 21:32:04 +02:00
Mawoka 6a277cdf9f Added Moderation ratings 2023-08-01 17:44:30 +02:00
Mawoka ab2e94b3df 🚑 Fixed broken like button 2023-07-12 11:28:06 +02:00
Mawoka 177719e21c Added proper delete constrains in database 2023-07-12 11:16:32 +02:00
Mawoka fc29be9c53 Import allows appending to quiz 2023-07-05 11:03:50 +02:00
Mawoka aa3b2909ef Finished Excel import 2023-07-04 22:37:43 +02:00
Mawoka 91da3571c3 🚧 Nearly finished excel-import 2023-07-04 15:45:20 +02:00
Mawoka ce5ffa4a80 Added option to shuffle answers 2023-07-04 10:48:02 +02:00
Mawoka 99232b442d Added Ratins, Plays and Views to Quizzes 2023-06-30 20:40:18 +02:00