Commit graph

634 commits

Author SHA1 Message Date
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
Mikołaj Pich
5dfe351104
Fetch semesters along with current student 2024-03-24 21:50:45 +01:00
Mikołaj Pich
a3adb07eb1
Extract ContextStudent mapper to separate method 2024-03-24 21:27:10 +01:00
Mikołaj Pich
969cf79d97
Match current user only by userId, without unitId 2024-03-24 20:46:28 +01:00
Mikołaj Pich
44c31fa0d5
Handle case when message details response body is null 2024-03-24 20:05:29 +01:00
Mikołaj Pich
b4941cb70a
Change way of matching student semesters 2024-03-24 15:11:42 +01:00
Mikołaj Pich
8b444cad99
Don't require diaryId in getCurrentStudent from eduOne 2024-03-24 04:19:51 +01:00
Mikołaj Pich
d9f750deea
Don't fail if there is missing parts in decoded key 2024-03-24 04:14:33 +01:00
Mikołaj Pich
10cda38505
Move getStudent() from student repo to student start repo 2024-03-24 04:10:02 +01:00
Mikołaj Pich
c1c8cbe4c0
Revert changes in CustomDateAdapter causing regression in date formatting 2024-03-23 15:52:25 +01:00
Mikołaj Pich
43d4cf2eb3
Throw FeatureUnavailableException for features not available in eduOne mode 2024-03-23 15:45:22 +01:00
Mikołaj Pich
e27a5f19bb
Add student info impl via eduOne 2024-03-23 15:37:27 +01:00
Mikołaj Pich
545a90e2a0
Fix getToken implementation 2024-03-23 15:06:28 +01:00
Mikołaj Pich
dab976890f
Make field dyrektorzy nullable 2024-03-23 14:53:58 +01:00
Mikołaj Pich
cd31377aed
Add missing key query param to mobile devices, school and teachers endpoints 2024-03-23 14:51:50 +01:00
Michael
28fc7a7d40
Add basic device support for eduOne (#197) 2024-03-22 23:19:01 +01:00
Michael
67c637b91b
Fix description in eduOne grades (#196) 2024-03-22 22:30:19 +01:00
Michael
e0a5753e11
Add eduOne support for school and teachers (#195) 2024-03-22 22:18:17 +01:00
Mikołaj Pich
8e26580752
Make possible to detect is currently set up student have eduOne register 2024-03-22 00:33:03 +01:00
Mikołaj Pich
6261efbc3d
Always return list of timetable headers from eduOne timetable 2024-03-21 23:01:50 +01:00
Mikołaj Pich
ebd4a8b90b
Avoid adding StudentCookieInterceptor to student plus service 2024-03-21 22:56:52 +01:00
Mikołaj Pich
3ee9a2e132
Add missing timetable headers from eduOne 2024-03-21 21:14:16 +01:00
Mikołaj Pich
c847d37c9f
Fix tests 2024-03-20 02:00:20 +01:00
Mikołaj Pich
1ae931c5a0
Fix marking account as parent when loggin via eduOne account 2024-03-20 01:37:31 +01:00
Mikołaj Pich
da19305b31
Fix non authorized edu one students discovery 2024-03-20 01:23:35 +01:00
Mikołaj Pich
b2cc35e317
Forbid accessing to grade statistics methods in edu one mode 2024-03-20 00:42:59 +01:00
Mikołaj Pich
1b6e840917
Add missing semester fetch impl via eduOne 2024-03-20 00:31:51 +01:00
Mikołaj Pich
2583e044e7
Fix isEduOne flag 2024-03-20 00:16:36 +01:00
Mikołaj Pich
801089a7b1
Fix semesterId and diary name issues 2024-03-20 00:05:36 +01:00
Mikołaj Pich
e73761051a
Add error body to http errors if content body is json 2024-03-19 23:55:57 +01:00
Mikołaj Pich
72ec14c148
Fix url generator in registration for eduOne student 2024-03-19 23:51:07 +01:00
Mikołaj Pich
3e4d549d79
Expose isEduOne flag setter and getters 2024-03-19 23:50:48 +01:00
Mikołaj Pich
91e847ee47
Add support for conferences via eduOne 2024-03-19 23:25:34 +01:00
Mikołaj Pich
e86fd1b332
Add support for notes via eduOne 2024-03-19 23:05:00 +01:00
Mikołaj Pich
6bcdadad88
Improve some things in timetable changes parsing 2024-03-19 22:44:55 +01:00
Mikołaj Pich
dda1dc908b
Add support for lesson move with change in timetable 2024-03-19 22:24:21 +01:00
Mikołaj Pich
45cbe64fd0
Add support for lesson move change in timetable 2024-03-19 22:00:03 +01:00
Mikołaj Pich
f04da5385b
Add support for more teach change in timetable 2024-03-19 21:58:25 +01:00
Mikołaj Pich
d4f6f3571c
Add auto login to eduOne module 2024-03-19 21:23:01 +01:00
Mikołaj Pich
a618b19dd3
Add support for timetable via eduOne 2024-03-19 21:18:34 +01:00
Mikołaj Pich
990eecc5d5
Fix attendance summary 2024-03-19 20:29:10 +01:00
Mikołaj Pich
5cbe97b9a0
Add tests to eduOne homework 2024-03-19 20:18:18 +01:00
Mikołaj Pich
8428eb6ce9
Fix syntax errors in homework 2024-03-19 20:11:54 +01:00
Mikołaj Pich
a3da581298
Merge branch 'master' into eduone-homework 2024-03-19 20:00:40 +01:00
Mikołaj Pich
3c7d8b9545
Add support for attendance summary via eduOne 2024-03-19 20:00:19 +01:00
Mikołaj Pich
fd5eb26a9d
Don't try to auth uonetplus-uczen module when eduOne is enabled 2024-03-19 19:58:20 +01:00
Marioneq 4958
0d225dc30f Add student+ homework and fix teacherSymbol in exams 2024-03-19 19:07:10 +01:00
Mikołaj Pich
5bfcd16c0b
Add tests to eduOne exams 2024-03-19 18:12:34 +01:00
Mikołaj Pich
4071569fb4
Fix syntax and missing imports 2024-03-19 18:01:45 +01:00
Mikołaj Pich
1c67564742
Add tests to eduOne grades 2024-03-19 17:55:56 +01:00
Marioneq 4958
94083e087f Merge branch 'patch-1' of https://github.com/Marioneq4958/sdk into patch-1 2024-03-19 17:41:22 +01:00
Marioneq 4958
8f3a35c153 Exams 2024-03-19 17:39:57 +01:00
Mikołaj Pich
cc9615f5b1
Add missing paramters to getGrades() method 2024-03-19 17:36:34 +01:00
Mikołaj Pich
d17eaa2190
Merge branch 'master' into patch-1 2024-03-19 17:35:02 +01:00
Mikołaj Pich
db89678f5b
Update dependencies 2024-03-19 17:34:31 +01:00
Marioneq 4958
f53fc32821 Add getGrades() in StudentPlusService 2024-03-19 15:28:27 +01:00
Marioneq 4958
eaff0f4bf2 Update GradesResponse.kt 2024-03-19 15:00:08 +01:00
Marioneq 4958
eb2a967ef6
Update Grade.kt 2024-03-19 13:59:52 +01:00
Marioneq 4958
aba27876c2
Update Grade data class 2024-03-19 13:55:56 +01:00
Marioneq 4958
4a9dadc042
Add grades endpoint in StudentPlusService 2024-03-19 13:41:57 +01:00
Mikołaj Pich
41aef1a68b
Add support for register via eduOne 2024-03-19 00:33:58 +01:00