Commit Graph

77 Commits

Author SHA1 Message Date
manuroe f44dee3581 Share: Make sure the progress bar is always displayed
The switch to the main thread should be done earlier but I do not want to break things
2018-02-05 15:44:56 +01:00
manuroe aa22d10d4e Share: The extension crashes if you try to share a GIF image (#1759) 2018-02-05 15:36:56 +01:00
manuroe 766de61224 Merge pull request #1744 from vector-im/share_extension_crash
Share Extension: Fix crash on a weak self
2018-01-23 05:55:23 +01:00
manuroe 51134ba10b Share Extension: Fix crash on a weak self
Reported only by app store because we do not catch crashes from the share extension nor siri extension.
2018-01-22 19:36:51 +01:00
Evan Tang 889f34b6d6 When you realize there's more than one cancel button 2018-01-18 20:46:25 -06:00
manuroe c6d56095d6 version++ 2018-01-03 14:48:19 +01:00
manuroe 1bbde931b2 version++ 2017-12-29 18:01:40 +01:00
Giom Foret a64440df08 Bug Fix: Share extension is not localized?
#1701
2017-12-27 14:53:17 +01:00
manuroe 2e6c2cbc00 version++ 2017-12-21 09:31:28 +01:00
manuroe ba025719a0 version++ 2017-12-19 16:04:45 +01:00
manuroe e29bb6789e version++ 2017-12-05 17:00:41 +01:00
Giom Foret 0c0ccc1544 version++ 2017-11-30 11:16:11 +01:00
manuroe a7907364e7 Make code compatible with !use_frameworks in Podfile 2017-11-23 16:09:19 +01:00
Giom Foret 0993e860b8 version++ 2017-11-13 18:16:43 +01:00
Giom Foret b0db9aa6a0 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 bfa66e49fd Bug Fix: share silently fails on big pics - eg panoramas #1627 2017-11-09 15:59:42 +01:00
Giom Foret 84262bdc85 version++ 2017-10-27 17:11:47 +02:00
manuroe 806317b019 version++ 2017-10-24 10:46:00 +02:00
manuroe a3815c9c64 Logs: Logs app extensions into separate files (console-share.log & console-siri.log) 2017-10-20 17:13:12 +02:00
manuroe 34b4c2d4f3 Logs app extensions to console.log 2017-10-20 14:57:51 +02:00
Giom Foret 57fbc86677 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 cb0ad2e0bd Enable the Share App Extension use 2017-10-09 16:06:22 +02:00
manuroe 1f765e7745 version ++ 2017-10-05 15:40:28 +02:00
Giom Foret 38d1d1a4a9 version ++ 2017-10-04 11:23:05 +02:00
Giom Foret 52b00fbf34 version ++ 2017-10-03 16:11:21 +02:00
Giom Foret 20a8556821 RiotShareExtension: disable edition in rooms list 2017-09-29 17:25:18 +02:00
Giom Foret 3ab40b007c Share extension mxstore rework
- sort rooms according to their activity
2017-09-29 11:25:58 +02:00
Giom Foret 1bbc307f60 Share extension mxstore rework
- Create the MXRoom instance only when the room is selected.
2017-09-29 10:37:54 +02:00
giomfo c4379d5ba1 Merge branch 'develop' into share-extesion-mxstore-rework 2017-09-28 10:24:27 +02:00
Giom Foret 9bbed86d4b 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 5e98f7545f 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 3a86a4c7bb Stopped storing MXRoom instances, using CellData now 2017-09-15 19:17:03 +04:00
Giom Foret ec85532a50 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 4d8ffac13e resetting info.plist 2017-09-08 19:09:31 +04:00
Aram Sargsyan 6d0f0dd5f1 Review changes 2017-09-08 19:02:45 +04:00
Aram Sargsyan 7c75fb85eb Finished rework, getting rooms with all the necessary information from MXStore 2017-08-31 17:51:49 +04:00
David Baker 333f5432a5 share extension version should be same as the app 2017-08-29 12:51:24 +01:00
Aram Sargsyan 20d23c6dcf Improved cell rendering 2017-08-26 15:54:25 +04:00
Aram Sargsyan 06e4491d04 Added comment 2017-08-26 13:12:49 +04:00
Aram Sargsyan c88f661a01 Initial commit 2017-08-26 12:58:17 +04:00
Aram Sargsyan a1fa9fd935 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 1394d84f5a Disable the Share App Extension use 2017-08-25 14:04:05 +02:00
Giom Foret 4b61d5a4ba 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 54e494a7d6 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 a9a94ee6ba Distinguishing providers 2017-08-25 02:26:53 +04:00
Giom Foret 16019b9a52 Improvement - Application group identifier
Use the property `applicationGroupIdentifier` of the MXSDKOptions sharedInstance.
2017-08-24 15:18:23 +02:00
Giom Foret 8423fbccb7 App extension - Restore Aram's logs 2017-08-24 13:02:38 +02:00
Giom Foret 26254f19dc 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 4054eed6b3 Fixed a bug related to multiple image sharing 2017-08-24 14:55:35 +04:00
Giom Foret 5743529c68 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