Commit graph

1639 commits

Author SHA1 Message Date
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
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
9409a90dde Version 2.3.1 2024-01-02 01:34:51 +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
a8f4c11db1 Version 2.3.0 2024-01-01 23:45:20 +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
dependabot[bot]
0d596d770b
Bump slf4j from 2.0.9 to 2.0.10 (#186) 2024-01-01 22:21:03 +00:00
dependabot[bot]
7c7bef0722
Bump org.jsoup:jsoup from 1.17.1 to 1.17.2 (#185) 2024-01-01 22:16:55 +00:00
Mikołaj Pich
9442a1db44 Reset version to development 2024-01-01 22:22:09 +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
fc3ecf7257 Version 2.2.7 2023-12-27 21:41:00 +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
dependabot[bot]
d0f87da8d1
Bump org.jlleitschuh.gradle.ktlint from 12.0.2 to 12.0.3 (#184) 2023-12-22 12:45:38 +00: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
65fdac0cf6 Update kotlin to 1.9.21, use signer version from sonatype snapshots 2023-11-28 22:55:58 +01:00
dependabot[bot]
3b2616561c
Bump org.jsoup:jsoup from 1.16.1 to 1.16.2 (#179) 2023-11-28 20:25:39 +00:00