Commit Graph

729 Commits

Author SHA1 Message Date
Ramon Wenger f1cc2d6616 Switch to the knockout version of SurveyJS
The current SurveyVue plugin only works with Vue 2 and prevents us from
upgrading.
2022-10-25 13:51:06 +02:00
Ramon Wenger ca7663e5f0 Throw out obsolete dependencies, or replace with newer solutions 2022-10-25 11:19:44 +02:00
Ramon Wenger 638efac6e3 Add readonly blocks for contents not editable by users
Relates to MS-589
2022-10-04 17:09:19 +02:00
Ramon Wenger 06b149f6a9 Revert commits that broke SurveyJS 2022-09-28 14:37:40 +02:00
Ramon Wenger a2b6348ffa Fix linter error, disable offending cypress test 2022-09-27 12:25:05 +02:00
Ramon Wenger cc807751a9 Update vue version 2022-09-27 10:10:00 +02:00
Ramon Wenger 2b3f9c7ae0 Update filtering in client 2022-09-13 16:28:56 +02:00
Ramon Wenger e3f611a5eb Fix cache bug when changing school class 2022-09-05 16:49:15 +02:00
Ramon Wenger d0f746cf50 Update module intro styling to be in line with other components
Resolves MS-528
2022-07-15 17:40:28 +02:00
Ramon Wenger 33cee0c700 Improve mobile view of the topic page
Resolves MS-525
2022-07-15 17:35:53 +02:00
Ramon Wenger 7d1a1bbe4d Refactor component name and class names 2022-07-15 17:35:18 +02:00
Ramon Wenger ec3811b5a2 Hide actions for changing projects and entries while in mobile view
Relates to MS-534
2022-07-13 15:14:10 +02:00
Ramon Wenger 85ef1bc092 Remove items for editing on mobile for rooms and entries
Relates to MS-534
2022-07-13 00:02:24 +02:00
Ramon Wenger ff7e5ad1f6 Merged in feature/rooms-updated-edit-fields-MS-486-MS-487 (pull request #111)
Feature/rooms updated edit fields MS-486 MS 487

Approved-by: Lorenz Padberg
2022-07-11 13:26:51 +00:00
Ramon Wenger deb2a2cd1b Add test for subtitle in room entry, add missing block
Resolves MS-487
2022-07-06 11:00:22 +02:00
Ramon Wenger a3bcd6f314 Add comment count to room entry widget, with test
Resolves MS-344
2022-06-28 13:45:26 +02:00
Ramon Wenger a81bb0e1e8 Add new edit page for room entries
Also use slug instead of id to identify room entries
2022-06-27 11:29:01 +02:00
Ramon Wenger 14319a0ca8 Update save method to work on new room entry page 2022-06-23 15:35:31 +02:00
Ramon Wenger d458790117 Move save method from modal to new page 2022-06-23 11:31:56 +02:00
Ramon Wenger 478c033a56 Refactor query imports 2022-06-22 20:35:28 +02:00
Ramon Wenger 813751cf26 Rename constants 2022-06-22 20:34:43 +02:00
Ramon Wenger 3b3d485c76 Add new page for adding a new room entry 2022-06-22 20:00:51 +02:00
Ramon Wenger 69dac2cf7f Refactor room pages 2022-06-22 19:55:44 +02:00
Ramon Wenger 2fbd878387 Merged in feature/cms-improvements-ms-517-ms-518-ms-519 (pull request #108)
Feature/cms improvements ms 517 ms 518 ms 519

Approved-by: Daniel Egger
2022-06-22 15:07:49 +00:00
Ramon Wenger 1ae8594b13 Remove unused CSS 2022-06-21 15:43:44 +02:00
Ramon Wenger 9076eb462f Add styling for lists in assignments
Also, refactor some code

Relates to MS-518
2022-06-20 15:53:59 +02:00
Ramon Wenger 5c05ed2a86 Add components and mutations for snapshot updating and deleting
Also modify the tests for MS-373 and MS-375
2022-06-14 20:27:20 +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 ea9c90189a Update support link to be flavor dependent
Fixes MS-501
2022-05-23 14:26:35 +02:00
Ramon Wenger ad560bb4ef Redirect user on invalid topic slug 2022-05-19 18:32:56 +02:00
Ramon Wenger 583bc8d0c3 Fix onboarding logo styling and replace missing variables 2022-05-18 16:50:08 +02:00
Ramon Wenger ce506bf471 Modify hello page based on app flavor 2022-05-18 15:44:36 +02:00
Daniel Egger d7eaced895 Refactor from flavor mixin to ES6 module and plugin 2022-05-11 13:24:36 +02:00
Daniel Egger c0b6ff6fa6 MS-475: My KV Instrumente/Grundlagenwissenseite 2022-05-11 13:24:35 +02:00
Daniel Egger 77c355d569 MS-474: Add myKV-specific terms 2022-05-11 13:24:35 +02:00
Ramon Wenger 3045da7491 Add frontend tests for team creation 2022-04-12 15:35:15 +02:00
Ramon Wenger cff81d2419 Update frontend error handling for school class form 2022-04-11 15:58:08 +02:00
Ramon Wenger 468d1384ad Fix bug on project edit page in portfolio 2022-03-21 18:57:26 +01:00
Ramon Wenger f563483b79 Add edit route for custom content blocks 2022-02-10 12:06:03 +01:00
Ramon Wenger fdb408de84 Add swapping of elements in content arrays 2022-02-07 21:25:58 +01:00
Ramon Wenger e5f813e15a Add confirmation modal, refactor modal components 2022-02-03 20:11:06 +01:00
Ramon Wenger 769f87e05d Add validation and filtering to content block creation 2022-02-02 17:45:12 +01:00
Ramon Wenger b1505e3868 Unset edit mode when leaving route subtree 2022-02-01 15:45:54 +01:00
Ramon Wenger e1d3897e5e Clean up code, sanitize some inputs 2022-01-31 14:15:35 +01:00
Ramon Wenger 7e0f16a5f2 Remove empty content lists upon removal of the last inner element 2022-01-30 22:36:39 +01:00
Ramon Wenger a626fd9d04 Merge remote-tracking branch 'origin/feature/new-content-block-creation-workflow' into develop 2022-01-30 10:26:20 +01:00
Ramon Wenger 12f16c3971 Update bookmark in module 2022-01-30 00:14:45 +01:00
Ramon Wenger bf89fba212 Update survey queries 2022-01-29 21:33:35 +01:00
Ramon Wenger fc24958d9b Update cache properties 2022-01-29 21:15:57 +01:00
Ramon Wenger 9cc1ab5324 Update projects in frontend to use slugs instead of ids 2022-01-29 20:11:31 +01:00
Ramon Wenger 1462b08ecd Clean up graphql definitions 2022-01-27 17:59:01 +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 71ed5931c7 Update some more code to not change immutable objects 2022-01-26 22:43:27 +01:00
Ramon Wenger 6ce00694d7 Remove edges from rooms query 2022-01-26 22:34:02 +01:00
Ramon Wenger e0c95ad9ce Make some more code not change immutable objects 2022-01-26 21:36:57 +01:00
Ramon Wenger 457c59cbc4 Clean up code 2022-01-26 20:49:31 +01:00
Ramon Wenger 2ceb7cf706 Make back navigation work with history, to preserve scroll position 2022-01-26 18:04:37 +01:00
Ramon Wenger b2d0c4922a Fix some problems with the cache 2022-01-26 18:03:16 +01:00
Ramon Wenger 3e518e21c0 Handle cache in student submission without mutating it 2022-01-26 16:12:42 +01:00
Ramon Wenger a85296a628 Update apollo version, replace local state handling 2022-01-26 15:46:09 +01:00
Ramon Wenger 6a51052b53 Update graphql schema, update schema config 2022-01-25 15:31:15 +01:00
Ramon Wenger a31c644553 Send new content block to server, add route 2022-01-24 17:51:53 +01:00
Ramon Wenger 7eab58ab88 Enable removal of inner blocks 2022-01-20 16:27:02 +01:00
Ramon Wenger d3c790d221 Update styling 2022-01-20 16:22:08 +01:00
Ramon Wenger 20876a0bf2 Lint some more code 2022-01-20 16:21:08 +01:00
Ramon Wenger c4195916a7 Lint some more code 2022-01-19 11:56:20 +01:00
Ramon Wenger 6bc6f5fa33 Update new add page with new properties 2022-01-19 11:47:10 +01:00
Ramon Wenger 88f1db7bfc Lint some code 2022-01-19 11:45:55 +01:00
Ramon Wenger 2b82c78cc2 Add option to convert new element to nested list 2022-01-19 11:29:21 +01:00
Ramon Wenger 50cb811f05 Refactor styling of nested content lists 2022-01-19 11:23:13 +01:00
Ramon Wenger 88409a6268 Update eslint versions and config, also refactor file structure 2022-01-19 11:13:58 +01:00
Ramon Wenger 196fd5da4a Update create content block page 2022-01-17 09:05:41 +01:00
Ramon Wenger bc0918876b Update usage of new component 2022-01-13 22:29:15 +01:00
Ramon Wenger 73ee8bd535 Update new content block form 2022-01-13 10:49:19 +01:00
Ramon Wenger 300f93e1d2 Add new route 2021-12-23 12:32:24 +01:00
Christian Cueni 0d311ea887 Update verify email page 2021-12-23 09:00:14 +01:00
Ramon Wenger 40ab4243b8 Split code into more bandwidth-friendly chunks 2021-12-22 10:37:43 +01:00
Ramon Wenger 5925bc95f5 Lazy-load some more components 2021-12-21 21:03:58 +01:00
Ramon Wenger c179d07969 Update router definitions to enable code splitting 2021-12-21 17:25:42 +01:00
Ramon Wenger 5236d6a2ed Fix another e2e test 2021-12-21 14:15:01 +01:00
Ramon Wenger 623919719d Fix e2e tests 2021-12-21 13:51:16 +01:00
Ramon Wenger b37abd3d16 Move VeeValidate calls to own components and config 2021-12-21 13:11:34 +01:00
Ramon Wenger 31f3145cbd Replace old vee-validate version and rewrite the usages 2021-12-20 17:17:28 +01:00
Christian Cueni 6eb2fb514b Add link to hep's email verification page 2021-12-20 14:52:42 +01:00
Christian Cueni 52688bd0b2 Make linter happy 😘 2021-12-15 07:10:26 +01:00
Christian Cueni bf56970d86 Update EHB name 2021-12-15 06:55:26 +01:00
Christian Cueni 16a0038391 Update text 2021-11-29 15:57:40 +01:00
Christian Cueni c58e33b1e9 Send module update upon result only once 2021-11-18 16:03:42 +01:00
Christian Cueni 013788a5bc Check if lastmodule exists 2021-11-17 14:54:37 +01:00
Ramon Wenger 7a850b3a94 Add frontend test for instrument page and fix query bug 2021-11-11 13:59:37 +01:00
Christian Cueni 5ac9999572 Set prop on list component 2021-11-11 09:13:07 +01:00
Ramon Wenger 3e82389299 Refactor current instrument filter query, add styling for active state 2021-11-01 11:57:07 +01:00
Ramon Wenger e1a87739df Add some styling for filter group headers 2021-10-31 22:02:30 +01:00
Ramon Wenger 8117a6b4c0 Add code for filtering instruments in frontend
Also add some styling
2021-10-31 21:48:21 +01:00
Ramon Wenger 08c4a6f7e1 Fix permissions on project page 2021-10-31 12:06:40 +01:00
Ramon Wenger ef6d76aee1 Merge branch 'release/new-portfolio' into develop 2021-10-27 18:13:51 +02:00
Ramon Wenger a2ecbdd3b4 Add test for and fix bug in projects page 2021-10-25 13:38:03 +02:00
Ramon Wenger 96b5fcbcd5 Add test and fix a bug for project share button 2021-10-25 13:07:13 +02:00
Ramon Wenger 5fd5a5be4a Add new test for instruments page, start refactor and style changes 2021-10-20 13:57:32 +02:00
Ramon Wenger 348e9198b6 Add share link to project page 2021-10-10 21:53:54 +02:00
Ramon Wenger 42201c1b77 Update failing frontend tests 2021-10-07 17:09:24 +02:00
Ramon Wenger 4f9d3bc33d Update styling on project detail page 2021-10-07 11:22:02 +02:00
Ramon Wenger 1f18f0feeb Update project list on portfolio page 2021-09-27 14:19:08 +02:00
Ramon Wenger 3f5d705877 Add portfolio onboarding page 2021-09-01 16:29:13 +02:00
Ramon Wenger 704da5a749 Add new cypress test for changing class in room view 2021-09-01 14:27:57 +02:00
Ramon Wenger 1a3d9afd31 Fix cypress test 2021-08-31 18:50:35 +02:00
Ramon Wenger 94a13f4a15 Enable students to add room entries 2021-08-31 18:42:22 +02:00
Ramon Wenger d509b24666 Update change visibility modal 2021-08-31 17:49:40 +02:00
Ramon Wenger 84d9836c41 Update frontend tests 2021-08-30 16:34:35 +02:00
Ramon Wenger fe8ecdf1d2 Update room onboarding styling 2021-08-27 18:39:15 +02:00
Ramon Wenger e368307d3d Add mutation to frontend 2021-08-27 16:03:32 +02:00
Ramon Wenger b0d4615c2b Refactor room mutation location 2021-08-27 15:51:14 +02:00
Ramon Wenger 9c7252ee47 Add visibility widget for room 2021-08-27 09:51:02 +02:00
Ramon Wenger 07a7079fdf Remove school class select from new room form 2021-08-25 16:08:59 +02:00
Ramon Wenger 64c5963490 Update styling of room page 2021-08-25 13:48:37 +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 30b123523a Add comment model 2021-08-19 21:24:32 +02:00
Ramon Wenger 741073c187 Add emoji bar and comment input to article view 2021-08-19 16:49:45 +02:00
Ramon Wenger df0f093b05 Add new emoji bar and some tests for it 2021-08-19 16:34:13 +02:00
Ramon Wenger 0af3494053 Hide button for student 2021-08-19 15:11:44 +02:00
Ramon Wenger 8c70b051ff Fix race condition 2021-08-18 22:40:29 +02:00
Ramon Wenger 5785077edd Add missing data property 2021-08-18 20:25:47 +02:00
Ramon Wenger 934ee977f6 Add room onboarding widget 2021-08-18 18:26:30 +02:00
Ramon Wenger 8bf76a606e Update some cypress tests 2021-08-18 14:01:23 +02:00
Ramon Wenger ca522d385b Fix old cypress test
Also add new scripts for sorry-cypress
2021-08-16 20:43:45 +02:00
Ramon Wenger 27d3525ea5 Fix bug in modal text 2021-08-13 16:59:03 +02:00
Ramon Wenger e32b49ad5f Disable activating and deactivating users when in read only mode 2021-08-10 17:25:59 +02:00
Ramon Wenger 4977644fa4 Make project and portfolio read only when selected class inactive 2021-08-10 16:37:37 +02:00
Ramon Wenger e7d25535a9 Fix cypress tests 2021-08-05 16:05:09 +02:00
Ramon Wenger dc43b88916 Add cypress test for read only portfolio 2021-08-05 11:41:57 +02:00
Ramon Wenger 692eb13a9b Update cache when leaving school class 2021-08-04 16:52:38 +02:00
Ramon Wenger d495136b05 Remove news link and news teasers for read only users 2021-08-03 23:04:19 +02:00
Ramon Wenger 44f25bd113 Add read-only banner 2021-08-03 15:12:09 +02:00
Ramon Wenger 26cda08d94 Add read only on a per school class basis to assignments 2021-07-30 17:54:46 +02:00
Ramon Wenger d4182e7e1a Make new tests succeed 2021-07-29 10:52:13 +02:00
Ramon Wenger 11aac2ec94 Rename test, add new frontend test for single room view 2021-07-28 17:41:04 +02:00
Ramon Wenger 0804d1e324 Add frontent test for room with read only school class selected 2021-07-28 16:36:02 +02:00
Ramon Wenger 462348dd32 Add test for read only mode in room 2021-07-27 17:41:43 +02:00
Christian Cueni 075f894d07 Add links to hello page 2021-07-21 16:11:16 +02:00
Christian Cueni 62a23fac4f Fix missing header 2021-07-13 16:38:07 +02:00
Christian Cueni 6dd64711c5 Update register address 2021-07-13 13:25:51 +02:00
Christian Cueni 5c5c67bcea Update hep logo, set max with for splitview 2021-07-13 13:25:13 +02:00
Christian Cueni 86613c881e Fix typo 👨‍🔧 2021-07-13 13:25:13 +02:00
Christian Cueni 74b13d0e15 Add auth error route 2021-07-13 13:25:13 +02:00
Christian Cueni 6453424630 Add login error page 2021-07-13 13:25:13 +02:00
Christian Cueni 25b60d1c5a Add correct registration link 2021-07-13 13:25:13 +02:00
Christian Cueni b2549a2d08 Make linter happy 2021-07-13 13:25:13 +02:00
Christian Cueni 03a5a522dd Add hello illustration 2021-07-13 13:25:13 +02:00