Commit Graph

455 Commits

Author SHA1 Message Date
Marlon 13500c7e24 Merge pull request #443 from mawoka-myblock/frontend-dependency-update 2025-09-21 12:43:14 +02:00
Mawoka 51f1d74cf2 Quicksave 2025-08-22 12:33:15 +02:00
Marlon 5fafbcdde0 Update config.py 2025-08-20 21:16:36 +02:00
Mawoka 9c5516eac4 Fix game not running 2025-08-01 13:59:38 +02:00
Mawoka 986105c5a9 Merge branch 'master' into backend-dependency-update 2025-08-01 13:36:52 +02:00
Mawoka 8892a8882a More backend dependencies updates 2025-08-01 13:13:32 +02:00
Mawoka f86832892d Most dependencies updated, mostly tested 2025-05-20 16:00:03 +02:00
Mawoka 03e85f8586 Untested Ormar and FastAPI update 2025-05-20 12:12:06 +02:00
Marlon 802d6d9540 Merge pull request #409 from mawoka-myblock/testing 2024-10-18 12:03:50 +02:00
Mawoka c210b66ef5 Cleanup 2024-10-18 11:56:32 +02:00
Marlon a723ef5a22 🐛 Fix excel import when answer is a number 2024-07-14 22:14:36 +02:00
Mawoka 0ad07eced6 Option to hide question results 2024-07-11 21:53:18 +02:00
Mawoka e6d7a8d087 Move basic SocketIO session handling to redis 2024-07-11 19:50:22 +02:00
Mawoka abafdd40f9 🐛 Fix Pydantic breaking changes 2024-07-11 00:27:45 +02:00
Mawoka b8aebd31ee Merge branch 'master' of https://github.com/BogPlaymate/ClassQuiz into BogPlaymate/master 2024-07-10 23:48:49 +02:00
Joe Fox f630ed6ad7 Delete classquiz/config (copy).py
Cleaning up
2024-07-11 06:32:46 +09:00
Joe Fox 629417239c Delete classquiz/db/models (copy).py
Cleaning up
2024-07-11 06:29:12 +09:00
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
Mawoka 598f0f22e3 Fix RootModel 2024-07-08 11:43:15 +02:00
Mawoka f189d72728 Restore login.py with webauthn option 2024-07-08 11:40:54 +02:00
Mawoka 0dfcf2e454 Merge branch 'master' of https://github.com/BogPlaymate/ClassQuiz into BogPlaymate/master 2024-07-08 11:23:23 +02:00
Mawoka 5a15ef2dc9 Update pydantic properly 2024-07-08 11:20:16 +02:00
Mawoka 695b3b43c6 Remove Backups and copies 2024-07-08 10:42:18 +02:00
pre-commit-ci[bot] 518a9d72f9 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-07-08 10:42:17 +02:00
BogPlaymate 800711b8b6 Unusused code was previously commented out. This change deletes it entirely. 2024-07-08 10:41:56 +02:00
BogPlaymate 4d6e919d77 Committing Everything 2024-07-08 10:41:54 +02:00
Mawoka 6ac607594b Remove Backups and copies 2024-07-08 10:40:02 +02:00
pre-commit-ci[bot] 1907b8ac43 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-07-07 12:19:28 +00: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