Commit Graph

266 Commits

Author SHA1 Message Date
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
Ramon Wenger 6018925361 Add missing migrations 2023-02-14 15:43:37 +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 a1ac88dbef Exclude bookmarks when copying a page 2023-01-23 12:32:34 +01:00
Ramon Wenger e4dded714c Update sorting of some models in CMS chooser panels 2022-12-15 12:03:19 +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 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 4489a8dcf8 Handle contents not editable by users on the server
Relates to MS-589
2022-10-04 17:11:03 +02:00
Ramon Wenger d844530095 Add copy of content block before the orignal 2022-09-29 16:40:10 +02:00
Ramon Wenger 4693d2c01a Add duplicate action to frontend 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
Ramon Wenger 6523c11915 Fix unit tests 2022-09-15 17:48:14 +02:00
Ramon Wenger 37e4461a22 Add category information to instrument queries 2022-09-15 16:04:37 +02:00
Ramon Wenger ce5d8603ff Add translations for some models
Relates to MS-479
2022-09-14 16:40:27 +02:00
Ramon Wenger d787367020 Merged in feature/extended-instrument-categories (pull request #118)
Feature/extended instrument categories
2022-09-14 11:33:48 +00:00
Ramon Wenger d1c4d63179 Replace category string in instrument type with proper model 2022-09-13 11:23:51 +02:00
Ramon Wenger d172e9a005 Add instrument category model 2022-09-13 10:49:48 +02:00
Ramon Wenger 7fae655543 Add documents to client view 2022-09-08 12:28:37 +02:00
Ramon Wenger d96a8c7b11 Add document to solution, add more generic document block 2022-09-07 08:41:06 +02:00
Lorenz Padberg 8bba23745a Remove migration 2022-08-03 13:00:21 +02:00
Lorenz Padberg 78abe81f8f Add migration to custom document model 2022-08-03 11:13:08 +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
Lorenz Padberg 4d13d5e42d Add custom Document Model (No migration) 2022-07-28 15:56:58 +02:00
Lorenz Padberg 3b7595db9d Merge branch 'feature/MS-540-Use-wagtail-documents' into release/Wagtail-anpassungen 2022-07-26 11:05:36 +02:00
Lorenz Padberg c679f84236 Add cms-document-block to api and frontend 2022-07-25 18:24:34 +02:00
Lorenz Padberg 47ff1192b4 Apply comments / recommendations of pullrequest 2022-07-25 16:43:30 +02:00
Lorenz Padberg 08970ff780 Add cms_block to uitls mutations 2022-07-25 16:32:06 +02:00
Lorenz Padberg 7bb3e06903 added meta_title to display in cms 2022-07-14 11:40:04 +02:00