Commit Graph

945 Commits

Author SHA1 Message Date
Ramon Wenger 6edbadda2e Change portfolio schema on server to use slugs 2022-01-29 20:07:43 +01:00
Ramon Wenger e843f6be6a Update unit test 2022-01-28 20:22:28 +01:00
Ramon Wenger 04c850753f Fix unit tests, change some properties 2022-01-27 17:58:02 +01:00
Ramon Wenger 928f9027d3 Clean up code, make Query and Mutation more standard compliant 2022-01-27 17:34:45 +01:00
Ramon Wenger 37af5c0412 Clean up and simplify some code 2022-01-27 15:07:59 +01:00
Ramon Wenger 6ce00694d7 Remove edges from rooms query 2022-01-26 22:34:02 +01:00
Ramon Wenger 5b105958e2 Backport more wagtail code 2022-01-25 16:18:25 +01:00
Ramon Wenger a1f6bfc373 Backport more code 2022-01-25 15:31:55 +01:00
Ramon Wenger 6a51052b53 Update graphql schema, update schema config 2022-01-25 15:31:15 +01:00
Ramon Wenger 9ab8b8d3e4 Backport changes from django3 upgrade, downgrade python versions
Package versions will be in line with the current production
environment, for now.
2022-01-25 11:56:36 +01:00
Ramon Wenger b51d992546 Add server handling of content list items 2022-01-24 17:52:36 +01:00
Ramon Wenger ade9a23d85 Add some more logging 2022-01-13 10:52:05 +01:00
Ramon Wenger 67ddd9b389 Fix django url bug 2021-12-21 21:04:22 +01:00
Ramon Wenger 90640ad6c6 Update backend template syntax 2021-12-21 15:18:38 +01:00
Ramon Wenger f2fec255c8 Update webpack configs 2021-12-16 14:10:42 +01:00
Ramon Wenger 92c34ca80d Update import call 2021-12-13 16:36:18 +01:00
Ramon Wenger dc8ec86610 Fix bug in room contents 2021-12-13 16:34:11 +01:00
Ramon Wenger 41bbfd7177 Replace deprecated stream_data with raw_data 2021-12-13 15:53:38 +01:00
Ramon Wenger cf66702d75 Update django, wagtail and some others 2021-12-13 15:48:01 +01:00
Ramon Wenger ab3029bd75 Add SysLog handler 2021-12-13 14:43:30 +01:00
Ramon Wenger 87c477d0c4 Update visited field to be timezone-aware 2021-12-13 14:42:49 +01:00
Christian Cueni 6539ac88d8 Make old_type optional 2021-11-29 12:04:28 +01:00
Christian Cueni 48e2a8a428 Order instruments 2021-11-17 12:54:52 +01:00
Christian Cueni b9a8b3ff38 Fix bug, add happy path test 2021-11-16 15:36:26 +01:00
Christian Cueni a3fe315df3 Refactor mutations 2021-11-16 14:12:17 +01:00
Christian Cueni c3274b4a65 Fix test 2021-11-16 14:12:17 +01:00
Christian Cueni 2a6993cad8 Fix PHEP-3 (edit project as other user) 2021-11-16 14:12:17 +01:00
Christian Cueni ee05ee79ba Fix PHEP-7 (user can add room entry at other school) 2021-11-16 14:12:17 +01:00
Ramon Wenger 338e4cfcfc Add unit tests to check the issues found in the bug bounty report 2021-11-16 14:12:16 +01:00
Christian Cueni 79cd70cbd8 Order instruments by name 2021-11-16 14:10:15 +01:00
Christian Cueni b0aed1ca74 Add type to parent if missing 2021-11-16 11:55:57 +01:00
Christian Cueni 591c922c98 Add missing subselection to query, update tests 2021-11-16 08:49:28 +01:00
Ramon Wenger eedf7202d6 Update instrument type query test and fix multiple similar types bug 2021-11-11 14:00:07 +01:00
Christian Cueni 98dc5ffda7 Fix bug in exception 2021-11-11 09:13:08 +01:00
Ramon Wenger f03beb8b34 Return only instrument types with assigned instruments 2021-11-10 12:47:52 +01:00
Ramon Wenger 885d9d4f88 Add migration for new instrument type population 2021-11-01 11:57:42 +01:00
Ramon Wenger 812021cb54 Fix unit tests 2021-10-31 22:12:57 +01:00
Ramon Wenger 6407664f80 Update server definitions for instrument types 2021-10-31 21:47:02 +01:00
Ramon Wenger ac6c60f8c3 Add instrument type query 2021-10-30 22:29:31 +02:00
Ramon Wenger 26b1c3e8af Fix model definition 2021-10-25 12:10:10 +02:00
Ramon Wenger ab60aaf9b8 Add new types 2021-10-25 11:48:43 +02:00
Ramon Wenger 072258fac0 Rename BasicKnowledgeQuery to InstrumentQuery 2021-10-20 14:03:33 +02:00
Ramon Wenger 14e9a4d6ec Update BasicKnowledge model with new type property 2021-10-20 14:02:31 +02:00
Ramon Wenger b4c9e01fcb Add command to export assignments 2021-10-18 15:38:57 +02:00
Ramon Wenger 90a576c661 Merge branch 'hotfix/assignment-list-filter-and-export' into develop 2021-10-18 14:00:49 +02:00
Ramon Wenger a79a8f9908 Add list filter and export options to assignment list 2021-10-18 13:58:51 +02:00
Ramon Wenger 91a1dd0bdb Merge branch 'feature/new-portfolio-layout' into develop 2021-10-07 20:21:20 +02:00
Ramon Wenger bb694e443d Add more access test for projects 2021-10-06 10:54:52 +02:00
Ramon Wenger 36268581f9 Fix unit tests 2021-10-05 23:25:39 +02:00
Ramon Wenger 315216833b Update mutation schema for project entries 2021-10-05 22:55:03 +02:00
Ramon Wenger 34bab79c4a Update failing unit test 2021-10-05 14:43:24 +02:00
Ramon Wenger 937c6cff2e Update project entry properties 2021-10-05 13:19:26 +02:00
Christian Cueni a34db38a5e Add migration for raw field 2021-09-22 11:51:15 +02:00
Christian Cueni 4be9858730 Add created_at fields to license 2021-09-22 11:51:15 +02:00
Christian Cueni 28cdc3f4f8 Add created_field to license 2021-09-22 11:51:15 +02:00
Christian Cueni e74f224de4 Add command to fix ibans 2021-09-22 11:51:15 +02:00
Christian Cueni fbc441d1ea Save new expiry_dates to models 2021-09-22 11:51:15 +02:00
Christian Cueni adba163c77 WIP: Add command for license duration reset 2021-09-22 11:51:15 +02:00
Christian Cueni dbd5f92fbd Save correct license for user 2021-09-22 11:51:15 +02:00
Ramon Wenger 42c99b3c83 Add student submissions to assignment admin 2021-09-21 09:12:52 +02:00
Ramon Wenger 3951b3f90c Fix unit test 2021-09-20 20:33:59 +02:00
Ramon Wenger 96ed807b2b Update schema for projects 2021-09-02 09:38:43 +02:00
Ramon Wenger b705e68e3b Use migration without helper class 2021-08-31 14:57:16 +02:00
Ramon Wenger 61458b7761 Fix typo 2021-08-31 14:11:42 +02:00
Ramon Wenger fdd35301d9 Update migration again 2021-08-31 14:01:48 +02:00
Ramon Wenger da7adcbb4c Update data migration 2021-08-31 13:28:37 +02:00
Ramon Wenger 84b646ed0a Add unit test for restricted rooms 2021-08-30 16:54:06 +02:00
Ramon Wenger 7d2bba14b7 Add query test 2021-08-27 16:38:27 +02:00
Ramon Wenger e368307d3d Add mutation to frontend 2021-08-27 16:03:32 +02:00
Ramon Wenger 572074dbfb Add mutation to schema, also add tests 2021-08-27 15:49:28 +02:00
Ramon Wenger 6b3f84a619 Remove school class from new room mutation 2021-08-25 16:38:16 +02:00
Ramon Wenger 75ca2f552c Fix unit test 2021-08-25 15:02:57 +02:00
Ramon Wenger 7118b32cbb Fix unit test 2021-08-25 14:25:04 +02:00
Ramon Wenger cf5a3f7d9d Update add room entry button 2021-08-25 14:22:20 +02:00
Ramon Wenger 6961c96dd4 Add styling to comments 2021-08-25 09:07:40 +02:00
Ramon Wenger b966b4e981 Re-add comment test 2021-08-24 13:31:05 +02:00
Ramon Wenger 9f858ea46c Add comment node to room entry 2021-08-23 15:57:08 +02:00
Ramon Wenger 30b123523a Add comment model 2021-08-19 21:24:32 +02:00
Ramon Wenger f9273f745c Add school class to portfolio project 2021-08-10 16:22:04 +02:00
Ramon Wenger dc43b88916 Add cypress test for read only portfolio 2021-08-05 11:41:57 +02:00
Ramon Wenger 1792fe9bf1 Change how slugs are generated in dummy data 2021-08-05 09:32:51 +02:00
Ramon Wenger 44f25bd113 Add read-only banner 2021-08-03 15:12:09 +02:00
Ramon Wenger b6298710a0 Fix unit test 2021-08-03 14:48:26 +02:00
Ramon Wenger 7728f654a5 Refactor dummy users to be more anonymous 2021-08-03 14:16:15 +02:00
Ramon Wenger 57698e577e Move news query from public to private apollo client 2021-08-03 14:10:27 +02: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 9dbddac078 Add missing migration 2021-07-26 17:15:50 +02:00
Christian Cueni f8f40d08b8 Redirect user to hep logout-url after logout 2021-07-21 07:18:08 +02:00
Christian Cueni d0570c118c Update tests 2021-07-15 14:33:28 +02:00
Christian Cueni fccc7526b5 Update eorder field 2021-07-15 13:29:34 +02:00
Christian Cueni 6a61baf06b Handle missing key 2021-07-15 08:44:29 +02:00
Christian Cueni 62a23fac4f Fix missing header 2021-07-13 16:38:07 +02:00
Christian Cueni b902ca1e92 Update valid product states, update subscription duration 2021-07-13 13:25:49 +02:00
Christian Cueni 44be6735a3 Fix model 2021-07-13 13:25:13 +02:00
Christian Cueni 4762751fc9 Update settings, fix typo 2021-07-13 13:25:13 +02:00
Christian Cueni 73f2be72ce Fix url in tests 2021-07-13 13:25:13 +02:00
Christian Cueni 7ffeda0ca3 Add logging 2021-07-13 13:25:13 +02:00
Christian Cueni 9b7c74e7f7 Add refresh tests 2021-07-13 13:25:13 +02:00
Christian Cueni 198a0fa33c Add token tests 2021-07-13 13:25:13 +02:00
Christian Cueni 4a95f3b020 Fix tests 2021-07-13 13:25:13 +02:00