Commit Graph

262 Commits

Author SHA1 Message Date
Giom Foret 1c0bc099c5 Bug Fix: share silently fails on big pics - eg panoramas #1627 2017-11-09 15:59:42 +01:00
Giom Foret 691153e544 version++ 2017-10-27 17:11:47 +02:00
manuroe cff80d91e9 version++ 2017-10-24 10:46:00 +02:00
manuroe cd0b4213b2 Logs: Logs app extensions into separate files (console-share.log & console-siri.log) 2017-10-20 17:13:12 +02:00
manuroe 11f477e5e7 Logs app extensions to console.log 2017-10-20 14:57:51 +02:00
Giom Foret e92d9f5119 Bug Fix - Share extension: Rooms have no avatars
Add a fake matrix session to each room summary to provide it a REST client (used to handle correctly the room avatar).

#1570
2017-10-16 18:55:09 +02:00
Giom Foret fd10b690cd Enable the Share App Extension use 2017-10-09 16:06:22 +02:00
manuroe 715c66fbbe version ++ 2017-10-05 15:40:28 +02:00
Giom Foret 8f7878b413 version ++ 2017-10-04 11:23:05 +02:00
Giom Foret 9f9bf2f008 version ++ 2017-10-03 16:11:21 +02:00
Giom Foret 082ddf3e0c RiotShareExtension: disable edition in rooms list 2017-09-29 17:25:18 +02:00
Giom Foret 1d015c8eed Share extension mxstore rework
- sort rooms according to their activity
2017-09-29 11:25:58 +02:00
Giom Foret 45319ca575 Share extension mxstore rework
- Create the MXRoom instance only when the room is selected.
2017-09-29 10:37:54 +02:00
giomfo 860b5f3535 Merge branch 'develop' into share-extesion-mxstore-rework 2017-09-28 10:24:27 +02:00
Giom Foret 4a13e7e4d0 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 4ed5416287 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 54a8a26f38 Stopped storing MXRoom instances, using CellData now 2017-09-15 19:17:03 +04:00
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
Aram Sargsyan 09725f0cc3 resetting info.plist 2017-09-08 19:09:31 +04:00
Aram Sargsyan 0b0a4a12b8 Review changes 2017-09-08 19:02:45 +04:00
Aram Sargsyan c962a056e3 Finished rework, getting rooms with all the necessary information from MXStore 2017-08-31 17:51:49 +04:00
David Baker cf4361592a share extension version should be same as the app 2017-08-29 12:51:24 +01:00
Aram Sargsyan ee4a76674a Improved cell rendering 2017-08-26 15:54:25 +04:00
Aram Sargsyan 90be05dd3d Added comment 2017-08-26 13:12:49 +04:00
Aram Sargsyan 77888df531 Initial commit 2017-08-26 12:58:17 +04:00
Aram Sargsyan 9225f5f9cf Merge branch 'develop' of https://github.com/vector-im/riot-ios into app-extension-improvements 2017-08-25 18:12:15 +04:00
Giom Foret 8a9c5ff74c Disable the Share App Extension use 2017-08-25 14:04:05 +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
Aram Sargsyan 1a5d993c6d Merge branch 'develop' of https://github.com/vector-im/riot-ios into app-extension-improvements 2017-08-25 02:42:35 +04:00
Aram Sargsyan e89a8c4339 Distinguishing providers 2017-08-25 02:26:53 +04:00
Giom Foret 84f3aefac4 Improvement - Application group identifier
Use the property `applicationGroupIdentifier` of the MXSDKOptions sharedInstance.
2017-08-24 15:18:23 +02:00
Giom Foret 009483f253 App extension - Restore Aram's logs 2017-08-24 13:02:38 +02:00
Giom Foret 79b3d366e5 App Extension - Limit memory consumption
- In case of image sharing, we suggest the original resolution only if the image orientation is up, or if the image size is moderate.
- Bug Fix: no image is sent when no compression is required.
2017-08-24 12:59:46 +02:00
Aram Sargsyan 6ecc238445 Fixed a bug related to multiple image sharing 2017-08-24 14:55:35 +04:00
Giom Foret 140c3f2427 App Extension - Bug Fix
Fix App crash on Exception "This application is modifying the autolayout engine from a background thread, which can lead to engine corruption and weird crashes.  This will cause an exception in a future release."
2017-08-24 10:47:27 +02:00
Aram Sargsyan 56327c5041 Merge branch 'app-extension-improvements' of https://github.com/aramsargsyan/riot-ios into app-extension-improvements 2017-08-22 19:56:30 +04:00
Aram Sargsyan 0e89f69ee4 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
Giom Foret b5ea138af5 App extension: Bug Fix - send the keys file does not work correctly
The attached file is not detected as keys files when the user selects it in the room history.
The associated mimetype was wrong
2017-08-22 00:31:43 +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 5db0095154 Merge branch 'app-extension-improvements' of https://github.com/aramsargsyan/riot-ios into app-extension-improvements 2017-08-21 18:45:56 +04: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 80056dae3c Merge pull request #5 from vector-im/app_extension_ima_orientation
Bug Fix -  Make sure the uploaded image orientation is up
2017-08-21 18:21:03 +04:00
Giom Foret 8666014f2c Bug Fix - Make sure the uploaded image orientation is up 2017-08-21 15:28:58 +02: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