100 Commits
Author SHA1 Message Date
Otto Ahoniemi 83fb4484c6 Add working rapodiff 2022-01-13 12:31:43 +02:00
Otto Ahoniemi e1c47a23c4 Add some debugging tools to backend image 2022-01-13 10:58:00 +02:00
Otto Ahoniemi 1e704782e8 Fix query typo 2022-01-13 10:46:22 +02:00
Otto Ahoniemi eee4348ab5 Don't run tests when changing rapodiff script 2022-01-13 10:32:06 +02:00
Otto Ahoniemi dcf8c0a4d1 Add rapo script base 2022-01-13 10:23:09 +02:00
Otto Ahoniemi 88e3e30cb9 Add admin user to always have admin rights 2022-01-13 08:56:22 +02:00
Otto Ahoniemi 50ccaa8048 Fix populations failing because of invalid admin role check 2022-01-13 08:53:55 +02:00
Otto Ahoniemi d189fac7f3 Promote custom populations to navbar & fix normal populations being show to studyguidancegroup users 2022-01-13 08:06:53 +02:00
Otto Ahoniemi 8ad3e3b62a Fix embarassing bug where I forgot to return mocked user from function 2022-01-13 07:55:46 +02:00
Otto Ahoniemi 424d59d21b Add toska group for mluukkai dev user 2022-01-13 07:35:27 +02:00
Otto Ahoniemi cd04802342 Cleanup bunch of extra logic from userservice 2022-01-13 07:35:27 +02:00
Otto Ahoniemi 3e99a58093 Race when waiting for studyguidancegroup answer from importer 2022-01-13 07:35:27 +02:00
Otto Ahoniemi 6d3ca2e4ba Cleanup user and error handling for feedback 2022-01-13 07:35:27 +02:00
Otto Ahoniemi 2c86eb0e4d Merge roles and rights to be part of user object in request 2022-01-13 07:35:27 +02:00
Otto AhoniemiandGitHub f87c81656d Update anon db guide + fix some typos
Some of these things are now part of CI + there were some possible places for misunderstandings.
2022-01-04 17:49:17 +02:00
Otto Ahoniemi d6d5a513d3 Remove old forwarders used for sisu api transition 2022-01-04 16:35:43 +02:00
Otto Ahoniemi 9b9c06ac57 Remove references to decodedToken in backend 2022-01-04 16:35:43 +02:00
Otto Ahoniemi 72db0f4595 Transform roles and admin thingys already in backend 2022-01-04 16:35:43 +02:00
Otto Ahoniemi 06f5130747 Merge usage of userRoles and roles 2022-01-04 16:35:43 +02:00
Otto Ahoniemi f5e5a66a51 Classic happy birthday to this one guy on the dataset -change 2022-01-04 12:06:26 +02:00
Otto Ahoniemi bd206f9360 Stop intercepting /superlogin path on user tests 2022-01-04 11:53:22 +02:00
Otto Ahoniemi fcc4110a9c Run migrations against built images in ci pipeline 2022-01-04 11:10:30 +02:00
Otto Ahoniemi 7bb95c121a Unify user-db and kone-db connections, fix circular logging error 2022-01-04 11:07:22 +02:00
Otto Ahoniemi 81688cef4c Refactor sending mails to users 2021-12-30 17:41:02 +02:00
Otto Ahoniemi e846ec6320 Migrate sentryuser setting to current user middleware 2021-12-30 17:30:05 +02:00
Otto Ahoniemi 1bb7099e31 Implement new superlogin 2021-12-30 17:04:53 +02:00
Otto Ahoniemi a96e90a852 Timeout if importer is unresponsive 2021-12-30 17:04:53 +02:00
Otto Ahoniemi ef525b8b48 Re-implement auth middleware and fix some other middleware thingys 2021-12-30 17:04:52 +02:00
Otto Ahoniemi e3a511ce7b Cleanup ignore files 2021-12-30 17:02:45 +02:00
Otto Ahoniemi cf6df68440 Remove unused ping route 2021-12-30 17:02:45 +02:00
Otto Ahoniemi 3ce4d5499c Replace old auth logic with RTK query and separate login functionality from Errorboundary 2021-12-30 17:02:45 +02:00
Otto Ahoniemi a87fa8bc34 Remove error container 2021-12-30 17:02:45 +02:00
Otto Ahoniemi 3370c8e9f3 Unify index and app setup with toskaboiler 2021-12-30 17:02:45 +02:00
Otto Ahoniemi 2c8cd4fb15 Refactor all token and user related redux selectors under one hook 2021-12-30 17:02:44 +02:00
Otto Ahoniemi 62ba593d6f Merge userservice to backend 2021-12-30 17:02:44 +02:00
Otto Ahoniemi 836335b9d5 Superlogin without token 2021-12-30 17:02:44 +02:00
Otto Ahoniemi c90ef093e1 Tokenless in backend and frontend 2021-12-30 17:02:43 +02:00
Otto Ahoniemi 7ba5e32acf Support login without token in userservice 2021-12-30 17:00:39 +02:00
Otto AhoniemiandGitHub d0920a30f7 Log headers temporarily 2021-12-30 14:27:58 +02:00
Otto Ahoniemi 420ad05878 Drop affiliations from userservice 2021-12-27 14:51:59 +02:00
Otto Ahoniemi b43bfe567f Run all the filter tests again 2021-12-17 00:15:51 +02:00
Otto Ahoniemi bf6dfb6278 Remove sis warning flag toggle since it's not used anymore 2021-12-16 23:17:13 +02:00
Otto Ahoniemi 7d9fab0866 Restore couple of student tests and test that student page doesn't crash without studyrights or courses 2021-12-16 23:17:10 +02:00
Otto Ahoniemi 8fb23f3020 Start adding separate and agreement studyrights to sis-db 2021-12-16 21:45:56 +02:00
Otto Ahoniemi 4d2f00a3b6 Fix credit graph failing if student has no studyrights 2021-12-16 21:19:39 +02:00
Otto Ahoniemi 6ae9b031dd Don't crash if study guidance groups not available 2021-12-16 19:57:28 +02:00
Otto Ahoniemi dca6404503 Fix workflow job dependencies 2021-12-09 02:35:08 +02:00
Otto Ahoniemi 955508c46d Run migrations also for anon user-db and kone-db 2021-12-09 02:33:09 +02:00
Otto Ahoniemi 1b8102f788 Run migration push also when test yaml changes + fix script trying to run down docker-compose 2021-12-09 02:24:09 +02:00
Otto Ahoniemi 456720d2b4 Add sis person ids to students 2021-12-09 02:14:15 +02:00
Otto Ahoniemi 2f8641338c Add creds 2021-12-09 02:04:55 +02:00
Otto Ahoniemi 62f87845a7 Remove garbage column from student model 2021-12-09 02:00:16 +02:00
Otto Ahoniemi 12e0d34b74 Fix typo in ci docker-compose container name and add profile so sis-updater won't be run by default 2021-12-09 01:56:18 +02:00
Otto Ahoniemi 7fe932750b Build anon sis-db and push to toska hub if there are new sis-db migrations 2021-12-09 01:42:16 +02:00
Otto Ahoniemi 2429fdaeb8 Fix lint staged shell linter failing because it was being ran inside alpine container 2021-12-09 01:31:59 +02:00
Otto Ahoniemi 84e8015192 Move anonyymioodi scripts and readme to this main repo 2021-12-09 01:31:29 +02:00
Otto Ahoniemi 214d91fcba Hotfix user right check when user has rights for programme and studyguidancegroups 2021-12-09 01:00:30 +02:00
Otto Ahoniemi 66c14883c0 Add note about tests failing if anon db hasn't been updated manually 2021-12-08 23:12:39 +02:00
Otto Ahoniemi 439151d1b2 Revert hiding of programme filter 2021-11-29 15:08:12 +02:00
Otto Ahoniemi 33d39c0e9d Add date to study guidance group filter set 2021-11-29 13:48:11 +02:00
Otto Ahoniemi 71c037e81c Add better selector for datetime picker header hider 2021-11-29 13:42:27 +02:00
Otto Ahoniemi c76a219b5b Don't show tag filter when tags aren't available 2021-11-29 13:34:08 +02:00
Otto Ahoniemi 5deb299912 Fix course tab in population student table 2021-11-29 12:59:50 +02:00
Otto Ahoniemi 2baf8f5e44 Set datepicker to start from 2017 + hide year header 2021-11-29 11:05:36 +02:00
Otto Ahoniemi 3ae6af225b Update README 2021-11-29 10:19:12 +02:00
Otto AhoniemiandGitHub 80b1031adb Merge pull request #3307 from UniversityOfHelsinkiCS/dependabot/npm_and_yarn/services/frontend/url-parse-1.5.3
Bump url-parse from 1.5.1 to 1.5.3 in /services/frontend
2021-11-17 19:01:48 +02:00
Otto Ahoniemi bd25e749df show admission type for study guidance group students as well 2021-11-17 18:59:50 +02:00
Otto Ahoniemi ef13642bf7 Fix some study guidance group filtering related bugs 2021-11-17 18:56:37 +02:00
Otto Ahoniemi 45c1cf1730 Fix study guidance group layout failing when tags not set 2021-11-17 18:35:09 +02:00
Otto Ahoniemi 7e31f04625 Allow users with study guidance group accesses to view student page 2021-11-17 18:28:59 +02:00
Otto Ahoniemi b544e5c50c Show student statistics search if user has studyguidancegroup role 2021-11-17 17:30:32 +02:00
Otto Ahoniemi 36197591db Add study guidance group spesific stuff to generaltab 2021-11-17 16:54:00 +02:00
Otto Ahoniemi 8a649b45f6 Add variants to generaltab + render study guidance groups in a custom manner 2021-11-17 16:13:56 +02:00
Otto Ahoniemi 0f1b7c6d4f Change from population booleans to variant in studenttable 2021-11-17 16:10:31 +02:00
Otto Ahoniemi 52efd65c31 Refactor column if elses away from generaltab 2021-11-17 15:27:17 +02:00
Otto Ahoniemi 1e1db69ed1 Remove hocs and passing unnecessary props to generaltab 2021-11-17 13:00:01 +02:00
Otto Ahoniemi 6444b91aa6 Declare populationtable contents in container instead of using if elses 2021-11-17 11:48:54 +02:00
Otto Ahoniemi eb0c7b77ae Remove unused components 2021-11-17 11:18:09 +02:00
Otto Ahoniemi 076739059d Destructure props on function declaration 2021-11-17 11:02:59 +02:00
Otto Ahoniemi bec6595803 Drop use of hocs in populationstudents 2021-11-17 11:01:28 +02:00
Otto Ahoniemi 259f320afb Combine tabs to studenttable 2021-11-17 10:37:13 +02:00
Otto Ahoniemi db68fcc13f Make studyprogramme and associated year sortable 2021-11-17 10:25:59 +02:00
Otto Ahoniemi f0868d685c Initial refactoring of populationStudents from class component to functional component 2021-11-11 17:01:55 +02:00
Otto AhoniemiandGitHub 5f33e335f3 Merge pull request #3304 from UniversityOfHelsinkiCS/dependabot/npm_and_yarn/services/frontend/axios-0.21.2
Bump axios from 0.21.1 to 0.21.2 in /services/frontend
2021-11-11 15:46:17 +02:00
Otto AhoniemiandGitHub 88e3ba5c61 Merge pull request #3305 from UniversityOfHelsinkiCS/dependabot/npm_and_yarn/services/frontend/tmpl-1.0.5
Bump tmpl from 1.0.4 to 1.0.5 in /services/frontend
2021-11-11 15:46:10 +02:00
Otto AhoniemiandGitHub 15e8c03986 Merge pull request #3306 from UniversityOfHelsinkiCS/dependabot/npm_and_yarn/services/frontend/tar-6.1.11
Bump tar from 6.1.0 to 6.1.11 in /services/frontend
2021-11-11 15:46:00 +02:00
Otto AhoniemiandGitHub dc8d090d84 Merge pull request #3287 from UniversityOfHelsinkiCS/dependabot/npm_and_yarn/services/backend/validator-13.7.0
Bump validator from 13.6.0 to 13.7.0 in /services/backend
2021-11-11 14:56:48 +02:00
Otto AhoniemiandGitHub b58f64e197 Merge pull request #3288 from UniversityOfHelsinkiCS/dependabot/npm_and_yarn/services/userservice/validator-13.7.0
Bump validator from 13.6.0 to 13.7.0 in /services/userservice
2021-11-11 14:56:41 +02:00
Otto Ahoniemi c13e12c7ea Refactor studyguidancegroup logic 2021-11-11 14:12:39 +02:00
Otto Ahoniemi c8dfb5a964 Fix toggling between panel statuses throwing user away from current panel 2021-11-11 13:29:19 +02:00
Otto Ahoniemi 46c4dae639 Revert tunkki solution for getting study guidance group population instead of generic population from redux 2021-11-11 12:52:27 +02:00
Otto Ahoniemi 6937f72c53 Fix population stats failing 2021-11-11 08:10:25 +02:00
Otto Ahoniemi c0afa21627 Merge branch 'master' of github.com:UniversityOfHelsinkiCS/oodikone 2021-11-11 07:48:49 +02:00
Otto Ahoniemi b49a9891e4 Prevent manual typing to datetime field 2021-11-11 02:40:51 +02:00
Otto Ahoniemi 5f6ccb7ca7 Add more filters to study guidance groups 2021-11-11 02:31:37 +02:00
Otto Ahoniemi e36cd12c81 Fix showing students in study guidance groups, add better indicators for links 2021-11-11 02:27:43 +02:00
Otto Ahoniemi 422f2ba3a5 Style betterments 2021-11-11 01:42:01 +02:00
Otto Ahoniemi d829c6f7aa Don't load mandatory programmes if already in state 2021-11-11 01:17:24 +02:00
Otto Ahoniemi 1365d89f51 Make it possible to toggle showing programme structure / flat list in courses of population 2021-11-11 01:12:43 +02:00
Otto Ahoniemi f1c8d85076 Make it possible to toggle showing credits from associated year 2021-11-10 23:09:57 +02:00