Commit Graph

163 Commits

Author SHA1 Message Date
Lorenz Padberg 60637d48ed Make hero image not required (it is not required in the cms as well) 2024-05-03 16:47:43 +02:00
Lorenz Padberg db97bb1be8 Merge branch 'feature/edit-custom-assignments' into develop
# Conflicts:
#	server/api/graphene_wagtail.py
2024-05-03 15:36:37 +02:00
Lorenz Padberg 69d3fa845b Merge branch 'feature/MS-924-Wagtail-Image-Optimization' into develop
# Conflicts:
#	client/src/components/modules/Module.vue
2024-05-03 15:11:18 +02:00
Ramon Wenger 9d6085c7f1 Allow user to change assignments in custom content blocks 2024-05-02 22:46:47 +02:00
Lorenz Padberg 63bed54de1 Fix Snapshot error with heroImage 2024-04-30 20:35:58 +02:00
Lorenz Padberg 25cee52c72 Fix type inputs from PR 2024-04-30 19:55:32 +02:00
Lorenz Padberg ffa8e44997 Refactor for images that are square 2024-04-30 19:20:11 +02:00
Ramon Wenger 8987a99d61 Add assignment solution to mutation, add unit tests 2024-04-30 18:24:48 +02:00
Lorenz Padberg 0452389951 Refactor Wagtail Images to srcset 2024-04-30 14:06:49 +02:00
Ramon Wenger 823b69cf19 Update error message 2024-04-29 17:18:54 +02:00
Ramon Wenger 9e84908d10 Update mutation to also handle solutions 2024-04-26 13:57:33 +02:00
Ramon Wenger 12a4d7f477 Update formatting on some backend files 2024-04-26 13:54:07 +02:00
Lorenz Padberg 74820f52b6 Rafactoring Module.heroImage 2024-04-25 15:55:42 +02:00
Lorenz Padberg cd0eb08153 Use WagtailImageNode for Module hero Image 2024-04-25 15:55:42 +02:00
Lorenz Padberg 080d9f92d0 Add wagtail image component. And modify resolvers 2024-04-25 15:55:42 +02:00
Ramon Wenger 6ad39bcdb2 Add unit tests to test id creation in custom content blocks
Relates to MS-919
2024-04-17 16:14:48 +02:00
Lorenz Padberg f7727140ea Fix bug, List content block not working. 2024-03-21 11:06:56 +01:00
Ramon Wenger 5954151e2e Add properties to models and schema 2024-02-28 11:19:45 +01:00
Ramon Wenger ffea3fe1c9 Add more activities 2024-02-28 11:19:45 +01:00
Ramon Wenger 799e60e63a Add query for activities on server 2024-02-28 11:19:45 +01:00
Ramon Wenger 5c3ed10a26 Add server implementation and unit test for chapter highlight 2024-02-28 11:19:45 +01:00
Ramon Wenger 092a531d33 Add new mutation for module and chapter highlights 2024-02-28 11:14:45 +01:00
Ramon Wenger 7cf192f132 Refactor schema definitions to use less direct imports
This prevents some circular import issues
2024-02-28 11:14:45 +01:00
Ramon Wenger f3dc0e9b09 Add highlight model to server 2024-02-28 11:14:45 +01:00
Ramon Wenger 1927036610 Update and add to GraphQL typing in client and on server 2024-02-28 11:14:44 +01:00
Ramon Wenger 8e226e1187 Fix incorrect module level mutation 2023-08-31 14:59:43 +02:00
Ramon Wenger 2e5fa555d6 Add custom module form with custom clean method
Relates to MS-758
2023-08-28 16:51:45 +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 f955afed66 Update topic queries to only return the german version 2023-08-24 19:49:56 +02:00
Ramon Wenger c2b8bc1762 Integrate language into module filter 2023-08-24 19:49:09 +02:00
Ramon Wenger 81b2b41979 Add frontend language setting to local cache
Relates to MS-758
2023-08-24 12:29:54 +02:00
Lorenz Padberg bb54aeb145 Refactoring according to Puillrequest comments 2023-08-23 14:44:51 +02:00
Lorenz Padberg 5cd1876f31 Add filter attribute type "Alle Lehrjahre" 2023-08-21 16:06:29 +02:00
Lorenz Padberg 807c038a34 Rename ModuleCategoryType to ModuleCategory 2023-08-21 15:17:52 +02:00
Lorenz Padberg 0b1954c570 Rename ModuleCategory -> ModuleLevel 2023-08-21 14:22:28 +02:00
Lorenz Padberg 6d312da0ae Add Category Pills to Module 2023-08-15 16:36:47 +02:00
Lorenz Padberg 23bf51db52 Add update lastModuleCategory mutation 2023-08-15 16:36:47 +02:00
Lorenz Padberg f60f0d68da Filter Modules by Id 2023-08-15 16:36:47 +02:00
Lorenz Padberg aa095ac7ea Create ModuleFilters dynamically 2023-08-15 16:36:47 +02:00
Lorenz Padberg b5705cc991 Remove Tree structure from moduleCategory and CategoryType 2023-08-15 16:36:47 +02:00
Lorenz Padberg e99c703f55 Add Category and CategoryType to module 2023-08-15 16:36:47 +02:00
Ramon Wenger d1664592ce Change "invalid_coupon" error into a result 2023-05-24 00:26:29 +02:00
Ramon Wenger 5033668b79 Upgrade wagtail, update paths 2023-03-14 17:16:02 +01:00
Ramon Wenger 3ab0662a6a Add source to module hero image
Resolves MS-601
2023-02-14 15:25:43 +01:00
Ramon Wenger a629f6a5e6 Add copy link button to chapters, also generate redirect link 2023-02-09 17:48:42 +01:00
Ramon Wenger af4f19720b Add path property to contentblock 2023-02-07 14:23:39 +01:00
Ramon Wenger 10394a3829 Fix solution bug 2022-12-01 17:50:48 +01:00
Ramon Wenger 043f895810 Fix bug preventing users of adding new list blocks 2022-10-26 16:52:23 +02:00
Ramon Wenger a8bf34102f Fix a bug with nested items 2022-10-19 15:45:37 +02:00
Ramon Wenger 4489a8dcf8 Handle contents not editable by users on the server
Relates to MS-589
2022-10-04 17:11:03 +02:00