Commit Graph

1532 Commits

Author SHA1 Message Date
Marlon 9b97b1ddf6 Merge branch 'master' into master 2024-07-10 21:40:21 +02:00
BogPlaymate b9df60c452 Three changes:
1) Check whether a directory exists before attempting to create it (avoids warning message)
2) Check whether podman volume exists before attempting to create it (avoids warning message)
3) Check which Linux distribution is running, so that Redis can be launched. I have only tested this on Linux Mint (which is Ubunto based) so please check the uname -rv command on your machine. It should return a string which includes "Alpine". The mechanism for checking the Linux version is not perfect, but we probably  want to keep the run_tests as short as possible.

Any feedback welcomed. Have a great day!
2024-07-10 07:00:15 +09: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 2bfd73412d 🐛 Fix dev docker compose 2024-07-08 10:28:48 +02:00
Mawoka 523e26a0fa Add docker compose to replace old dev script 2024-07-08 10:20:50 +02: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 dbb8bdddb0 Merge pull request #376 from 266-750Balloons/patch-1
Revise self-hosting step from "at first" to "first".
2024-06-08 09:00:17 +02:00
266-750Balloons 8c19eff357 Revise self-hosting step from "at first" to "first". 2024-06-07 17:01:10 -07:00
Marlon 573f7fc4d1 🐛 Fix excel import not working 2024-05-19 23:08:54 +02:00
Marlon a5b5d0cd43 Merge pull request #364 from mawoka-myblock/translation 2024-04-10 15:32:09 +02:00
Marlon 62389aedb3 🌐 Fixed German translations 2024-04-10 15:31:59 +02:00
Alain Bachmann e18f9f705d 🌐 Translated (German)
Currently translated at 100.0% (380 of 380 strings)

Translation: ClassQuiz/Frontend
Translate-URL: https://hosted.weblate.org/projects/classquiz/frontend/de/
2024-04-09 18:04:20 +02:00
Marlon aac305a8bf Merge pull request #360 from mawoka-myblock/translation 2024-04-08 21:20:20 +02:00
Hasan Hameed 30f136d171 🌐 Translated (Arabic)
Currently translated at 55.2% (210 of 380 strings)

Translation: ClassQuiz/Frontend
Translate-URL: https://hosted.weblate.org/projects/classquiz/frontend/ar/
2024-04-07 22:02:05 +02:00
Mawoka 33d0ac31be 🚧 Maybe fix for overlapping text in old-school mode 2024-04-07 21:22:52 +02:00
Mawoka 5f3f248139 ⬇️ Downgraded webauthn 2024-04-07 21:05:44 +02:00
Mawoka bcb0c92382 📌 Fixed dependencies 2024-04-07 20:51:41 +02:00
Marlon ec7496ffce Merge pull request #358 from mawoka-myblock/translation 2024-04-07 15:19:05 +02:00
Hasan Hameed 2152787b25 🌐 Translated (Arabic)
Currently translated at 44.4% (169 of 380 strings)

Translation: ClassQuiz/Frontend
Translate-URL: https://hosted.weblate.org/projects/classquiz/frontend/ar/
2024-04-06 21:19:13 +02:00
Weblate Translation Memory f44da3edba 🌐 Translated (Arabic)
Currently translated at 44.4% (169 of 380 strings)

Translation: ClassQuiz/Frontend
Translate-URL: https://hosted.weblate.org/projects/classquiz/frontend/ar/
2024-04-06 21:19:12 +02:00
Hasan Hameed ce446555da 🌐 Translated (Arabic)
Currently translated at 44.4% (169 of 380 strings)

Translation: ClassQuiz/Frontend
Translate-URL: https://hosted.weblate.org/projects/classquiz/frontend/ar/
2024-04-06 21:19:11 +02:00
Marlon 1a32dd415e Merge pull request #300 from mawoka-myblock/dependabot/npm_and_yarn/frontend/crypto-js-4.2.0 2024-04-04 21:43:42 +02:00
Marlon 2d763dab6c Merge pull request #356 from mawoka-myblock/translation 2024-03-25 21:06:24 +01:00
宮脇丈治 25472e62d6 🌐 Translated (Japanese)
Currently translated at 70.2% (267 of 380 strings)

