Commit graph

607 commits

Author SHA1 Message Date
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
Mikołaj Pich
e97d565bbf
Fix expected response in excuse info in edu one attendance 2024-03-03 09:56:10 +01:00
Mikołaj Pich
bcb7797733
Fix api dump 2024-03-02 15:45:55 +01:00
Mikołaj Pich
83e59cca40
Don't throw error from student module login if there is only eduOne module available 2024-03-02 15:37:43 +01:00
Mikołaj Pich
939e4428c8
Add missing homepage permissions token refreshing 2024-03-02 15:24:09 +01:00
Mikołaj Pich
04661c77f0
Rethrow original exception if login not succeed 2024-03-02 12:58:10 +01:00
Mikołaj Pich
c0b5cd2b63
Update dependencies 2024-03-02 11:07:55 +01:00
Mikołaj Pich
8ffd7b0d35 Add last announcement feature 2024-03-02 10:45:42 +01:00
Mikołaj Pich
e077867957 Add support for detect whole day excuses in old student module 2024-02-29 23:56:48 +01:00
Mikołaj Pich
b7081d1ac1 Fix error handling in message endpoints and add more info to http 403 json exceptions 2024-02-29 22:58:31 +01:00
Mikołaj Pich
fcdf0aaf1e Add registration token impl to edu one 2024-02-25 18:32:19 +01:00
Mikołaj Pich
73ad35c0e6 Add attendance excuse feature to eduOne 2024-02-25 17:00:55 +01:00
Mikołaj Pich
10040718e9 Add method to restore messages from trash 2024-02-25 14:29:54 +01:00
Mikołaj Pich
8143878d88 Add support for authorize eduOne student 2024-02-25 12:56:25 +01:00
dependabot[bot]
fbc50399e0
Bump io.mockk:mockk-jvm from 1.13.8 to 1.13.9 (#189) 2024-02-17 11:44:31 +00:00
Mikołaj Pich
b5f64f0dbc Check if every last used symbol exist if there is more than 5 symbol to check 2024-02-16 21:28:17 +01:00
Mikołaj Pich
743cc22760 Add initial symbol check in getUserSubjects() call 2024-02-16 21:10:43 +01:00
Mikołaj Pich
0171e7b246 Add missing FormUrlEncoded annotation to sendModuleCertificate methods 2024-02-09 22:35:39 +01:00
Mikołaj Pich
78fda15f02 Add additional module login before every *sensitive* endpoint call 2024-02-09 19:00:14 +01:00
Mikołaj Pich
8632c2f425 Fix saving module headers in auto login interceptor 2024-02-09 17:41:20 +01:00
Mikołaj Pich
fc4b8260ea Add method to SDK to check is symbol exist 2024-02-09 16:45:37 +01:00
Mikołaj Pich
4e64026b8f Refactor saveModuleHeaders 2024-02-09 14:45:15 +01:00
Mikołaj Pich
c8037914ca Add className to semester and student to help distinguish them 2024-02-07 19:49:10 +01:00
Mikołaj Pich
29bf265a71 Fix lint 2024-01-21 20:41:07 +01:00
Mikołaj Pich
5e066fe9a9 Add detecting cloudflare block page 2024-01-21 20:39:36 +01:00
Mikołaj Pich
81028998e1 Don't try to reach completed lessons endpoint if it is disabled in student config 2024-01-21 20:09:23 +01:00
Mikołaj Pich
ce3296fc43 Add missing status param to api/RealizacjaZajec endpoint 2024-01-21 17:13:33 +01:00
Mikołaj Pich
1056a1ff2a Add support for new AccountInactiveException error message 2024-01-21 16:21:16 +01:00