Commit Graph

177 Commits

Author SHA1 Message Date
Ramon Wenger 9a89fa874b Add 'allowed blocks' property for room entry 2018-09-24 17:02:57 +02:00
Ramon Wenger 7a6f6ff6e8 Add functionality to room delete button 2018-09-21 15:24:52 +02:00
Ramon Wenger 643374140e Update room dummy data 2018-09-21 13:46:08 +02:00
Ramon Wenger dea1d1b253 Add room update mutation on server 2018-09-21 13:45:51 +02:00
Ramon Wenger 613f099b30 Rename arguments for mutations 2018-09-21 13:03:34 +02:00
Daniel Egger 2e8dc96046 bitbucket pipelines heroku integration 2018-09-20 17:28:15 +02:00
Ramon Wenger b37038f74d Split up add and change mutations for rooms 2018-09-20 16:21:36 +02:00
Ramon Wenger 66ad787779 Generalize room mutation using serializer 2018-09-20 16:03:42 +02:00
Ramon Wenger 83ebaa94b9 Change login mask style 2018-09-20 16:02:25 +02:00
Pawel Kowalski 3223dccb2a Add assets dir to staticfiles 2018-09-20 11:39:31 +02:00
Ramon Wenger c8937243f5 Change content block mutation 2018-09-20 10:29:05 +02:00
Daniel Egger 48e724f4e4 anpassungen nach rebase 2018-09-19 17:40:53 +02:00
Daniel Egger b8b09b1af3 example with uploadcare 2018-09-19 16:37:27 +02:00
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 db61ca560a Add room mutation to frontend 2018-09-17 18:56:24 +02:00
Ramon Wenger 1927244f26 Fix room querying 2018-09-17 17:53:14 +02:00
Ramon Wenger fe59a65e87 Add room mutation 2018-09-17 11:35:49 +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 4cb5c6ad63 Add User query, get users in FilterBar, add Visibility node 2018-09-11 17:18:50 +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 9a2bc91a20 Remove top level __init__.py, as it breaks the test runner 2018-09-10 12:52:55 +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 0c10757487 change BookQuery after refactoring 2018-09-04 22:53:11 +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 1367a01ca7 Cleanup dummy data creation 2018-09-04 15:48:50 +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
Unknown c07be5d4a4 Update docker configuration 2018-09-03 17:20:02 +02:00
Unknown a2fd2b50c3 Fix incorrect attribute in dummy data 2018-09-03 14:35:33 +02:00
Ramon Wenger 552b27ba2b Add related name to objective groups 2018-08-27 18:18:09 +02:00
Ramon Wenger dcf612f2df Add related name to room entries 2018-08-27 18:05:19 +02:00
Ramon Wenger c28e1b2b05 Add docker configuration 2018-08-27 14:10:33 +02:00
Pawel Kowalski 3f797db3f4 Minor formatting 2018-08-24 10:09:12 +02:00
Pawel Kowalski 087e8ce252 Add entry count, start working on dynamic room color 2018-08-23 22:14:22 +02:00
Ramon Wenger 8ebfda66b6 Update dummy data set 2018-08-23 20:13:06 +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 bf913b0417 Use set navigation instead of additional fields with resolvers 2018-08-23 17:38:32 +02:00
Pawel Kowalski 585eccbe12 Update pipenv: required python version=3.6 2018-08-23 16:39:20 +02:00
Ramon Wenger f583c6c8cc Merge branch 'master' of github.com:ramonwenger/skillbox 2018-08-23 16:05:40 +02:00
Pawel Kowalski ff70e441c7 Add RoomEntry model, factory, dummy_data, node 2018-08-23 16:03:32 +02:00
Ramon Wenger 724f741b51 Make a room queryable by slug 2018-08-23 16:03:13 +02:00
Pawel Kowalski 01b77707da Combine room backend with frontend 2018-08-23 14:48:16 +02:00
Pawel Kowalski 7eb8db9671 Keep this import here, or this piece of software will implode 2018-08-23 14:03:51 +02:00
Pawel Kowalski c32372c535 Reset all migrations 2018-08-23 13:55:36 +02:00
Pawel Kowalski e26a55bb03 Probably duplicate type specification 2018-08-23 13:47:47 +02:00
Pawel Kowalski 8c14c2c41e Add migration and package lock after npm install 2018-08-23 13:33:28 +02:00
Pawel Kowalski 5656b15135 Add rooms model, factories, dummy_data generation, graphql node 2018-08-23 13:33:28 +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 a24acad07a Add image_block serialization suitable for a SPA, i.e. return path, not the internal id of an image 2018-08-16 15:00:37 +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 cd1c056cb7 generating test data 2018-08-16 13:10:09 +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
Pawel Kowalski 4a3ffd9eac Implement chapters / content blocks graphql interface 2018-08-15 14:30:00 +02:00
Pawel Kowalski 640af9b047 Add ContentBlock factory, add apollo-link first steps 2018-08-15 13:59:21 +02:00
Pawel Kowalski ca6c5742b4 Add contents to the content panels of the content block 2018-08-15 11:23:17 +02:00
Pawel Kowalski ca294b7836 Cleaned skillbox urls 2018-08-15 11:04:07 +02:00
Pawel Kowalski 74e67e925e Add childpage types for module 2018-08-15 10:54:31 +02:00
Ramon Wenger c4ba21aedd Add subpage types to chapter 2018-08-15 10:49:46 +02:00
Ramon Wenger 4650fecfc7 Add content block model 2018-08-15 10:46:07 +02:00
Ramon Wenger bdeda1428c Update dummy data with html tags 2018-08-14 18:44:41 +02:00
Pawel Kowalski 784083cfe4 intro instead of description 2018-08-14 16:54:16 +02:00
Pawel Kowalski e3ee972530 Adds graphql interface to objectives 2018-08-14 16:26:39 +02:00
Pawel Kowalski 1341589f89 Add testdata generation for objectives, optimize imports 2018-08-14 16:14:13 +02:00