Commit Graph

412 Commits

Author SHA1 Message Date
Ramon Wenger 4fd09a0df0 Fix sentry bug 2024-02-13 17:21:33 +01:00
Lorenz Padberg 216f448137 Fix problem with duplicate usernames 2024-02-08 10:37:07 +01:00
Lorenz Padberg e338f2e2ad Use fast hasher when DEBUG settings is true 2024-02-05 10:45:19 +01:00
Lorenz Padberg 2b7d8eeda3 Add intermediate backups to migrations 2024-02-01 14:30:22 +01:00
Ramon Wenger 992b9945e5 Remove reference to removed settings variable 2023-12-14 17:16:08 +01:00
Ramon Wenger 95eb7e1295 Fix the platform setting when running tests 2023-12-11 16:44:34 +01:00
Lorenz Padberg 954ed9027d Refactor Sentry Middleware for Graphene 2023-12-11 16:44:34 +01:00
Ramon Wenger e66fd61ec9 Replace function based view with class based view and upgrade wagtail to
LTS
2023-12-11 16:44:34 +01:00
Ramon Wenger c47b263302 Adapt to new storage syntax in settings
Removed the old, deprecated syntax and replaced it with the new one
2023-12-11 16:44:34 +01:00
Ramon Wenger a2e85c337d Update custom GraphQLView to use new GraphQL 3.0 syntax 2023-12-11 16:44:34 +01:00
Ramon Wenger 6f563806f7 Update wagtail, django and wagtail_factories
Also make some changes according to the migration guides of those
packages.
2023-12-11 16:44:34 +01:00
Ramon Wenger 5a3e2501c6 Remove obsolete settings 2023-12-11 11:07:05 +01:00
Ramon Wenger 56364dee03 Move script 2023-12-06 09:29:29 +01:00
Ramon Wenger 97f2e50faf Add sentry tracing and replay plugins 2023-11-23 14:06:56 +01:00
Ramon Wenger 74991704c2 Add django management command to rename assignments and surveys 2023-10-05 18:13:36 +02:00
Ramon Wenger 51647c6092 Update settings for prod environment 2023-10-02 08:22:03 +02:00
Ramon Wenger 0dc6c2b15e Add some error handling to csv script 2023-09-28 15:35:41 +02:00
Ramon Wenger f183a51317 Add bulk translate django command, also some data files 2023-09-27 22:54:19 +02:00
Lorenz Padberg b8df28a993 Add documentation 2023-09-14 11:56:17 +02:00
Lorenz Padberg 784f6d8973 Reafctor for instrument and module models 2023-09-12 16:17:37 +02:00
Ramon Wenger 1c99ab9f42 Add feature flag for languages and i18n
Resolves MS-759 #complete
2023-08-30 22:03:32 +02:00
Ramon Wenger f660d45349 Add missing return in helper method 2023-08-30 20:56:15 +02:00
Ramon Wenger 569f8a3823 Use correct exception 2023-08-30 18:15:26 +02:00
Ramon Wenger 7707104da4 Add translate check for parent of topic 2023-08-30 17:41:59 +02:00
Ramon Wenger 5a71a9cec8 Add clearer messages to command 2023-08-30 16:38:15 +02:00
Ramon Wenger 8dc080a9fc Clean up and refactor 2023-08-30 11:12:09 +02:00
Ramon Wenger 4011c016dc Convert existing method to django command
Also rename it
2023-08-29 15:11:21 +02:00
Ramon Wenger dbec89ca8d Add method to migrate existing pages to another locale
Relates to MS-749 #complete

Add docstring for new migrate method
2023-08-28 16:51:40 +02:00
Ramon Wenger 2868b3e196 Activate i18n for wagtail to translate pages to french and english 2023-08-28 16:16:22 +02:00
Ramon Wenger c2b8bc1762 Integrate language into module filter 2023-08-24 19:49:09 +02:00
Ramon Wenger bb6425c27f Update instrument export command to include more html tags 2023-07-19 12:10:51 +02:00
Lorenz Padberg 2c8d7c4cc9 Merge branch 'feature/MS-737-DragAndDropCMS' into feature/MS-734-OnlyOwnerTeachersSeePortfolio 2023-07-18 11:26:47 +02:00
Lorenz Padberg 13239ef27e Apply inputs from pullrequest 2023-07-17 14:58:40 +02:00
Lorenz Padberg 2e826f81d5 Monkey Patch list ordering in wagtail 2023-07-17 13:09:32 +02:00
Lorenz Padberg 1de888b5cd Add Idea for the wagtail fix 2023-07-17 10:41:12 +02:00
Lorenz Padberg c962005286 Increase Test speed 2023-07-12 17:24:51 +02:00
Ramon Wenger 8938ec79cf Rewrite a test to use pytest syntax 2023-05-30 21:41:30 +02:00
Ramon Wenger 9d50db59f6 Add pytest dependency to project, also add config
Change deprecated code for importing translations

Change deprecated syntax in tests

Replace deprecated django url methods

Add plugins and change testing script
2023-05-30 16:30:28 +02:00
Ramon Wenger 5e78d08c48 Add some QoL scripts for restoring a database and extending a user
license
2023-05-23 12:31:57 +02:00
Ramon Wenger 6f4d50b033 Update command form exporting instruments 2023-05-23 12:30:58 +02:00
Ramon Wenger fc3feb1eb7 Fix wrong color in MyKV admin
Resolves MS-711 #complete
2023-05-17 15:14:30 +02:00
Ramon Wenger 7640db402d Change colors in editor depending on environment theme
Resolves MS-712 #complete
2023-05-11 16:29:03 +02:00
Ramon Wenger dd66bab53a Change secondary link color depending on theme env variable
Resolves MS-711 #complete
2023-05-08 17:49:35 +02:00
Ramon Wenger 5ed180ad88 Add linked models to module edit page 2023-04-12 16:02:49 +02:00
Ramon Wenger bbcfb98af6 Add an error message when deleting a page with protected foreign keys
Resolves MS-691 #complete
2023-04-11 16:47:18 +02:00
Ramon Wenger 05a7c3fc6f Add superscript and subscript inline text styles
Resolves MS-631 #complete
2023-04-11 16:45:27 +02:00
Ramon Wenger 8bdf17685a Make sentry errors more useful 2023-03-30 13:51:34 +02:00
Ramon Wenger cb0e23a5ba Fix typo in migration 2023-03-16 14:24:05 +01:00
Ramon Wenger 43ef014cd2 Add dependency to migration 2023-03-16 13:41:46 +01:00
Ramon Wenger 981758a99c Add error handling to migration 2023-03-16 12:07:11 +01:00