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
f15afbf551
Update factory syntax in unit test
2023-12-11 16:44:34 +01:00
Lorenz Padberg
678e064cfe
Fix test
2023-08-23 16:45:00 +02:00
Lorenz Padberg
139bb545d8
Skip failing test
2023-08-22 15:20:34 +02:00
Lorenz Padberg
0b1954c570
Rename ModuleCategory -> ModuleLevel
2023-08-21 14:22:28 +02:00
Lorenz Padberg
23bf51db52
Add update lastModuleCategory mutation
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
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
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
5033668b79
Upgrade wagtail, update paths
2023-03-14 17:16:02 +01:00
Ramon Wenger
ad21cb4588
Disable failing unit test that's difficult to write
2022-10-06 18:25:14 +02:00
Ramon Wenger
51cfef5e40
Re-add failing tests
2022-10-05 20:12:19 +02:00
Ramon Wenger
35c7da24b2
Disable failing tests temporarily
2022-10-05 15:33:12 +02:00
Ramon Wenger
6c2f414dc0
Add failing test
2022-10-04 17:14:13 +02:00
Ramon Wenger
d844530095
Add copy of content block before the orignal
2022-09-29 16:40:10 +02:00
Ramon Wenger
6be6ab8092
Add mutation and unit test for duplication
2022-09-29 16:40:10 +02:00
Lorenz Padberg
ea67b8b64c
Add migration function for custom document model
2022-08-03 11:03:42 +02:00
Lorenz Padberg
cc9efd216b
Show display_text property in frontend
2022-08-02 15:54:03 +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
14b2905470
Fix failing test
2022-06-13 15:51:53 +02:00
Ramon Wenger
22460fcf28
Update unit tests
2022-06-13 15:37:15 +02:00
Ramon Wenger
1f7ff13a13
Add unit tests for new features
2022-05-25 21:55:17 +02:00
Ramon Wenger
2fe7a684c5
Update base client usage
2022-05-25 21:53:49 +02:00
Ramon Wenger
ce9d58ad5c
Add unit test
2022-05-19 18:33:45 +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
3034f77640
Add test for mutation
2022-02-23 23:46:08 +01:00
Ramon Wenger
b84c9c2d68
Fix unit test
2022-01-30 17:44:47 +01:00
Ramon Wenger
d071afbd67
Add new test for school class read only
...
Also clean up some code
2021-07-28 16:19:42 +02:00
Ramon Wenger
5202ecdc8e
Fix chapter and content block querysets for snapshots
2021-06-29 16:43:07 +02:00
Ramon Wenger
e2c989f4a2
Fix chapter visibility properties
2021-06-14 16:01:29 +02:00
Ramon Wenger
ab13b9b8f7
Update variable names
2021-06-14 14:55:15 +02:00
Ramon Wenger
45b3414226
Reset chapter visibilities
2021-06-14 11:30:14 +02:00
Ramon Wenger
9c82dc2bf4
Fix content blocks created by applying a snapshot
2021-06-07 17:45:24 +02:00
Ramon Wenger
6646b328b7
Add original creator to custom content blocks
2021-06-03 17:52:29 +02:00
Ramon Wenger
a43dffc7f7
Add team admin
2021-05-25 19:17:00 +02:00
Ramon Wenger
3c85ab6520
Fix custom content blocks in snapshot preview
2021-05-25 15:46:43 +02:00
Ramon Wenger
c257447748
Add objective change count
2021-05-25 13:46:23 +02:00
Ramon Wenger
e1e3b62807
Hide hidden custom entities in snapshot
2021-05-18 22:38:47 +02:00
Ramon Wenger
ef15a655b8
Add objectives to snapshot preview
2021-05-18 17:32:38 +02:00
Ramon Wenger
a168b3141e
Fix unit tests
2021-05-12 15:25:42 +02:00
Ramon Wenger
de26a9f8ac
Add objectives to snapshots
2021-05-11 23:54:08 +02:00
Ramon Wenger
24c88e84ff
Add ability to share a snapshot
2021-05-10 14:05:14 +02:00
Ramon Wenger
4bdcdd8774
Add share snapshot mutation, including unit tests
2021-05-08 23:19:58 +02:00
Ramon Wenger
3d78761e20
Add snapshot module header
...
Also refactor some queries and other code
2021-05-06 23:13:57 +02:00
Ramon Wenger
da85d3dbc2
Fix frontend tests
2021-05-06 10:59:32 +02:00
Ramon Wenger
45f99385d3
Fix unit tests
2021-05-05 19:47:06 +02:00
Ramon Wenger
29f3726993
Refactor content block type
2021-05-04 22:52:03 +02:00
Ramon Wenger
85a3131680
Add snapshot module detail query
2021-05-04 15:25:28 +02:00