Commit graph

408 commits

Author SHA1 Message Date
Mikołaj Pich
21e4d75e1b Add missing headers to mark message as read request 2022-08-31 12:16:17 +02:00
Mikołaj Pich
047c1f83c8 Try to mark message as read only if message not already read 2022-08-31 11:57:18 +02:00
Mikołaj Pich
2a7743f56f Add flag to mark message as read 2022-08-31 11:37:06 +02:00
Mikołaj Pich
a1bf69486b Add support for another datetime format in custom date adapter 2022-08-30 10:56:01 +02:00
Mikołaj Pich
8485454de4 Fix HTTP_CONFLICT handling 2022-08-29 22:21:02 +02:00
Mikołaj Pich
12ffe47326 Trim student name, add studentId as a fallback of userLoginId 2022-08-29 21:26:56 +02:00
Mikołaj Pich
cad9b16a5f Add support for another datetime format in custom date adapter 2022-08-24 09:26:15 +02:00
Mikołaj Pich
4ca1b6bcea Fix message date formatting 2022-08-23 20:20:20 +02:00
Mikołaj Pich
dbe87aac67 Update get sent messages tests 2022-08-20 14:01:54 +02:00
Mikołaj Pich
b78b1c1efb Update get message replay details test 2022-08-20 13:53:22 +02:00
Mikołaj Pich
40ad359073 Add option to remove messages pernamently 2022-08-20 13:48:07 +02:00
Mikołaj Pich
d90ba40e55 Update send message test 2022-08-20 13:36:04 +02:00
Mikołaj Pich
af0ec25114 Update delete messages test 2022-08-20 13:18:55 +02:00
Mikołaj Pich
bc76d18427 Update deleted messages method test 2022-08-20 13:13:37 +02:00
Mikołaj Pich
985d751fc3 Add missing type to Mailbox pojo 2022-08-19 23:30:34 +02:00
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