Commit graph

223 commits

Author SHA1 Message Date
SBiOSoftWhare
1deb146d51 Update targets for new BuildSettings properties. 2022-01-03 18:18:37 +01:00
David Langley
2fbd129456 Add first refresh token implementation pass. Account credential persistence and NotificationService handling. 2021-12-09 17:28:56 +00:00
Stefan Ceriu
d5982e813b vector-im/element-ios/issues/5114 - Polls in the timeline. 2021-12-09 09:37:02 +02:00
SBiOSoftWhare
3d0c77ef30 Merge develop into steve/5020_matrixkit_merge 2021-11-30 16:16:52 +01:00
SBiOSoftWhare
3e6df9749c Remove MatrixKit import from Swift files. 2021-11-29 17:50:30 +01:00
SBiOSoftWhare
33d7cb3a00 NSE: Import MatrixKit bridging header. 2021-11-29 17:34:57 +01:00
SBiOSoftWhare
005162e4c2 NSE target: Handle new MatrixKit location. 2021-11-29 17:33:36 +01:00
David Langley
7c730d6aa3 Make backgroundServiceInitQueue static and follow convention for queue naming. 2021-11-26 12:47:53 +00:00
David Langley
b2b8b11aae Don't allow concurrent initializations of MXBackgroundSyncService 2021-11-26 10:32:50 +00:00
David Langley
6b7e3d43d6 Don't wait for accountData to start voip call. 2021-11-16 16:16:04 +00:00
David Langley
9b3d585140 Remove build setting and get check virtual info 2021-11-16 14:40:22 +00:00
David Langley
2214d818c9 Fix logging function name 2021-11-16 12:24:21 +00:00
David Langley
e7ef9fd218 Ignore badge updates for virtual rooms. 2021-11-16 12:00:20 +00:00
Philippe Loriaux
c6c3eaaec1 Improve the Obj-C Generated Interface Header Name definition 2021-10-26 17:42:33 +02:00
Stefan Ceriu
388d828c2b Fixes #4881 - Replaced InfoPlist.cfBundleDisplayName with AppInfo.current.displayName and removed the now unused InfoPlist generated class. 2021-09-22 16:59:47 +03:00
David Langley
55c515fe4a Merge branch 'develop' of https://github.com/vector-im/element-ios into langleyd/4776_extract_swiftui 2021-09-02 10:14:11 +01:00
David Langley
790301ccb6 Finish extraction
- Moves SwiftUI code out of Riot and into RiotSwiftUI which has no dependency on Matrix SDK.
- Git wasn't smart enough to see the file moves. Most feature function has remain unchanged. 1 change I did make was remove NotificationSettingsViewModel's dependence on MxPushRule, so that the view model could be moved into RiotSwiftUI.
- Add LocaleProvider to abstract VectorL10n's use of Matrix SDK language so it can be used in RiotSwiftUI.
- Split Theme into UKit/SwiftUI version to remove RiotSwiftUI's dependence on ThemeService and ThemeV1.
- Migrated from ThemeObserver to ThemePublisher. We push updates to ThemePublisher so that we can remove ThemeService as dependency.
- Add .DS_Store to .gitignore
2021-09-01 12:34:38 +01:00
Stefan Ceriu
0ee9c9ead6 Using a property wrapper for UserDefaults backed application settings (RiotSettings). 2021-08-30 11:02:06 +03:00
Doug
24ff73b413 Update from feedback.
Set notificationBodyLocalizationKey in CommonConfiguration. Remove redundant customisation. Use MXRoomMemberEventContent.
2021-08-18 12:32:32 +01:00
Doug
ed8c2abfb8 Add a few extra comments. 2021-08-17 15:55:35 +01:00
Doug
8a6fd69505 Add reaction content to notifications when available. 2021-08-17 15:51:18 +01:00
Doug
8773d77b5d Update strings from feedback. 2021-08-17 15:38:01 +01:00
Doug
0014b947a6 Merge branch 'develop' into doug/4132_improve_notification_content 2021-08-17 14:36:40 +01:00
SBiOSoftWhare
51f9511d6b Include AppVersion.xcconfig in all Common.xcconfig. 2021-08-16 11:35:09 +02:00
Doug
dfa4c90f35 Fix localisation key. 2021-08-10 10:45:33 +01:00
Doug
420f20c2d9 Add voice message notification body. 2021-08-04 16:14:02 +01:00
Doug
e41ce31d88 Add notification body tweaks for video, audio and file messages. 2021-08-04 16:08:33 +01:00
Doug
8af4b53723 Strip the original message from reply notifications. 2021-08-04 15:25:16 +01:00
Doug
795d2db911 Use the notification fallback content when an event couldn't be decrypted. 2021-08-04 14:34:23 +01:00
Doug
e13ee34c8a Use the body text "Notification" instead of message as the event may not be a message. 2021-08-04 14:18:18 +01:00
Doug
a5abb90c1a Add fallback notification for reactions. Add fallback notifications for member displayname and avatar changes. 2021-08-03 14:55:06 +01:00
Doug
2c39bbbd44 Always use a message event's body instead of "Message".
Add the room's title to bestAttemptContents.
2021-08-03 09:38:53 +01:00
Doug
8c2ede57e3 Add notice message type.
Change an if to a switch to match the one below.
2021-08-02 16:06:55 +01:00
ismailgulek
21dc703ab4
Recreate background sync service if credentials changed 2021-06-18 19:45:14 +03:00
Stefan Ceriu
f7a8163947
Adopt consolidated logging mechanism (#4370)
* Adopted the new MXLog and replaced NSLog throughout the application - vector-im/element-ios/issues/4351
* Replaced NSLog() and print() usages with MXLog.debug()
* Added swiftlint rules for NSLog(), print(), println() and os_log()
* Escape paths used to run script build phases for swiftlint and swiftgen
2021-06-03 11:30:07 +03:00
ismailgulek
682ab521cd
Add logs 2021-05-11 16:17:25 +03:00
ismailgulek
9db7712a23
Do not store event below iOS 13, add some original fields to the stored event 2021-05-11 16:04:42 +03:00
ismailgulek
90778bd69c
Add sanity check for the method 2021-05-10 17:29:24 +03:00
ismailgulek
8cb2f2f921
Update store mechanism for call invites 2021-05-10 17:28:59 +03:00
ismailgulek
fd1f616b60
Use decrypted call invite events for VoIP pushes 2021-05-10 16:18:28 +03:00
ismailgulek
cbdecb6120
Send VoIP pushes if there is only enough time to handle them 2021-05-10 15:28:30 +03:00
ismailgulek
86483a9a46
Add notification delay log 2021-05-10 15:21:30 +03:00
ismailgulek
ae92fcf68b
Update request timeout 2021-05-10 14:47:18 +03:00
ismailgulek
971f3641cf
Group if conditions 2021-04-29 12:34:27 +03:00
ismailgulek
0c9b3f5255
Change group call notification title and body 2021-04-20 16:04:58 +03:00
ismailgulek
7e00afa54a
Do not display group call notification when in the related room 2021-04-20 15:51:46 +03:00
ismailgulek
1387aea33f
Merge branch 'voip_group_notification' into voip_design_updates 2021-04-20 15:30:32 +03:00
ismailgulek
ba81000e56
Merge branch 'develop' into voip_design_updates 2021-04-20 11:41:53 +03:00
manuroe
bab4c2a746 Notifications: Fix sender display name that can miss
Fix #4222
2021-04-16 15:02:02 +02:00
ismailgulek
27b69914f3
Show notifications always for incoming group calls 2021-04-14 16:30:21 +03:00
ismailgulek
3162a5d720
Introduce enableRingingForGroupCalls and add a labs setting for it 2021-04-09 14:54:03 +03:00
ismailgulek
13eab811f8
Send VoIP pushes fro Jitsi widget events 2021-03-19 03:00:38 +03:00
ismailgulek
f1b42305bc
Read widget event types from NSE 2021-03-19 02:52:04 +03:00
manuroe
8fd123c86e EncryptionKeyManager: Update Xcodegen yml to use it 2021-02-18 16:02:07 +01:00
manuroe
69fee7d1a2 Merge branch 'develop' into element_3812 2021-02-16 11:44:13 +01:00
ismailgulek
062b8a2980 Wait for VoIP push request before calling contentHandler 2021-02-12 15:28:31 +03:00
manuroe
02fab7fd5a XcodeGen: Add missing source file after merging develop 2021-02-11 17:03:30 +01:00
manuroe
0d51dddd00 Merge remote-tracking branch 'origin/develop' into element_3812 2021-02-11 16:19:12 +01:00
manuroe
0f401d940d XcodeGen: Removed useless postbuildScripts 2021-02-11 09:37:07 +01:00
manuroe
db913321b7 XcodeGen: Use same names for yml and xcconfig files in every target 2021-02-11 09:21:00 +01:00
manuroe
a47563ae2e XcodeGen: Move yml files into their sub folder 2021-02-09 19:29:17 +01:00
manuroe
d20879c501 Xcodegen: No more build settings in yml files 2021-02-09 18:57:06 +01:00
manuroe
762d090583 XcodeGen: Common.xcconfig does not need to be included by targets anymore
It is loaded by the project (project.yml)
2021-02-09 18:10:56 +01:00
manuroe
0c3a211a8a XcodeGen: Move all base settings from yml to xcconfig 2021-02-09 17:37:14 +01:00
manuroe
c22d30c4f6 XcodeGen: Create AppIdentifiers.xcconfig
To centralise app id, profiles, etc in one place
2021-02-09 09:51:39 +01:00
manuroe
89c20da039 Push notifications: Keep more life cycles logs but with a size limit
Fix Gil's comments
2021-02-03 15:59:06 +01:00
manuroe
c865d1eb6d Push notifications: Keep more life cycles logs but with a size limit
This should be temporary until we fix crashes in NSE
2021-02-03 12:14:33 +01:00
manuroe
104f3d3135 Memory: The memory logger has been moved to the SDK 2021-01-28 15:24:04 +01:00
manuroe
5b804c67e0 NotificationService: Update logs 2021-01-21 12:22:19 +01:00
ismailgulek
79f1cd3a08 Polish memory footprinter and logs 2020-12-18 15:03:00 +03:00
ismailgulek
6998f313a6 Log memory footprint 2020-12-18 14:14:35 +03:00
ismailgulek
a81b5e3f7b Force reloading account details on every notification 2020-12-11 12:57:10 +03:00
ismailgulek
c842e0bf93 Clean up resources after completion 2020-12-09 14:01:45 +03:00
ismailgulek
eab8d12845 Remove commented code 2020-10-23 18:53:46 +03:00
ismailgulek
b36b66190a Remove NSEMemoryStore 2020-10-22 17:27:51 +03:00
ismailgulek
c5c173e0a0 Use new background sync service 2020-10-22 17:27:35 +03:00
ismailgulek
a3e392560c Remove commented codes 2020-10-13 18:11:58 +03:00
ismailgulek
de389a430c Revert logger 2020-10-12 21:52:43 +03:00
ismailgulek
056cf111c7 Use store in the Kit 2020-10-12 21:51:57 +03:00
ismailgulek
386a9edc53 Improve SyncResponseStore 2020-10-12 17:27:06 +03:00
ismailgulek
db1bd7ffa6 Last changes 2020-10-12 12:57:00 +03:00
ismailgulek
68ec3adc07 Check crypto has keys to decrypt an event before decryption attempt, avoid sync loops on failure 2020-10-07 15:12:02 +03:00
ismailgulek
08cb05b91b Change notification body, keep it expendable 2020-09-28 14:23:33 +03:00
ismailgulek
b41888a9e8 Do not allow reply if protected, also set to be removed 2020-09-16 16:08:02 +03:00
ismailgulek
b87ab2ae83 Do not show content if protection is set 2020-09-16 16:07:09 +03:00
ismailgulek
b2c1cacc91 Remove shared instance 2020-08-20 17:43:46 +03:00
ismailgulek
fafd5ac081 Rename store variables 2020-08-20 17:33:03 +03:00
ismailgulek
111c27aea9 Rename PushNotificationManager to PushNotificationStore 2020-08-20 17:31:47 +03:00
ismailgulek
74460ef658 Fix NSE bugs 2020-08-11 21:17:48 +03:00
ismailgulek
877c72fb91 Refactor remove call notifications method 2020-08-11 12:53:51 +03:00
ismailgulek
b25c0710db Category identifier for call invites 2020-08-10 18:17:46 +03:00
ismailgulek
eec3bd9c01 Call push gateway api for call invites 2020-08-10 18:17:13 +03:00
ismailgulek
50b768766a Merge branch 'develop' into element_3452
# Conflicts:
#	Riot.xcodeproj/project.pbxproj
2020-08-10 14:20:28 +03:00
ismailgulek
ab126993df Add push gateway rest client 2020-08-10 14:03:47 +03:00
ismailgulek
ae70a4bed0 Use keychain access group config in entitlements 2020-08-05 17:05:10 +03:00
ismailgulek
4d3729dd6f
Add common configs for each target 2020-08-03 12:42:19 +03:00
manuroe
c8d8f5db85 Build: Define applicationGroupIdentifier in xcconfig 2020-07-30 10:10:42 +02:00
ismailgulek
f3ae00281b
Add configs for NSE & SiriIntents too 2020-07-29 16:49:39 +03:00
manuroe
76a839b9c3
Merge branch 'develop' into appConfig 2020-07-29 10:59:23 +02:00
manuroe
fd29e97baa AppConfig: Rename files to CommonConfiguration and AppConfiguration 2020-07-29 10:13:43 +02:00