Commit graph

594 commits

Author SHA1 Message Date
Mikołaj Pich
03066e18a2
Make vtokens scheme configurable 2024-05-14 21:43:27 +02:00
Mikołaj Pich
50e06b2a06
Add rest of uonetplus-uczen mappings 2024-05-14 19:40:38 +02:00
Mikołaj Pich
fdaae2b913
Update endpoint mapping, change VToken calc schema 2024-05-14 09:27:33 +02:00
Mikołaj Pich
6fff07e52a
Add workarounds to detect not mapped urls as NotLoggedIn errors in multi threaded envs 2024-05-12 17:32:29 +02:00
Mikołaj Pich
ce84113020
Add rest of eduOne endpoints mapping 2024-05-12 14:46:28 +02:00
Mikołaj Pich
5999e046e4
Fix adding vToken headers during registration 2024-05-12 14:46:11 +02:00
Mikołaj Pich
c1e40d8538
Add missing V-Token headers to eduOne requests during registration 2024-05-12 13:48:19 +02:00
Mikołaj Pich
f50690a95a
Make setters for endpoints mapping public 2024-05-11 20:55:00 +02:00
Mikołaj Pich
2f4bbfdc70
Simplify attachModuleHeaders method 2024-05-11 17:18:18 +02:00
Mikołaj Pich
48a6c72d00
Migrate rest of ApiEndpoints usages to ApiEndpoints2 with map-based mapping 2024-05-11 16:56:53 +02:00
Mikołaj Pich
816e41f41f
Extract url mapping code to utils 2024-05-11 16:24:31 +02:00
Mikołaj Pich
e970108661
Move auto login interceptor related singletons to scrapper object
Related #198
2024-05-11 15:31:51 +02:00
Mikołaj Pich
1be3e9fa42
Use interceptor-based url mapping for uczenplus and wiadomosciplus modules 2024-05-11 14:58:01 +02:00
Mikołaj Pich
35d0a5a327
Use interceptor-based url mapping for uonetplus-uczen 2024-05-11 14:09:06 +02:00
Mikołaj Pich
8ddca83b53
Fix tests 2024-05-11 11:44:16 +02:00
Mikołaj Pich
6416b16b88
Add new uuid mapping from v58698, add vtoken support 2024-05-10 12:05:46 +02:00
Mikołaj Pich
4f90df84a0
Change error logs in error interceptor to warn level 2024-05-09 22:11:24 +02:00
Mikołaj Pich
06119e4a55
Fix student discover during registration on old vulcan versions 2024-05-09 22:06:12 +02:00
Mikołaj Pich
b57cbe04e8
Add dumb student plus matching 2024-05-09 21:53:01 +02:00
Mikołaj Pich
0cca5034c6
Add missing eduOne endpoint mapping 2024-05-09 20:48:50 +02:00
Mikołaj Pich
7c081268b4
Use proper endpoints scheme based on register version 2024-05-08 01:32:03 +02:00
Mikołaj Pich
ebb54d067b
Make possible to switch between api endpoints dynamically 2024-05-08 01:12:35 +02:00
Mikołaj Pich
91736bf8a0
Add new endpoints from uonet v24_4_2_58666 2024-05-08 00:43:40 +02:00
Mikołaj Pich
44bc5e1723
Change studentSchools selector to be less specific 2024-05-01 21:23:54 +02:00
Mikołaj Pich
979649a57d
Bring back AccountInactiveException handling support 2024-05-01 21:20:22 +02:00
Mikołaj Pich
676e837401
Adjust maintenance errors to avoid false positives 2024-05-01 21:08:32 +02:00
Mikołaj Pich
d251656df6
Move bad credentials error handling to login helper 2024-05-01 20:48:07 +02:00
Mikołaj Pich
f1084de2cd
Log all previously disabled error checks 2024-05-01 19:50:53 +02:00
Mikołaj Pich
905da09e1e
Update vulcan error detection 2024-04-25 11:59:26 +02:00
Mikołaj Pich
39668c543f
Ultimate error fix 2024-04-25 11:10:47 +02:00
Mikołaj Pich
8dc36dd101
Disable .errorBlock.errorTitle check 2024-04-25 10:10:29 +02:00
Mikołaj Pich
609381bfee
Add workaround to false positive AccountInactiveException errors 2024-04-25 09:26:28 +02:00
Mikołaj Pich
11873c7ee7
Add pointsSumAllYear field to grade summary 2024-04-22 15:26:07 +02:00
Mikołaj Pich
3331b6b65f
Add new averageAllYear field to grade summaries 2024-04-22 15:09:02 +02:00
Mikołaj Pich
5239094360
Add database update error check 2024-04-21 23:38:18 +02:00
Mikołaj Pich
d766d243be
Attach proper school name to RegisterUnit inside register repo 2024-04-21 23:12:36 +02:00
Mikołaj Pich
617b4eb62c
Add fallback to no-permissions students fetch from student(plus) module 2024-04-20 13:26:41 +02:00
Mikołaj Pich
2c498c5d85
Refactor register units fetching during registration 2024-04-20 12:27:41 +02:00
Faierbel
a5181dcfbb Update comments in AutoLoginInterceptor 2024-03-26 18:51:28 +01:00
Mikołaj Pich
1d9e0109b6
Add new behavior handling of not logged in user on old student module 2024-03-26 18:08:24 +01:00
Mikołaj Pich
af6a8c66e7
Remove retrowhing original exception from auto login interceptor 2024-03-26 12:49:05 +01:00
Mikołaj Pich
bef50f7f68
Fix semesters sync if there is no valid diaryId set 2024-03-26 12:43:08 +01:00
Mikołaj Pich
0f1974643a
Fix lint issues 2024-03-26 12:38:11 +01:00
Mikołaj Pich
dde984685b
Avoid extra mapping step during register to fix issues with number formatting 2024-03-26 00:32:21 +01:00
Mikołaj Pich
8902a0c463
Refactor students extracting in register repo 2024-03-26 00:21:35 +01:00
Mikołaj Pich
71654e3186
Don't allow null in getCurrentStudent() 2024-03-26 00:13:36 +01:00
Mikołaj Pich
5459ac7fc4
Unify semesters handling between getCurrentStudent and getSemesters in eduOne 2024-03-26 00:07:36 +01:00
Mikołaj Pich
35dec57cb6
Throw error if there is no matching eduOne student in getSemesters() method 2024-03-25 23:49:21 +01:00
Mikołaj Pich
9d11cce2ea
Change debug log in getDecodedKey 2024-03-24 22:28:20 +01:00
Mikołaj Pich
3d5bfea0bd
Don' try to fetch semesters when auth required, provide empty-invalid semester instead 2024-03-24 22:04:20 +01:00