Commit Graph

150 Commits

Author SHA1 Message Date
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
Ramon Wenger 6be6ab8092 Add mutation and unit test for duplication 2022-09-29 16:40:10 +02:00
Ramon Wenger 37e4461a22 Add category information to instrument queries 2022-09-15 16:04:37 +02:00
Lorenz Padberg c679f84236 Add cms-document-block to api and frontend 2022-07-25 18:24:34 +02:00
Lorenz Padberg 08970ff780 Add cms_block to uitls mutations 2022-07-25 16:32:06 +02:00
Ramon Wenger 0d7b948e44 Fix unit tests 2022-06-14 14:33:17 +02:00
Ramon Wenger e5641b7f93 Update unit test and add mutation 2022-06-14 11:27:32 +02:00
Ramon Wenger b12d1c1a9f Add mutation to update a snapshot 2022-05-25 21:55:55 +02:00
Ramon Wenger ae4fec5603 Remove unused code 2022-05-23 20:18:29 +02:00
Ramon Wenger 775bff5c1b Add new class instead of dict 2022-05-19 15:35:29 +02:00
Ramon Wenger 6e1501f33b Add 404 type response to topic query 2022-05-19 11:19:19 +02:00
Ramon Wenger a9c01bd6d9 Fix snapshot bug for cases when the snapshot has no creator 2022-04-14 16:41:10 +02:00
Ramon Wenger 61f006e1b3 Upgrade django and wagtail versions 2022-03-30 16:11:31 +02:00
Ramon Wenger b5ffb3ee29 Update mutation to pass test 2022-02-24 16:24:42 +01:00