Commit graph

1184 commits

Author SHA1 Message Date
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
Benoit Marty
6525314af8 Login screens: server ur form 2019-11-22 12:15:19 +01:00
Benoit Marty
da8d6fb4f4 Login screens: signup signin selection 2019-11-22 12:15:19 +01:00
Benoit Marty
fa6a9cab7e Login screens: server selection 2019-11-22 12:15:19 +01:00
Benoit Marty
bdfc4ad8a7 Login screens: splash screen 2019-11-22 12:15:19 +01:00
Benoit Marty
6ab7209e4d Handle navigation with VectorSharedAction 2019-11-22 12:14:48 +01:00
Andrew Morgan
7663cd4e23 Merge branch 'develop' of github.com:vector-im/riotx-android into anoa/typo 2019-11-19 15:10:24 +00:00
Benoit Marty
ec2954200e Version++ 2019-11-19 09:58:48 +01:00
Andrew Morgan
3673520ef6
Small typo fix 2019-11-18 13:30:03 +00:00
ganfra
6b1b3bec85 Clean code for klint 2019-11-14 13:25:04 +01:00
ganfra
6bd6ececb7 Timeline: handle sticker events 2019-11-14 13:23:12 +01:00
ganfra
c7db695e67 Timeline: handle join rules event 2019-11-14 12:21:55 +01:00
ganfra
4cefdfedce Home: use detach/attach instead of hide/show 2019-11-14 11:18:45 +01:00
ganfra
f265724a3c Login sso: handle failure 2019-11-13 19:20:03 +01:00
ganfra
2e50d2a36e Clean code for klint 2019-11-13 11:38:30 +01:00
ganfra
643c062858 Merge branch 'develop' into feature/perf_again 2019-11-13 10:44:59 +01:00
ganfra
0e0db67aef Timeline: clear some resources when unbind 2019-11-12 20:34:19 +01:00
ganfra
6dc5b126d6 Optimize room list processing 2019-11-12 19:53:07 +01:00
ganfra
d2acabddd9 RoomDetail: fix enter/exit mode again after merge 2019-11-12 19:25:57 +01:00
Benoit Marty
fc3d4187d1
Merge pull request #676 from vector-im/feature/long_click_room
Add help to reveal the long click on a room
2019-11-12 18:29:42 +01:00
Benoit Marty
5449592422 Add action to block user in the message action bottom sheet (following Nad's design) 2019-11-12 17:52:03 +01:00
ganfra
19b415871d Extract displaymode, clear adapter on roomList/timeline and use commitNow when possible 2019-11-12 15:13:20 +01:00
ganfra
6463f3439f Update Mvrx to 1.3 2019-11-12 15:11:52 +01:00
Benoit Marty
f2320f9571
Merge pull request #665 from vector-im/feature/color_theme
Ensure color is retrieved from current theme, even when theme change
2019-11-12 12:29:27 +01:00
Benoit Marty
fc91694bdd
Merge pull request #673 from vector-im/feature/us
Update strings
2019-11-12 12:08:55 +01:00
Benoit Marty
dbb41108ef Improve layout 2019-11-12 11:50:16 +01:00
Benoit Marty
08c864bad7 Add help to reveal the long click on a room 2019-11-12 11:39:47 +01:00
Benoit Marty
9c5c65a243 Cleanup 2019-11-12 10:36:53 +01:00
ganfra
b6199b1f27 Fix some issues with fragments managers (Home fragments) and lifecycle 2019-11-08 19:49:08 +01:00
ganfra
38da54119a Merge branch 'develop' into feature/perf_again 2019-11-08 18:39:06 +01:00
Benoit Marty
603b8fae45 Add missing binding 2019-11-08 17:30:04 +01:00
Benoit Marty
50e2e6a823 Cleanup 2019-11-08 17:23:21 +01:00
Benoit Marty
bb237e3bbb Fix ViewModel for Signout 2019-11-08 17:21:46 +01:00
ganfra
1bd2c0d220 Merge branch 'develop' into feature/perf_again 2019-11-08 17:09:22 +01:00
Benoit Marty
ec4d7e29ec Ensure we use the correct viewModelProvider 2019-11-08 17:08:29 +01:00
Benoit Marty
a6df63f6d9 Fix crash 2019-11-08 16:56:45 +01:00
Benoit Marty
ea7213a5ae Split long lines 2019-11-08 16:16:42 +01:00
Benoit Marty
590a13334d ktlint 2019-11-08 16:04:41 +01:00
Benoit Marty
631448335d Rename stuff for code coherence 2019-11-08 15:36:12 +01:00
Benoit Marty
12376368c7 Rename class 2019-11-08 15:20:55 +01:00
Benoit Marty
f17564d743 Simple code 2019-11-08 15:08:50 +01:00
Benoit Marty
a6fcc7dca6 Move class to dedicated file 2019-11-08 15:07:01 +01:00
Benoit Marty
70bce9e7dd Ensure ViewModel follow the same pattern to handle actions 2019-11-08 15:05:11 +01:00
Benoit Marty
238d1d87c6 Rename class 2019-11-08 13:31:39 +01:00
Benoit Marty
82f639b91f Rename to Shared 2019-11-08 12:09:08 +01:00
Benoit Marty
c8bc553caa Move class to dedicated file 2019-11-08 12:01:36 +01:00
Benoit Marty
fa5d44af65 Create common parent for Action view model, to handle navigation, action, or other type of event 2019-11-08 11:54:17 +01:00
ganfra
61ac250e2b Merge branch 'develop' into feature/room_list_actions 2019-11-07 15:43:21 +01:00
ganfra
04f72dfcb8 Clean code after Benoit's review 2019-11-07 15:19:12 +01:00
Benoit Marty
10ca5d94ea Fix issue after rebase 2019-11-07 14:29:08 +01:00
Benoit Marty
d3d7f7cc61 Split long lines 2019-11-07 14:18:57 +01:00
Benoit Marty
b6bb714264 Display name and avatar of the user 2019-11-07 14:18:57 +01:00
Benoit Marty
032e1b3d19 ktlint 2019-11-07 14:18:57 +01:00
Benoit Marty
d9f15c1d21 Block user possibility after reporting event content 2019-11-07 14:18:57 +01:00
Benoit Marty
9c952b6bc8 Display ignored users list 2019-11-07 14:18:57 +01:00
Benoit Marty
241220ce1f remove unused import 2019-11-07 13:59:21 +01:00
Benoit Marty
98d97e574c Fix regression when filtering emojis 2019-11-07 12:23:21 +01:00
Benoit Marty
96e610970a Finish the work 2019-11-07 12:08:17 +01:00
Benoit Marty
2027802f82 Add debug screen for all SAS emoji 2019-11-07 10:37:49 +01:00
ganfra
54f93db632 RoomDetail : enter/exit special mode without waiting for draft to update 2019-11-06 20:08:19 +01:00
ganfra
93ef3edab3 Remove some use of sync write in realm 2019-11-06 18:47:11 +01:00
Benoit Marty
c85852262e Remove bad value 2019-11-06 18:28:16 +01:00
Benoit Marty
d0c3271628 Import string from Riot-Android and fix #671 2019-11-06 18:19:37 +01:00
ganfra
ad9a48d5fa Clean code 2019-11-05 18:36:30 +01:00
ganfra
219d1383e5 Fragments: use FragmentContainerView 2019-11-05 18:13:55 +01:00
ganfra
8871280fab Fragments: use constructor injections in most of the Fragments 2019-11-05 18:12:04 +01:00
Benoit Marty
10712fd6ab ktlint 2019-11-05 12:13:06 +01:00
ganfra
3013d67c16 Fragment factory: start including the new version with FragmentFactory [WIP] 2019-11-04 19:33:56 +01:00
Benoit Marty
bee8c2d159 Ensure color is retrieved from current theme, even when theme change 2019-11-04 18:12:24 +01:00
ganfra
945e5d5a74 Merge branch 'develop' into feature/room_list_actions 2019-11-04 17:17:43 +01:00
ganfra
93df8c56a8 Fix compilation error and use mockk instead of manual mocking (prone to error) 2019-11-04 17:09:03 +01:00
Benoit Marty
e4b829f0cf Lift of 'return' 2019-11-04 16:53:51 +01:00
Benoit Marty
7206d84a6b Add FIXME 2019-11-04 16:51:45 +01:00
Benoit Marty
b3233d3eb7 Change spoiler bg colors 2019-11-04 16:50:32 +01:00
Valere
3c4c0ed46a Add /spoiler command 2019-11-04 16:50:32 +01:00
Valere
24f1262005 Merge refactoring 2019-11-04 16:49:53 +01:00
Benoit Marty
86667a6d8a Passes text color instead of context 2019-11-04 16:49:53 +01:00
Benoit Marty
42e0d0f769 Improve code to check url validity 2019-11-04 16:49:53 +01:00
Valere
e976055253 Support spoilers in messages 2019-11-04 16:49:53 +01:00