Commit graph

145 commits

Author SHA1 Message Date
manuroe
c09171d62f AppDelegate: Enable log to file earlier
Try another technique to save logs to files earlier.
The goal is to track unexpected app startup cycle like in https://riot.im/bugreports/listing/2017-12-29/081732/console.1.log.gz (https://github.com/matrix-org/riot-ios-rageshakes/issues/797) and https://riot.im/bugreports/listing/2017-12-31/133345/console.log.gz (https://github.com/matrix-org/riot-ios-rageshakes/issues/805).

(cherry picked from commit 879f42782a)

# Conflicts:
#	Riot/AppDelegate.m
2018-01-03 11:28:41 +01:00
manuroe
1df6904d00 Test: Disable again loop on [application isProtectedDataAvailable] because I have bg watchdog crash again
(cherry picked from commit 07f331c160)
2018-01-03 11:26:54 +01:00
manuroe
1838a50878 App Startup: patchy patch: Reenable the loop on [application isProtectedDataAvailable] at least for 10s to secure startup for the moment 2017-12-29 17:01:23 +01:00
manuroe
0cdcff95fc Missing Push Notifications (#1696): Show a notification even if the app fails to sync with its hs to get all data.
Fix last Giom's remark: Make sure we do not display a "limited" notif for an event with already a "full" notif.
2017-12-29 16:43:20 +01:00
manuroe
8676024c40 Missing Push Notifications (#1696): Show a notification even if the app fails to sync with its hs to get all data.
Fixed easy Giom's remarks
2017-12-29 15:20:12 +01:00
manuroe
97cb429f66 Missing Push Notifications (#1696): Show a notification even if the app fails to sync with its hs to get all data.
wording
2017-12-29 13:40:55 +01:00
manuroe
750a6e9784 Missing Push Notifications (#1696): Show a notification even if the app fails to sync with its hs to get all data.
Show notif on /sync failure callback too
2017-12-29 13:33:55 +01:00
manuroe
9e612dd7d0 Missing Push Notifications (#1696): Show a notification even if the app fails to sync with its hs to get all data.
Renaming
2017-12-29 13:22:29 +01:00
manuroe
536c8cc360 Missing Push Notifications (#1696): Show a notification even if the app fails to sync with its hs to get all data.
Build the string for the notification
2017-12-29 13:19:40 +01:00
manuroe
f734096dae Missing Push Notifications (#1696): Show a notification even if the app fails to sync with its hs to get all data.
This fixes the case logged at
https://riot.im/bugreports/listing/2017-12-27/163238/console.2.log.gz
2017-12-29 10:31:16 +01:00
manuroe
b89f819b0c Log: Add logs for tracking "Silent crash at startup in [MXKContactManager loadCachedMatrixContacts]" (#1711) 2017-12-28 14:23:12 +01:00
manuroe
beb25cf3ae Missing Push Notifications (#1696): We do not need to wait for [application isProtectedDataAvailable] anymore
Thanks to https://github.com/matrix-org/matrix-ios-kit/pull/387
2017-12-27 15:40:25 +01:00
Giom Foret
65513f21bb Bug Fix: Share extension is not localized?
#1701
2017-12-27 14:53:17 +01:00
manuroe
41595a58b1 VoIP: increase call invite lifetime from 30 to 60s (https://github.com/vector-im/riot-meta/issues/129) 2017-12-21 09:28:40 +01:00
manuroe
00aa51f40f Missing Push Notifications (#1696): Try to delay [application isProtectedDataAvailable]. At least, logging to file will be enabled 2017-12-19 15:59:35 +01:00
manuroe
7ef736fa63 Push Notifications: Prefix logs related push notifications with "[Push]" and add more logs to track lost notifications 2017-12-19 15:59:22 +01:00
manuroe
9f247aa059 Push Notifications: Add more logs to track possible lost notifications 2017-12-19 15:51:53 +01:00
manuroe
26746144a9 Push Notifications: Add more logs to track possible lost notifications 2017-12-19 15:51:53 +01:00
manuroe
ff291754e8 Crypto: BF: The share key dialog can appear with a 'null' device (#1683)
Make sure we download requester device keys before showing the share dialog.
Also, add "You added a new device '%@', which is requesting encryption keys." string
2017-12-05 15:47:39 +01:00
Giom Foret
108b8a5426 Code cleaning 2017-11-28 10:18:44 +01:00
Giom Foret
ce54fc4a32 fix compilation errors 2017-11-27 12:38:21 +01:00
Giom Foret
740711dd54 AppDelegate: Add logs to know how long we wait for the protected data 2017-11-27 12:14:06 +01:00
giomfo
12516e6a0d
Merge pull request #1671 from vector-im/use_frameworks_compatible
Make code compatible with `!use_frameworks` in Podfile
2017-11-27 09:55:17 +01:00
Giom Foret
9af7a2b445 Code cleaning 2017-11-24 17:30:55 +01:00
Giom Foret
c10fb80e3e Should fix spontaneous logout 2017-11-24 17:16:47 +01:00
manuroe
45f07ab466 Make code compatible with !use_frameworks in Podfile 2017-11-23 16:09:19 +01:00
manuroe
b81ce6a9a1 Crypto: Key sharing: Move the check of incoming key requests so that we can detect them at app startup.
https://github.com/vector-im/riot-meta/issues/121

This is now required because, with https://github.com/matrix-org/matrix-ios-sdk/pull/414, key requests can be available when app starts.
2017-11-16 14:47:23 +01:00
Giom Foret
dd4d1a4858 Should fix spontaneous logout.
Set the App Group Id in `application:willFinishLaunchingWithOptions:` method instead of the `main` function of an iOS app
2017-11-15 15:49:54 +01:00
manuroe
1b7b453465 Crypto: Key sharing dialog for incoming room key requests
Follow Giom's review advice
2017-11-15 14:28:59 +01:00
manuroe
2b765341ea Crypto: Key sharing dialog for incoming room key requests
Manage ignore requests
2017-11-15 12:25:00 +01:00
manuroe
6f303b0554 Crypto: Add key sharing dialog for incoming room key requests 2017-11-14 18:21:01 +01:00
Giom Foret
452d878440 Bug Fix - The Call View Controller is displayed whereas the call has been cancelled 2017-10-27 15:35:43 +02:00
Giom Foret
6bb7e258dd Fix App crash 2017-10-23 17:34:42 +02:00
Giom Foret
db689c1c35 Bug Fix - Bg Sync loop 2017-10-23 16:58:55 +02:00
manuroe
cd428b83aa Logs app extensions to console.log 2017-10-20 14:57:51 +02:00
Giom Foret
6e0750a70b Add logs to investigate crash on bg sync 2017-10-20 14:23:08 +02:00
Giom Foret
2934443034 Buf Fix - Pushkit - a message containing “20%ing” into “20ng” in the notif
#1594
2017-10-19 16:25:59 +02:00
Giom Foret
b8cc3324cd PushKit - Enhancement
-Don't forget the notifications retrieved during an initial sync in background
2017-10-19 16:09:50 +02:00
manuroe
5b93b13190 Callkit: Show the Riot icon (in B&W) on the system call screen 2017-10-19 10:03:23 +02:00
Giom Foret
fb65be28fc PushKit - Enhancement
Don't forget notifications lost while the device was offline
2017-10-18 19:18:14 +02:00
Giom Foret
baf2f6d7d3 Pushkit - Enhancement
Add sanity check
2017-10-18 14:10:08 +02:00
Giom Foret
18b700c7eb 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
3b415a224f 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
68bac16026 Bug Fix - Local notifications body 2017-10-16 14:58:38 +02:00
Giom Foret
2a9906c003 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
c117ee7531 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
8b78457ff8 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
3b26da7414 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
bd20877b65 Merge branch 'develop' into callkit
# Conflicts:
#	Riot/AppDelegate.m
2017-10-09 16:23:18 +02:00
manuroe
a70aa5b4d6 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