Commit Graph

17 Commits

Author SHA1 Message Date
Giom Foret 33beaa3dfb 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
Giom Foret be2fe8fea9 App extension - Improvement: Reduce memory consumption.
Force the ShareExtensionManager to release the primary view controller when the action is completed.

We observed that `dealloc` is called for this view controller when the request is cancelled with error (`cancelRequestWithError`), but it is not called when the request is completed (`completeRequestReturningItems`).
2017-08-25 11:55:37 +02:00
Giom Foret e53e7bc10b App Extension - Fix matrix session handling
The matrix session should be handled by the ShareExtensionManager. This manager is able to prepare, suspend and resume the session.
Note: The ShareViewController is reloaded each time the extension is launched
2017-08-21 22:33:06 +02:00
Giom Foret 0c5218fa59 App extension: enlarge the close button 2017-08-21 18:09:07 +02:00
Aram Sargsyan 9ce814873f 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 4dec94272b 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 d246fc5604 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 b1ae853be4 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
Giom Foret 34eb2630e6 Bug Fix - App extension: handle correctly the account change.
Only the first enabled account is considered FTM.
2017-08-18 17:30:38 +02:00
Giom Foret 272092ff6b Apply the app group name in app extension
(merge https://github.com/vector-im/riot-ios/pull/1440)
2017-08-18 09:40:37 +02:00
Aram Sargsyan 5ebe459461 Merge branch 'app-extension-improvements' of https://github.com/aramsargsyan/riot-ios into app-extension-improvements 2017-08-18 02:28:15 +04:00
Aram Sargsyan ca2b519f40 Added comments describing ShareExtensionManager public functionality + small method renaming 2017-08-18 02:27:56 +04:00
Giom Foret e1162f2aff Remove unwanted binary file 2017-08-17 18:06:46 +02:00
Aram Sargsyan e34e0544a3 Fixed retain cycles, changed color constant 2017-08-17 19:28:08 +04:00
Aram Sargsyan bbe5a7f82b Loading HUD usage in the extension, Image resoulution alertController introduced 2017-08-17 00:01:54 +04:00
Aram Sargsyan ef2e38b63f Added search functionality for rooms and people, fixed bug of dismmisal 2017-08-11 20:33:50 +04:00
Aram Sargsyan 89592fd34c 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