Commit Graph

334 Commits

Author SHA1 Message Date
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
Giom Foret 46d0e7b696 Pushkit: unregister for all remote notifications received via Apple Push Notification service. 2017-09-13 15:15:57 +02:00
Denis Morozov 71e18cf903 Fix push registration process 2017-09-10 16:41:50 +03:00
Giom Foret 23a04810f5 PushKit: local notifications handling
Support the account settings: `showDecryptedContentInNotifications` value.
2017-09-08 15:32:55 +02:00
Giom Foret 6631d4b5ea Merge branch 'develop' into callkit 2017-09-08 12:42:58 +02:00
Giom Foret 67ffc560e2 Pushkit Support
- Bug Fix - Regression: incoming video call is ignored when the app is backgrounded.
Do not remove the call observer at each session state change. A call observer is created as soon as a session is `StoreDataReady`, it is used until all the sessions are closed. We let the MXCallManager delay the call invite handling when the concerned session is syncing (see https://github.com/matrix-org/matrix-ios-sdk/pull/366).

- Bug Fix - Regression: app crashes on logout (see wrong use of `callEventsListeners`).
2017-09-07 19:28:38 +02:00
Giom Foret f6b79e680c Switch the loading animation for iOS to be RIOT.IM branded.
Remove the grey spinner under this animation.
2017-09-06 18:48:47 +02:00
Giom Foret b5fb421bd2 Pushkit support: Start a matrix session for each enabled accounts even if the app is in background.
AppDelegate -  `initMatrixSession`: Start a matrix session for each enabled accounts even if the app is in background.
Indeed we call [accountManager prepareSessionForActiveAccounts] even in background mode, The session is automatically paused when the running state is detected if the application is still in background.
- Define a notification listener block for each session. This block is used during all the session life to display the local notifications when the app is backgrounded.
- The local notifications are handled by using the background sync mechanism (defined at MXKAccount level).
- Multiple accounts are handled.
2017-09-06 16:59:12 +02:00
manuroe b52e878368 Fix compilation issue 2017-09-04 16:26:41 +02:00
manuroe 61626a332d Merge remote-tracking branch 'origin/pr/1458' into callkit
# Conflicts:
#	Riot.xcodeproj/project.pbxproj
#	Riot/AppDelegate.m
#	Riot/ViewController/SettingsViewController.m
2017-09-04 15:57:37 +02:00
manuroe a4e519493a Merge branch 'callkit' into sirikit_new 2017-08-31 17:16:51 +02:00
manuroe 074974a0da CallKit branch: fixed compilation issues 2017-08-31 16:20:32 +02:00
manuroe a9262546c5 Merge remote-tracking branch 'origin/develop' into callkit
# Conflicts:
#	Riot/AppDelegate.m
2017-08-31 15:58:28 +02:00
manuroe 49defaef8a CallKit branch: fixed compilation issues 2017-08-31 15:51:05 +02:00
manuroe 1943b9fc2a Merge branch 'develop' into incoming_call_screen 2017-08-31 14:04:53 +02:00
manuroe 07b14d9f63 Jitsi widget: Add notices for jitsi widget in rooms histories 2017-08-30 17:37:14 +02:00
manuroe eab8a6d462 Merge pull request #1484 from morozkin/callkit_notif
Start background task when handling call intent in the background
2017-08-30 10:54:49 +02:00
Denis 12fa3d8a2a Set local notification sound 2017-08-29 11:55:45 +03:00
Denis dc53ef495d Don't show display notifications for call invites when CallKit is active 2017-08-29 11:55:32 +03:00
Denis Morozov 7f0832185b Add content to notification body connected with image 2017-08-29 11:50:22 +03:00
Denis 1aee1d02c4 Start background task when handling call intent in the background 2017-08-28 18:14:10 +03:00
Denis Morozov b013fc4fd4 Fix issue #1480 2017-08-27 16:51:27 +03:00
Denis Morozov 2c5586f069 Remove incomingCallNotification property 2017-08-27 16:43:42 +03:00
Denis Morozov 9e83f5d1ef Change application group id 2017-08-26 15:34:51 +03:00
giomfo 84356ec255 Merge pull request #1475 from morozkin/callkit_notif
Add background mode handling
2017-08-25 18:28:15 +02:00
Giom Foret 08d5da8e4a Merge branch 'master' into callkit
# Conflicts:
#	Riot/AppDelegate.m
#	Riot/Assets/en.lproj/Vector.strings
#	Riot/ViewController/SettingsViewController.m
2017-08-25 16:48:13 +02:00
Denis Morozov ce343aaa51 Add screen for incoming calls 2017-08-25 03:02:29 +03:00
Giom Foret dcd375e830 Improvement - Application group identifier
Use the property `applicationGroupIdentifier` of the MXSDKOptions sharedInstance.
2017-08-24 15:18:23 +02:00
Denis Morozov 576466bb13 Add background mode handling 2017-08-24 14:03:05 +03:00
Denis Morozov 58a6e4eb5a Improvements in notification registration flow 2017-08-23 19:07:14 +03:00
Denis Morozov 9f1004a163 Fix remote notifications registration even if user hasn't provide access 2017-08-22 19:34:50 +03:00
Denis Morozov 32caf1951f Add Intents handling 2017-08-22 16:02:16 +03:00
Denis Morozov fb57b024ce Check available notification types before starting register on PushKit notifications 2017-08-22 12:05:28 +03:00
Denis Morozov c6f13b3729 Move code for updating icon badge number to completion block 2017-08-22 11:10:35 +03:00
Denis Morozov 216696887a Update app icon badge number on each received push notification 2017-08-22 10:48:59 +03:00
Denis Morozov e4f735e4bc Replace remote notifications with PushKit notifications 2017-08-21 13:28:05 +03:00
manuroe 2b4a845ec8 Merge pull request #1449 from vector-im/jitsi_widget
Integrating Jitsi into mobile apps
2017-08-18 13:26:30 +02:00
manuroe cc4b11592d Jitsi widget: polishing 2017-08-18 11:40:56 +02:00
Giom Foret 6ab2e329d6 Apply the actual application group: "group.im.vector" 2017-08-16 18:35:32 +02:00
manuroe 2ca185b80e Merge remote-tracking branch 'origin/develop' into jitsi_widget
# Conflicts:
#	Riot.xcodeproj/project.pbxproj
2017-08-16 17:14:20 +02:00
Giom Foret e33f383445 Dark Theme - Improvement
Force the background color of the fake view controller displayed when there is no details.
2017-08-14 22:35:16 +02:00
Giom Foret ecabc3c52c Dark Theme - Improvement
Force the background of the default view controller displayed in landscape when no room is selected.
2017-08-14 15:57:23 +02:00
Giom Foret a36d824873 Enable Dark theme
TODO:
- fix the app freeze when user changes the app theme.
2017-08-11 16:56:09 +02:00
manuroe 0e3a8a9ce8 Jitsi widget: Display the hangup button when we are back-to-app 2017-08-11 14:59:05 +02:00
manuroe 1bdbe40c09 Jitsi widget: Manage "Back To App" 2017-08-11 14:18:10 +02:00
manuroe d1c1349fb6 Jitsi widget: Add WidgetManager and Widget, generic classes to manage scalar widgets 2017-08-04 13:07:04 +02:00
Denis Morozov b0d99bee60 Set App Group ID to MXSDKOptions singleton instance 2017-08-04 10:59:46 +03:00
manuroe 0d46a03ba9 Add support of matrix.to links to users
BF: the app doesn't do anything sensible with matrix.to user id hyperlinks #1410
2017-07-25 16:08:24 +02:00
Giom Foret 9593ce74ac Prepare Dark Theme
Remove the [UIApplication statusBarHidden] use (deprecated since iOS 9).
Use the default UIViewController-based status bar system.

Hide the user interface theme option in Settings.

https://github.com/vector-im/riot-meta/issues/22
2017-07-21 17:22:34 +02:00
manuroe d527811b0c Language settings: Store it in NSUserDefaults (@"appLanguage") 2017-07-21 11:08:33 +02:00