Commit Graph

1819 Commits

Author SHA1 Message Date
Ganard e5e62dc4a7 Fix SyncService and Alarm 2020-01-28 10:13:19 +01:00
Valere ea6e8a6789 Basic debug screen to setup keys 2020-01-27 23:51:08 +01:00
Valere 6cece03998 Profile detailed device info + verify manually 2020-01-27 17:55:00 +01:00
Ganard f3db43f317 Ellipsize: introduce EllipsizingTextView 2020-01-27 12:41:43 +01:00
Valere 08ae0b485a Profile Screen / Add show device list trust screen 2020-01-27 09:25:58 +01:00
Valere d60351bcb7 Verify from RoomMember Profile 2020-01-24 19:15:23 +01:00
Ganard 1d8b81bb04 Try reworking events/timeline process [WIP] 2020-01-24 18:43:35 +01:00
Valere d0addc4c4f Refactored Verification Classes 2020-01-24 11:29:26 +01:00
Valere bb5179140c Update profile screen for xSigning 2020-01-24 09:14:32 +01:00
Benoit Marty e9ea69f055 Add support for /rainbow and /rainbowme command (#879) 2020-01-23 23:34:21 +01:00
ganfra 7bcae75314 Remove some code from main thread 2020-01-23 20:31:18 +01:00
ganfra 4331d2ef47 Network: reword the strategy for handling NetworkConnectivity (remove Merlin) 2020-01-23 19:08:55 +01:00
Valere e47791f290
Merge pull request #888 from vector-im/qr_code
Qr code
2020-01-23 16:41:23 +01:00
Valere 91ae96a153 QuickFix / Do not verify yourself in dm 2020-01-23 16:16:57 +01:00
Valere 0148949a4f Fix / prevent verification toaster to show when in good room 2020-01-23 16:13:46 +01:00
Valere 65cb812fc6 Fix / Unknown transaction when started by other after request 2020-01-23 16:04:29 +01:00
Valere e8a4f1fb90 Fix: .cancel won't appear in debug show all 2020-01-23 16:04:03 +01:00
Benoit Marty 632832a651 Nearly same code for DefaultItem and NoticeItem 2020-01-23 15:44:41 +01:00
Benoit Marty d530c64a84 Render defaultItem as other item: display user avatar
Also ensure bottom sheet always has a header, for user avatar and date
2020-01-23 15:35:46 +01:00
Benoit Marty 426e291ce9 i18n for RiotX limitation messages 2020-01-23 14:46:36 +01:00
Valere 1276d1f39d Update My device list + action to verify 2020-01-23 13:57:17 +01:00
Benoit Marty 5819790c1b Distinguish Show SR code and Scan QR code capability 2020-01-23 11:25:44 +01:00
Benoit Marty b3089343ad Support SCAN method (WIP) 2020-01-23 10:47:29 +01:00
ganfra fee2ec6b66 Scroll when event build come from sync/send + remove use of monarchy writeAsync 2020-01-22 20:33:52 +01:00
Benoit Marty d2fab91e9d Improve code 2020-01-22 19:08:21 +01:00
Benoit Marty 81337d1624 Also keep the same parameter order: (userId, deviceId) to avoid silly errors 2020-01-22 17:00:16 +01:00
Benoit Marty 79df6b8402 Start plugin QR code to the code 2020-01-22 15:56:43 +01:00
Benoit Marty 537b1be0c5 Update wording 2020-01-22 15:26:26 +01:00
Benoit Marty c1259161e5 QRCode: generate and scan QRCodes 2020-01-22 15:03:56 +01:00
ganfra 76065ac4fc Read: allow setting read marker and read receipt to latest known event independently 2020-01-22 14:43:39 +01:00
ganfra d93050240a Start reworking networkConnectivityCheck (WIP) 2020-01-22 14:41:42 +01:00
Benoit Marty c971f18fc0 Add section header when displaying room list to share (#771) 2020-01-22 11:49:30 +01:00
Benoit Marty 3c2fa40b58 Sharing things to RiotX: sort list by recent room first (#771) 2020-01-22 11:49:04 +01:00
Benoit Marty dca950140d
Merge branch 'develop' into feature/version_name 2020-01-22 11:45:27 +01:00
Benoit Marty a13a78ccc0
Merge pull request #874 from vector-im/feature/authors
Builds repoductibility and Authors file
2020-01-22 11:43:51 +01:00
Benoit Marty da3e547d82 Create facility extension to observe ViewEvents 2020-01-21 15:08:49 +01:00
Valere a0aa1f34d3 Quick Fix todevice verif broken
Added dbg screen for cross signing
2020-01-21 14:58:06 +01:00
Benoit Marty e81c804ed6 Ensure when will be exhaustive 2020-01-21 12:51:28 +01:00
Benoit Marty be371f9279 Introduce ViewEvents in ViewModel and code harmonization 2020-01-21 12:51:28 +01:00
Valere 6ab540045b Refactoring / deprecation of MXDeviceInfo
introduced TrustLevels
2020-01-21 10:25:57 +01:00
Valere 859c75df98 Initial commit 2020-01-21 10:25:57 +01:00
Benoit Marty d672313649 Room settings: use boolean instead of Async 2020-01-20 17:41:29 +01:00
Benoit Marty f5e6b4b857 F-Droid: fix the "-dev" issue in version name (#815) 2020-01-20 16:08:57 +01:00
Benoit Marty 28db05e509 Cleanup and copy wording from Riot-Web 2020-01-20 15:39:14 +01:00
Benoit Marty 56b140fcb4 Room settings: rename stuff for genericity 2020-01-20 15:23:40 +01:00
Benoit Marty eee6969b02 Room settings, and enable encryption in unencrypted rooms (#212) 2020-01-20 15:11:21 +01:00
Benoit Marty 8c32796d5c Ensure builds are reproducible (#842) 2020-01-17 16:06:58 +01:00
Valere e45c1e6c2a Fix / post merge issues 2020-01-17 15:17:16 +01:00
Benoit Marty 188cd6beff Verification: improve blinking effect (not perfect yet) 2020-01-17 15:05:06 +01:00
Benoit Marty aaeb54db7c Verification: Introduce VerificationMethod enum 2020-01-17 15:05:06 +01:00
Benoit Marty 92f26bc20a Verification: migrate to Epoxy - Cleanup 2020-01-17 15:05:06 +01:00
Benoit Marty fc22b7988f Verification: migrate to Epoxy - Add missing icons 2020-01-17 15:05:06 +01:00
Benoit Marty 878bae1c45 Verification: migrate to Epoxy - Choose Fragment 2020-01-17 15:05:06 +01:00
Benoit Marty a8e81d95cf Verification: migrate to Epoxy - Disable item animation 2020-01-17 15:05:06 +01:00
Benoit Marty cd1665a8e8 Verification: migrate to Epoxy - Conclusion 2020-01-17 15:05:06 +01:00
Benoit Marty 7170471686 Verification: migrate to Epoxy - create sub packages 2020-01-17 15:05:06 +01:00
Benoit Marty 98020404ff Verification: migrate to Epoxy - rename package 2020-01-17 15:05:06 +01:00
Benoit Marty b2348427bd Verification: migrate to Epoxy - Emoji Fragment 2020-01-17 15:05:06 +01:00
Benoit Marty 832df59b58 Verification: migrate to Epoxy - Request Fragment 2020-01-17 15:05:06 +01:00
Benoit Marty 32689facc5 Verification: migrate to Epoxy - Request Fragment 2020-01-17 15:05:06 +01:00
Benoit Marty d3071e5816 Rename layout for consistency 2020-01-17 15:04:36 +01:00
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