Commit Graph

18 Commits

Author SHA1 Message Date
Giom Foret 0ecfb05b0e Bug Fix: Share extension improvements
#1611

- display the search input by default
- on searching for something, the search filter seems to clear instantly on selecting a destination NOK.
2017-11-10 17:28:03 +01:00
Giom Foret 35927d2117 Share extension mxstore rework
- Create the MXRoom instance only when the room is selected.
2017-09-29 10:37:54 +02:00
giomfo 4ed5de9c10 Merge branch 'develop' into share-extesion-mxstore-rework 2017-09-28 10:24:27 +02:00
Giom Foret b8c576ef18 Fix iOS11 disruption
- RoomViewController, RoomDetailsVC, ContactDetailsVC: fix header layout.
- Use UIScrollView+MatrixKit category to handle the adjusted content inset which is not defined before iOS 11.
2017-09-27 09:26:34 +02:00
Aram Sargsyan 955ee3007a Merge branch 'develop' of https://github.com/vector-im/riot-ios into share-extesion-mxstore-rework 2017-09-15 19:19:49 +04:00
Aram Sargsyan 844139bfad Stopped storing MXRoom instances, using CellData now 2017-09-15 19:17:03 +04:00
Giom Foret 772b7ee23e Handle the room display name and its avatar at the room summary level.
- Update the room display name and its avatar url when the Room Summary is updated on state events change (see `[session: updateRoomSummary: withStateEvents:]`).
- Store the riot display room name and its avatar url in the Room Summary.
- Add a new category `MXRoomSummary+Riot` to handle avatar display.

TODO: Increase file store version in `MXFileStore.h`.
2017-09-14 16:00:50 +02:00
Aram Sargsyan 2379ebe617 Review changes 2017-09-08 19:02:45 +04:00
Aram Sargsyan f4e996dfd3 Finished rework, getting rooms with all the necessary information from MXStore 2017-08-31 17:51:49 +04:00
Aram Sargsyan a5ea8e7819 Added comment 2017-08-26 13:12:49 +04:00
Aram Sargsyan 1cda1f82f6 Added real support for sending multiple images (up to 5). Fixed bug when images weren't being resized. Introduced a category for NSItemProvider to easily track if the item was loaded or not. 2017-08-22 19:52:32 +04:00
Aram Sargsyan b5eef98d51 Sending the file with it's actual fiename, changes temporary search bar stykle to match the real one's style, showing only joined rooms for sharing 2017-08-21 18:45:16 +04:00
Aram Sargsyan afa22bf43a Merge pull request #4 from vector-im/app_extension_reuse_mxkrecentsvc
RoomsListViewController should inherit from MXKRecentListViewController.
2017-08-21 17:15:20 +04:00
Giom Foret 0f283ba07a RoomsListViewController should inherit from MXKRecentListViewController.
- to release correctly the resources
- to reuse data source handling mechanism
...
2017-08-21 14:07:49 +02:00
Aram Sargsyan b3e2f918e9 Introduced new ShareExtensionDelegate method didStartSendingToRoom to notify the viewController when the request is initiated to only then show the loading hud, block interaction with the view, etc 2017-08-21 01:39:08 +04:00
Aram Sargsyan 30ff28dc7e Loading HUD usage in the extension, Image resoulution alertController introduced 2017-08-17 00:01:54 +04:00
Aram Sargsyan e21ea5ac9f Added search functionality for rooms and people, fixed bug of dismmisal 2017-08-11 20:33:50 +04:00
Aram Sargsyan 1f65551519 Reworked the Share Extension to use a subclass of MXKRecentsDataSource to show content, solved the room order issue, as well introduced a new class ShareExtensionManager responsible for Sharing content and communicating with the system to terminate the extension with the appropriate exit code when needed. 2017-08-11 02:38:47 +04:00