Commit graph

313 commits

Author SHA1 Message Date
fridtjof
2f1b6153a8
more accurately match the old notification action handler in the iOS 10+ code 2019-03-14 00:23:43 +01:00
Fridtjof Mund
59f79f4bab
Merge branch 'develop' into deprecations/contacts-api 2019-02-20 18:14:36 +01:00
fridtjof
077c5327a7
fix changes made in 8c4b5d09 2019-02-20 18:12:18 +01:00
manuroe
b9df55535f
Merge pull request #2221 from fridtjof/deprecations/percent_encoding
Take care of percent encoding related deprecations
2019-02-20 15:06:11 +01:00
SBiOSoftWhare
c9a8d5b353 Remove UINavigationBar appearance update from AppDelegate 2019-02-19 09:51:35 +01:00
fridtjof
e138dd8d2c
use the Matrix SDK's method for percent encoding 2019-02-18 15:31:55 +01:00
manuroe
f505440710 Key backup: new recover method detected
#2230
2019-02-15 17:29:48 +01:00
manuroe
5044dc6e2e BF: Reskin: Sometimes the roomVC navigation bar is tranparent
#2252
2019-02-15 15:21:33 +01:00
fridtjof
8cb6b8600d
separate notification content generation for iOS 10+ - this will make using iOS 10+ features easier 2019-02-13 14:19:41 +01:00
fridtjof
bc393d146b
specify empty array instead of NULL for intentIdentifiers 2019-02-13 14:19:40 +01:00
fridtjof
accb155a22
add iOS 10+ alternatives to all uses of the old notification system 2019-02-13 14:19:40 +01:00
fridtjof
7b07c36504
Implement UNUserNotificationCenterDelegate methods 2019-02-13 14:19:40 +01:00
fridtjof
897789e5fd
Use the non-deprecated UNUserNotification framework on iOS 10 and up 2019-02-13 14:19:40 +01:00
fridtjof
8c4b5d092b
replace contact availability checks with the iOS 9+ way 2019-02-05 01:36:13 +01:00
fridtjof
d14d472b60
take care of percent encoding related deprecations 2019-02-04 21:22:43 +01:00
SBiOSoftWhare
77a9bbbcda Reset key backup banner preferences on logout 2019-01-31 19:53:12 +01:00
manuroe
3d4c80bc24 Fix display of build number in settings and bug reports
Jenkins now uses a timestamp as build number (ex:20190124155504) that is bigger than 32 bits
2019-01-24 17:45:43 +01:00
fridtjof
2d53ac118d
AppDelegate: no need to check for iOS 8+ notifications anymore, the minimum supported version is iOS 9 2019-01-18 18:12:49 +01:00
manuroe
b4724e46d2 BF: Infinite loading wheel when taping on a fake room alias
#679
2019-01-17 17:46:49 +01:00
manuroe
6e4a7224bf reskin: Kill KVO on theme setting 2019-01-14 10:53:43 +01:00
manuroe
744208ae25 reskin: Create ThemeService.shared 2019-01-11 11:45:27 +01:00
manuroe
b3b6e2c80c reskin: Rename RiotDesignValues -> ThemeService 2019-01-11 10:46:00 +01:00
manuroe
21a9a7c9f3 reskin: kill kRiotPrimaryBgColor 2019-01-10 17:50:26 +01:00
manuroe
eca85776a1 reskin: rename ColorValues to Theme 2019-01-10 15:32:59 +01:00
manuroe
6f30f88b03 reskin: ColorValues: suffix UIColor properties names with "Color" 2019-01-10 15:23:22 +01:00
manuroe
cecba319cf Merge remote-tracking branch 'origin/develop' into reskin
# Conflicts:
#	Riot/Constants/RiotDesignValues.m
#	Riot/Modules/Authentication/AuthenticationViewController.m
2019-01-10 11:50:57 +01:00
manuroe
d7c3eef632 Merge remote-tracking branch 'origin/develop' into reskin 2019-01-09 16:38:49 +01:00
fridtjof
c7fbca7698
make use of Obj-C's modern syntax for literals and subscripting 2019-01-08 00:24:11 +01:00
fridtjof
8291c99542
fix almost all the warnings caused by -Wstrict-prototypes 2019-01-05 03:28:53 +01:00
manuroe
a50c9f55b1 Reskin: Kill kRiotColorGreen and use RiotDesignValues.colorValues.accent instead 2018-11-30 17:10:28 +01:00
Aaron Raimist
c0c1e8a1c6
Remove all calls of [NSUserDefaults synchronize] (#1924)
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2018-10-15 16:58:10 -05:00
manuroe
85c19c2149 Notifications: old notifications can reappear
#1985
2018-10-10 18:05:17 +02:00
manuroe
7b22cf9bf7 Lazy-Loading: On logout, reenable LL 2018-09-25 15:46:07 +02:00
manuroe
8417a3cc35 GDPRConsentViewController: close it once the user has given their consent
Do not wait anymore for the completion of the creation of the room with riot-bot
2018-08-24 12:31:57 +02:00
Giom Foret
2ab27e2120 Bug Fix - User defaults: the preset application language (if any) is ignored.
AppDelegate: the userDefaults were registered after the application language handling
2018-08-22 15:36:03 +02:00
manuroe
db8e5687a2 BF: Empty app if initial /sync fails
#1975
2018-08-13 17:14:32 +02:00
SBiOSoftWhare
a9ab11b935 GDPRConsentViewController now do not take into account HS hostname to determine if user consent to GDPR. 2018-08-09 18:56:40 +02:00
SBiOSoftWhare
faa6c9eb52 Fix OnBoardingManager method call in AppDelegate 2018-08-09 14:47:15 +02:00
SBiOSoftWhare
fb95b638f7 Now create riot bot direct message room after GDPR consent success. 2018-08-09 12:19:24 +02:00
SBiOSoftWhare
1b0c481d59 Now use GDPRConsentViewController in AppDelegate in order to present GDPR consent and dismiss controller automatically when accept consent. 2018-08-09 12:19:24 +02:00
manuroe
a19ce74853 Lazy-loading server side: Use MXRoomState.members instead of [MXRoom members:] when possible 2018-08-01 17:12:46 +02:00
manuroe
ee419fb1a0 New async [MXRoom state:]: Use [MXRoom members:] 2018-07-23 15:38:50 +02:00
manuroe
7304c08543 New async [MXRoom state:]: Make Riot build 2018-07-20 14:01:10 +02:00
manuroe
81e7dd14ce New async [MXRoom state:]: Make AppDelegate build 2018-07-19 14:18:30 +02:00
manuroe
b64b5767fb Make use of MXRoom.roomId and MXRoom.summary instead of MXRooms.state 2018-07-16 22:30:55 +02:00
manuroe
7af86d9f9d MXRoomState: Apply new MXRoomMembers property 2018-07-12 00:19:48 +02:00
SBiOSoftWhare
1ad1ec0a6e Fix showDecryptedContentInNotifications settings option not migrated correctly from MXKAccount 2018-07-03 10:31:14 +02:00
SBiOSoftWhare
8221ebfc67 Now store showDecryptedContentInNotifications settings option in UserDefaults instead for MXKAccount in order to keep this information when the user logout. Fix issue #1914. 2018-07-02 14:41:55 +02:00
manuroe
dcc1435d82 Crypto: Add telemetry for events unable to decrypt (UTDs)
Add a dispatch method
2018-06-29 07:50:06 +02:00
manuroe
b6ce79303a Crypto: Add telemetry for events unable to decrypt (UTDs)
#1894
2018-06-29 07:36:35 +02:00
manuroe
9603e0a878 Analytics: Improve comments 2018-06-27 18:11:04 +02:00
manuroe
7a6b039af7 Analytics: Make it implement MXAnalyticsDelegate to track performance stats 2018-06-27 17:59:06 +02:00
manuroe
4528f510b0 Analytics: Move code from AppDelegate to a dedicated class: Analytics 2018-06-27 10:02:08 +02:00
SBiOSoftWhare
1fe6e98b94
Merge pull request #1895 from vector-im/fix_account_deactivation_completion
Fix account deactivation completion
2018-06-01 16:19:51 +02:00
SBiOSoftWhare
1f7c28fc6b Update logout method in AppDelegate, add possibility to send or not logout request to home server 2018-06-01 16:07:42 +02:00
SBiOSoftWhare
169e7ae885 Fix GDPR consent alert not shown after account creation 2018-06-01 09:46:11 +02:00
SBiOSoftWhare
87f2c97aee
Merge pull request #1886 from vector-im/fix_gdpr_consent_403_alert
Do not display error alert when receiving GDPR Consent not given
2018-05-31 19:06:33 +02:00
SBiOSoftWhare
400d188dec
Merge pull request #1885 from vector-im/riot_1883
GDPR consent screen could not be closed
2018-05-31 19:06:09 +02:00
SBiOSoftWhare
43c83848d0 Do not display default error alert when receiving GDPR Consent not given error 2018-05-31 18:39:15 +02:00
SBiOSoftWhare
96e48b26e1 Put close action to left in navigation bar of GDPR consent screen 2018-05-31 17:33:20 +02:00
SBiOSoftWhare
52c21a6543 Factorization of data user clear on logout. Reuse it for account deactivation. 2018-05-30 17:04:58 +02:00
SBiOSoftWhare
b8db14dadc Add GDPR consent display when GDPR consent not given error is received. 2018-05-23 17:01:18 +02:00
manuroe
121aeb9041 Send Stickers: Plug the sticker picker widget with the room datasource to send a sticker
#1860
2018-05-07 18:04:32 +02:00
manuroe
367e8811a0
Merge pull request #1835 from pixlwave/master
Use existing message.mp3 for notification sounds.
2018-04-24 10:21:38 +02:00
giomfo
0008b8c1ab Bug Fix - Crash on URL like https://riot.im/#/app/register?hs_url=...
Display an activity indicator when the logout is in progress

vector-im/riot-ios#1838
2018-04-17 23:26:26 +02:00
giomfo
6e6c0b77e4 Bug Fix - Crash on URL like https://riot.im/#/app/register?hs_url=...
Prompt the user before logging out in case of click on register link.

vector-im/riot-ios#1838
2018-04-17 21:39:31 +02:00
giomfo
0fb65bc431 Bug Fix - Crash on URL like https://riot.im/#/app/register?hs_url=...
Ignore register link without session id.

vector-im/riot-ios#1838
2018-04-13 23:33:53 +02:00
giomfo
715279e565 Bug Fix - Crash on URL like https://riot.im/#/app/register?hs_url=...
Fix here the crash
Another commit will be done to prevent logging out on unexpected register url

https://github.com/vector-im/riot-ios/issues/1838
2018-04-13 20:14:44 +02:00
Doug
7a17715fbe Use existing message.mp3 for notification sounds. 2018-04-08 15:00:33 +01:00
giomfo
e5bdce563e Render sticker events in the timeline #1819
Prepare sticker rendering
2018-03-30 12:04:50 +02:00
manuroe
4f2fb93782 Fix screen flashing at startup (#1798)
Ugly fix to give time to load and show the launching animated screen before MXContactManager freezes the UI thread
2018-03-08 18:23:52 +01:00
manuroe
a19ae3d532 Fix compilation: Follow changes made by https://github.com/matrix-org/matrix-ios-sdk/pull/458 2018-02-27 13:35:20 +01:00
manuroe
eb036055d3
Merge pull request #1783 from vector-im/riot_1782
BF: e2e devices list not shown
2018-02-26 10:31:36 +01:00
manuroe
d91e2f95b1
Merge pull request #1777 from joeywatts/quick-reply
Add support for interactive notifications (fixes #625)
2018-02-26 08:56:25 +01:00
manuroe
b7b282e021 BF: e2e devices list not shown (#1782) 2018-02-23 17:16:48 +01:00
Joey Watts
31e3501512 Correctly acquire RoomDataSource instance 2018-02-23 08:58:35 -05:00
Joey Watts
21ec4c698d Use RoomDataSource to send message, send failure notification on error
Signed-off-by: Joey Watts <joey.watts.96@gmail.com>
2018-02-23 01:45:33 -05:00
Joey Watts
125aecb271 Fix quick reply on encrypted notifications 2018-02-19 23:19:24 -05:00
Joey Watts
6a90ff0495 Add support for interactive notifications 2018-02-19 22:55:00 -05:00
Giom Foret
c1d5038e5e Groups: Display flair for users in room history.
Force the matrix session to refresh the cached data related to the publicised groups of the users when the application enters in foreground

vector-im/riot-meta#118
2018-02-04 17:13:44 +01:00
manuroe
e41d71b5bd
Merge pull request #1753 from vector-im/piwik2
Replace Google Analytic by Matomo(Piwik)
2018-02-02 14:56:19 +01:00
manuroe
b2cd694533 Piwik: Fix screen tracking 2018-01-31 18:20:11 +01:00
manuroe
0bd7c1117d Piwik: our PR on Piwik now just need to be released 2018-01-30 08:36:52 +01:00
manuroe
76aa765dc2 Piwik: our PR on Piwik now just need to be released 2018-01-30 08:35:29 +01:00
manuroe
ce18f02301 Piwik: Remove @TODO 2018-01-29 16:30:20 +01:00
manuroe
75f6d94c55 Piwik: Use it for analytics 2018-01-29 15:26:44 +01:00
Evan Tang
21a716d610 When you realize there's more than one cancel button 2018-01-18 20:46:25 -06:00
manuroe
a15533b979 Remove Google Analytics 2018-01-05 10:02:10 +01:00
manuroe
4cb68c7619 Widgets: Make sure we have a scalar token before opening one (#1723).
Make the build of the true widget URL asynchronous and build it only when necessary.
2018-01-04 12:25:32 +01:00
manuroe
e24ccbdfc7 Merge remote-tracking branch 'origin/master' into develop 2018-01-03 15:06:18 +01:00
manuroe
8564656841 Fix build 2018-01-03 14:59:01 +01:00
manuroe
6f15fb03fe Missing Push Notifications (#1696): Show a notification even if the app fails to sync with its hs to get all data.
BF: Return a string
(cherry picked from commit 30125eaf4b)
2018-01-03 11:29:17 +01:00
manuroe
75bb6807f8 Push notifications: UILocalNotification.fireDate is useless to dedup notifications. Remove it
(cherry picked from commit 7fc23665b8)
2018-01-03 11:29:09 +01:00
manuroe
86eff609df Push notifications: Add fireDate to UILocalNotification in order to retrieve them afterwards.
It seems to be mandatory to make `[[UIApplication sharedApplication] scheduledLocalNotifications]` non empty

(cherry picked from commit 4e91844403)
2018-01-03 11:29:09 +01:00
manuroe
51b3a22946 Push notifications: More logs to track duplicated notifications
(cherry picked from commit cf066a7e07)
2018-01-03 11:29:09 +01:00
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
30125eaf4b Missing Push Notifications (#1696): Show a notification even if the app fails to sync with its hs to get all data.
BF: Return a string
2018-01-03 11:06:39 +01:00
manuroe
7fc23665b8 Push notifications: UILocalNotification.fireDate is useless to dedup notifications. Remove it 2018-01-02 15:46:43 +01:00
manuroe
4e91844403 Push notifications: Add fireDate to UILocalNotification in order to retrieve them afterwards.
It seems to be mandatory to make `[[UIApplication sharedApplication] scheduledLocalNotifications]` non empty
2018-01-02 15:03:25 +01:00