Commit graph

345 commits

Author SHA1 Message Date
manuroe
4b2af64d0a Device Verification: Update SDK constant names changes 2019-04-24 08:07:50 +02:00
Aaron Raimist
d710b3788d
home server -> homeserver (#2345)
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2019-04-19 21:27:10 -05:00
SBiOSoftWhare
4c40fa2e4d Configure handle Jitsi configuration in AppDelegate 2019-04-19 18:33:21 +02:00
manuroe
7ffe79748a Device Verification: Manage queue of incoming requests 2019-04-18 23:15:01 +02:00
manuroe
01e699fdf1 Device Verification: Plug it in the code more 2019-04-17 08:09:43 +02:00
manuroe
a9502603d6 Device Verification: Incoming screen: beginning 2019-04-12 23:19:07 +02:00
SBiOSoftWhare
afedb617ec Use one external entry point on AppDelegate to navigate to a room 2019-04-08 13:32:46 +02:00
SBiOSoftWhare
192bf9c5cb Fix an issue in AppDelegate 2019-04-05 16:48:24 +02:00
SBiOSoftWhare
5a1c23ae8c Merge branch 'develop' into riot_2337
# Conflicts:
#	CHANGES.rst
#	Riot/AppDelegate.m
2019-04-05 16:31:52 +02:00
SBiOSoftWhare
538d0605b1 Add logs on related push methods 2019-04-05 16:03:27 +02:00
manuroe
4bd1dfd407
Update Riot/AppDelegate.m
Co-Authored-By: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2019-04-05 15:55:05 +02:00
SBiOSoftWhare
a27b3d903e Remove commented code about notification provisional authorization. 2019-04-05 14:57:55 +02:00
SBiOSoftWhare
c48785e45e When navigate to room, remove associated delivered notifications. 2019-04-05 14:51:56 +02:00
SBiOSoftWhare
e3033d630d Update iOS 10+ notification titles 2019-04-05 10:59:18 +02:00
fridtjof
f500de2db3
Merge remote-tracking branch 'origin/riot_2337' into riot_2337
# Conflicts:
#	CHANGES.rst
#	Riot/AppDelegate.m
2019-04-03 00:29:54 +02:00
manuroe
49d5157df3 Push: More logs 2019-04-02 09:51:53 +02:00
manuroe
a35b640762 Push: more logs 2019-03-27 12:16:43 +01:00
manuroe
774e6c0a3d Push: Add more logs to track spontaneously disabling
#2348
2019-03-27 11:53:31 +01:00
SBiOSoftWhare
367e003063 Prepare iOS 12 implicit notifications permission 2019-03-22 16:00:24 +01:00
SBiOSoftWhare
50531c368e Handle iOS 12 grouped notifications. Group by room id. 2019-03-22 11:18:07 +01:00
SBiOSoftWhare
f26048d1a7 Remove pending and delivered notifications containing a redacted event (Fix #1725) 2019-03-22 11:06:15 +01:00
SBiOSoftWhare
9b41cfc6fd Factorize and fix some issues with local notifications code 2019-03-22 10:21:16 +01:00
fridtjof
0448c3183d
finalize emote style notifications 2019-03-22 01:20:50 +01:00
fridtjof
b35e62f1cd
add additional notification titles 2019-03-22 01:10:57 +01:00
fridtjof
490e6f8096
add a threadIdentifier to notifications and implement titles 2019-03-22 00:40:27 +01:00
SBiOSoftWhare
93af475cec
Merge pull request #2207 from fridtjof/ios10-notifications
Add code to support the new notification system starting with iOS 10
2019-03-21 16:45:07 +01:00
fridtjof
1c90e0cb44
navigate to the room when a notification is tapped on iOS 10 2019-03-14 01:05:30 +01:00
fridtjof
90188cdcf3
remove displayedNotificationRequestForEvent:andUser:type: (unused as of 93ce20e and 04e9bf9) 2019-03-14 00:57:09 +01:00
fridtjof
7ae3070e0a
don't display notifications when in foreground 2019-03-14 00:53:41 +01:00
fridtjof
589829d076
factor out common code 2019-03-14 00:50:04 +01:00
fridtjof
04e9bf9a6b
don't bother ignoring notifications on iOS 10+ - no 2 2019-03-14 00:49:02 +01:00
fridtjof
93ce20e9cc
don't bother ignoring notifications on iOS 10+ 2019-03-14 00:35:36 +01:00
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