Commit graph

478 commits

Author SHA1 Message Date
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
Mikołaj Pich
c900846ca9 Add implementation of completed lessons from studentplus 2024-01-18 18:14:28 +01:00
Mikołaj Pich
48af6bfc14 Always fetch student site cookies, fetch studentplus only if eduOne enabled 2024-01-18 18:00:41 +01:00
Mikołaj Pich
06a2e33822 Try to login to studentplus module if there is a url to that module for selected school on homepage 2024-01-18 17:20:43 +01:00
Mikołaj Pich
7017d55c81 Fix generating student key for eduOne endpoints 2024-01-18 16:54:37 +01:00
Mikołaj Pich
cd68beb772 Try to fix attendance when eduOne is on 2024-01-14 13:52:23 +01:00
Mikołaj Pich
0bba02045f Add some glue code to possible future closer integration with app cookie manager 2024-01-14 11:17:04 +01:00
Mikołaj Pich
640fb0913b Remove reusing of previously thrown error in auto login interceptor 2024-01-14 09:54:28 +01:00
Mikołaj Pich
60a6d31b45 Add writing to additional cookie manager from MergeCookieManager 2024-01-14 09:54:08 +01:00
Mikołaj Pich
b039d531c3 Save and attach csrf token from and to requests from subdomain modules 2024-01-13 22:18:01 +01:00
Mikołaj Pich
f23585e489 Fix cloudflare check and make it global 2024-01-13 00:07:11 +01:00
Mikołaj Pich
c2edf9498b Add MergeCookieManager to add additional cookies to suitable uri getters 2024-01-12 17:09:38 +01:00
Mikołaj Pich
d4d878065e Add user agent getter 2024-01-12 15:03:57 +01:00
Mikołaj Pich
a7f5fa26af Add CookieJarCabinet to manage multiple cookie stores 2024-01-12 14:53:45 +01:00
Mikołaj Pich
212f0e33d5 Expose alternative cookie manager used for registration 2024-01-12 11:54:00 +01:00
Mikołaj Pich
fd3d4ac624 Expose scrapper cookie manager 2024-01-12 10:46:39 +01:00
Mikołaj Pich
06ba354ef4 Add original url to cloduflare verification error exception 2024-01-12 10:44:54 +01:00
Mikołaj Pich
c895c42059 Add detecting cloudflare verificaiton page 2024-01-12 10:37:06 +01:00
Mikołaj Pich
e23e5bc2d2 Don't allow to throw runtime exceptions from auto login interceptor 2024-01-09 21:29:54 +01:00
Mikołaj Pich
8926db8525 Always clear cookies in sendCredentials method 2024-01-09 09:55:23 +01:00
Mikołaj Pich
04d34c018f Clear scrapper cookies only on e-mail, password or symbol change 2024-01-09 09:53:51 +01:00
Mikołaj Pich
6e3c3418b4 Make cookies jar static 2024-01-09 00:27:36 +01:00
Mikołaj Pich
e3951be709 Load cookies manually to retry requests in auto login interceptor 2024-01-08 23:38:23 +01:00
Mikołaj Pich
8c8af98a36 Bring back emptyCookieJarIntercept to fail not authorized requests quickly 2024-01-08 19:55:46 +01:00
Mikołaj Pich
4a7a502c1a Update homepage start path 2024-01-08 19:27:51 +01:00
Mikołaj Pich
e29d72ae09 Move chain.proceed call in auto login interceptor 2024-01-08 18:46:11 +01:00
Mikołaj Pich
7f6585b69c Save last error during auto login and throw it in other threads instead of retrying requests without session 2024-01-05 00:12:10 +01:00
Mikołaj Pich
444caeafa7 Version 2.3.3 2024-01-03 15:37:48 +01:00
Mikołaj Pich
ee396f1650 Limit coroutines usage in auto login interceptor to fix deadlock issues 2024-01-03 14:51:05 +01:00
Mikołaj Pich
f378f912d0 Fix student module url, add some logs, etc 2024-01-03 13:30:49 +01:00