Commit Graph

1049 Commits

Author SHA1 Message Date
Ramon Wenger c0806d6b82 Fix query for users in same school class
Now only queries for the active school class instead of all school
classes
2022-06-21 16:42:27 +02:00
Ramon Wenger 34afbbe1be Change assignment text widget to be rich text
Resolves MS-518
2022-06-15 17:41:57 +02:00
Ramon Wenger dddce52150 Add bold style to default rich text editor features 2022-06-15 17:41:21 +02:00
Ramon Wenger 9f86b3c685 Update schema 2022-06-14 14:38:41 +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 af7dfad9c1 Add new types file 2022-05-25 21:56:19 +02:00
Ramon Wenger b12d1c1a9f Add mutation to update a snapshot 2022-05-25 21:55:55 +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 5069c5b5ec Add new field on snapshot, add migration 2022-05-24 22:49:16 +02:00
Ramon Wenger 7da52b03a1 Merged in feature/topic-404 (pull request #106)
Feature/topic 404

Approved-by: Christian Cueni
2022-05-23 18:21:37 +00:00
Ramon Wenger ae4fec5603 Remove unused code 2022-05-23 20:18:29 +02:00
Ramon Wenger 102b341920 Add filter to export 2022-05-23 12:41:18 +02:00
Ramon Wenger ce9d58ad5c Add unit test 2022-05-19 18:33:45 +02:00
Ramon Wenger 775bff5c1b Add new class instead of dict 2022-05-19 15:35:29 +02:00
Ramon Wenger 6e1501f33b Add 404 type response to topic query 2022-05-19 11:19:19 +02:00
Ramon Wenger 3278774876 Add search fields to survey admin 2022-05-19 11:18:38 +02:00
Ramon Wenger 83da3dbfcd Add new instrument sub-categories
Fixes MS-493
2022-05-18 17:09:07 +02:00
Ramon Wenger 7691774426 Fix license bug on test environments 2022-05-18 16:51:48 +02:00
Ramon Wenger 01aa9b6965 Unify platform and app flavor 2022-05-18 15:50:53 +02:00
Ramon Wenger 3caa3638fc Add method for default isbn 2022-05-17 13:56:04 +02:00
Ramon Wenger 5c944c09db Fix missing variable 2022-05-16 22:36:00 +02:00
Ramon Wenger ad34cf50cf Add my-kv licenses and per-platform check for them 2022-05-16 17:47:46 +02:00
Ramon Wenger 26c0ca7792 Remove unused env variables 2022-05-11 15:51:11 +02:00
Ramon Wenger 43bbf45d61 Provide an example for a heroku config 2022-04-21 16:02:22 +02:00
Ramon Wenger 91796f7ec2 Update example env file 2022-04-21 14:00:10 +02:00
Ramon Wenger 83024fa198 Merge branch 'hotfix/snapshots-without-creator' into develop 2022-04-14 16:42:20 +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 65426fc034 Remove unused packages 2022-04-13 14:12:42 +02:00
Ramon Wenger ddb7bb9dbc Remove instruments from CMS explorer 2022-04-13 14:11:57 +02:00
Ramon Wenger ad9e147ec1 Add export script for instruments 2022-04-12 16:16:28 +02:00
Ramon Wenger c6ddb3b051 Update `create team` mutation signature 2022-04-12 14:57:56 +02:00
Ramon Wenger 861437fcae Fix unit test 2022-04-12 13:39:09 +02:00
Ramon Wenger f6cc6f6a83 Add cypress test for validation case 2022-04-12 12:36:43 +02:00
Ramon Wenger 4973037486 Update error handling in mutation for school class creation 2022-04-08 17:32:10 +02:00
Ramon Wenger d09844a67b Remove content blocks belonging to snapshots from CMS explorer 2022-04-05 13:16:09 +02:00
Ramon Wenger 3c6160a7bb Fix explorer view bug 2022-04-04 17:34:21 +02:00
Ramon Wenger 200553413a Refactor default settings panel 2022-04-04 17:33:54 +02:00
Ramon Wenger e699ea86f9 Update wagtail definitions 2022-04-04 10:58:09 +02:00
Ramon Wenger d50479c04d Make assignments searchable 2022-03-31 00:23:58 +02:00
Ramon Wenger c732a3f6ee Add survey migrations 2022-03-31 00:23:38 +02:00
Ramon Wenger 10637f6f86 Update unit test 2022-03-30 17:11:32 +02:00
Ramon Wenger 61f006e1b3 Upgrade django and wagtail versions 2022-03-30 16:11:31 +02:00
Ramon Wenger a993eeacfc Add new instrument type 2022-03-01 10:57:49 +01:00
Ramon Wenger b5ffb3ee29 Update mutation to pass test 2022-02-24 16:24:42 +01:00
Ramon Wenger 3034f77640 Add test for mutation 2022-02-23 23:46:08 +01:00
Ramon Wenger 1112c6754e Add subtitle block to user content block form 2022-02-03 16:24:46 +01:00
Ramon Wenger b84c9c2d68 Fix unit test 2022-01-30 17:44:47 +01:00
Ramon Wenger 12f16c3971 Update bookmark in module 2022-01-30 00:14:45 +01:00
Ramon Wenger 1f0434376c Fix unit tests 2022-01-29 21:26:18 +01:00
Ramon Wenger 59a32451ea Fix server typo 2022-01-29 21:20:35 +01:00
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