Commit Graph

52 Commits

Author SHA1 Message Date
Mawoka 1b644be0e3 Fix docker-compose (minio) and add basic logger 2025-10-25 11:03:52 +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 03e85f8586 Untested Ormar and FastAPI update 2025-05-20 12:12:06 +02:00
Mawoka b8aebd31ee Merge branch 'master' of https://github.com/BogPlaymate/ClassQuiz into BogPlaymate/master 2024-07-10 23:48:49 +02: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
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
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 4d6e919d77 Committing Everything 2024-07-08 10:41:54 +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 82900f3e3d Committing Everything 2024-07-05 19:22:01 +09:00
Mawoka 188a935012 🔒 Fixed some security issues. Please upgrade! 2024-01-21 23:15:30 +01:00
Mawoka e819adcb4c Closes #273 2023-08-23 18:13:25 +02:00
Mawoka 6a277cdf9f Added Moderation ratings 2023-08-01 17:44:30 +02:00
Mawoka 330f3d9b1d Made repo REUSE compliant 2023-06-30 13:16:12 +02:00
Mawoka c744ec162f Added Pixabay image search/import 2023-06-23 00:07:33 +02:00
Mawoka db26082a00 🚨 Fixed DeepSource issues 2023-06-14 16:33:44 +02:00
Mawoka bb8c3a07eb Added documentation about new storage and how to use it 2023-06-12 20:01:30 +02:00
Mawoka 44432b20c7 Added storage_limit for user accounts 2023-05-30 11:14:46 +02:00
Mawoka a8b59ce6f5 Added streaming up- and downloads, fixed file sizes and added a (not working) dashboard 2023-05-29 16:24:38 +02:00
Mawoka 7222fb5632 Added basic upload endpoint 2023-05-25 13:41:55 +02:00
Mawoka a0b02ec9c3 Added s3 storage 2023-04-18 19:22:26 +02:00
Mawoka dd8be0a772 Custom OAuth works 2023-02-17 15:14:49 +01:00
Mawoka c2a8c36142 :wip: Nearly finished openid 2023-02-17 12:18:28 +01:00
Mawoka 86821e2eb3 :wip: Some changes in custom-oauth 2023-02-16 20:11:57 +01:00
Mawoka 6f77bdebe1 Added some files and config for openid 2023-02-14 17:44:19 +01:00
Mawoka 1633d56299 Added background-image to quizzes 2022-12-28 19:07:32 +01:00
Mawoka 38790232c2 🚑 Fixed allowed html-tags for custom formatting 2022-11-21 17:15:06 +01:00
Mawoka c7647705bc 🐛 Fixed recaptcha-env-variable 2022-10-06 18:46:45 +02:00
Mawoka caaae303cf Added reCaptcha v3 2022-10-05 17:57:01 +02:00
Mawoka 56e78dd25a 🌐 Integrated Italian translation 2022-08-29 16:05:37 +02:00
Mawoka 469cd3e779 📄 Added license-note to every file 2022-07-02 17:20:55 +02:00
Mawoka 6d5fac39fd 🚧 Last change 2022-06-17 00:11:08 +02:00
Mawoka 5b92e33338 Removed SQLite-support 2022-06-14 16:58:43 +02:00
Mawoka 39dce66b78 Added GitHub and Google OAuth 2022-06-11 16:48:24 +02:00
Mawoka 60cb986cbe Switched from sentry to GlitchTip 2022-05-12 18:12:17 +02:00
Mawoka d43795b35f Added search 2022-04-14 12:43:28 +02:00
Mawoka 6d5ba5ce74 🎨 black 2022-04-09 11:06:36 +02:00
Mawoka 87920b055c 🚨 Made flake8 happy 2022-04-09 10:29:55 +02:00
Mawoka f4eeb5188f Update config.py 2022-04-08 23:41:26 +02:00
Mawoka e649b5ac46 Files get deleted, if quiz gets deleted 2022-04-02 20:51:17 +02:00
Mawoka 0ec7c2b519 Added local-file-system storage 2022-04-01 22:25:09 +02:00
Mawoka b3a54ce4f5 Migrated to deta from imgur for image-storing 2022-04-01 18:38:32 +02:00
Mawoka e413c0191d Sentry in Backend, Image-Import, Settings-function improvement and reload detection 2022-03-30 18:29:09 +02:00
Mawoka 725cb4caee 🚨 Optimized python-imports 2022-03-06 16:29:20 +01:00
Mawoka 781ebfcb52 🎨 formatting 2022-03-03 16:56:51 +01:00