Commit graph

1579 commits

Author SHA1 Message Date
dependabot[bot]
73260402c6
Bump org.jlleitschuh.gradle.ktlint from 12.0.3 to 12.1.0 (#188) 2024-02-17 11:44:50 +00: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
fa883c411e Version 2.4.0 2024-02-09 19:20:42 +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
33b64c6427 Version 2.3.7 2024-01-21 20:44:37 +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
150c0957ca Add missing unitId field to Sdk 2024-01-21 17:12:13 +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
0156b4ba51 Version 2.3.6 2024-01-14 17:06:50 +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
6c7c919978 Reset version to development 2024-01-12 10:47:02 +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
55afa6836d Version 2.3.5 2024-01-09 21:30:21 +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
8271de8dfb Version 2.3.4 2024-01-09 18:55:41 +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