Commit Graph

301 Commits

Author SHA1 Message Date
Lorenz Padberg fdbdcb366e Merged in feature/Add-missing-migrations (pull request #140)
Add migrations to develop

Approved-by: Ramon Wenger
2023-12-20 10:34:15 +00:00
Ramon Wenger bb0bfb98ce Remove buggy logger statement 2023-12-18 17:14:53 +01:00
Ramon Wenger 486a92a9a4 Fix dummy_data 2023-12-18 17:01:15 +01:00
Lorenz Padberg 9e4c19c633 Add migrations to develop 2023-12-13 16:08:50 +01:00
Ramon Wenger d0fb5c5fe4 Fix unit test
Also fix factory magic for blocks that have contents defined using the
`wagtail_factories` syntax
2023-12-12 16:58:12 +01:00
Ramon Wenger 75ecaedd29 Fix content blocks in `dummy_data` command 2023-12-12 15:43:12 +01:00
Ramon Wenger 6823219846 Update factory definitions 2023-12-11 16:44:34 +01:00
Ramon Wenger f15afbf551 Update factory syntax in unit test 2023-12-11 16:44:34 +01:00
Ramon Wenger 6a2658051d Disable `stream_field_magic` methods, as the API for those has changed
Unit tests work without them, but the `dummy_data` command possibly no
longer.
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 8e226e1187 Fix incorrect module level mutation 2023-08-31 14:59:43 +02:00
Lorenz Padberg 078a57b60a Update Categorize modules functions with ordering 2023-08-31 11:16:25 +02:00
Lorenz Padberg d91d80b6da Add Explicit Ordering to ModuleLevels and Categories 2023-08-31 10:49:42 +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
Ramon Wenger f44a9f37d8 Clean up code 2023-08-24 10:38:20 +02:00
Lorenz Padberg 678e064cfe Fix test 2023-08-23 16:45:00 +02:00
Lorenz Padberg bb54aeb145 Refactoring according to Puillrequest comments 2023-08-23 14:44:51 +02:00
Lorenz Padberg 139bb545d8 Skip failing test 2023-08-22 15:20:34 +02:00
Lorenz Padberg 990b92139f Add database migrations 2023-08-22 15:05:10 +02:00
Lorenz Padberg 5cd1876f31 Add filter attribute type "Alle Lehrjahre" 2023-08-21 16:06:29 +02:00
Lorenz Padberg 44f20c102b Add filter_attribute_type (all / exact) 2023-08-21 15:46:07 +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
Lorenz Padberg f88a85a54f Add module category to cms 2023-08-15 16:36:47 +02:00
Lorenz Padberg 631290722b Add first version of module filter component 2023-08-15 16:36:47 +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 d1664592ce Change "invalid_coupon" error into a result 2023-05-24 00:26:29 +02:00
Ramon Wenger 5a7df87107 Disable inline panels to prevent unintended deletions 2023-05-01 16:23:05 +02:00
Ramon Wenger 5ed180ad88 Add linked models to module edit page 2023-04-12 16:02:49 +02:00
Ramon Wenger 9ce6f9d48e Refactor some code
Implement suggestions from pull request
2023-03-16 15:30:56 +01:00
Ramon Wenger 41610cc0b6 Handle edge case when the assignment or survey is not set correctly 2023-03-15 15:32:09 +01:00
Ramon Wenger deecef5e5b Add tests and hooks for "after page move" and "after page create" hooks
Relates to MS-666
2023-03-14 17:17:03 +01:00
Ramon Wenger d18b21e466 Add permissions for user groups
Resolves MS-629 #complete
2023-03-14 17:17:03 +01:00
Ramon Wenger cc2b4e9809 Clean up imports, reformat code
Remove unnecessary method
2023-03-14 17:16:40 +01:00
Ramon Wenger ba1de78951 Replace query in test 2023-03-14 17:16:40 +01:00
Ramon Wenger 95ad35aecf Add tests for all page types, also implement them 2023-03-14 17:16:40 +01:00
Ramon Wenger 71dbfeb1f4 Add first skeleton of a duplicate method
Add other base ideas for the copy mechanism for content block attached
entities like assignments and surveys

Relates to MS-651

Add test for duplicating entries, also update implementation
2023-03-14 17:16:30 +01:00
Ramon Wenger aad19db4db Refactor support commands
Add todos for the next steps
2023-03-14 17:16:02 +01:00
Ramon Wenger dee5880565 Update StreamField usage to include JSON 2023-03-14 17:16:02 +01:00
Ramon Wenger 5033668b79 Upgrade wagtail, update paths 2023-03-14 17:16:02 +01:00