Translation: ClassQuiz/Frontend
Translate-URL: https://hosted.weblate.org/projects/classquiz/frontend/ja/
2024-03-25 15:31:03 +01:00
Weblate Translation Memory baa440f03f 🌐 Translated (Japanese)
Currently translated at 70.2% (267 of 380 strings)

Translation: ClassQuiz/Frontend
Translate-URL: https://hosted.weblate.org/projects/classquiz/frontend/ja/
2024-03-25 15:31:02 +01:00
Naoto Sone e310225c3d 🌐 Translated (Japanese)
Currently translated at 70.2% (267 of 380 strings)

Translation: ClassQuiz/Frontend
Translate-URL: https://hosted.weblate.org/projects/classquiz/frontend/ja/
2024-03-25 15:31:02 +01:00
Marlon d21f91c438 Merge pull request #354 from mawoka-myblock/pre-commit-ci-update-config 2024-03-20 17:14:55 +00:00
pre-commit-ci[bot] 664ca3aad8 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 24.2.0 → 24.3.0](https://github.com/psf/black/compare/24.2.0...24.3.0)
2024-03-18 22:42:43 +00:00
Marlon cb9b54a1c6 Merge pull request #353 from mawoka-myblock/translation 2024-03-16 23:12:37 +01:00
Carlos & 9524e6a8be 🌐 Translated (Portuguese)
Currently translated at 99.2% (377 of 380 strings)

Translation: ClassQuiz/Frontend
Translate-URL: https://hosted.weblate.org/projects/classquiz/frontend/pt/
2024-03-16 21:01:48 +01:00
Mawoka 65f3400f14 Improved email spam-score 2024-03-12 14:21:27 +01:00
Marlon 8c6608ecd6 Merge pull request #351 from mawoka-myblock/translation 2024-03-06 12:25:18 +01:00
宮脇丈治 40c9bd7275 🌐 Translated (Japanese)
Currently translated at 65.5% (249 of 380 strings)

Translation: ClassQuiz/Frontend
Translate-URL: https://hosted.weblate.org/projects/classquiz/frontend/ja/
2024-03-02 17:02:00 +01:00
Marlon 9f8214e3a1 Merge pull request #348 from mawoka-myblock/dependabot/pip/cryptography-42.0.4 2024-02-22 21:37:19 +01:00
Marlon 1f9810c4b7 Merge pull request #347 from mawoka-myblock/dependabot/pip/cbor2-5.6.2 2024-02-22 21:36:33 +01:00
dependabot[bot] 1f0bcb3ed9 ⬆️ Bump cryptography from 42.0.2 to 42.0.4
Bumps [cryptography](https://github.com/pyca/cryptography) from 42.0.2 to 42.0.4.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/42.0.2...42.0.4)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-21 20:45:53 +00:00
dependabot[bot] dfc4ef9c05 ⬆️ Bump cbor2 from 5.6.1 to 5.6.2
Bumps [cbor2](https://github.com/agronholm/cbor2) from 5.6.1 to 5.6.2.
- [Release notes](https://github.com/agronholm/cbor2/releases)
- [Changelog](https://github.com/agronholm/cbor2/blob/master/docs/versionhistory.rst)
- [Commits](https://github.com/agronholm/cbor2/compare/5.6.1...5.6.2)

---
updated-dependencies:
- dependency-name: cbor2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-21 00:20:24 +00:00
Mawoka 6004ce36ef Updated dependencies 2024-02-15 22:25:17 +01:00
Mawoka 769bc32c42 Updated dependencies 2024-02-15 22:16:56 +01:00
Mawoka 9ce3094f6e Merge remote-tracking branch 'origin/master' 2024-02-15 22:07:45 +01:00