Commit graph

1665 commits

Author SHA1 Message Date
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
Mikołaj Pich
f378f912d0 Fix student module url, add some logs, etc 2024-01-03 13:30:49 +01:00
Mikołaj Pich
7caaddcf51 Don't try to login to both messages and student modules 2024-01-03 12:54:31 +01:00
Mikołaj Pich
96464549f0 Change run blocking and return statements in auto login interceptor 2024-01-03 12:42:55 +01:00
Mikołaj Pich
62fcec2bb4 Move lock to auto login interceptor object 2024-01-03 12:29:54 +01:00
Mikołaj Pich
dbe881c05b Change synchronization block in autologin 2024-01-03 12:20:18 +01:00
Mikołaj Pich
b6566da99f Retry original requests outside of reentrant lock 2024-01-03 03:57:17 +01:00
Mikołaj Pich
526df3c8aa Update logger.debug place in autologin 2024-01-03 03:25:52 +01:00
Mikołaj Pich
2e615da85f Simplify reentrant lock in auto login interceptor 2024-01-03 03:09:18 +01:00
Mikołaj Pich
c0dc1bdfbb Use ReentrantReadWriteLock in auto login intereptor 2024-01-03 02:58:12 +01:00
Mikołaj Pich
40d7e85d75 Try to fetch cookies from both student and message module 2024-01-03 02:25:56 +01:00
Mikołaj Pich
ce4695a7a1 Restore reentrant lock logic to synchronize auto login interceptor 2024-01-03 02:13:48 +01:00
Mikołaj Pich
4a2f8e88e7 Version 2.3.2 2024-01-03 01:55:44 +01:00
Mikołaj Pich
5000080a7a Don't clear cookies from auto login interceptor 2024-01-03 01:44:36 +01:00
Mikołaj Pich
049c428fd3 Synchronize whole requests in auto login interceptor 2024-01-03 01:31:46 +01:00