Commit Graph

114 Commits

Author SHA1 Message Date
Giom Foret 9e6090f453 Bug Fix - The Call View Controller is displayed whereas the call has been cancelled 2017-10-27 15:35:43 +02:00
Giom Foret ec5d435ba5 Fix App crash 2017-10-23 17:34:42 +02:00
Giom Foret 1695901759 Bug Fix - Bg Sync loop 2017-10-23 16:58:55 +02:00
manuroe 11f477e5e7 Logs app extensions to console.log 2017-10-20 14:57:51 +02:00
Giom Foret d0a087a387 Add logs to investigate crash on bg sync 2017-10-20 14:23:08 +02:00
Giom Foret a1e742ad0f Buf Fix - Pushkit - a message containing “20%ing” into “20ng” in the notif
#1594
2017-10-19 16:25:59 +02:00
Giom Foret b392892f6a PushKit - Enhancement
-Don't forget the notifications retrieved during an initial sync in background
2017-10-19 16:09:50 +02:00
manuroe db84390842 Callkit: Show the Riot icon (in B&W) on the system call screen 2017-10-19 10:03:23 +02:00
Giom Foret 53b907bfed PushKit - Enhancement
Don't forget notifications lost while the device was offline
2017-10-18 19:18:14 +02:00
Giom Foret c9ba985eca Pushkit - Enhancement
Add sanity check
2017-10-18 14:10:08 +02:00
Giom Foret a62e5a6ed0 Pushkit - Enhancement
Handle the received push notifications at the end of the background sync in order to:
- ignore redacted events
- ignore the events read on another device
- improve the call invites handling when callkit is disabled.
2017-10-18 11:58:24 +02:00
manuroe 445349dff9 Call: on incoming call, if CallKit is enabled, do not show the incomingCallVC.
It creates a strange screens mix between the system call screen and the incomingCallVC.
2017-10-18 10:19:05 +02:00
Giom Foret 271fdc41ea Bug Fix - Local notifications body 2017-10-16 14:58:38 +02:00
Giom Foret fdf2db5b2f Bug Fix - Local notifications body
+ Fix #1576: Notifs for named 1:1s don't show the room name, only the sender
+ Remove the room alias from the room name
+ Hide the room name when it is equal to the sender name
+ Consider the actual event date
2017-10-16 14:43:07 +02:00
Giom Foret 404b264dc1 Bug Fix - Notification explosion on initial sync
Add sanity check: Do not display local notifications during the initial sync.
2017-10-13 17:07:46 +02:00
Giom Foret c6d92ce9da Do not display the local notification on push when the room is in mentions only mode.
Only the highlighted push are displayed for this room.
2017-10-12 14:46:20 +02:00
Giom Foret 34f8445ac5 Do not display the local notification on push when the room is in mentions only mode.
Only the highlighted push are displayed for this room.
2017-10-12 11:42:10 +02:00
Giom Foret 41b839c410 Merge branch 'develop' into callkit
# Conflicts:
#	Riot/AppDelegate.m
2017-10-09 16:23:18 +02:00
manuroe 0d6f7143aa A possible patch to avoid the app being killed in background on iOS11 (https://github.com/vector-im/riot-ios/issues/1522) 2017-10-09 11:29:53 +02:00
manuroe 0ad7b8a43b Add log for https://github.com/vector-im/riot-ios/issues/1522 2017-10-06 18:05:54 +02:00
manuroe ef881af9c5 Log applicationDidReceiveMemoryWarning at AppDelegate level 2017-10-05 09:36:40 +02:00
Giom Foret 88cd9db785 Merge branch 'master' into callkit
# Conflicts:
#	Riot.xcodeproj/project.pbxproj
#	Riot/AppDelegate.m
#	Riot/ViewController/SettingsViewController.m
2017-10-04 13:04:21 +02:00
Giom Foret 025ea5fa07 Bug Fix - Some rooms have gone nameless after upgrade
https://github.com/matrix-org/riot-ios-rageshakes/issues/388
2017-10-03 18:53:05 +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
Giom Foret e2e6af8f17 Fix compilation error
@available(iOS 11.0, *))  requires Xcode 9
2017-09-22 10:39:50 +02:00
manuroe 3a624fa99d BF: [iOS11] "Smart [colors] Invert" renders badly in the app
https://github.com/vector-im/riot-ios/issues/1524

- the app does its own dark theme and prevents the OS from automatically revert the colors in the app
- there are 3 choices on iOS11 for the Riot theme: "auto", "light", "dark". "auto" uses the system settings
2017-09-21 15:29:46 +02:00
Giom Foret c54641c9d1 Pushkit: Remove APNS use.
Use new MXKAccount API to handle push token and settings.
- add format: 'event_id_only' to the data dict when you add the pusher
- use the following app ID: im.vector.app.ios.voip.prod
2017-09-19 16:06:44 +02:00
Giom Foret 74f66ae4a1 Merge branch 'develop' into callkit 2017-09-19 09:50:21 +02:00
manuroe 9f74d71a5e Merge pull request #1511 from vector-im/widget_manager_2
Show the "Integrations Manager" into a webview
2017-09-15 16:55:28 +02:00
manuroe b5ed5ca0a7 Modular integrations UI: Clear Modular data on logout 2017-09-15 15:35:27 +02: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
Giom Foret c0f6c5c5ba Pushkit: unregister for all remote notifications received via Apple Push Notification service. 2017-09-13 15:15:57 +02:00
Denis Morozov ad40ac4e88 Fix push registration process 2017-09-10 16:41:50 +03:00
Giom Foret d5195a0ad9 PushKit: local notifications handling
Support the account settings: `showDecryptedContentInNotifications` value.
2017-09-08 15:32:55 +02:00
Giom Foret af882a3218 Merge branch 'develop' into callkit 2017-09-08 12:42:58 +02:00
Giom Foret 6509862ecc 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 deb86f35cc 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 326960301d 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 8fbe96f62c Fix compilation issue 2017-09-04 16:26:41 +02:00
manuroe 89920186d4 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 0585e0da78 Merge branch 'callkit' into sirikit_new 2017-08-31 17:16:51 +02:00
manuroe 532895b14d CallKit branch: fixed compilation issues 2017-08-31 16:20:32 +02:00
manuroe 9ef39576d9 Merge remote-tracking branch 'origin/develop' into callkit
# Conflicts:
#	Riot/AppDelegate.m
2017-08-31 15:58:28 +02:00
manuroe d93c35f89d CallKit branch: fixed compilation issues 2017-08-31 15:51:05 +02:00
manuroe 8ed3ff77a3 Merge branch 'develop' into incoming_call_screen 2017-08-31 14:04:53 +02:00
manuroe 38053f5603 Jitsi widget: Add notices for jitsi widget in rooms histories 2017-08-30 17:37:14 +02:00
manuroe 9261c2cf97 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 a369933d2b Set local notification sound 2017-08-29 11:55:45 +03:00
Denis b392f28fa7 Don't show display notifications for call invites when CallKit is active 2017-08-29 11:55:32 +03:00
Denis Morozov 67c4cb8608 Add content to notification body connected with image 2017-08-29 11:50:22 +03:00