Commit Graph

69 Commits

Author SHA1 Message Date
Ramon Wenger ef48f5afb6 Add content block edit modal
Also clean up the state store.
Also change the properties of the content block contents on the server
2018-09-19 15:40:21 +02:00
Ramon Wenger 2464c97079 Update dummy data types 2018-09-18 19:38:26 +02:00
Ramon Wenger 0e30f0bd45 Add new room page 2018-09-14 15:57:57 +02:00
Ramon Wenger 7038721bfd Toggle visibility by class / user group 2018-09-13 15:27:22 +02:00
Daniel Egger 4a964b3e81 example mutate hidden/visibility userGroup <-> contentBlock 2018-09-13 12:05:37 +02:00
Pawel Kowalski 2ad89ce6ef Example Visibility server side filtering 2018-09-13 11:44:31 +02:00
Pawel Kowalski 2ead4f221b Added hidden_for ManyToMany 2018-09-13 10:20:20 +02:00
Ramon Wenger 639fa7665c Add document block 2018-09-12 15:05:36 +02:00
Ramon Wenger 23f282b358 Add link block 2018-09-12 14:37:28 +02:00
Ramon Wenger 4010b21cce Add video block to frontend and backend 2018-09-12 10:27:40 +02:00
Pawel Kowalski 2c2ad3f8f6 Add visibility to ContentBlocks 2018-09-11 16:18:25 +02:00
Ramon Wenger f3a383d8dd Add first mutation 2018-09-11 10:10:42 +02:00
Ramon Wenger 98d29e83e7 Adjust image format in dummy data 2018-09-10 14:30:10 +02:00
Ramon Wenger bf4861f595 Add more tests
Also, add test settings
2018-09-10 14:28:08 +02:00
Ramon Wenger 370fd54b98 Refactor helper method from test 2018-09-10 12:54:31 +02:00
Ramon Wenger 7142e3f3b1 Add a first test 2018-09-10 12:04:07 +02:00
Ramon Wenger ec03c03c48 Insert new content block at first position 2018-09-10 10:21:25 +02:00
Ramon Wenger d6b3fc09cb Refactor content block mutation 2018-09-10 10:18:09 +02:00
Ramon Wenger 5725c3d4e4 Update content block mutation 2018-09-10 09:52:38 +02:00
Ramon Wenger 4ed1cd3086 Refactor code, add first sanitation steps 2018-09-07 18:29:53 +02:00
Ramon Wenger 7d0a97208e Add first preliminary version of 'AddContentBlock' mutation 2018-09-07 17:36:28 +02:00
Pawel Kowalski ed4616bd24 Experiment with using wagtail api calls to serialize and deserialize StreamFields 2018-09-05 16:40:39 +02:00
Daniel Egger f3a6c0bfe0 MutateContentBlock with contents 2018-09-05 16:38:39 +02:00
Pawel Kowalski 98a029a998 Add chapters query 2018-09-05 15:22:40 +02:00
Pawel Kowalski c7711989b7 Add first take on adding a new content block via interface 2018-09-05 15:09:16 +02:00
Pawel Kowalski 356329f266 Add first mutation and some util functions 2018-09-05 13:14:17 +02:00
Ramon Wenger a5d0be0396 Add Link Block 2018-09-05 10:17:21 +02:00
Pawel Kowalski 000e3abdf7 Added some sample mutations queries 2018-09-05 09:53:33 +02:00
Pawel Kowalski 7d1cac079b Rename back *Types to *Nodes 2018-09-05 09:33:34 +02:00
Pawel Kowalski e007482e46 Move book schema into a package and files: queries and mutations 2018-09-04 18:14:08 +02:00
Pawel Kowalski e9897911b3 Implement ImageStreamField 2018-09-04 16:13:03 +02:00
Pawel Kowalski ff9a07e187 Subtitle not Description 2018-09-04 15:42:52 +02:00
Pawel Kowalski b28346d297 Add contents to Room Entries, upgrade wagtail, reset migrations 2018-09-04 14:48:34 +02:00
Ramon Wenger 552b27ba2b Add related name to objective groups 2018-08-27 18:18:09 +02:00
Pawel Kowalski edb43ce2a3 Rename all *Node => *Type except for ContentBlock because the name clashes 2018-08-23 17:50:45 +02:00
Pawel Kowalski c32372c535 Reset all migrations 2018-08-23 13:55:36 +02:00
Ramon Wenger 64dec5e3ee Merge branch 'master' of github.com:ramonwenger/skillbox 2018-08-23 12:28:48 +02:00
Ramon Wenger 1748caa6db Change naming from 'modal text' to 'basic knowledge' 2018-08-23 12:28:04 +02:00
Pawel Kowalski 34220d7262 Add UserGroup and test data generation for it 2018-08-23 12:23:39 +02:00
Ramon Wenger 98df92d559 Fix dummy data creation 2018-08-21 16:49:50 +02:00
Pawel Kowalski 2f52f67b64 Move common functions into Wagtail superclass 2018-08-16 17:26:16 +02:00
Pawel Kowalski 2157d4e630 remove unnecessary header comment 2018-08-16 17:04:43 +02:00
Pawel Kowalski 3f159b0473 Add a single module query (without edges/node) 2018-08-16 16:50:31 +02:00
Pawel Kowalski ef4fb4b20e Generate all types of content 2018-08-16 15:48:46 +02:00
Pawel Kowalski 80719e9a65 Enrich test data generation with ImageFields 2018-08-16 15:23:41 +02:00
Pawel Kowalski 4b03a702fe Provide first working version of content block stream content generation 2018-08-16 13:35:39 +02:00
Pawel Kowalski 6c7a1c9a7b Fall back to plain vanilla char blocks because test data generation is not sophisticated enough for RichtTextBlocks 2018-08-16 13:17:43 +02:00
Pawel Kowalski 051796a34f Add ContentBlockFactories and test data 2018-08-16 00:07:08 +02:00
Ramon Wenger 0c31f838f2 Change variable names in content blocks 2018-08-15 18:45:20 +02:00
Pawel Kowalski 3ba9af1ce7 Add StreamField serializer 2018-08-15 14:45:18 +02:00