Commit graph

5860 commits

Author SHA1 Message Date
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
f030e098a8 Fix code quality and compilation test 2020-10-02 17:18:39 +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
61a41493ac
Merge pull request #2202 from vector-im/feature/bma/shortcuts
Feature/bma/shortcuts
2020-10-02 10:38:16 +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
4683dc3f21 Documentation added to orderByRecent parameter of the search request. 2020-10-01 14:50:29 +02:00
Onuray Sahin
e21f306635 Use enum directly instead of its value. 2020-10-01 14:50:29 +02:00
Onuray Sahin
430a0d2492 Create separate search module. 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
0df3a8ad98 Changelog added. 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
8759bcca84 Map api response to a domain object. 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
Onuray Sahin
f1a979caa1 Make SearchTask accessible from room. 2020-10-01 14:48:55 +02:00
Onuray Sahin
7c954d220c Fix search request and response fields. 2020-10-01 14:48:55 +02:00
Onuray Sahin
8bff468c7c SearchService is added to the session. 2020-10-01 14:48:55 +02:00
Onuray Sahin
c46f0a7430 Simple integration test implementation for searching messages in a room. 2020-10-01 14:48:55 +02:00
Onuray Sahin
2eb60213b4 Do not support searching in multiple rooms for now. 2020-10-01 14:48:55 +02:00
Onuray Sahin
05f48255a3 Move search service into session module. 2020-10-01 14:48:55 +02:00
Onuray Sahin
d599cab017 SearchService implementation. 2020-10-01 14:48:55 +02:00
Onuray Sahin
b521f36569 SearchTask implementation. 2020-10-01 14:48:55 +02:00
Onuray Sahin
051b431f1d Search api added to RoomAPI. 2020-10-01 14:48:55 +02:00
Onuray Sahin
04b41fce30 Data classes for the search response created. 2020-10-01 14:48:55 +02:00
Onuray Sahin
5fcabca87c Data classes for request body created. 2020-10-01 14:48:55 +02:00
Benoit Marty
28b039fde3 Update CHANGES.md with: Updates Gradle Wrapper from 5.6.4 to 6.6.1. (#2193) 2020-10-01 14:47:35 +02:00
Benoit Marty
762bfc4fcc
Merge pull request #2193 from vector-im/gradlew-update-6.6.1
Updates Gradle Wrapper from 5.6.4 to 6.6.1.
2020-10-01 14:44:55 +02:00