Commit graph

593 commits

Author SHA1 Message Date
Mikołaj Pich
8b21629478 Add user/full names to Mailbox pojo 2022-08-19 23:27:17 +02:00
Mikołaj Pich
90687bdc3d Add some missing fields in pojos 2022-08-19 22:52:17 +02:00
Mikołaj Pich
09965f5965 Add missing headers to send message method 2022-08-19 22:34:48 +02:00
Mikołaj Pich
2a14fd19b7 Fix sendMessage and deleteMessage response types 2022-08-19 00:18:34 +02:00
Mikołaj Pich
19dd28401d Add missing headers to remove messages method 2022-08-18 23:21:40 +02:00
Mikołaj Pich
041953380d Handle not logged in errors in messages+ 2022-08-18 23:11:36 +02:00
Mikołaj Pich
007176fed2 Add missing mapping 2022-08-18 00:19:23 +02:00
Mikołaj Pich
b210dcac04 Split get message details and get message replay details 2022-08-17 23:49:27 +02:00
Mikołaj Pich
9176c250ca Add mailboxKey param to message methods 2022-08-17 23:15:46 +02:00
Mikołaj Pich
44a8180292 Generate random uuid in new message request 2022-08-17 21:29:28 +02:00
Mikołaj Pich
b41a4e2f22 Fix recipients parsing 2022-08-15 18:00:51 +02:00
Mikołaj Pich
c3db2cdc3d Parse mailboxes names 2022-08-15 17:20:10 +02:00
Mikołaj Pich
cf29b966d6 Parse recipients names 2022-08-15 17:10:00 +02:00
Mikołaj Pich
ceafa0f411 Add more fields to message details and new message 2022-08-15 16:27:54 +02:00
Mikołaj Pich
1825a9a60d Add example of message details 2022-08-15 16:05:15 +02:00
Mikołaj Pich
2e46ab689f Fix parsing message meta 2022-08-15 14:59:25 +02:00
Mikołaj Pich
497713dac9 Add initial support for messages plus API 2022-08-14 17:10:11 +02:00
Mikołaj Pich
3f77767434 Change source of user name 2022-08-13 00:46:21 +02:00
Mikołaj Pich
26230e50e7 Add grades full method with metadata 2022-08-07 22:23:33 +02:00
Mikołaj Pich
59042d9458 Specify return type explicity in public API 2022-08-07 14:28:22 +02:00
Mikołaj Pich
9032e33686 Fix empty object serialization 2022-08-02 00:26:56 +02:00
Mikołaj Pich
e18302b50f Allow unknown keys in Permission objects 2022-08-02 00:02:06 +02:00
Mikołaj Pich
84b6675269 Fix lint issues 2022-08-01 23:10:02 +02:00
Mikołaj Pich
bafb07cf5d Migrate from moshi to kotlinx serialization 2022-08-01 00:59:49 +02:00
Mikołaj Pich
aec4ea5221 Remove deprecations from tests 2022-07-30 16:48:58 +02:00
Mikołaj Pich
0a1171b8f9 Stop cashing cache response in student repo 2022-07-30 16:27:58 +02:00
Mikołaj Pich
b0d057ca21 Update dependencies 2022-06-18 12:24:28 +02:00
Mikołaj Pich
16811fbe90 Add referrer header to send certificate request 2022-06-18 11:11:54 +02:00
Mikołaj Pich
189f5ecee0 Trim whitespaces from strings in GradeSummary 2022-05-16 21:29:42 +02:00
Mikołaj Pich
3ecb494372 Handle null in attendance subject 2022-05-16 21:24:11 +02:00
Mikołaj Pich
fba873461e Add more fields to Diary model 2022-03-12 12:17:20 +01:00
Mikołaj Pich
14ae84db0b Allow null in timetable full 2022-03-12 11:52:17 +01:00
Mikołaj Pich
f0272ef252 Allow null in grade details and summary list 2022-03-12 11:49:35 +01:00
Mikołaj Pich
e70e970d32
Merge pull request #106 from wulkanowy/feature/student-photo
Add student photo
2022-03-12 11:26:53 +01:00
xVemu
3b17f04b9d
Add support for room replacement in timetable 2022-03-05 12:57:38 +01:00
Mikołaj Pich
57680ecb3f
Remove unused TableContent property from GradePointsSummary 2022-01-09 16:15:09 +01:00
Mikołaj Pich
db5820b81b Update default android version, build tag and chrome version 2021-12-31 16:06:49 +01:00
Mikołaj Pich
5713a6d1ee Fix lint issues 2021-12-31 15:59:01 +01:00
Mikołaj Pich
6e1b8eb26a Unescape entities from homework content 2021-12-31 14:56:40 +01:00
Mikołaj Pich
f6f32b755a Fix unit id matching for kindergarten students 2021-12-30 22:43:37 +01:00
Mikołaj Pich
27f95f923c Fix student start repo validation 2021-12-30 19:33:16 +01:00
Mikołaj Pich
4e88b0f8d4 Fix ScrapperRemoteTests 2021-12-30 19:15:33 +01:00
Mikołaj Pich
7b52d0e5e1 Add tests for filtering users without diaries 2021-12-30 18:54:20 +01:00
Mikołaj Pich
8971d39691 Add base support for kindergarten diaries 2021-12-30 17:12:52 +01:00
Mikołaj Pich
42bce37748 Simplify timetable date and time parsing 2021-12-29 16:20:08 +01:00
Mikołaj Pich
4e9fa5d240 Fix compatibility issues in edu.gdansk.pl login hotfix 2021-12-19 21:40:58 +01:00
Mikołaj Pich
e472eec5a2 Hotfix edu.gdansk.pl login 2021-12-17 19:37:10 +01:00
Mikołaj Pich
a45110c8de Fix tests 2021-11-26 21:18:56 +01:00
Mikołaj Pich
15477ccdfa Add more info to log statements in registration 2021-11-26 20:55:23 +01:00
Mikołaj Pich
fffa4d7d91 Allow null in date field of grade details item 2021-11-21 09:27:49 +01:00
Mateusz Idziejczak
a0a30a7944 Add student photo 2021-10-11 19:43:52 +02:00
Mikołaj Pich
f94cdfea16 Improve info message 2021-10-07 21:21:59 +02:00
Mateusz Idziejczak
96ee8ba947 Fix showing teacher 2021-10-06 21:50:40 +02:00
Mikołaj Pich
f62736adb0 Fix eszkola.opolskie.pl login 2021-09-28 18:35:26 +02:00
Mikołaj Pich
230d2075df Add missing support for lesson light replacement without group 2021-09-24 22:57:00 +02:00
Mikołaj Pich
5a8f9c6206 Refactor teacher replacement 2021-09-24 22:36:02 +02:00
Mateusz Idziejczak
e7f36785d7 Reverse teacher 2021-09-22 21:06:18 +02:00
Mateusz Idziejczak
783733eaf7 Fix tests 2021-09-22 20:43:03 +02:00
Mateusz Idziejczak
c3b021e8f7 Fix lesson with replacement teacher 2021-09-22 20:34:05 +02:00
Mikołaj Pich
8f3721f1f9 Trim dots in bad credentials error message 2021-09-19 17:01:21 +02:00
Mikołaj Pich
b9a45cfb4b Use okhttp-bom artifact 2021-09-18 11:12:30 +02:00
Mikołaj Pich
d74acd3989 Fix mixed room with teacher in timetable after 21.11.0.28 update 2021-09-15 23:39:10 +02:00
Mikołaj Pich
66cfe3e996 Split teacher in exams mapper only once 2021-09-13 12:37:23 +02:00
Mikołaj Pich
55980b2178 Cleanup tests 2021-09-13 12:31:47 +02:00
Mikołaj Pich
7b28b74502 Override date field in homework mapping 2021-09-13 11:05:08 +02:00
Mikołaj Pich
7c399ffaea Upgrade jsoup to 1.14.2 2021-09-04 12:45:34 +02:00
Mikołaj Pich
5c17530cd9 Remove group parsing from exams subject 2021-08-29 00:53:58 +02:00
dependabot[bot]
b991d0c5b6
Bump org.jlleitschuh.gradle.ktlint from 9.2.1 to 10.1.0 (#90) 2021-08-22 10:24:37 +00:00
Mikołaj Pich
18e16b2034 Update exams schema (fixes #97) 2021-08-22 10:20:14 +02:00
Mikołaj Pich
ae8798806d Make birthPlace nullable 2021-05-28 19:18:28 +02:00
Mikołaj Pich
496dc01d15 Fix lint 2021-05-21 11:25:03 +02:00
Mikołaj Pich
88111ea725 Fix sending messages 2021-05-21 11:18:04 +02:00
Mikołaj Pich
bb083546e0 Fix marking as non-changed if cell don't have classes 2021-05-16 22:58:19 +02:00
Mikołaj Pich
e282a7a50e Fix marking canceled lesson only as changed 2021-05-16 22:50:56 +02:00
Mikołaj Pich
f66cac410a Add constants with day offests in timetable tests 2021-05-16 21:38:53 +02:00
Mikołaj Pich
f3f37e9066 Upgrade kotlin to 1.5.0 2021-05-16 21:10:02 +02:00
Mikołaj Pich
d212ea8109 Make kinship optional 2021-05-13 09:58:38 +02:00
Mikołaj Pich
3fa6936c2f Update README.md 2021-05-01 23:38:26 +02:00
Mikołaj Pich
50f74b2c6a Disable simultaneousLoginWithError test 2021-05-01 16:59:47 +02:00
dependabot[bot]
9606d8bf79
Bump okhttp3 from 3.12.13 to 4.9.1 (#83)
* Bump okhttp3 from 3.12.13 to 4.9.1

Bumps `okhttp3` from 3.12.13 to 4.9.1.

Updates `logging-interceptor` from 3.12.13 to 4.9.1
- [Release notes](https://github.com/square/okhttp/releases)
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/okhttp/compare/parent-3.12.13...parent-4.9.1)

Updates `mockwebserver` from 3.12.13 to 4.9.1
- [Release notes](https://github.com/square/okhttp/releases)
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/okhttp/compare/parent-3.12.13...parent-4.9.1)

Updates `okhttp` from 3.12.13 to 4.9.1
- [Release notes](https://github.com/square/okhttp/releases)
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/okhttp/compare/parent-3.12.13...parent-4.9.1)

Updates `okhttp-urlconnection` from 3.12.13 to 4.9.1
- [Release notes](https://github.com/square/okhttp/releases)
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/okhttp/compare/parent-3.12.13...parent-4.9.1)

Signed-off-by: dependabot[bot] <support@github.com>

* Migrate to okhttp 4

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mikołaj Pich <m.pich@outlook.com>
2021-05-01 16:27:11 +02:00
Mikołaj Pich
5afc998441 Add moshi version variable 2021-05-01 16:17:32 +02:00
Mikołaj Pich
d85e16cdcd Workaround nullable grade date 2021-05-01 16:03:52 +02:00
Mikołaj Pich
6ed5b675a1 Fix crash grade parser on non-standard number of modifiers 2021-04-18 19:54:08 +02:00
Mikołaj Pich
877b913588 Collect day headers with line breaks too 2021-04-03 19:37:50 +02:00
Mikołaj Pich
e21c18cb70 Add method to get timetable day headers 2021-04-03 13:01:07 +02:00
Mikołaj Pich
9bd61f8fe9 Remove deprecated timetable format parser 2021-04-03 12:08:56 +02:00
Mikołaj Pich
9ca13e65c9 Fix contact field in school info 2021-03-17 22:11:56 +01:00
Mikołaj Pich
340cf4ebd3 Fix parsing additional lessons 2021-03-16 10:39:32 +01:00
Mikołaj Pich
b2c274ef00 Trim dash from school info fields 2021-03-15 00:16:28 +01:00
Mikołaj Pich
28ab93dcdf Add new lesson varian without span classes 2021-03-14 23:39:01 +01:00
Mikołaj Pich
6cdcad40fd Make motherAndFatherNames nullable 2021-02-26 10:38:14 +01:00
Mikołaj Pich
9a25237f6f Make StudentInfo.secondName nullable 2021-02-07 20:07:15 +01:00
Mikołaj Pich
43cbf9acca Log start page length on send message 2021-02-07 20:07:15 +01:00
Mikołaj Pich
8aadd1ed3c Add more info to requireNotNull error message 2021-02-07 20:07:15 +01:00
Mikołaj Pich
ec59a45a70 Fix interpreting database update error screen 2021-02-07 20:07:15 +01:00
Mikołaj Pich
443e4c12f0 Add more logging to getMessageDetails() 2021-02-07 20:07:15 +01:00
Mikołaj Pich
966fc58f9a Add more logging to adfs cufs login 2021-02-07 20:07:15 +01:00
Mikołaj Pich
a6e2cebba8 Make mother and father names nullable 2021-02-07 20:07:15 +01:00
Mikołaj Pich
b668a277ca Add more logging to adfs cufs login 2021-02-06 12:11:37 +01:00
Mikołaj Pich
31fa6d26f2 Make guardian first and second nullable, deprecate guardians list 2021-02-06 11:54:33 +01:00
Mikołaj Pich
d250c5133e Make familyName nullable in StudentInfo 2021-02-02 17:40:04 +01:00
Mikołaj Pich
9daf6e5f8d Make StudentGuardian.Email field nullable 2021-01-25 00:01:43 +01:00
Mikołaj Pich
a722e777bd Use bytestream instead of string for jsoup parse input 2021-01-23 19:49:36 +01:00
Mikołaj Pich
848671e111 Fix tests 2021-01-21 10:22:30 +01:00
Mikołaj Pich
6b3a58ce05 Add X-V-* headers 2021-01-21 09:32:27 +01:00
Mikołaj Pich
d55d6afcc9 Change messageId to type string 2021-01-21 09:18:59 +01:00
Mikołaj Pich
22417c56d9 Remove Nieprzeczytana and idWiadomoscAdresat from get*Message() endpoint params 2021-01-21 09:11:00 +01:00
Mikołaj Pich
ae676aa5de Decrease timeout to 30 seconds 2021-01-20 17:56:16 +01:00
Mikołaj Pich
febb27e8a5 Fix missing 'success' value at $.feedback in ApiResponse 2021-01-19 19:44:25 +01:00
Mikołaj Pich
6edc85315f Add separate data class for additional lessons 2020-12-18 21:34:06 +01:00
Mikołaj Pich
41b164fe50 Set more timeout configs 2020-12-16 20:16:13 +01:00
Mikołaj Pich
fd47c5e4cd Change callTimeout to connectTimeout 2020-12-16 10:29:25 +01:00
Mikołaj Pich
d098eb4cc2 Make feedback.innerExceptionMessage nullable 2020-12-08 22:17:17 +01:00
Mikołaj Pich
61a87ed00a Enable tslv1.2 to gdansk, lublin and koszalin 2020-12-07 16:22:20 +01:00
Mikołaj Pich
50c049efde Fix login to edu.gdansk and eduportal.koszalin 2020-12-06 16:06:35 +01:00
Mikołaj Pich
d74d684b72 Add student info 2020-11-29 22:27:10 +01:00
Mikołaj Pich
ebaf78312d Add timetable additional lessons 2020-11-11 19:58:41 +01:00
Mikołaj Pich
07100af76c Remove unused timetable classes 2020-11-11 19:02:24 +01:00
Mikołaj Pich
21541c9a6c Add timetable lesson case with two change lines 2020-11-11 18:03:09 +01:00
Mikołaj Pich
d66d47526a Don't run jsoup to check errors on json responses 2020-11-11 17:24:01 +01:00
Mikołaj Pich
bdc0083ac5 Fix some remote tests 2020-11-11 17:10:34 +01:00
Mikołaj Pich
64781b74e2 Add director information feature 2020-11-07 23:58:58 +01:00
Mikołaj Pich
bcf6b53608 Rework grade statistics 2020-11-07 17:03:19 +01:00
dependabot-preview[bot]
1a0acdabfb
Bump moshi-adapters from 1.10.0 to 1.11.0 (#62) 2020-11-01 18:17:53 +00:00
Mikołaj Pich
0ac6b7961e Add class average to grade partial statistics 2020-11-01 14:02:38 +01:00
Mikołaj Pich
c24f2f19d0 Increase call timeout to 60 seconds 2020-10-30 00:22:38 +01:00
Mikołaj Pich
f82bf7429f Make exceptionMessage field optional in feedback of error response 2020-10-21 19:16:15 +02:00
Mikołaj Pich
0ace1296d6 Add conferences 2020-10-18 23:30:53 +02:00
Mikołaj Pich
fae6cdc6cb Fix tests 2020-10-15 11:59:22 +02:00
Mikołaj Pich
e769c833ad Change exception hierarchy 2020-10-15 11:53:44 +02:00
Mikołaj Pich
86b76c8c6a Make feedback.handled nullable 2020-10-15 11:25:24 +02:00
Mikołaj Pich
a9c771814a Add custom http error exceptions 2020-10-15 11:24:45 +02:00
Mikołaj Pich
4d7e031999 Fix handling retrofit runtime exceptions in auto login interceptor 2020-10-13 14:10:22 +02:00
Mikołaj Pich
73692b188c Skip Default symbol login at register 2020-10-13 12:04:59 +02:00
dependabot-preview[bot]
74ef6297b1
Bump moshi-kotlin-codegen from 1.9.3 to 1.11.0 (#56) 2020-10-13 10:04:46 +00:00
dependabot-preview[bot]
245f7bfa9c
Bump moshi from 1.9.3 to 1.11.0 (#57) 2020-10-13 10:00:14 +00:00
dependabot-preview[bot]
0beb981d47
Bump moshi-adapters from 1.9.3 to 1.10.0 (#55) 2020-10-12 17:14:27 +00:00
Mikołaj Pich
7577fc940a Make Diary.symbol nullable 2020-09-29 20:34:21 +02:00
Mikołaj Pich
fd481aea0c Fix unregister device service method return type 2020-09-29 20:30:45 +02:00
Mikołaj Pich
84c0703c23 Fix parsing sent excues for all day 2020-09-28 23:11:49 +02:00
Mikołaj Pich
6b9fd68ba8 Fix UnregisterDeviceRequest moshi adapter 2020-09-28 23:06:37 +02:00
Mikołaj Pich
876cb1949f Add log stmt in sendMessage() 2020-09-27 21:32:34 +02:00
Mikołaj Pich
9364c2e6fc Prepend EDUNET\ to umt.tarnow.pl login 2020-09-27 17:44:00 +02:00
Mikołaj Pich
3ce92d979e Fix no enum constant found on umt.tarnow.pl login 2020-09-27 17:39:53 +02:00
Mikołaj Pich
b94a4c1eec Fix umt.tarnow.pl login 2020-09-26 23:19:05 +02:00
Mikołaj Pich
01903e16db Fix parsing attendance summary 2020-09-26 15:50:43 +02:00
Mikołaj Pich
2b9fef6d0f Fix date serialization in requests 2020-09-26 15:35:36 +02:00
Mikołaj Pich
3e7228b0cf Fix lint 2020-09-26 15:16:37 +02:00
Mikołaj Pich
07a21f8fb7 Fix grade points summary parsing 2020-09-26 15:14:22 +02:00
Mikołaj Pich
510161aaf9 Migrate scraper to moshi 2020-09-26 14:34:32 +02:00
Mikołaj Pich
b652036a26 Fix eduportal.koszalin.pl login 2020-09-15 18:27:12 +02:00
Mikołaj Pich
a926e11387 Fix parsing summary message in password recover 2020-09-13 23:11:39 +02:00
Mikołaj Pich
7c0e838faa Improve retrying after requests auto login 2020-09-12 16:27:46 +02:00
Mikołaj Pich
de79078eee Make notLoggedInCallback suspend 2020-09-12 13:18:18 +02:00
Mikołaj Pich
1e17571dc7 Add eduportal.koszalin.pl to known register in password recover 2020-09-12 11:03:24 +02:00
Mikołaj Pich
0faa50327d Add AttendanceCategory.getCategoryByName() method 2020-09-06 18:24:57 +02:00
Mikołaj Pich
c1b92fe905 Use orEmpty() instead of not-null assertion operator 2020-09-03 15:51:31 +02:00
Mikołaj Pich
126d84660d Synchronize auto login on jar object 2020-09-01 22:37:33 +02:00
Mikołaj Pich
698ab58791 Return recipients list instead of recipient name string 2020-08-29 20:58:33 +02:00
Mikołaj Pich
dbbe280ccb Normalize recipients in received and deleted messages 2020-08-29 17:22:00 +02:00
Mikołaj Pich
e2fe3a3bc0 Use diary semesters' unit id to match correct unit 2020-08-29 16:47:38 +02:00
Mikołaj Pich
ead5197309 Disable auto login thread synchronization before 0.20.0 release 2020-08-29 13:58:50 +02:00
Mikołaj Pich
822cf88715 Normalize recipients in sent messages 2020-08-29 13:57:27 +02:00
Mikołaj Pich
c6d1453536 Fix userLoginId value 2020-08-29 12:14:37 +02:00
Mikołaj Pich
2b686643f3 Fix lint 2020-08-29 11:12:51 +02:00
Mikołaj Pich
f217a70d9c Fix messages test 2020-08-29 11:01:53 +02:00
Mikołaj Pich
8db8258351 Throw IAE if folder id is out of range 1..3 2020-08-29 09:37:56 +02:00
Mikołaj Pich
5a2e47c307 Fix message deleting 2020-08-27 11:50:07 +02:00
Mikołaj Pich
90792717e6 Fix getRecipients endpoint http method 2020-08-27 10:40:45 +02:00
Mikołaj Pich
9895a5ba5a Update Message pojo 2020-08-27 10:39:40 +02:00
Mikołaj Pich
e1f5170257 Fix compilation error 2020-08-27 00:34:06 +02:00
Mikołaj Pich
f41e6618e1 Update messages endpoints (20.09.0001.39536) 2020-08-27 00:25:38 +02:00
Mikołaj Pich
b919b962ca Make student second name nullable 2020-08-23 19:16:15 +02:00
Mikołaj Pich
f907f691a2 Fix units url in register repo 2020-08-23 17:14:18 +02:00
Mikołaj Pich
5930df6734 Fix units url in register repo 2020-08-23 17:07:53 +02:00
Mikołaj Pich
7aa654605b Disable login interceptor in messages service used in registration 2020-08-23 16:52:06 +02:00
Mikołaj Pich
a0539b7e5a Use flatMap instead of map {}.flatten() 2020-08-23 16:03:48 +02:00
Mikołaj Pich
e613b2441b Add student second- and surname, remove level from className 2020-08-19 22:06:55 +02:00
Mikołaj Pich
0a81167215 Add user name and user login id in scrapper 2020-08-17 23:43:15 +02:00
Mikołaj Pich
5b99fd1d2b Add semesters list to student 2020-08-16 17:55:46 +02:00
Mikołaj Pich
aba6e34e3f Synchronize request and relogin in auto login interceptor 2020-08-08 11:04:11 +02:00
Mikołaj Pich
2c35b2ddf3 Remove support for uonetplus-opiekun from cookie interceptor 2020-08-02 18:05:19 +02:00
Mikołaj Pich
b04c0fb296 Remove indents from timetable parser 2020-08-02 17:43:15 +02:00
Mikołaj Pich
2c87de06ea Refactor register repo 2020-07-27 00:38:35 +02:00
Mikołaj Pich
57753e6a6a Use data class in notes 2020-07-26 23:58:38 +02:00
Mikołaj Pich
ed3f074bde Use data class in mobile devices 2020-07-26 23:09:22 +02:00
Mikołaj Pich
9af6dd85a5 Use data class in homework, remove support for old homework endpoint 2020-07-26 23:05:25 +02:00
Mikołaj Pich
df9acbd78f Use data class in grades 2020-07-26 21:35:03 +02:00
Mikołaj Pich
97f7eae65f Use data class in exams 2020-07-26 21:09:50 +02:00
Mikołaj Pich
7ae93ad126 Move Attendance.Category to separate enum class, use data class where possible 2020-07-26 21:00:33 +02:00
Mikołaj Pich
d8acc8c362 Refactor attendance mapper 2020-07-26 20:48:18 +02:00
Mikołaj Pich
bc276b21b5 Remove support for student and parent module in scraper 2020-07-26 19:02:56 +02:00
Mikołaj Pich
71571826d4 Convert mappers to expresssion body 2020-07-25 20:37:03 +02:00
Mikołaj Pich
cca8c74b8f Remove threetenbp 2020-07-25 20:25:47 +02:00
Mikołaj Pich
9847db41e7 Remove deprecated current flag from Semester 2020-06-14 23:40:44 +02:00
Mikołaj Pich
e626b49d95 Migrate sdk main module to coroutines 2020-06-14 23:33:39 +02:00
Mikołaj Pich
23ece778fe Remove unnecessary dependencies 2020-06-14 23:00:16 +02:00
Mikołaj Pich
d0882012c7 Rename not logged in interceptor 2020-06-14 21:20:42 +02:00
Mikołaj Pich
85c7bcbb82 Check cookie jar before make request 2020-06-14 21:10:18 +02:00
Mikołaj Pich
f7c4156fca Merge not logged in and empty cookie jar interceptors 2020-06-14 20:45:29 +02:00
Mikołaj Pich
87bccc2158 Fix auto login 2020-06-14 20:03:21 +02:00
Mikołaj Pich
0165e05aae Migrate scraper module to coroutines 2020-06-14 18:26:58 +02:00
Mikołaj Pich
48b7ed8955 Add debug log in register, when no student found 2020-06-11 15:56:32 +02:00
Mikołaj Pich
7dc0761c79 Add missing params to student and snp 2020-06-10 21:15:02 +02:00
Mikołaj Pich
1fcb2a3c5b Add empty cookie jar interceptor 2020-06-10 21:04:24 +02:00
Mikołaj Pich
be82cb75a0 Move exceptions from interceptor to exception package 2020-06-10 20:19:31 +02:00
Mikołaj Pich
294bfd8343 Update scrapper UA 2020-06-10 19:08:22 +02:00
Mikołaj Pich
bf2976b51a Fix auto login on ADFSLightCufs (edu.lublin.eu) 2020-06-10 18:29:33 +02:00
Mikołaj Pich
a9b5349625 Add more logging in student start repo 2020-06-10 18:09:52 +02:00
Mikołaj Pich
f7d6832d23 Modify error handling when empty response from message deleting 2020-06-10 18:03:33 +02:00
Mikołaj Pich
c16cbe6c89 Add empty body to student service requests 2020-06-10 17:50:00 +02:00
Mikołaj Pich
a57afdb9b0 Add header to getUserCache overload 2020-06-08 22:25:33 +02:00
Mikołaj Pich
545b34ef92 Add content type to UserCache.mvc/Get endpoint (20.08) 2020-06-08 22:10:07 +02:00
Mikołaj Pich
7f22f0c498 Update UczenCache.mvc endpoint scheme (20.0x) 2020-06-06 17:56:16 +02:00
Mikołaj Pich
2d2b5176e6 Fix json deserialization error in message delete 2020-06-04 01:15:59 +02:00
Mikołaj Pich
d0081b4598 Remove dash from empty points sum 2020-06-02 13:16:12 +02:00
Mikołaj Pich
e2c0adbe8c Update anti forgery is empty error message 2020-06-01 02:23:40 +02:00
Mikołaj Pich
aadeb64a9f Create registers selector consts in account repo 2020-06-01 02:22:38 +02:00
Mikołaj Pich
b8654c37c4 Fix handling not logged in adfslight 2020-06-01 02:11:41 +02:00
Mikołaj Pich
fd51552acd
Fix previous change 2020-05-23 13:18:25 +02:00
Mikołaj Pich
7b6c97e4be
Add fakelog.tk to account recover support 2020-05-23 13:11:29 +02:00
Mikołaj Pich
46a16814e9 cs fix 2020-05-20 23:21:05 +02:00
Mikołaj Pich
46619e3bc5 Add basic support for new homework (20.07) 2020-05-20 11:31:19 +02:00
Mikołaj Pich
0dbcea9d6f Update homework endpoint (20.06) 2020-05-20 09:46:44 +02:00
Mikołaj Pich
445905bfa9 Rename getGrades() to getGradesDetails(), add getGrades() with details and summary 2020-05-02 12:26:38 +02:00
Mikołaj Pich
5225d88e11 Add adfslight error fixture, update tests 2020-04-17 22:20:22 +02:00
Mikołaj Pich
f051cedbed Add classId to log stmt in student start repo 2020-04-10 19:15:16 +02:00
Mikołaj Pich
7c05da6b56 Add studentid to log stmt in student start repo 2020-04-10 18:50:03 +02:00
Mikołaj Pich
f272cfcf95 Add new fields to MobileDevice, rename date to crateDate 2020-04-09 23:40:02 +02:00
Mikołaj Pich
0cf724a70a Apply custom tls socket factory only on vulcan.net.pl 2020-04-04 14:14:56 +02:00
Mikołaj Pich
111bcc73b8 Refactor getClientBuilder() 2020-04-04 13:30:32 +02:00
Mikołaj Pich
9761b4eb91 Add trust manager to sslsocketfactory 2020-04-04 12:24:37 +02:00
Mikołaj Pich
97b393acb6 Add custom tls socket factory to enable tls1.2 on android 4.1 2020-04-04 02:51:53 +02:00
Mikołaj Pich
d5ebf8d9e7 Add student threats 2020-04-02 23:49:12 +02:00
Mikołaj Pich
58cf03a711 Add self governments impl 2020-04-02 23:40:52 +02:00
Mikołaj Pich
bff34b1990 Add attachments to homework 2020-04-01 23:27:05 +02:00
Mikołaj Pich
ceb4ac01e7 Add fallback to name from dicts if senderName is null 2020-03-29 23:40:54 +02:00
Mikołaj Pich
c88a06e65e Add getMessageDetails() 2020-03-29 19:40:23 +02:00
Mikołaj Pich
4ea879b45f Add support for message attachments 2020-03-26 23:23:32 +01:00
Mikołaj Pich
bda9845c48 Change points to int, categoryType to enum in notes 2020-03-26 21:45:39 +01:00
Mikołaj Pich
6e4a0a64c5 Add notes tests with points 2020-03-26 21:02:08 +01:00
Mikołaj Pich
85d47f60a8 Add requireNotNull() in map chains 2020-03-13 19:56:57 +01:00
Mikołaj Pich
91f97bebec
Remove unused fallback symbols 2020-02-29 22:12:28 +01:00
Mikołaj Pich
fa45c4431d
Rename institution to unitName 2020-02-29 22:04:20 +01:00
Mikołaj Pich
277b1c121b
Add schoolShortName to Student 2020-02-29 20:00:00 +01:00
Mikołaj Pich
b2543ee30e
Use shorter ext funcs in RegisterRepositoryTest to enqueue fixtures 2020-02-29 14:38:28 +01:00
Mikołaj Pich
94cc14926d
Remove deprecation from getLuckyNumber, add param with optional filtering by institution 2020-02-27 01:06:47 +01:00
Mikołaj Pich
5729eda692
Fix support for lucky numbers from multiple schools 2020-02-27 00:51:48 +01:00
Mikołaj Pich
68d5092683
Add triple change support in different configuration 2020-02-09 00:43:31 +01:00
Mikołaj Pich
7e89883696
Merge branch 'feature/account-unlock' 2020-02-07 15:02:47 +01:00
Mikołaj Pich
a575dc34e1
Add orEmpty on nullable lists in messages repo 2020-02-07 15:01:48 +01:00
Mikołaj Pich
c10af020d2
Add orEmpty on nullable lists in homepage repo 2020-02-07 14:59:07 +01:00
Mikołaj Pich
2017c0e013
Throw FDE when showCompletedLessons is false in cache 2020-02-07 14:56:26 +01:00
Mikołaj Pich
4a2496ebd0 Revert "Add info about three switches to Semester"
This reverts commit e5540814bb.
2020-02-07 14:02:33 +01:00
Mikołaj Pich
e5540814bb
Add info about three switches to Semester 2020-02-07 00:44:56 +01:00
Mikołaj Pich
a8c46cca01
Add orEmpty() on list in streams 2020-02-07 00:19:21 +01:00
Mikołaj Pich
36111831d7
Add categoryType and point fields to Note 2020-02-04 21:12:08 +01:00
Mikołaj Pich
18147d05a2
Change success check to match message instead of title 2020-02-03 21:28:49 +01:00
Mikołaj Pich
064a24e3bf
Build std reset url with symbol from param 2020-02-03 15:33:04 +01:00
Mikołaj Pich
82d9a001b4
Trim symbol and email 2020-02-03 14:43:59 +01:00
Mikołaj Pich
99b026435f
Change password reset detection in ErrorInterceptor 2020-02-03 14:34:18 +01:00
Mikołaj Pich
08dec15f65
Add one more error handler 2020-02-03 12:05:11 +01:00
Mikołaj Pich
081542bced
Add required fields to adfs password reset request 2020-02-02 19:46:30 +01:00
Mikołaj Pich
b061de8c7f
Move validation to account repo 2020-02-02 19:14:02 +01:00
Mikołaj Pich
1394c849a8
Add password reset validation in interceptor 2020-02-02 18:29:09 +01:00
Mikołaj Pich
6d4f978c88
Fix stream 2020-02-02 17:48:53 +01:00
Mikołaj Pich
5acad6e01b
Add missing umt.tarnow.pl 2020-02-02 17:33:13 +01:00
Mikołaj Pich
0857ac2e94
Use appropriate username field name in send() method 2020-02-02 17:02:45 +01:00
Mikołaj Pich
e8ad7218ea
Merge branch 'master' into feature/account-unlock 2020-02-02 16:19:09 +01:00
Mikołaj Pich
16d36ddf16
Add sending message in mobile mode 2020-02-02 16:04:48 +01:00
Mikołaj Pich
26ea71dc8d
Replace if else if else if with when 2020-02-02 14:37:01 +01:00
Mikołaj Pich
236ce8e326
Refactor scraper grade mapper 2020-02-02 14:25:40 +01:00
Mikołaj Pich
9ac5de0aa5
Optimize GradeCustomConverters 2020-02-01 22:00:46 +01:00
Mikołaj Pich
0f68c9b1d9
Don't treat grade in comment as grade 2020-02-01 22:00:31 +01:00
Mikołaj Pich
1bd9832786
Change return param of getPasswordResetUrl() to type and url pair 2020-01-30 21:49:00 +01:00
Mikołaj Pich
fd2546ccab
Merge branch 'master' into feature/account-unlock 2020-01-30 20:19:11 +01:00
Mikołaj Pich
d2d8b68763
Add debug log on empty semesters list 2020-01-30 19:52:49 +01:00
Mikołaj Pich
8e1485f1ac
Merge branch 'master' into feature/account-unlock 2020-01-21 18:42:45 +01:00
Mikołaj Pich
e2a98931cb Handle point grades with decimal counter 2020-01-20 23:51:03 +01:00
Mikołaj Pich
9f82c57ee1
Add tests to sdk module 2020-01-15 21:03:00 +01:00
Mikołaj Pich
91af695514
Add missing support for grades with double plus 2020-01-14 17:32:24 +01:00
Mikołaj Pich
a8547f83c4
Merge branch 'master' into feature/account-unlock 2020-01-12 14:10:09 +01:00
Mikołaj Pich
9c87fb711c
Add forgery token validation in sendMessage() 2020-01-11 00:04:36 +01:00
Mikołaj Pich
f9c30bf119
Avoid deprecated newInstance() call on Class 2020-01-10 15:10:01 +01:00
Mikołaj Pich
49a6203d25
Return captcha code and unlock url 2020-01-04 20:32:21 +01:00
Mikołaj Pich
127a6716c6
Move password reset to AccountRepository 2020-01-04 20:27:56 +01:00
Mikołaj Pich
84d9a6779d
Add sendPasswordResetRequest() method 2020-01-04 01:23:21 +01:00
Mikołaj Pich
008887c359
Add getPasswordResetCaptchaCode() method 2020-01-03 23:09:40 +01:00
Mikołaj Pich
0886d71acc
Fix error content matching 2019-12-31 13:04:52 +01:00
Mikołaj Pich
3332962a6a
Skip login on TemporarilyDisabledException 2019-12-31 01:27:00 +01:00
Mikołaj Pich
ba0bb6df1e
Add timetable back-compatibility with vulcan pre-19.11 2019-12-27 20:35:34 +01:00
Mikołaj Pich
3f7c62ff27
Fix null in Recipient shortName 2019-12-26 14:13:21 +01:00
Mikołaj Pich
cfbed19894
Rename modules 2019-12-23 19:19:30 +01:00