Commit graph

373 commits

Author SHA1 Message Date
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