Commit graph

441 commits

Author SHA1 Message Date
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
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
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
Mikołaj Pich
d9da6614e7 Move module cookies fetch logic to auto login interceptor 2024-01-03 00:58:41 +01:00
Mikołaj Pich
59384cafa1 Fix clearing start page cache on login completed 2024-01-02 19:02:30 +01:00
Mikołaj Pich
bfd4439132 Fix wtrealm url scheme for adfs cards 2024-01-02 00:47:50 +01:00
Mikołaj Pich
62d7b56a9d Fix clearing start page cache on login completed 2024-01-02 00:25:17 +01:00
Mikołaj Pich
65011203ec Don't try to clear studentStart cache if student start repo is not yet initialized 2024-01-01 23:22:01 +01:00
Mikołaj Pich
d77189664c Add missing start request in student start repo, add clearing start cache after successfull login 2024-01-01 22:15:01 +01:00
Mikołaj Pich
bd81855a28 Fix unit tests 2023-12-27 21:38:25 +01:00
Mikołaj Pich
a29fb83318 Update adfs light scoped wctx param 2023-12-27 21:33:00 +01:00
Mikołaj Pich
f16c029c16 Fix account permission exception message scraping 2023-12-27 19:45:42 +01:00
Mikołaj Pich
5f2128721c Fix students discovery after latest vulcan changes 2023-12-27 19:29:43 +01:00
Mikołaj Pich
e3706b0398 Fix handling new behaviour of LoginEndpoint.aspx in uonetplus-uczen and uonetplus-wiadomosciplus 2023-12-27 17:00:02 +01:00
Mikołaj Pich
11d2063201 Add full support for LoginEndpoint.aspx in uonetplus-uczen 2023-12-27 15:47:30 +01:00
Mikołaj Pich
46a4c3b139 Use LoginEndpoint.aspx endpoint instead of App directly 2023-12-22 18:10:39 +01:00
Mikołaj Pich
88fbdfc8d9 Make login url even more like the original one 2023-12-22 16:07:41 +01:00
Mikołaj Pich
fc3b386a2e Fix login to umt.tarnow.pl 2023-12-22 14:39:24 +01:00
Mikołaj Pich
f0c7093521 Update dependencies, update ktlint rules 2023-12-22 13:39:47 +01:00
Mikołaj Pich
29af590dd8 Update api dump 2023-12-22 12:59:10 +01:00
Mikołaj Pich
f6195151e3 Try to fix ADFSLightScoped login 2023-11-06 10:33:55 +01:00
Mikołaj Pich
e7540e7599 Add intermediate realm to main host login 2023-11-06 09:30:31 +01:00
Mikołaj Pich
8695e7bac5 Add not logged in error handling during registration 2023-11-05 23:10:27 +01:00
Mikołaj Pich
d062bd1a74 Remove missing LinkedAccountUids field in permissions fields, add some default values too 2023-11-03 22:06:42 +01:00
Mikołaj Pich
622c11a86b Fix parsing grade point percent if there is slash and some value which parsed to 0d 2023-10-18 21:32:29 +02:00
Mikołaj Pich
4eb33ca209 Update dependencies 2023-09-26 22:46:42 +02:00
Mikołaj Pich
6c1fe18065 Update dependencies 2023-08-24 23:30:56 +02:00
Mikołaj Pich
bca5158a1c Fix messed up params in sendPasswordResetRequest() call 2023-06-08 23:14:12 +02:00