Commit Graph

363 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
Ramon Wenger 496ff5bc16 Switch PROTECT to CASCADE on module-related models
Relates to MS-830
2024-05-02 15:36:52 +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 4594060aa4 Add unit test 2024-04-26 13:57:33 +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 d69b32cba1 Fix queries in test 2024-04-25 16:28:48 +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 edf14400ac Merge branch 'hotfix/custom-content-blocks-no-ids' into develop 2024-04-17 16:15:57 +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
Ramon Wenger 82d6ceb737 Add comment to mark code to be discussed 2024-04-15 15:03:20 +02:00
Ramon Wenger eeb0664a25 Fix unit test 2024-04-15 14:17:29 +02:00
Lorenz Padberg be4dac3b51 Remove Clean Module form 2024-04-12 12:07:48 +02:00
Lorenz Padberg 547dc29134 Use TitleFieldPanel for all StrictHierarcy Pages 2024-04-12 11:28:50 +02:00
Lorenz Padberg f398839765 Fix Module slug generation 2024-04-12 11:13:12 +02:00
Lorenz Padberg 101670355e Remove non working tests 2024-04-11 10:58:06 +02:00
Lorenz Padberg a883f94591 Add tests for createion over wagtail admin 2024-04-10 15:09:31 +02:00
Lorenz Padberg f7727140ea Fix bug, List content block not working. 2024-03-21 11:06:56 +01:00
Lorenz Padberg 4e77b0a286 Remove superflous management command 2024-03-04 14:41:47 +01:00
Lorenz Padberg 6019677890 Insert content block in correct location when migrating snapshots 2024-03-04 14:06:11 +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
Lorenz Padberg c418a2bbd3 Add new sorting to Snapshot migration 2024-02-27 11:39:37 +01:00
Lorenz Padberg db6c2c4f8b Fix CMS sorting bug 2024-02-27 09:47:03 +01:00
Lorenz Padberg 18c6e0ac72 Fix bug Custom objectives in hidden group 2024-02-26 15:57:07 +01:00
Lorenz Padberg 4e7443906d Remove unused code 2024-02-26 11:50:36 +01:00
Lorenz Padberg 3e86d9a620 Fix hidden default group bug 2024-02-26 11:34:19 +01:00
Lorenz Padberg 55fc5da9a7 Add test for hidden default content bug 2024-02-16 13:02:17 +01:00
Lorenz Padberg 16da66da31 Create Custom order for objective groups 2024-02-16 12:55:42 +01:00
Lorenz Padberg ea1816e3cc Add test to replicate order bug 2024-02-16 12:31:45 +01:00
Lorenz Padberg a07f2aab4f Merged in feature/MS851-MigrateSnapshots (pull request #143)
Feature/MS851 MigrateSnapshots

Approved-by: Ramon Wenger
2024-02-13 10:40:42 +00:00
Lorenz Padberg 216f448137 Fix problem with duplicate usernames 2024-02-08 10:37:07 +01:00
Lorenz Padberg fa68f68a6e Resolve comments from pull request 2024-02-07 11:15:34 +01:00
Lorenz Padberg 0631b42867 Add tests for objectives migration 2024-02-06 17:13:22 +01:00