Commit graph

2158 commits

Author SHA1 Message Date
Benoit Marty
83a6f564c3 Ensure BottomSheets call ButterKnife unbinder 2020-01-17 15:04:36 +01:00
Benoit Marty
3c982866d8 Restore lost Fragment binding... 2020-01-17 15:04:36 +01:00
Valere
a95410c118 fix rebase 2020-01-17 15:04:36 +01:00
Valere
8749e49e80 Basic Incoming request toast + cleaning 2020-01-17 15:04:36 +01:00
Valere
8400ab6efe Merge branch 'develop' into cross_signing 2020-01-17 14:57:08 +01:00
Benoit Marty
d1699279fe Version++ 2020-01-17 14:25:25 +01:00
Benoit Marty
b375463aec
Merge pull request #854 from vector-im/feature/profiles_improvements
Feature/profiles improvements
2020-01-17 12:22:16 +01:00
Benoit Marty
c59712732a Introduce listener type for Epoxy items 2020-01-17 12:14:24 +01:00
Benoit Marty
5148d7ab46 Room profile: open it also when clicking on the room avatar 2020-01-17 10:15:04 +01:00
Benoit Marty
8c2a55a5a2 Settings: restore "Show read receipts" setting and create categories of per Riot-Web 2020-01-17 10:10:46 +01:00
Benoit Marty
34b6dd4270 Room profile: open room member profile from Event bottom sheet 2020-01-16 21:48:10 +01:00
Benoit Marty
79a68a36bd Room profile: ensure RoomMemberSummaries order is guaranteed 2020-01-16 21:29:05 +01:00
Benoit Marty
78408fa0ec Room profile: create extension join for Collections 2020-01-16 21:18:14 +01:00
Benoit Marty
b56ee9a377 Room profile: fix issue with divider color 2020-01-16 20:53:38 +01:00
Benoit Marty
9eff459ed6 Room profile: remove an extra divider 2020-01-16 16:43:37 +01:00
Benoit Marty
cd44b60bd5 Room profile: make link in room topic clickable 2020-01-16 16:36:56 +01:00
Benoit Marty
17ed8da57a Room profile: fix issue with icon 2020-01-16 16:27:21 +01:00
Benoit Marty
15e2c9f3a3 Fix formatting 2020-01-16 12:55:55 +01:00
Benoit Marty
f1a2fb51f5 Properly configure Snackbar styles 2020-01-16 12:51:33 +01:00
Benoit Marty
b0aa9fbd8f Inform user when the download of a file starts 2020-01-16 12:20:39 +01:00
Benoit Marty
d72f1ac576 Avoid exposing internal classes 2020-01-16 11:36:53 +01:00
Benoit Marty
72e6181f00
Merge pull request #839 from vector-im/feature/developer
Show all hidden event in the timeline when the developer settings is ON
2020-01-16 10:56:27 +01:00
ganfra
f128ed437f
Merge pull request #843 from vector-im/feature/room_profile
Feature/room profile
2020-01-15 19:17:50 +01:00
ganfra
11c8c8c2bd Fix fdroid background sync 2020-01-15 19:16:50 +01:00
ganfra
2c331671ee Fix string 2020-01-15 17:44:38 +01:00
ganfra
b44ddcfd61 Clean code after Benoit's review #2 2020-01-15 14:57:21 +01:00
ganfra
7c0f2d6e32 Test: fix import 2020-01-15 11:48:02 +01:00
ganfra
52de14b1b5 Clean code after Benoit's review 2020-01-15 11:46:33 +01:00
ganfra
d6e6092eea Profile: add PowerLevelContent for building future actions + fix divider 2020-01-14 19:14:15 +01:00
ganfra
9671a77e5d Clean code and update CHANGES 2020-01-14 18:48:13 +01:00
ganfra
d3415d345f Merge branch 'develop' into feature/room_profile 2020-01-14 18:35:01 +01:00
ganfra
df4df81ef3 Profile: handle ignore/unignore action + adjust UI 2020-01-14 17:08:21 +01:00
Valere
a7c948815c Merge branch 'develop' into cross_signing 2020-01-14 12:31:29 +01:00
Benoit Marty
9d5197b1c8 Show all hidden event in the timeline when the developer settings is ON 2020-01-13 22:47:41 +01:00
ganfra
162f0949fa Profile: Start fetching profile info from a user 2020-01-13 18:44:01 +01:00
ganfra
ae1a24e948 Room member profile: branch the UI and fix some UI issues 2020-01-13 16:49:14 +01:00
Benoit Marty
b5fead18fe
Merge pull request #833 from vector-im/feature/typing
Send and render typing events (#564)
2020-01-13 15:17:43 +01:00
Benoit Marty
717965bc37 Update comment 2020-01-13 15:12:39 +01:00
Benoit Marty
ecc463e920 Cleanup and fix a bug 2020-01-13 10:13:12 +01:00
Benoit Marty
f3e52b96c0 Cleanup 2020-01-11 22:12:56 +01:00
Benoit Marty
dd81fce8d8 Send and render typing events (#564) 2020-01-11 20:50:09 +01:00
Valere
7354eab061 Post merge fixes 2020-01-11 10:16:09 +01:00
Valere
fb9abefe59 Merge branch 'develop' into cross_signing 2020-01-10 18:38:54 +01:00
Benoit Marty
095216349e Exception -> Throwable 2020-01-10 18:35:29 +01:00
Benoit Marty
550908fa70 Render events m.room.encryption and m.room.guest_access in the timeline 2020-01-10 18:30:10 +01:00
Benoit Marty
03b5b098c7 Change the way versionCode is computed (#827) 2020-01-10 17:29:34 +01:00
ganfra
171ec4fbdc Room member list: group by power level 2020-01-10 17:03:11 +01:00
Benoit Marty
32d2daee3c Exclude current user from autocompletion with room members 2020-01-10 16:28:14 +01:00
Benoit Marty
de84bb7535 Use more developerMode() 2020-01-10 11:03:42 +01:00
ganfra
81712ae736 RoomProfile: fix some rendering + change anim 2020-01-09 19:47:54 +01:00
ganfra
289951ea4a RoomMemberList : start showing items 2020-01-09 15:54:36 +01:00
Benoit Marty
8c9c65837d Version++ 2020-01-09 15:32:37 +01:00
Benoit Marty
dd8c908dc7 Code cleanup 2020-01-09 15:02:39 +01:00
Benoit Marty
9775e8c32b Fix crash in syncService 2020-01-09 15:01:16 +01:00
Benoit Marty
3ceac70536 Enable encryption on a room, SDK part (#212) 2020-01-09 14:20:17 +01:00
Benoit Marty
0f7209df1f TI: finish the work to identify a session with a sessionId 2020-01-09 14:20:17 +01:00
Benoit Marty
b6a1ff1ca4 Import string from Riot legacy 2020-01-09 14:17:17 +01:00
Benoit Marty
7ec0227528
Merge pull request #824 from vector-im/feature/wording
Email domain can be limited on some homeserver, i18n of the displayed error (#754)
2020-01-09 12:26:28 +01:00
ganfra
15639b45cf Introduce RoomMemberProfile files 2020-01-09 12:10:49 +01:00
ganfra
f18ec8d021 Merge branch 'develop' into feature/room_profile 2020-01-09 11:56:09 +01:00
Benoit Marty
898bf234da
Merge pull request #792 from vector-im/feature/stabilization
Feature/stabilization
2020-01-09 11:43:52 +01:00
Benoit Marty
3d0d95c371 Email domain can be limited on some homeserver, i18n of the displayed error (#754) 2020-01-09 11:34:57 +01:00
Benoit Marty
0f7d59a8c7 Cleanup during PR review 2020-01-09 09:42:34 +01:00
Benoit Marty
43c4e20819
Merge pull request #820 from vector-im/feature/developer_mode_crash
Developer mode: Fail-fast (#745)
2020-01-09 07:56:06 +01:00
ganfra
8c4d8763a2 Merge branch 'develop' into feature/stabilization 2020-01-08 22:28:08 +01:00
ganfra
383605274c Introduce a very simple query langage and refact autocomplete 2020-01-08 22:17:32 +01:00
Benoit Marty
a458997ce0
Merge pull request #818 from vector-im/feature/oss
Exclude play-services-oss-licenses library from F-Droid build (#814)
2020-01-08 18:28:31 +01:00
Benoit Marty
29f152f349 Fix CI 2020-01-08 18:21:01 +01:00
Benoit Marty
943be39e1a
Merge branch 'develop' into fix_807 2020-01-08 18:12:22 +01:00
Benoit Marty
2b8ecae8e3 Fix CI 2020-01-08 18:05:26 +01:00
Benoit Marty
17c4013383 Developer mode: Fail-fast (#745) 2020-01-08 17:58:26 +01:00
Benoit Marty
d662b4a9b4 Exclude play-services-oss-licenses library from F-Droid build (#814) 2020-01-08 15:57:35 +01:00
Benoit Marty
501ac36040 Reduce size of RoomDetailFragment 2020-01-08 15:05:20 +01:00
Benoit Marty
7575cb286e Show skip to bottom FAB while scrolling down (#752) 2020-01-08 15:05:20 +01:00
ganfra
9970d7ffa0 SDK: get some better queries 2020-01-08 11:55:22 +01:00
ganfra
2dd2a8db6c Emoji data source as singleton 2020-01-08 11:54:42 +01:00
Benoit Marty
8ef5c60e2e RageShake is enabled by default 2020-01-08 11:43:21 +01:00
ganfra
19fb3ce032 Merge branch 'develop' into feature/stabilization 2020-01-07 14:28:23 +01:00
ganfra
d710106bbb Clean code 2020-01-07 14:09:04 +01:00
ganfra
f09bf61750 Room detail: try to get some better perfs with fetching data. LiveData is slow as we only use one HandlerThread at the time. Might want Realm 7.0 and frozen objects to rework that 2020-01-07 13:31:34 +01:00
ganfra
f9487f8995 Work on timeline 2020-01-06 18:44:04 +01:00
ganfra
99c523b710 Update libs 2020-01-06 18:43:34 +01:00
Benoit Marty
448552d287 Move list of Quick Emoji to Emoji Data Source 2020-01-06 13:48:34 +01:00
Benoit Marty
9ecceafb96 Move comment 2020-01-06 13:47:06 +01:00
Benoit Marty
0e5fcd071c Completion on emoji: display the first 50 results 2020-01-06 13:46:37 +01:00
Benoit Marty
c8e67f8ab4 Completion on emoji WIP 2020-01-06 13:46:10 +01:00
Benoit Marty
5fa2acf60b Completion on emoji 2020-01-06 13:46:10 +01:00
Benoit Marty
9e73e95f55 Ensure there is never twice the same emoji 2020-01-06 13:46:10 +01:00
Benoit Marty
8b4c51139d Completion on emoji WIP 2020-01-06 13:46:10 +01:00
Benoit Marty
8597c2b9a2 Improve API 2020-01-06 13:46:10 +01:00
Benoit Marty
d88e5d8af8 DRY 2020-01-06 13:46:10 +01:00
Benoit Marty
c4fe0bdb7f Split into small methods 2020-01-06 13:46:10 +01:00
Benoit Marty
d73a1135ae Extract AutoComplete feature from RoomDetailFragment 2020-01-06 13:46:10 +01:00
Benoit Marty
ed097bcf37
Merge pull request #798 from vector-im/feature/settings_cleanup
Feature/settings cleanup
2020-01-06 13:41:50 +01:00
Benoit Marty
01db856a5d Improve (a bit) the devices list UX/UI 2020-01-06 10:51:30 +01:00
Benoit Marty
a00f51a264 Settings: rename "developer mode" to "advanced settings" 2020-01-06 10:32:36 +01:00
Marcus Hoffmann
9e8217082c set homeserver field when populating room directory list
fixes #807

Signed-off-by: Marcus Hoffmann <bubu@bubu1.eu>
2020-01-06 03:48:53 +01:00
Valere
c2cd149299 Fix / accept button was not starting the verify sheet
Was launching start sheet, because request was not known by VerificationService. Due to message observer blocked trying to download keys..
2020-01-03 19:06:23 +01:00
Valere
08ed8d4fa7 Code review 2020-01-03 17:38:33 +01:00
Benoit Marty
a969443517 Fix crash when opening room creation screen from the room filtering screen 2020-01-02 18:53:35 +01:00
Benoit Marty
1bd85082c3 Auto-review 2020-01-02 18:45:44 +01:00
Benoit Marty
de1d79b637 Remove Preference divider and cleanup prefs 2020-01-02 18:27:46 +01:00
Benoit Marty
8e478e78e1 Disable pref unused 2020-01-02 18:17:54 +01:00
Benoit Marty
96c9293edc Rageshake: vibrate 2020-01-02 18:15:23 +01:00
Benoit Marty
5c26f66523 Rageshake: settings for sensitivity 2020-01-02 17:42:44 +01:00
Valere
d1233e8470 Fix / tap on accept shows request button instead of start 2020-01-02 17:04:41 +01:00
Benoit Marty
5a24f78c05 Hide non working settings (#751) 2020-01-02 16:24:31 +01:00
Valere
bf28f14b8b Fix / Decline request was not implemented 2020-01-02 16:13:13 +01:00
Benoit Marty
703a1a034d Developer mode: hide show (decrypted) source actions 2020-01-02 16:11:44 +01:00
Benoit Marty
7d744f7d7f Developer mode: UI
And some cleanup
2020-01-02 16:01:47 +01:00
Benoit Marty
8dff196716 Device list: remove the detail dialog: handle the actions directly in the list 2020-01-02 15:44:47 +01:00
Benoit Marty
6b2703f6ce Device list is now on a dedicated Fragment
New request to get info on the current device for VectorSettingsSecurityPrivacyFragment. The whole device list is only retrieved in the new Fragment
2020-01-02 15:05:17 +01:00
Valere
f541661059 Use workers to send verification messages 2020-01-02 11:52:27 +01:00
ganfra
e32d242e38 Timeline: remove use of isUnlinked method as it slows down the insertion a lot 2019-12-31 12:58:43 +01:00
Valere
5b210df7c5 Manage done states + cleaning 2019-12-31 10:36:10 +01:00
Valere
935b3d7f3f cleaning 2019-12-30 20:18:08 +01:00
ganfra
8156b754c1 RecyclerView: introduce view pool 2019-12-30 19:54:39 +01:00
Valere
3c4506cb58 merge madness ?? 2019-12-30 19:52:48 +01:00
Valere
3eed9b5083 cleaning 2019-12-30 18:42:32 +01:00
Valere
6bf3a703df BottomSheet UX 2019-12-30 18:01:06 +01:00
Valere
2152af8851 klint 2019-12-30 17:54:44 +01:00
Valere
5b33a42f8a FIx / missing strings after merge 2019-12-30 17:36:33 +01:00
Valere
a73cd61b96 WIP 2019-12-30 15:16:11 +01:00
Valere
38906084d1 WIP 2019-12-30 14:32:04 +01:00
Valere
0997d9abf4 Merge branch 'develop' into cross_signing 2019-12-30 14:27:47 +01:00
ganfra
6ad914154a Update some libs 2019-12-30 10:46:25 +01:00
ganfra
cba7e460eb Action bottom sheet: fix deprecated constraints 2019-12-27 18:54:28 +01:00
ganfra
6794173321 Room detail: fix crash with banner 2019-12-27 18:54:07 +01:00
ganfra
8109262cbb Home: fix double tab selection 2019-12-27 17:16:30 +01:00
ganfra
037bf45884 Sync: use foreground service on every android version 2019-12-27 17:09:57 +01:00
ganfra
833a5a37a2 Pill: fix blink and clean files 2019-12-27 10:24:58 +01:00
ganfra
00f316ba5d Room members: introduce RoomMemberEntity to be able to query. Still work to do. 2019-12-26 19:51:03 +01:00
ganfra
dfd8181754 Room profile: start creating some classes and use shared action. 2019-12-20 20:28:27 +01:00
Benoit Marty
63828bc159
Merge branch 'develop' into feature/initial_sync 2019-12-20 17:55:04 +01:00
Benoit Marty
4fe9c52737 Move permission to the main AndroidManifest 2019-12-20 17:54:02 +01:00
Benoit Marty
c54358831f Group throwable extension together 2019-12-20 17:45:32 +01:00
ganfra
a9d016ae79 Merge branch 'develop' into feature/room_profile 2019-12-20 16:43:16 +01:00
ganfra
e13281dc97 Update CHANGES and clean code 2019-12-20 11:27:26 +01:00
Benoit Marty
3cc65b1e71 ktlint 2019-12-20 11:05:54 +01:00
Benoit Marty
54f2ac0d8c Better comment 2019-12-20 10:59:41 +01:00
Benoit Marty
3b0624ea40 Fix issue with "in reply to" link 2019-12-20 10:54:48 +01:00
Benoit Marty
c992d32afd Improve algo 2019-12-20 10:23:45 +01:00
Benoit Marty
3ac473d945 Remove extra blank line 2019-12-20 10:15:53 +01:00
Benoit Marty
c79b35b089 Autocomplete item layout 2019-12-20 10:15:11 +01:00
Benoit Marty
8dce98c538 Autocompletion: group (including pills for groups) 2019-12-20 02:54:48 +01:00
Benoit Marty
543c07fd69 Render pills for room links 2019-12-20 01:23:45 +01:00
Benoit Marty
05a788453f More generic name 2019-12-20 00:47:47 +01:00
Benoit Marty
c31b64771b Autocompletion: disable animation on the recycler view items 2019-12-20 00:42:19 +01:00
Benoit Marty
92f43a591a Autocompletion for room canonical alias 2019-12-20 00:38:42 +01:00
Benoit Marty
3a829bdfe8 Fix command truncation 2019-12-20 00:05:04 +01:00
Benoit Marty
237b22df59 Fix lots of trouble with the completion popup (resize, change mode, etc.) - next step 2019-12-19 20:31:36 +01:00
Benoit Marty
c18be94986 Fix lots of trouble with the completion popup (resize, change mode, etc.) 2019-12-19 20:03:10 +01:00
Benoit Marty
07817b69c2 Rename some event type 2019-12-19 19:46:09 +01:00
Benoit Marty
e73970d61b Render aliases and canonical alias change in the timeline 2019-12-19 19:39:35 +01:00
ganfra
0eb0870d6c AvatarRenderer: allow to pass GlideRequests too (fix home group avatar) 2019-12-19 18:29:46 +01:00
ganfra
55748a4af4 Merge branch 'develop' into feature/initial_sync 2019-12-19 17:49:45 +01:00
Benoit Marty
51d6b8828d Version++ 2019-12-19 16:46:01 +01:00
ganfra
a6afd2e904 Timeline: handle failure when navigating to an unknown event (+ clean some files) 2019-12-19 16:10:59 +01:00
Benoit Marty
156cc1aa4a Import Strings from Riot 2019-12-19 15:50:18 +01:00
Benoit Marty
13439769a1 Update wording 2019-12-19 14:01:58 +01:00
ganfra
7bb8cb0682 Permalink: fix nav to same room 2019-12-19 13:42:15 +01:00
Benoit Marty
bf69810f8f Bottom sheet event preview for Sticker 2019-12-19 12:05:47 +01:00
Benoit Marty
bb9510e59b Create Size data class 2019-12-19 12:05:30 +01:00
Benoit Marty
4b0dfa49f4 Limit sticker size in the timeline 2019-12-19 11:44:07 +01:00
Benoit Marty
6652965e48 Ignore lint issue 2019-12-19 10:46:11 +01:00
Valere
94125a0215 Merge branch 'develop' into cross_signing 2019-12-19 10:15:47 +01:00
ganfra
5bde7b9f17 Read marker: fix banner visibility when following permalink 2019-12-19 09:58:05 +01:00
ganfra
c8f0c83cd3 Timeline: don't retry automatically to avoid totally blocking pagination 2019-12-19 09:57:49 +01:00
Benoit Marty
b0ff2cb4bb cleanup 2019-12-18 19:31:10 +01:00
Benoit Marty
648691656a Disable click on Stickers (#703) 2019-12-18 19:20:44 +01:00
Benoit Marty
7eae85a394 Add a ZeroItem to avoid automatic scroll when the breadcrumbs are updated from another client 2019-12-18 18:41:46 +01:00
Benoit Marty
123ffe9f9c Cleanup 2019-12-18 17:00:18 +01:00
Benoit Marty
c48a439eea Add @JvmStatic for performance reasons.
See https://github.com/airbnb/MvRx/wiki/Advanced-Concepts#mvrxviewmodel
2019-12-18 16:03:10 +01:00
Benoit Marty
9d26ba3186 Fix rendering issue with HTML formatted body 2019-12-18 12:33:51 +01:00
Benoit Marty
08970ad8c1 Fix a crash on public room list
It's maybe a workaround, as it should not happen, but at least it will not crash anymore
2019-12-18 09:56:58 +01:00
ganfra
4c88c12cfe Initial sync, start the sync thread or the sync service 2019-12-17 18:46:19 +01:00
Benoit Marty
79f11ad686 Prevent crash when mimetype is null 2019-12-17 17:49:28 +01:00
Benoit Marty
7fa76b9d35 Prevent crash when opening unknown room, which should not happen... 2019-12-17 16:35:04 +01:00
Benoit Marty
65faedb06b BugReport screen: improve UX when description is too short (reported by Matthew) 2019-12-17 14:26:49 +01:00
Benoit Marty
1ceddd9607 Rageshake: log resumed screens and add the log verbosity ON/OFF to the rageshakes data 2019-12-17 14:05:58 +01:00
Benoit Marty
1c727c1ee4 Fix crash reported by rageshake 2019-12-17 10:42:58 +01:00
ganfra
2316c98a65 Merge branch 'develop' into feature/initial_sync 2019-12-16 19:11:04 +01:00
Benoit Marty
a4aa38ee43 Fix new issue on permalink click 2019-12-16 17:14:26 +01:00
Valere
08d005a611 fix merge 2019-12-16 15:44:32 +01:00
Benoit Marty
c286f2a744 ktlint 2019-12-16 15:43:58 +01:00
Valere
89b414e8fe Merge branch 'develop' into dm_verif_incoming_timeline 2019-12-16 15:30:39 +01:00
Benoit Marty
e2b4899b36 Internal review 2019-12-16 15:21:24 +01:00
ganfra
aa82cd2064 Update CHANGES 2019-12-16 15:16:46 +01:00
ganfra
bc568343a2 Open matrix.to with a loader 2019-12-16 15:16:46 +01:00
ganfra
abf0796794 Room alias and matrix.to link: we can now open a room though roomAlias as long as it's a joined one 2019-12-16 15:16:46 +01:00
ganfra
91c98d4bfb Permalink: start handling permalink from outside the app 2019-12-16 15:05:55 +01:00
Benoit Marty
cfee6a43fd
Merge pull request #760 from vector-im/feature/diff_match_patch_submodule
Use diff_match_patch sources as dependency
2019-12-16 15:02:29 +01:00
Benoit Marty
f14f1db0e0
Merge pull request #774 from vector-im/feature/breadcrumbs_fixes
Fix various UI issues
2019-12-16 15:00:21 +01:00
Benoit Marty
9fc3093c2c Fix issues... 2019-12-16 12:39:51 +01:00
Benoit Marty
7d910f2566 Auto review 2019-12-16 11:30:53 +01:00
Benoit Marty
0a0eda3e34 Display first letter of id if display name is empty 2019-12-16 11:08:48 +01:00
Benoit Marty
c9ed95ed21 MatrixItem: create extension and check ids 2019-12-16 10:50:48 +01:00
Benoit Marty
3dfd6f5a69 Breadcrumbs: increase font size 2019-12-16 10:20:38 +01:00
Benoit Marty
8fc1400bab Improve user color computation and add unit tests 2019-12-14 10:38:50 +01:00
Benoit Marty
fbb1846694 Render default room name when it starts with an emoji (#477) 2019-12-13 21:23:18 +01:00
Benoit Marty
b435212c87 Use same default room colors than Riot-Web
And create MatrixItem
2019-12-13 20:50:32 +01:00
ganfra
5dd46e82d7 Sync: make only one big transaction to avoid having bad states 2019-12-13 18:21:44 +01:00
Valere
3727affc15 cleaning 2019-12-13 18:00:04 +01:00
Valere
ff5305ee66 Fix / Verification Msg show fallback text in room summary 2019-12-13 17:56:06 +01:00
Benoit Marty
1108ad5705 Scroll breadcrumbs to top when opened 2019-12-13 16:50:32 +01:00
Benoit Marty
38b40efac3 Using default values 2019-12-13 15:24:44 +01:00
Benoit Marty
e60bda7806 Better archi, better code, less bug... 2019-12-13 15:16:26 +01:00
Benoit Marty
92e60c939d ErrorFormatter: create interface 2019-12-13 14:09:27 +01:00
Benoit Marty
6e4830e325 ErrorFormatter: move it's declaration to VectorBaseFragment
and avoid duplicated code to manage default onError() in Login fragment
2019-12-13 13:58:49 +01:00
Benoit Marty
c6b98f3654 Soft Logout - display hard logout screen 2019-12-13 12:40:15 +01:00
Benoit Marty
12d54140e5 SoftLogout: also handle Unsupported mode 2019-12-13 12:08:37 +01:00
Benoit Marty
1de85daad9 SoftLogout: handle the case where user sign in with SSO on another account 2019-12-13 11:58:02 +01:00
Valere
872baacfe4 Fix / verification conclusion not showing in non hidden mode 2019-12-13 11:20:19 +01:00
Benoit Marty
1af44ce5f7 cleanip 2019-12-13 01:37:29 +01:00
Benoit Marty
8d1a36425d Cleanup 2019-12-13 01:29:49 +01:00
Benoit Marty
4e74b545ad SoftLogout: recovery with SSO 2019-12-13 01:25:58 +01:00
Benoit Marty
183d6b53bd SoftLogout: start handling SSO 2019-12-13 00:20:54 +01:00
Benoit Marty
14562f7285 SoftLogout: Inherit from Login stuff to get free forgot password functionality 2019-12-13 00:08:21 +01:00
Benoit Marty
17bcd680b0 organise packages 2019-12-12 23:28:54 +01:00
Benoit Marty
782635ec8e Keep loading after success 2019-12-12 23:20:11 +01:00
Benoit Marty
e609f4a57e SoftLogout: epoxy: missing elements 2019-12-12 23:17:03 +01:00
Benoit Marty
907fa35547 Cleanup listener 2019-12-12 22:58:27 +01:00
Benoit Marty
00d0c34363 SoftLogout: use Epoxy 2019-12-12 22:58:15 +01:00
Benoit Marty
6811d31a6d Soft Logout - request homeserver login flow 2019-12-12 20:24:46 +01:00
Benoit Marty
d69881f321 cleanup 2019-12-12 17:41:16 +01:00
Benoit Marty
efc1f38f8c SoftLogout: adapt wording depending if all keys are backed up or not 2019-12-12 17:39:21 +01:00
Valere
dedc622140 Merge branch 'sdk_reference_aggregation' into dm_verif_incoming_timeline 2019-12-12 15:55:01 +01:00
Benoit Marty
b9e8da1fbb SoftLogout: clear notifications 2019-12-12 15:50:05 +01:00
Benoit Marty
d2fea275d8 SoftLogout: Loading UI 2019-12-12 15:33:22 +01:00
Benoit Marty
a5af949c15 SoftLogout: Store the info that the token is not valid anymore for a faster startup 2019-12-12 15:32:52 +01:00
Valere
ea817ff1c5 fix rebase 2019-12-12 12:04:38 +01:00
Valere
553604423e Support verification using room transport 2019-12-12 12:03:42 +01:00
Valere
819d7182bb rebase 2019-12-12 10:49:42 +01:00
Valere
4ac7331f3d fix rebase 2019-12-12 10:49:42 +01:00
Benoit Marty
5f3dc73440 Code review 2019-12-12 10:49:42 +01:00
Valere
6137a88a6f Support verification using room transport 2019-12-12 10:49:42 +01:00
Valere
82af848c33 Fix / Verification Request Local Echo 2019-12-12 10:27:58 +01:00
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
Valere
a673bf092d Show untrusted conclusions 2019-12-11 18:19:32 +01:00
Valere
0776a301ea Incoming DM verification handling in timeline 2019-12-11 16:49:34 +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
Valere
c462d15bcf rebase 2019-12-10 14:23:56 +01:00
Valere
e14602d1dc fix rebase 2019-12-10 11:14:52 +01:00
Benoit Marty
ce63332a2f Code review 2019-12-10 11:14:52 +01:00
Valere
26b4b6e194 Support verification using room transport 2019-12-10 11:14:20 +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
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
8aab46804b Profile room: continue working on it (try to get a nice animation) [WIP] 2019-11-15 20:37:36 +01:00
ganfra
0edc953a23 Room profile: start creating epoxy items and implementing UI 2019-11-14 20:13:59 +01:00
ganfra
fa67509ac2 Room profile: start initializing all the classes + move some packages 2019-11-14 15:34:50 +01: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
Benoit Marty
9fdfd091ac
Merge branch 'develop' into feature/search_reaction 2019-11-04 15:51:16 +01:00
ganfra
6177e69855 Merge branch 'develop' into feature/room_list_actions 2019-11-04 15:11:20 +01:00
ganfra
5c71cabb5f Clean code 2019-11-04 15:08:08 +01:00
ganfra
6ebe5532c5 Room list actions: use new strings 2019-11-04 14:59:12 +01:00
ganfra
8030c44f44 Room list actions: fix some UI issues and render selected notification state 2019-11-04 14:31:03 +01:00
Benoit Marty
a85b5af761
Merge pull request #641 from vector-im/feature/fix_crash
Fix crash
2019-11-04 14:28:31 +01:00
Benoit Marty
d780c74abf
Merge pull request #657 from vector-im/feature/locales
Support Cyrillic script
2019-11-04 14:27:24 +01:00
Benoit Marty
5d7efa7f8f
Merge pull request #660 from vector-im/feature/permission
Ask for permission to write external storage when uri comes from the keyboard (#658)
2019-11-04 14:26:12 +01:00
Benoit Marty
8439c337f7
Merge branch 'develop' into feature/markdown_off 2019-11-04 10:22:20 +01:00
Valere
151ad01038 Use RxBinding on searchView 2019-11-01 11:57:15 +01:00
Valere
73267442bb Fix / remove listener 2019-11-01 11:30:13 +01:00
Benoit Marty
43fd794c96 Ask for permission to write external storage when uri comes from the keyboard (#658) 2019-10-31 15:48:07 +01:00
Benoit Marty
36060fe332
Merge pull request #654 from vector-im/feature/timeline_message_code
Feature/timeline message code
2019-10-31 15:08:13 +01:00
Benoit Marty
3483debcc1 Little cleanup 2019-10-31 12:08:55 +01:00
Benoit Marty
fb1ff77ec4 Add string from Riot-Android 2019-10-31 10:09:27 +01:00
Peter Vágner
33e35368fc a11y: better presentation for file type selector buttons to screen reader users
Signed-off-by: Peter Vágner <pvdeejay@gmail.com>
2019-10-31 06:36:28 +01:00
ganfra
d47cf7e932
Merge branch 'develop' into feature/fix_#498 2019-10-30 19:26:11 +01:00
ganfra
5ab31a0ef5 Fix klint 2019-10-30 19:00:56 +01:00
ganfra
b4ae331086 Timeline: render inline and block code 2019-10-30 19:00:00 +01:00
Benoit Marty
3f447df13c Support local script (imported from https://github.com/vector-im/riot-android/pull/3364) 2019-10-30 16:59:31 +01:00
ganfra
3517873156 Timeline: Start handling code blocks. [WIP] 2019-10-29 19:08:48 +01:00
Benoit Marty
d001ab5bef
Merge pull request #640 from Dominaezzz/kotlinify
The last of the clean up.
2019-10-29 17:01:38 +01:00
Benoit Marty
7496a88dcd Markdown set to off by default (Fixes #412) 2019-10-29 16:22:12 +01:00
Benoit Marty
6567c5e6c7 Small kotlin improvement 2019-10-29 16:20:22 +01:00
Benoit Marty
361427488f Passphrase does not match (Export room keys) (Fixes #644) 2019-10-29 14:38:04 +01:00
ganfra
035359cb35 Update CHANGES and clean code 2019-10-28 17:01:41 +01:00
ganfra
57b640622b Sender Name: we should use disambiguated display name over senderName. PrevContent fallback is now handled in SDK 2019-10-28 16:48:55 +01:00
Valere
de4c389c76 klint cleaning 2019-10-28 15:12:49 +01:00
Valere
199456487c Search reaction by name/keywords 2019-10-28 14:36:15 +01:00
ganfra
00ca5dc70a RoomListActions: handle room notification state. Still need to branch UI 2019-10-25 18:23:47 +02:00
ganfra
cb275aee37 Room list actions: start showing items and refact a bit RxStore 2019-10-24 19:11:49 +02:00
Benoit Marty
fbf73c7c8e shorter code 2019-10-24 18:52:34 +02:00
Benoit Marty
8422c6de17 Remove test sample 2019-10-24 17:21:19 +02:00
Dominic Fischer
1ac99e92a6 Light refactoring.
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2019-10-24 14:58:11 +01:00
Dominic Fischer
5ab975cc5c General kotlinification.
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2019-10-24 14:53:44 +01:00
Dominic Fischer
2cf63ea92a Remove import java.util.* from kotlin files.
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2019-10-24 14:53:10 +01:00
Benoit Marty
b766bce07d Version++ 2019-10-24 14:40:31 +02:00
Benoit Marty
8fa676d034 Share Activity: display rooms of all communities 2019-10-24 12:19:25 +02:00
Benoit Marty
b6594599c4 Rename member 2019-10-24 10:53:19 +02:00
Benoit Marty
8be8cc9ef7 Filter rooms when sharing element 2019-10-24 10:45:53 +02:00
ganfra
9762d5be40 Room list actions: start creating all the components 2019-10-23 19:05:59 +02:00
ganfra
b17b54d218
Merge pull request #637 from vector-im/feature/fix_room_summary
Feature/fix some room related stuff
2019-10-23 17:29:14 +02:00
ganfra
8b1411f533 Read marker: test if local echo before hitting the SDK to change read marker id + reduce a bit delay 2019-10-23 16:13:35 +02:00
Benoit Marty
bdee5e0687 Fix warning on Strings 2019-10-23 15:17:21 +02:00
Benoit Marty
ff81715783 Import Strings from Riot 2019-10-23 14:18:40 +02:00
ganfra
3196dcb57e MessageActions: disable if not synced atm 2019-10-23 12:20:03 +02:00
Benoit Marty
cac5fb725a Code cleanup 2019-10-22 18:35:05 +02:00
Benoit Marty
dbc17ae515 Use AppCompatEditText instead of EditText 2019-10-22 18:23:53 +02:00
ganfra
6d55c15761 Fix lint issue 2019-10-22 17:41:21 +02:00
ganfra
2974f8b200 Merge branch 'develop' into feature/attachments 2019-10-22 17:27:15 +02:00
ganfra
7388a408b8 Permissions: allow to provide the rationale message as it requires "context" and cannot be generic 2019-10-22 17:13:38 +02:00
Benoit Marty
4204ab262c Fix compilation issue 2019-10-22 12:42:01 +02:00
ganfra
c7a4d34192 Attachments: handle rich content from keyboard 2019-10-22 12:37:59 +02:00
Benoit Marty
3dc5ef54ab Fix compilation warnings 2019-10-22 12:21:50 +02:00
Benoit Marty
cebd8136da
Merge branch 'develop' into kotlinify 2019-10-22 12:16:20 +02:00
Dominic Fischer
d071324694 Address review comments.
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2019-10-21 22:29:36 +01:00
ganfra
2c8cd89533 Handle rich content from app (WIP not compiling) 2019-10-21 19:02:28 +02:00
ganfra
8e3234d188 Clean some code 2019-10-21 18:08:42 +02:00
Benoit Marty
b253722b98 Disable animation 2019-10-21 17:22:28 +02:00
Benoit Marty
fce576e3a4 Message action bottom sheet expanded 2019-10-21 17:22:28 +02:00
Benoit Marty
7ed7b18ccd Remove unused import 2019-10-21 17:22:28 +02:00
Benoit Marty
053bf7aeac Improve layout preview a bit 2019-10-21 17:22:28 +02:00
ganfra
6ccd083451 Bottom sheet: fix RecyclerView usage 2019-10-21 17:22:28 +02:00
Benoit Marty
e39c4a7925 fix ktlint issue 2019-10-21 17:22:28 +02:00
Benoit Marty
0bcc84cbd6 Try to fix the bottom sheet showing expanded by default #2
Seems ok now
2019-10-21 17:22:00 +02:00
Benoit Marty
b2f6fb8c91 Try to fix the bottom sheet showing expanded by default.
The second time it's open, it's not expanded... With this fix, the bug appear only at the third time...
2019-10-21 17:22:00 +02:00
Benoit Marty
36042ed145 Report content: red color for "block user" button 2019-10-21 17:22:00 +02:00
Benoit Marty
6ad1932fe5 Report content: custom reason 2019-10-21 17:22:00 +02:00
Benoit Marty
4a6237b50e Report content: confirmation dialogs 2019-10-21 17:22:00 +02:00
Benoit Marty
a7a19dab11 Report content: Service and REST request 2019-10-21 17:22:00 +02:00
Benoit Marty
8d0aa0437c Report content: UI menu 2019-10-21 17:21:26 +02:00
Benoit Marty
0a79b8b315 Cleanup 2019-10-21 17:21:26 +02:00
Benoit Marty
1dacfa6744 Rework message menu bottom sheet: remove sub Fragment and use Epoxy
- Also move some class to some dedicated package
2019-10-21 17:21:26 +02:00
Benoit Marty
723a007c39
Merge pull request #626 from vector-im/feature/myUserIdInject
Inject userId where possible
2019-10-21 16:01:48 +02:00
Benoit Marty
eaa1b04a4a
Merge pull request #616 from vector-im/feature/big_font_regression
Fix regression after merge conflict: big font for messages with only big emoji
2019-10-18 15:03:43 +02:00
Benoit Marty
b1710fde60
Merge pull request #618 from vector-im/feature/mark_all_read
Mark all as read
2019-10-18 15:02:16 +02:00
Benoit Marty
17636019e0 Change order of parameters 2019-10-18 14:32:34 +02:00
Benoit Marty
8078c39d6e Rename parameter 2019-10-18 14:29:32 +02:00
Benoit Marty
be94b2f90a Change order of parameters (no effect) 2019-10-18 14:28:12 +02:00
Benoit Marty
eff04be247 Change order of class (no effect) 2019-10-18 14:26:24 +02:00
Benoit Marty
3986839801 Inject userId 2019-10-18 14:25:19 +02:00
ganfra
9e436483de Use klint 2019-10-16 10:39:42 +02:00
ganfra
05a069be04 Attachments: fix themes for selection view 2019-10-16 10:04:33 +02:00
ganfra
a1a71e2f1d App state: fix session 2019-10-16 10:04:11 +02:00
Benoit Marty
203da0f37e Mark all as read: not for all Room list and look if there is unread rooms 2019-10-16 10:03:30 +02:00
ganfra
6cd04525aa Clean after Benoit's review 2019-10-15 11:37:22 +02:00
ganfra
3c3c6aeac6 Removes the RoomList handling from a viewmodel as it doesn't have a ViewState and should be provided globally (IE, from application state) 2019-10-15 11:24:20 +02:00
Benoit Marty
e71311f576
Merge pull request #612 from vector-im/feature/browser_tab
Opening links from RiotX reuses browser tab (#599)
2019-10-15 11:05:06 +02:00
Benoit Marty
e4d0e0b0bf Update after Ganfra's review 2019-10-15 11:03:30 +02:00
Benoit Marty
28e5e42ab1
Merge pull request #614 from vector-im/feature/recycler_view_upgrade
Upgrade RecyclerView version to fix issues with a11y.
2019-10-15 10:47:59 +02:00
Dominic Fischer
f7f97e2098 Typos
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2019-10-12 16:04:47 +01:00
Dominic Fischer
e28e2dadb9 Some more clean up
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2019-10-12 15:37:20 +01:00
ganfra
c28be6adb0 Fix code quality check 2019-10-11 17:23:25 +02:00
ganfra
679b0fff98 Use klint and update CHANGES 2019-10-11 17:12:53 +02:00
ganfra
13a5f784dc Merge branch 'develop' into feature/attachments 2019-10-11 17:05:03 +02:00
ganfra
0ca8696e88 Attachments/Share: cleaning code and add contact picking 2019-10-11 16:41:04 +02:00
Benoit Marty
3622c0ecb4 Mark all as read 2019-10-11 16:22:32 +02:00
Benoit Marty
116d569fa8 Fix regression after merge conflict: big font for messages with only big emoji 2019-10-11 14:35:37 +02:00
ganfra
ee5ebb4b83 Attachments: get better layout 2019-10-11 12:20:39 +02:00
Benoit Marty
0a0c344bfb Upgrade RecyclerView version to fix issues with a11y.
Also minor upgrade of some other libs
2019-10-11 10:10:16 +02:00
ganfra
20696353b8 Attachments: try to improve a bit the UI and adding options [WIP] 2019-10-10 19:12:16 +02:00
ganfra
ae5b6bd2b9 Attachments/Sharing: refact a bit and handle more data. 2019-10-10 16:55:50 +02:00
ganfra
6e39164b20 Sharing: start handling incoming share [WIP] 2019-10-09 20:05:37 +02:00
ganfra
0a9ebb6bf6 Attachments: use a lib which handles for us all the intent stuff. 2019-10-09 19:51:00 +02:00
Benoit Marty
db009ce683 Fix warning on release build 2019-10-09 16:47:27 +02:00
Benoit Marty
fbb23dfb66 ktlint: fix (no-empty-first-line-in-method-block) issues 2019-10-09 16:43:12 +02:00
Benoit Marty
e5779d425a ktlint: fix (experimental:multiline-if-else) issues 2019-10-09 16:40:44 +02:00
Benoit Marty
3f8ddbe880 Opening links from RiotX reuses browser tab (#599) 2019-10-09 16:23:35 +02:00
Benoit Marty
30e43e47cd Fix filename ktlint issues 2019-10-09 15:44:01 +02:00
Benoit Marty
15dc4d6369 Fix ktlint issue automatically by running ./ktlint --android -v -F 2019-10-09 15:24:05 +02:00
Benoit Marty
eec470f2ce Fix code quality issues 2019-10-09 15:15:15 +02:00
Benoit Marty
119e4c0d32 Fix warnings in the App 2019-10-09 12:49:00 +02:00
Benoit Marty
36c5f9af13
Merge pull request #583 from vector-im/feature/invot_notification
Invitation notifications are not dismissed automatically if room is joined from another client (#347)
2019-10-09 12:48:07 +02:00
Benoit Marty
c2682c7f4b
Merge pull request #609 from vector-im/feature/remove_event_bus
Stop sending bus event from SDK to App.
2019-10-09 12:47:06 +02:00
ganfra
3073470c38 Attachments: start working on new UI (using system file picker) [WIP] 2019-10-08 19:59:09 +02:00
Benoit Marty
d4dfb76e80 Change constant value (for application upgrade reason) 2019-10-08 13:57:32 +02:00
Benoit Marty
c62c77f14c Stop sending bus event from SDK to App. 2019-10-08 12:00:40 +02:00
Benoit Marty
d6e5c5a857
Merge pull request #608 from vector-im/feature/a11y_review
Feature/a11y review
2019-10-08 11:16:08 +02:00
Benoit Marty
50a0660ab6 Invitation notifications are not dismissed automatically if room is joined from another client (#347) 2019-10-08 10:56:47 +02:00
Benoit Marty
2cd1d697fe Cleanup after Gafnra's review 2019-10-08 10:53:21 +02:00
Benoit Marty
3f9b7813bc Remove undocumented attribute and fix issue with image size when it contains exif rotation 2019-10-08 10:53:21 +02:00
Benoit Marty
f34f28b668 Add Exif orientation info to ContentAttachmentData 2019-10-08 10:52:54 +02:00
Benoit Marty
53572a3be6 Fix crash observed on the PlayStore 2019-10-08 10:52:54 +02:00
Benoit Marty
90b6199e10 Fix compilation issue 2019-10-08 10:45:45 +02:00
Benoit Marty
0aa299aa37 Private 2019-10-07 19:11:53 +02:00
Benoit Marty
d387c310c8 Cleanup code after a11y PR (#596) and fix some merging issues 2019-10-07 18:41:44 +02:00
Benoit Marty
ac6aff9175
Merge pull request #596 from pvagner/a11y
more a11y tweaks
2019-10-07 17:15:29 +02:00
Benoit Marty
c1c1c3f999 Use latest coroutine lib: v1.3.2 2019-10-07 16:22:09 +02:00
Benoit Marty
8b04fdab77 Upgrade other libraries 2019-10-07 16:22:09 +02:00
Benoit Marty
f8b665a245 Fix warning 2019-10-07 16:21:18 +02:00
Benoit Marty
d68a9a5342 Split long line 2019-10-07 16:21:18 +02:00
Benoit Marty
d6c278288d upgrade google play services plugin 2019-10-07 16:21:18 +02:00
Benoit Marty
4ad86a13a0 Upgrade the dependencies to the latest version 2019-10-07 16:21:18 +02:00
ganfra
4f7ec91255
Merge pull request #604 from vector-im/feature/performance
Feature/performance
2019-10-07 16:08:39 +02:00
ganfra
fc49de080c Clean after benoit's review 2019-10-07 16:00:11 +02:00
ganfra
8e39fd2a70 Clean after benoit's review 2019-10-07 14:45:58 +02:00
ganfra
9c5987b682 SAS: fix potential crash 2019-10-04 19:36:22 +02:00
ganfra
0582d0f641 Timeline: fix some crashes 2019-10-04 12:12:39 +02:00
ganfra
ef2af14529 Realm: remove RealmLiveData and use Optional for LiveData with potential null value 2019-10-03 19:19:53 +02:00
ganfra
525da17678 Optimization: try to get a more performant reactions display management 2019-10-03 19:15:11 +02:00
Peter Vágner
aab41d7358 Code quality
Signed-off-by: Peter Vágner <pvdeejay@gmail.com>
2019-10-03 16:34:31 +02:00
Peter Vágner
5db3c81aa9 Add contentDescription to the jump to botton view
Signed-off-by: Peter Vágner <pvdeejay@gmail.com>
2019-10-02 20:51:57 +02:00
ganfra
c763635845 Optimize: try to optimize a text message items 2019-10-02 20:36:52 +02:00
Peter Vágner
53543453b3 Login: add contentDescription to password reveal
Signed-off-by: Peter Vágner <pvdeejay@gmail.com>
2019-10-02 20:04:33 +02:00
Peter Vágner
d4be68191c Fix conflicts after rebase
Signed-off-by: Peter Vágner <pvdeejay@gmail.com>
2019-10-02 20:04:33 +02:00
Peter Vágner
7ef471ad0d Add contentDescription for the read receipts
Signed-off-by: Peter Vágner <pvdeejay@gmail.com>
2019-10-02 20:04:33 +02:00
Peter Vágner
73dd735ba6 Reactions: Add content descriptions to emoji chooser category tabs and individual emojis
Signed-off-by: Peter Vágner <pvdeejay@gmail.com>
2019-10-02 20:04:33 +02:00
Peter Vágner
2f6d3adb17 Message composer: describe the image button for dismissing as cancel rather than close
Signed-off-by: Peter Vágner <pvdeejay@gmail.com>
2019-10-02 20:04:33 +02:00
Peter Vágner
2edfd4e830 Message composer: add content descriptions to image buttons
Signed-off-by: Peter Vágner <pvdeejay@gmail.com>
2019-10-02 20:04:33 +02:00
ganfra
ff7856c535 Optimize: start removing some constraint layout from timeline 2019-10-02 19:30:01 +02:00
ganfra
650a151b18 Optimize: remove some epoxy building from main thread 2019-10-01 20:12:15 +02:00
ganfra
44f6391cb4 Optimize: use LazyThreeTen 2019-10-01 20:11:15 +02:00
ganfra
588e5d6e63 Hot fix: fix home navigation issue 2019-10-01 17:39:20 +02:00
ganfra
42e0a45f3f Merge branch 'develop' into feature/read_marker 2019-10-01 13:37:21 +02:00
ganfra
31397869b2 Read marker: refine JumpToReafMarkerView 2019-10-01 12:33:38 +02:00
ganfra
0814f53fed Group avatar: clean and optimize a bit. 2019-10-01 11:25:41 +02:00
Benoit Marty
de30e7c1c6 Code cleanup 2019-09-26 19:00:38 +02:00
Benoit Marty
2d95fe921d after login, the icon in the top left is a green 'A' for (all communities) rather than my avatar (#267) - part2 (Toolbar) 2019-09-26 18:42:27 +02:00
Benoit Marty
84542326f4 HomeDetailFragment observe the selectedGroupStore instead of passing argument 2019-09-26 18:06:24 +02:00
Benoit Marty
53b1b89c47 after login, the icon in the top left is a green 'A' for (all communities) rather than my avatar (#267) 2019-09-26 17:30:30 +02:00
ganfra
8605095668 Fix quality code issues 2019-09-26 16:49:41 +02:00
ganfra
737959f616 Merge branch 'develop' into feature/read_marker 2019-09-26 15:15:34 +02:00
ganfra
a3f561d788 Merge branch 'develop' into feature/read_marker 2019-09-26 12:19:40 +02:00
ganfra
0ea878af8a Timeline: fix some more issues 2019-09-26 11:55:16 +02:00
Benoit Marty
f02f16d9c5 Use IEC units instead of SI units for file sizes 2019-09-26 10:41:52 +02:00
Benoit Marty
62b7a83a31 Update after Dominaezzz's review 2019-09-26 10:08:44 +02:00
ganfra
4a80df082c Timeline: refact [WIP] 2019-09-25 19:14:12 +02:00
Benoit Marty
a0b1ef3216 Do not upload file to big for the homeserver (#587)
Also create a HomeServerCapabilitiesService which provide configuration of the homeserver.
Data are retrieved every 8 hours (as RiotWeb?)
2019-09-25 16:59:50 +02:00
Benoit Marty
1b66d1f746 Fix bad rendering of file item if the filename is long 2019-09-25 15:25:26 +02:00
Benoit Marty
643a2baabf Set click and long click listener even if information data are not displayed 2019-09-25 15:03:16 +02:00
Benoit Marty
cd62e87266 Human readable error 2019-09-25 14:44:34 +02:00
Benoit Marty
17cba1a432 Display progress in the timeline when uploading file 2019-09-25 14:39:33 +02:00
Benoit Marty
b24a372262 Show "Clear message queue" option (in debug mode) 2019-09-25 10:50:13 +02:00
ganfra
63b43de4b8 Read marker: final refact [WIP] 2019-09-24 22:52:43 +02:00
Benoit Marty
d1a61f29e4
Merge pull request #586 from vector-im/feature/persist_tab
Persist opened tab between session (i.e. after application restart)
2019-09-24 16:12:28 +02:00
Benoit Marty
f6373221de Dagger cleanup 2019-09-24 16:05:08 +02:00
Benoit Marty
21d808c1ce Fix crash: MergedHeaderItem was missing dimensionConverter 2019-09-24 14:28:34 +02:00
Benoit Marty
1e963bc0dc Fix crash: MergedHeaderItem was missing dimensionConverter 2019-09-24 14:23:13 +02:00
Benoit Marty
0d80750507 Create interface for UiStateRepository and an implementation with SharedPrefs 2019-09-24 13:43:50 +02:00
Benoit Marty
1c9cf7a810 Dagger code cleanup 2019-09-24 13:40:03 +02:00
ganfra
c6d01fbcf4 ReadMarker: extract from ViewModel the jump to read marker visibility logic as it's easier to deal with. 2019-09-24 12:57:32 +02:00
Benoit Marty
9e1ded941f Persist active tab between sessions (#503) 2019-09-24 12:29:37 +02:00
Benoit Marty
af433266c8 Move currentDisplayMode to the ViewState 2019-09-24 11:32:55 +02:00
ganfra
05d09bf950 Merge branch 'develop' into feature/read_marker 2019-09-24 11:10:59 +02:00
Benoit Marty
6890f83810 Cleanup dead code 2019-09-24 10:47:29 +02:00
Benoit Marty
51568c30a6 Version++ 2019-09-24 10:23:51 +02:00
Benoit Marty
c1f2e9f171 Fix a few accessibility issues - home menu (best compromise) 2019-09-23 17:48:13 +02:00
ganfra
f6d34ec7fd Timeline: update state management 2019-09-23 17:43:37 +02:00
Benoit Marty
620ba279d8 Fix a few accessibility issues 2019-09-23 16:32:54 +02:00
Benoit Marty
546da0f173
Merge branch 'develop' into feature/notif_invit 2019-09-23 16:23:22 +02:00
Benoit Marty
001711d5a3
Merge pull request #574 from vector-im/feature/big_emoji
Embiggen messages with multiple emojis also for edited messages
2019-09-23 16:22:53 +02:00
Benoit Marty
b25a130db1 Rename DimensionUtils to DimensionConverter, and inject resources instead of context. 2019-09-23 14:39:52 +02:00
Valere
47e3797b7e Fix infinite focus on HS field 2019-09-23 09:44:32 +02:00
Benoit Marty
5cbc90e06a Embiggen messages with multiple emojis also for edited messages (#458)
And daggerize DimensionUtils
2019-09-20 19:22:42 +02:00
ganfra
b6e18e4a8f Timeline: add badge also when unread without notif 2019-09-20 18:34:58 +02:00
ganfra
7e29665fd0 Timeline: add some comments and checks 2019-09-20 18:34:31 +02:00
Benoit Marty
d3d4deb884 Rework Action (better kotlin code) 2019-09-20 17:50:57 +02:00
Benoit Marty
f6b8e0c479 Fix issue: push rules was not retrieved after a clear cache.
We now store push rules from the sync response
2019-09-20 17:50:57 +02:00
Benoit Marty
03f8120b7d Create enum for Push rules. Also add some TODOs 2019-09-20 17:50:15 +02:00
Benoit Marty
acd7a709de Dagger: create @UserId to inject userId 2019-09-20 17:50:15 +02:00
Benoit Marty
9794b3a49d Fix compilation issue of F-Droid build 2019-09-20 17:35:10 +02:00
ganfra
90eeb68d36 Timeline: fix permalink towards an hidden event 2019-09-20 17:22:04 +02:00
ganfra
d1ff3314a7 Timeline : add badge on jump to bottom view 2019-09-19 19:12:45 +02:00
Benoit Marty
a993a30203 Handle left group from sync 2019-09-19 17:08:22 +02:00
ganfra
ea0809ff87 Merge branch 'develop' into feature/read_marker 2019-09-19 16:57:00 +02:00
ganfra
9668487b6b Timeline/Read: update read receipt locally to 2019-09-19 16:17:58 +02:00
Benoit Marty
562acc9702 Save Draft only when app goes to background. 2019-09-19 13:09:08 +02:00
Benoit Marty
dfab88ed95 Display room with draft in the Catchup screen 2019-09-19 13:09:08 +02:00
Benoit Marty
36866dd24e Save draft of a message when exiting a room with non empty composer (#329) 2019-09-19 13:09:08 +02:00
Benoit Marty
f5020d0f63 Daggerization and cleanup of NotificationUtils 2019-09-19 13:01:00 +02:00
Benoit Marty
7da9cafcc2 Remove any notification of a redacted event (#563)
Also do some cleanup and kotlinification on the code
2019-09-19 13:01:00 +02:00
Benoit Marty
468bd5bcc9 Message Editing: Update notifications (#128) 2019-09-19 12:57:58 +02:00
Benoit Marty
0ffb5e627e Cleanup injected constructors 2019-09-19 12:43:39 +02:00
Benoit Marty
b4a13f9504 Add unread indent on room list 2019-09-19 12:43:39 +02:00
ganfra
88fb9667a3 Timeline: continue fixing issues + read marker 2019-09-18 20:21:42 +02:00
ganfra
3066d5f303 Timeline\ReadMarker: continue fixing issues 2019-09-17 19:38:05 +02:00
Benoit Marty
ed93f4a6c1 Cancel any request properly 2019-09-17 14:55:57 +02:00
Benoit Marty
b3d649a4d9 Fix characters erased from the Search field when the result are coming (#545) 2019-09-17 14:55:57 +02:00
Benoit Marty
3739e50d46 Better error message for timeout 2019-09-17 14:55:48 +02:00
Benoit Marty
9bf484cf1e Create a Failure to handle cancellation, and use it to ignore cancellation on room search 2019-09-17 14:55:48 +02:00
Benoit Marty
6c2faff1f0 Version++ (0.6.0) 2019-09-17 14:53:50 +02:00
Benoit Marty
4453f0ced9
Merge pull request #560 from vector-im/feature/no_network
Display a "No network" banner when the device has no network
2019-09-17 14:40:42 +02:00
Benoit Marty
25e9a179d2 SyncThread: Fix issue when network is back and the app was in background: do not restart the thread 2019-09-17 14:26:30 +02:00
Benoit Marty
993fa74252 Cleanup after BillCarsonFr's review 2019-09-17 11:24:37 +02:00
Benoit Marty
38fc4984fe Display a no network indicator when there is no network: Create a dedicated View 2019-09-17 11:13:00 +02:00
Benoit Marty
695d8cce00 Display a no network indicator when there is no network (#559) 2019-09-17 10:59:58 +02:00