Commit Graph

3681 Commits

Author SHA1 Message Date
Benoit Marty 29d25c377b Do not use deprecated Activity.startActivityForResult anymore - step 2 2020-10-07 18:07:04 +02:00
Benoit Marty c53f79ca8b Do not use deprecated Fragment.startActivityForResult anymore - step 2 2020-10-07 17:22:43 +02:00
Benoit Marty ff0f42900d Do not use deprecated Fragment.startActivityForResult anymore 2020-10-07 16:02:01 +02:00
Benoit Marty 05950ec1c8 registerForActivityResult has to be called at Fragment creation 2020-10-07 11:57:38 +02:00
Benoit Marty a7f034f500 Stop using deprecated API to manage Permissions request from Fragment 2020-10-07 11:01:57 +02:00
rkfg 3182850e19 Translated using Weblate (Russian)
Currently translated at 100.0% (1874 of 1874 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.riot.im/projects/element-android/element-app/ru/
2020-10-06 21:05:11 +00:00
Onuray Sahin 7722e6d8e7
Merge branch 'develop' into feature/ons/fix_email_confirmation_flow 2020-10-06 19:00:19 +03:00
Benoit Marty 32434703d8 onActivityCreated() is deprecated (not tested) 2020-10-06 16:17:54 +02:00
Onuray Sahin 3877b2f58e Delete pending session store and states after session is created. 2020-10-06 17:02:49 +03:00
Benoit Marty 7e3acaa987 False positive 2020-10-06 16:00:29 +02:00
Benoit Marty 250ac42fa3 Fix some compilation warnings 2020-10-06 15:57:31 +02:00
Benoit Marty 9e0ebc94c5 Upgrade other dependencies, and remove unused dependencies 2020-10-06 15:44:30 +02:00
Benoit Marty 1a0dba7422 Upgrade Moshi to `1.11.0`, Dagger to `2.29.1`, Epoxy to `4.1.0` 2020-10-06 14:47:57 +02:00
Benoit Marty 5056615eb0 Upgrade kotlin version from `1.3.72` to `1.4.10` and kotlin coroutines version from `1.3.8` to `1.3.9` 2020-10-06 12:33:40 +02:00
Benoit Marty 72a412904d small cleanup 2020-10-06 12:26:18 +02:00
Benoit Marty 2125047ca5
Merge branch 'develop' into feature/bma/open_settings 2020-10-06 12:20:35 +02:00
Benoit Marty cac3475281
Merge pull request #2158 from vector-im/feature/fix_draft
Feature/fix draft
2020-10-06 12:17:50 +02:00
ganfra 038e6613c0 Draft: update state when saving draft to avoid loosing current text 2020-10-06 10:17:17 +02:00
ganfra 3b8a0f8671 Tint swip reply icon 2020-10-06 10:17:17 +02:00
ganfra 211a8dc272 Draft: fix icon tint 2020-10-06 10:17:17 +02:00
ganfra 91b81af5a8 Draft: handle sharing so it doesn't destroy the previous draft 2020-10-06 10:17:17 +02:00
Onuray Sahin 1f4a360a0c
Merge branch 'develop' into feature/ons/fix_email_confirmation_flow 2020-10-06 11:16:50 +03:00
Onuray Sahin f9c35e6bcb If there is a pending email validation continue on this step 2020-10-06 11:15:00 +03:00
ganfra aa0520d47d Start reworking draft (simplify) 2020-10-06 10:13:14 +02:00
Benoit Marty 8d05ef703a
Merge pull request #2196 from vector-im/ons/filter_room_members
Add SearchView to filter room members
2020-10-06 10:08:56 +02:00
Benoit Marty 0a31cf2c44 ktlint 2020-10-05 16:21:25 +02:00
@a2sc:matrix.org 19def67a9a Translated using Weblate (German)
Currently translated at 100.0% (1874 of 1874 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.riot.im/projects/element-android/element-app/de/
2020-10-05 14:05:09 +00:00
Benoit Marty 88dd6ae5da Rename some classes 2020-10-05 15:35:40 +02:00
Benoit Marty cae7510a77 Show debug access only in developer mode 2020-10-05 15:25:14 +02:00
Benoit Marty 015678ca20 Fix issue on SignOutBottomSheet (Sign out action displayed by mistake)
Also improve code clarity by reordering lines and removing private method, which lead to bug (ex: duplicate action on `setupMegolmBackupButton` in `hideViews(setupMegolmBackupButton, setupMegolmBackupButton, signOutButton, exportManuallyButton)`)
2020-10-05 15:15:40 +02:00
Benoit Marty 85c8092e65 Add missing code to sign out when user click on the action 2020-10-05 14:58:07 +02:00
Benoit Marty 724c1132b6 Drawer: move settings access and add sign out action (#2171) 2020-10-05 14:51:21 +02:00
Benoit Marty ae3c453f35 Add a menu item in the timeline as a shortcut to invite user (#2171) 2020-10-05 10:10:55 +02:00
Benoit Marty 6f2736566e Add a menu item to open the setting in room list and in room (#2171) 2020-10-05 10:00:00 +02:00
Benoit Marty b203093073 Use an extra container for the margin to be taken into account by the layout_scrollFlags 2020-10-04 11:17:57 +02:00
Cadence Ember 1b3a5097c1
Replace "him" with "them" in report interface
All genders can spam a chatroom :)
2020-10-04 12:43:26 +13:00
@a2sc:matrix.org 44d850e78f Translated using Weblate (German)
Currently translated at 100.0% (1874 of 1874 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.riot.im/projects/element-android/element-app/de/
2020-10-03 11:05:06 +00:00
Benoit Marty 8170f523e0 Small improvement 2020-10-02 23:29:48 +02:00
Benoit Marty c0842d4da7 Also apply the filter to banned user screen 2020-10-02 23:20:28 +02:00
Benoit Marty 6147a87e46 Hide the SearchView when scrolling down 2020-10-02 23:06:59 +02:00
Benoit Marty 50f6a4732c Change hint 2020-10-02 22:21:13 +02:00
Benoit Marty f5580212ea Also filter threePids 2020-10-02 22:16:13 +02:00
Benoit Marty 9df3de2afb Rename method 2020-10-02 21:50:01 +02:00
Benoit Marty 78ed184f60 Filter in the controller, to keep a live members list 2020-10-02 21:40:10 +02:00
Benoit Marty 85417eb24c Add SearchView to filter members.
Author: Onuray (I squashed 2 commits)
2020-10-02 21:12:52 +02:00
Benoit Marty c996bcb23c
Merge pull request #2130 from vector-im/feature/search_in_room
Search messages in a room
2020-10-02 17:00:52 +02:00
Benoit Marty a2334c3fb0 Add missing leave icon in room profile 2020-10-01 18:38:27 +02:00
Benoit Marty 92e021a3d7 Create home shortcut for any room (#1525) 2020-10-01 18:38:09 +02:00
Benoit Marty 3705fa14bd Use sender data return from search result 2020-10-01 17:03:53 +02:00
Benoit Marty 4649b2ac1d Code review 2020-10-01 16:09:06 +02:00
Benoit Marty ae346646e4 Cleanup 2020-10-01 15:05:42 +02:00
Onuray Sahin 6e81467808 If SearchActivity is in the stack, use it. 2020-10-01 14:50:29 +02:00
Onuray Sahin 08cc439306 Cancel previous search task before starting new one. 2020-10-01 14:50:29 +02:00
Onuray Sahin 0838cbaf03 UI fixes. 2020-10-01 14:50:29 +02:00
Onuray Sahin d4a0659483 Init room in constructor. 2020-10-01 14:50:29 +02:00
Onuray Sahin 4dbeaeb465 Do not use hard wrapping. 2020-10-01 14:50:29 +02:00
Onuray Sahin 5d190a8137 Use loading item instead of full screen loading. 2020-10-01 14:50:29 +02:00
Onuray Sahin 0d16fe019e Do not use string provider in fragment. 2020-10-01 14:50:29 +02:00
Onuray Sahin 88ca909689 Remove roomId from SearchAction. 2020-10-01 14:50:29 +02:00
Onuray Sahin da344fae51 One case per line. 2020-10-01 14:50:29 +02:00
Onuray Sahin 70be853acd Update no results found icon. 2020-10-01 14:50:29 +02:00
Onuray Sahin 62449ee543 Support searching and pagination. 2020-10-01 14:48:55 +02:00
Onuray Sahin 5e56e7cf82 Implement search state, action and view events. 2020-10-01 14:48:55 +02:00
Onuray Sahin 6c6d0dbc3d Show not supported warning for e2e rooms. 2020-10-01 14:48:55 +02:00
Onuray Sahin d6fcf63230 Implement search result controller and item. 2020-10-01 14:48:55 +02:00
Onuray Sahin 86b46d1442 Configure SearchView as activity toolbar. 2020-10-01 14:48:55 +02:00
Onuray Sahin f54504e871 Create search UI classes. 2020-10-01 14:48:55 +02:00
Onuray Sahin fc18a7b877 Add search action as the menu item inside the timeline 2020-10-01 14:48:55 +02:00
Valere b6b73f2361
Merge pull request #2187 from vector-im/feature/forgot_pass_reset_all_4S
Feature/forgot pass reset all 4 s
2020-09-30 18:22:48 +02:00
Benoit Marty 37d6a9b722 ktlint 2020-09-30 18:20:42 +02:00
Benoit Marty 881ebff015 Changelog and small improvement 2020-09-30 18:11:30 +02:00
ganfra f0272fd283 UTD pagination: clean up and add developer settings to enable complete history 2020-09-30 17:56:50 +02:00
ganfra 0a0330a48c UTD : when reaching UTD and invite state event, stop back pagination 2020-09-30 17:54:16 +02:00
Benoit Marty 482bb51640 More cleanup 2020-09-30 17:50:36 +02:00
Benoit Marty ee56307ccc No warning when cancelling the Reset of 4s 2020-09-30 16:47:34 +02:00
Benoit Marty 18950a6b46 Some cleanup 2020-09-30 16:36:17 +02:00
Valere a4e163885d Better rotation support 2020-09-30 16:17:28 +02:00
Benoit Marty 108a31eca3 Avoid long lines 2020-09-30 15:31:33 +02:00
Benoit Marty 7f26dbe260 Fix compil issue 2020-09-30 15:23:27 +02:00
Dmytro Kyrychuk b6bbe19316 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (3 of 3 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.riot.im/projects/element-android/element-store/uk/
2020-09-30 13:05:04 +00:00
Dmytro Kyrychuk d744dea46e Translated using Weblate (Ukrainian)
Currently translated at 41.4% (775 of 1874 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.riot.im/projects/element-android/element-app/uk/
2020-09-30 13:05:04 +00:00
Dmytro Kyrychuk 6f29d38047 Translated using Weblate (Greek)
Currently translated at 15.1% (283 of 1874 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.riot.im/projects/element-android/element-app/el/
2020-09-30 13:05:02 +00:00
Benoit Marty 5e2f65ab7a Split long lines 2020-09-30 12:46:28 +02:00
Benoit Marty c5459cdde4 Use RoomSummaryHolder if available 2020-09-30 12:39:36 +02:00
Benoit Marty f58829130a More cleanup 2020-09-30 12:30:21 +02:00
Benoit Marty 42a3a64b0d Better way to get direct state of the room (using view state) 2020-09-30 12:26:25 +02:00
Benoit Marty 84202adc5b Add braces to multiline if else 2020-09-30 11:54:23 +02:00
Benoit Marty 07446d2d41 Embedded if 2020-09-30 11:50:07 +02:00
Benoit Marty 14162ecaa0 Add missing case 2020-09-30 11:47:37 +02:00
Benoit Marty 2f054cd438 Fix mistake 2020-09-30 11:45:21 +02:00
Benoit Marty b5311aa3df Simple code 2020-09-30 11:42:07 +02:00
Valere 3642ca5b4a cleaning 2020-09-30 11:05:06 +02:00
Valere 2908a5d345 Added first ui bootstrap test 2020-09-30 10:13:59 +02:00
Onuray Sahin 5d18a7cc82 Lint fixes. 2020-09-30 10:07:20 +02:00
Onuray Sahin 07976988d9 Use RoomSummary to check if the room is direct. 2020-09-30 10:07:20 +02:00
Onuray Sahin 2a96b2c68e Differentiate wordings for the room profile screen. 2020-09-30 10:07:20 +02:00
Onuray Sahin 24fcb3f58f Differentiate wordings for direct rooms. 2020-09-30 10:07:20 +02:00
Valere 1e3bdd6a2e Fix test 2020-09-29 18:00:15 +02:00
Valere c20517599e Add option to reset 4S if lost pass/key 2020-09-29 17:05:29 +02:00
Benoit Marty 487bbe42a9
Merge branch 'develop' into feature/ui_test 2020-09-29 16:13:44 +02:00