Commit graph

1365 commits

Author SHA1 Message Date
Benoit Marty
261b4be287 Follow naming convention 2019-12-11 18:51:46 +01:00
Benoit Marty
205fc0d9d6 Soft Logout - issue with device display name 2019-12-11 18:49:44 +01:00
Benoit Marty
7699560458 Soft Logout - WIP 2019-12-11 18:35:30 +01:00
Benoit Marty
a193b2659d Create Uri extension and cleanup login code 2019-12-11 18:34:21 +01:00
Benoit Marty
bb85d41f05 Password could contain only spaces 2019-12-11 18:34:21 +01:00
Benoit Marty
9bfe904745 InvalidToken: Regular Signed out screen - move class 2019-12-11 18:34:21 +01:00
Benoit Marty
284dc8602f InvalidToken: Regular Signed out screen 2019-12-11 18:34:21 +01:00
Benoit Marty
29087d4a87 InvalidToken: Rework MainActivity args 2019-12-11 18:34:21 +01:00
Benoit Marty
18649ebddb InvalidToken: notify the app - WIP 2019-12-11 18:34:21 +01:00
Benoit Marty
670d4dc34e MatrixError: rename the constants to follow the spec 2019-12-11 18:34:21 +01:00
Benoit Marty
853518fbb2 Version++ 2019-12-11 18:34:06 +01:00
ganfra
3a269be2ef Sync: fix crash on gplay flavor and reschedule when no network instead of showing a potential notification all the time 2019-12-11 16:24:30 +01:00
Valere
0b93f34fa0 Use diff_match_patch sources as dependency 2019-12-11 10:51:09 +01:00
ganfra
5338f93852 Sync: use a foreground service for initialSync. 2019-12-10 19:52:12 +01:00
Benoit Marty
3a761be6b4 Last cleanup 2019-12-10 01:28:07 +01:00
Benoit Marty
a9e2c31c32 Remove log for privacy 2019-12-10 01:08:05 +01:00
Benoit Marty
3ac53d20e9 Bugfix: react several times with the same reaction was possible (was a TODO). 2019-12-10 01:05:20 +01:00
Benoit Marty
3c18fd5335 Improve EmojiChooserFragment: improve filtering result: sort 2019-12-10 00:42:24 +01:00
Benoit Marty
f00f34b244 Improve EmojiChooserFragment: DI 2019-12-09 23:56:53 +01:00
Benoit Marty
63e0b15f3d Split EmojiDataSource - cleanup 2019-12-09 23:08:50 +01:00
Benoit Marty
80306f20df Split EmojiDataSource - avoid !! 2019-12-09 22:57:23 +01:00
Benoit Marty
2972177541 Split EmojiDataSource - cleanup 2019-12-09 22:46:39 +01:00
Benoit Marty
1ad8f47dc1 Split EmojiDataSource 2019-12-09 22:36:38 +01:00
Benoit Marty
8527d3f162 Improve emoji picker search result 2019-12-09 22:30:29 +01:00
Benoit Marty
99423bacb2 Cleanup 2019-12-09 22:09:17 +01:00
Benoit Marty
edc6c3dd4f Cleanup 2019-12-09 22:00:41 +01:00
Benoit Marty
a761a0dbd2 Cleanup 2019-12-09 21:56:03 +01:00
Benoit Marty
d431ab23c8 Cleanup 2019-12-09 21:33:10 +01:00
Benoit Marty
f0aa34774e Create RecyclerView extensions and cleanup all the recycler views 2019-12-09 21:31:56 +01:00
Benoit Marty
742136abe8 Create RecyclerView extensions and cleanup all the recycler views 2019-12-09 18:01:58 +01:00
ganfra
9a01b4ace9 Make it through bunch of classes removing potential leaks 2019-12-09 17:41:29 +01:00
Benoit Marty
109c1fe482 Cleanup 2019-12-09 17:41:29 +01:00
Benoit Marty
dbd4525404 Make sure unhandled Rx error does not crash the app in production 2019-12-09 17:41:29 +01:00
Benoit Marty
c714266a81 Fix crash reported by the PlayStore.
NullPointerException: at im.vector.riotx.features.home.room.detail.RoomDetailFragment.updateJumpToReadMarkerViewVisibility (RoomDetailFragment.kt:524)
Also properly cleanup model build listener
2019-12-09 17:41:29 +01:00
Benoit Marty
8b1701e537
Merge pull request #738 from vector-im/feature/ban_reason
Displaay ban and other membership events reason
2019-12-09 14:53:06 +01:00
Benoit Marty
41d1b77370
Merge pull request #749 from vector-im/feature/hs_discovery
Support entering a RiotWeb client URL instead of the homeserver URL
2019-12-09 14:10:55 +01:00
Benoit Marty
6d82ac7c59 Add default param values 2019-12-09 14:09:03 +01:00
Benoit Marty
411afb0bf3 Add shortcut for command length 2019-12-09 14:09:03 +01:00
Benoit Marty
57354cbd69 Add reason to slash commands 2019-12-09 14:09:03 +01:00
Benoit Marty
03d51281a2 Mistake 2019-12-09 14:08:06 +01:00
Benoit Marty
415511f3e0 Shortened lines 2019-12-09 14:08:06 +01:00
Benoit Marty
e0e778909d Better formatting 2019-12-09 14:08:06 +01:00
Benoit Marty
b9efc9f4bd Ensure user will never see 'null' in a String 2019-12-09 14:08:06 +01:00
Benoit Marty
872b14373b Better code 2019-12-09 14:08:06 +01:00
Benoit Marty
d28700e2bf Add reason for all membership events (https://github.com/matrix-org/matrix-doc/pull/2367) 2019-12-09 14:08:06 +01:00
Benoit Marty
18beef14cf "ban" event are not rendered correctly (#716) 2019-12-09 14:08:06 +01:00
Benoit Marty
5f540a5b45 Support entering a RiotWeb client URL instead of the homeserver URL during connection (#744) 2019-12-06 23:46:40 +01:00
Benoit Marty
a41617e8aa Fix lint false positive issue 2019-12-06 22:00:49 +01:00
Benoit Marty
9a4d8f87f6 Breadcrumbs: auto-review 2019-12-05 22:38:49 +01:00
Benoit Marty
60169d53d7 Breadcrumbs: add some visual attributes 2019-12-05 20:28:07 +01:00
Benoit Marty
4234c27af9 Version++ 2019-12-05 18:19:20 +01:00
Benoit Marty
6d8850b3d6 Prepare version 0.9.1 2019-12-05 18:17:36 +01:00
Benoit Marty
5373d9aa21 Breadcrumbs: fix layout issue 2019-12-05 17:49:45 +01:00
Benoit Marty
4ff12605e9 Breadcrumbs: notify viewed rooms 2019-12-05 16:06:47 +01:00
Benoit Marty
7c561ae622 Breadcrumbs simple UI 2019-12-05 14:51:12 +01:00
Benoit Marty
fb8ba32fb4 Version++ 2019-12-05 09:46:36 +01:00
Benoit Marty
9fb50dde32
Merge pull request #726 from vector-im/feature/sign_x_stabilization
Registration stabilization
2019-12-04 16:26:48 +01:00
Benoit Marty
a6f8fe9317 Fix lint issue 2019-12-04 12:08:18 +01:00
Benoit Marty
f9eb80b4ec Simplify layout 2019-12-04 11:42:18 +01:00
Benoit Marty
9510d71cd3 Proposal for simple layout 2019-12-04 11:42:18 +01:00
Benoit Marty
e7a47ae32a Some cleanup 2019-12-04 11:42:18 +01:00
ganfra
0376de08f4 Clean files 2019-12-04 11:41:54 +01:00
ganfra
8e873672a9 Read marker: change design 2019-12-04 11:41:54 +01:00
ganfra
bba52e77d1 Read marker: fix merged items 2019-12-04 11:41:54 +01:00
ganfra
64d73ae8e6 Read marker: handle the jump to read marker 2019-12-04 11:41:54 +01:00
ganfra
d9982076f9 Read marker: continue rework [WIP] 2019-12-04 11:39:51 +01:00
ganfra
ab489df83d Read marker: don't show unread on events we own 2019-12-04 11:33:06 +01:00
ganfra
5e07e96bdb Read marker: start reworking how we manage it [WIP] 2019-12-04 11:33:06 +01:00
Benoit Marty
69f923383c Rename some classes with "Item" suffix, as a convention (ooi) 2019-12-03 16:32:25 +01:00
Benoit Marty
c69852c849 Make url clickable on the preview of event in the bottom sheet - avoid instantiating objects in the bind() method 2019-12-03 16:17:49 +01:00
Benoit Marty
6d7f2670df Make url clickable on the preview of event in the bottom sheet 2019-12-03 16:02:07 +01:00
Benoit Marty
71de8fdad3 Display pills Avatar in the message preview 2019-12-03 15:08:44 +01:00
Benoit Marty
4f3da353e4 Add ellipsis char for action with another step 2019-12-03 13:23:44 +01:00
Benoit Marty
4154cb2b85 Improve wording of the title of read receipt list 2019-12-03 13:21:42 +01:00
Benoit Marty
7b4398404b Update wording for modular screens 2019-12-03 11:10:43 +01:00
Benoit Marty
9b882978ed Update modular link 2019-12-03 11:10:43 +01:00
Benoit Marty
49178dc633 Reduce some log level 2019-12-03 11:10:43 +01:00
Benoit Marty
3f4f7457c7
Merge pull request #689 from vector-im/feature/signin_signup
Login and Registration
2019-12-02 13:47:28 +01:00
Valere
ebf21fe9d8
Merge pull request #687 from vector-im/feature/dat_pill
Send mention pills from composer
2019-11-29 16:28:34 +01:00
Benoit Marty
a343da594f Import Strings from Riot 2019-11-29 16:22:04 +01:00
Benoit Marty
938289e8eb ktlint 2019-11-29 15:44:08 +01:00
Benoit Marty
e23763e6db Update password from email twice 2019-11-29 15:43:39 +01:00
Benoit Marty
c06b8486ea Update wording 2019-11-29 15:36:54 +01:00
Benoit Marty
10cc270273 ktlint 2019-11-29 13:27:26 +01:00
Benoit Marty
46d96429e0 Create ooi extension 2019-11-29 13:27:26 +01:00
Benoit Marty
9f9c418085 Pills: cleanup and robustness 2019-11-29 13:27:26 +01:00
Benoit Marty
c412006f0e Pills: render the avatar 2019-11-29 13:27:26 +01:00
Benoit Marty
5d3c376267 Pills: remove pills when a char is deleted 2019-11-29 13:27:26 +01:00
Benoit Marty
a3f8f138a6 Create showKeyBoard() extension 2019-11-29 13:27:26 +01:00
Benoit Marty
4b273e8746 Pills: simplify and improve the algorithm 2019-11-29 13:27:26 +01:00
Benoit Marty
f11cd47df3 Pills: cleanup 2019-11-29 13:27:26 +01:00
Valere
62bae67080 Code review 2019-11-29 13:27:26 +01:00
Valere
2a4cdec020 klint cleaning 2019-11-29 13:27:26 +01:00
Valere
6bd7257cf2 Send mention pills from composer 2019-11-29 13:27:26 +01:00
Benoit Marty
500eb113b6 Login screens: add some animation for Fragment transition (WIP) 2019-11-28 20:36:29 +01:00
Benoit Marty
1bec8c29b8 Add missing items for Status theme 2019-11-28 15:52:32 +01:00
Benoit Marty
0ecb23199c Login screens: add background color 2019-11-28 13:25:56 +01:00
Benoit Marty
33925fcf57 Login screens: fix crash on back navigation 2019-11-28 12:09:28 +01:00
Benoit Marty
bf9ce4f690
Merge pull request #714 from vector-im/feature/upgrade_gif_drawable
Force android-gif-drawable version
2019-11-28 10:24:40 +01:00
Benoit Marty
d2a4163dff
Merge pull request #691 from vector-im/anoa/typo
Small typo fix
2019-11-28 09:55:16 +01:00
Valere
a0d7aef92e Force android-gif-drawable version
BigImageViewer update (updated the android-gif-drawable dep)
2019-11-28 09:39:04 +01:00
Benoit Marty
29f32cf8eb Login screens: fix regression on Back press 2019-11-27 16:48:28 +01:00
Benoit Marty
efa858a337 Login screens: reorder reset action for clarity 2019-11-27 15:11:02 +01:00
Benoit Marty
fd90f3b9fc Login screens: reset SDK when home server url is deleted 2019-11-27 15:08:36 +01:00
Benoit Marty
aa51764068 Login screens: save isRegistrationStarted in DB 2019-11-27 15:04:00 +01:00
Benoit Marty
2e3763e8b4 Login screens: persist all data during login or registration 2019-11-27 14:26:06 +01:00
Benoit Marty
e532d97ec1 Login screens: persist login mode 2019-11-27 10:04:41 +01:00
Benoit Marty
f96bea742e Login screens: split long lines 2019-11-26 18:04:00 +01:00
Benoit Marty
86bfdd011e Login screens: cleanup and ignore lint issue 2019-11-26 18:03:09 +01:00
Benoit Marty
d5c2c1938c Login screens: move user choices to the ViewState 2019-11-26 17:59:01 +01:00
ganfra
fd18bcb97f Room profile: branch leave and notifications actions 2019-11-26 17:25:26 +01:00
ganfra
ab4cab05cf Room profile: continue working on UI 2019-11-26 13:22:07 +01:00
Benoit Marty
7ce8a13ddf Login screens: prepare for saving user state 2019-11-26 13:11:31 +01:00
Benoit Marty
9bd4dbb65f Login screens: trim homeserver url 2019-11-26 12:40:17 +01:00
Benoit Marty
ee875b359b Login screens: update wording 2019-11-26 12:25:37 +01:00
Benoit Marty
3eb2e1655f Login screens: ensure homeserver version is supported - fix bug for SSO 2019-11-26 12:16:39 +01:00
Benoit Marty
9b207dd5dc Login screens: ensure homeserver version is supported 2019-11-26 11:39:33 +01:00
Benoit Marty
3f1540b54e Update wording 2019-11-26 09:51:35 +01:00
Benoit Marty
0014e8ef06 Login screens: rename variables 2019-11-25 17:32:27 +01:00
Benoit Marty
311d8ddf7b Login screens: fix layout issue 2019-11-25 17:24:31 +01:00
Benoit Marty
6cb3c222a9 Login screens: handle mandatory dummy stage automatically 2019-11-25 16:47:17 +01:00
Benoit Marty
3eebf965e5 Fix emoji filtering not working 2019-11-22 15:19:09 +01:00
Benoit Marty
bba58d25e1 Do not show long click help if only invitation are displayed 2019-11-22 14:54:22 +01:00
Benoit Marty
9b83f08654 Login screens: fix compilation issue (lint) 2019-11-22 14:24:22 +01:00
Benoit Marty
91fcf428dd Login screens: login with unknown email 2019-11-22 14:21:14 +01:00
Benoit Marty
8de1fa835b Improve M_LIMIT_EXCEEDED error rendering 2019-11-22 12:15:19 +01:00
Benoit Marty
af45c554fd Login screens: fix scroll issue 2019-11-22 12:15:19 +01:00
Benoit Marty
11bc7051fd Login screens: splash scrollable 2019-11-22 12:15:19 +01:00
Benoit Marty
489a594027 Login screens: ensure forms are scrollable on small screens 2019-11-22 12:15:19 +01:00
Benoit Marty
3f83c161e4 Login screens: fix code quality issues 2019-11-22 12:15:19 +01:00
Benoit Marty
e0a36b794f Login screens: fix lint issues 2019-11-22 12:15:19 +01:00
Benoit Marty
d2b516bdc2 Login screens: fix issue with reset password fragment navigation 2019-11-22 12:15:19 +01:00
Benoit Marty
37166caea2 Login screens: create sub method 2019-11-22 12:15:19 +01:00
Benoit Marty
9fa131c297 Login screens: reset password: display a better popup when link is not clicked yet 2019-11-22 12:15:19 +01:00
Benoit Marty
71ae3c4a8c Login screens: reset password: display a warning when the process is not finished 2019-11-22 12:15:19 +01:00
Benoit Marty
51f53e2ae9 Login screens: reset password: fix a few errors 2019-11-22 12:15:19 +01:00
Benoit Marty
ef35f0a044 Login screens: disable submit button when input is empty 2019-11-22 12:15:19 +01:00
Benoit Marty
5db3f51ddb Login screens: fix bad view binding 2019-11-22 12:15:19 +01:00
Benoit Marty
49f7ce3554 Login screens: better API 2019-11-22 12:15:19 +01:00
Benoit Marty
a3111dc2d8 Login screens: rename a few classes and packages 2019-11-22 12:15:19 +01:00
Benoit Marty
6723a566c2 Login screens: refacto: create an AuthenticationWizard 2019-11-22 12:15:19 +01:00
Benoit Marty
90027cc4d5 Login screens: reset password WIP 2019-11-22 12:15:19 +01:00
Benoit Marty
810b226f21 Do not trim login nor password 2019-11-22 12:15:19 +01:00
Benoit Marty
42c5adf08d ktlint 2019-11-22 12:15:19 +01:00
Benoit Marty
5edfb78721 Cleanup errors and close keyboard at each login step 2019-11-22 12:15:19 +01:00
Benoit Marty
491a38a79f Login screens: send again 3pid 2019-11-22 12:15:19 +01:00
Benoit Marty
051f77087e Email format validation 2019-11-22 12:15:19 +01:00
Benoit Marty
1a603742d0 Cleanup 2019-11-22 12:15:19 +01:00
Benoit Marty
edb65f1787 Fix some errors 2019-11-22 12:15:19 +01:00
Benoit Marty
9af8355c07 Fix wording 2019-11-22 12:15:19 +01:00
Benoit Marty
dd44078297 Login screens: fix several issue with check email screen 2019-11-22 12:15:19 +01:00
Benoit Marty
2789268c23 Login screens: MSISDN: check format and compute country code 2019-11-22 12:15:19 +01:00
Benoit Marty
eb4355890e Login screens: setup autofill 2019-11-22 12:15:19 +01:00
Benoit Marty
127916a8d9 Login screens: add MSISDN 2019-11-22 12:15:19 +01:00
Benoit Marty
b8a3ad0c43 Login screens: Wait for email validation screen 2019-11-22 12:15:19 +01:00
Benoit Marty
1f161b7e23 Login screens: Add 3Pid step 1 2019-11-22 12:15:19 +01:00
Benoit Marty
23315ede92 Login screens: update wording 2019-11-22 12:15:19 +01:00
Benoit Marty
20ad3abb60 Login screens: set initial device name 2019-11-22 12:15:19 +01:00
Benoit Marty
ac377fceba Login screens: mutualize registration callback 2019-11-22 12:15:19 +01:00
Benoit Marty
abbe56acfa Login screens: UI: display errors properly 2019-11-22 12:15:19 +01:00
Benoit Marty
f74cabd145 Login screens: UI: style to prepare for landscape 2019-11-22 12:15:19 +01:00
Benoit Marty
0e2237226f Login screens: back button management for registration 2019-11-22 12:15:19 +01:00
Benoit Marty
62d5aba796 Login screens: back button management for SSO 2019-11-22 12:15:19 +01:00
Benoit Marty
f12e6c941d Login screens: sigin button for SSO 2019-11-22 12:15:19 +01:00
Benoit Marty
7caa8ce3bc Login screens: disabled registration 2019-11-22 12:15:19 +01:00
Benoit Marty
20f969d563 Login screens: fix issue on terms 2019-11-22 12:15:19 +01:00
Benoit Marty
a8f24e5c39 Login screens: a11y 2019-11-22 12:15:19 +01:00
Benoit Marty
8ae9544b48 Login screens: Loading on Captcha step 2019-11-22 12:15:19 +01:00
Benoit Marty
3758334824 Login screens: cleanup the Fragment stack after completing stage 2019-11-22 12:15:19 +01:00
Benoit Marty
6d8e5b892e Login screens: Show disclaimer dialog only in HomeActivity, now that RiotX supports registration 2019-11-22 12:15:19 +01:00
Benoit Marty
c18c140ec9 Login screens: Animate the logo in screen transition 2019-11-22 12:15:19 +01:00
Benoit Marty
1dc7dfc896 Login screens: registration fallback 2019-11-22 12:15:19 +01:00
Benoit Marty
1c03163a33 Login screens: prepare email and msisdn 2019-11-22 12:15:19 +01:00
Benoit Marty
9aa270c7ad Login screens: Perform dummy action when user does not want to enter an email -> account created! 2019-11-22 12:15:19 +01:00
Benoit Marty
3f80076fb1 Login screens: Terms step for registration 2019-11-22 12:15:19 +01:00
Benoit Marty
dfbf448bb7 Login screens: Captcha step for registration 2019-11-22 12:15:19 +01:00
Benoit Marty
95fc20dca0 Login screens: Registration: login/password step 2019-11-22 12:15:19 +01:00
Benoit Marty
381084b2ab Login screens: USER_IN_USE error 2019-11-22 12:15:19 +01:00
Benoit Marty
41ac2c6d70 Login screens: Registration WIP 2019-11-22 12:15:19 +01:00
Benoit Marty
08ea3d049e Login screens: Simple Input form (UI) 2019-11-22 12:15:19 +01:00
Benoit Marty
f24889230c Login screens: Captch screen (UI) 2019-11-22 12:15:19 +01:00
Benoit Marty
b5f9549a8b Login screens: Fix issues on button style 2019-11-22 12:15:19 +01:00
Benoit Marty
e3e38d4c8a Login screens: Fix issues on modular tile 2019-11-22 12:15:19 +01:00
Benoit Marty
416bef7903 Login screens: button theme 2019-11-22 12:15:19 +01:00
Benoit Marty
823acebf78 Login screens: harmonize styles for containers 2019-11-22 12:15:19 +01:00
Benoit Marty
3e91125872 Fix issues 2019-11-22 12:15:19 +01:00
Benoit Marty
9a628c7b5d ktlint 2019-11-22 12:15:19 +01:00
Benoit Marty
fb46a14172 Fix compilation issue after rebase 2019-11-22 12:15:19 +01:00
Benoit Marty
ca4e75a1a0 Login screens: Fix a few bugs 2019-11-22 12:15:19 +01:00
Benoit Marty
2871e4f5b1 Login screens: forget password screens 2019-11-22 12:15:19 +01:00
Benoit Marty
b7bfb20a2e Login screens: login and registration fallback 2019-11-22 12:15:19 +01:00
Benoit Marty
a1aa16715d Login screens: move elements from ViewState to ViewModel 2019-11-22 12:15:19 +01:00
Benoit Marty
55add4734d Login screens: Fix Other rendering issue 2019-11-22 12:15:19 +01:00
Benoit Marty
2849e1f846 Login screens: Splash: update icons 2019-11-22 12:15:19 +01:00
Benoit Marty
5b9876a20c Login screens: Fix navigation issue 2019-11-22 12:15:19 +01:00
Benoit Marty
adf299081d Login screens: re-click on an item submit it 2019-11-22 12:15:19 +01:00
Benoit Marty
d50b690523 Login screens: improve LoginFragment 2019-11-22 12:15:19 +01:00
Benoit Marty
c6b0ae63ea Login screens: handle loading Views and global navigation - WIP 2019-11-22 12:15:19 +01:00
Benoit Marty
3c93807fe6 Login screens: add some doc 2019-11-22 12:15:19 +01:00
Benoit Marty
7f1f98c2e5 Login screens: reset state when navigating back 2019-11-22 12:15:19 +01:00