Commit Graph

159 Commits

Author SHA1 Message Date
Stefan Ceriu f9a4178f2a 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 8c7514c865 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 f4cb404df0 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 00ff7d9a03 Using a property wrapper for UserDefaults backed application settings (RiotSettings). 2021-08-30 11:02:06 +03:00
Doug 3329c169e0 Update from feedback.
Set notificationBodyLocalizationKey in CommonConfiguration. Remove redundant customisation. Use MXRoomMemberEventContent.
2021-08-18 12:32:32 +01:00
Doug f3ca6b2253 Add a few extra comments. 2021-08-17 15:55:35 +01:00
Doug 2de87e775c Add reaction content to notifications when available. 2021-08-17 15:51:18 +01:00
Doug 2cf5c13175 Update strings from feedback. 2021-08-17 15:38:01 +01:00
Doug 7b5267c207 Merge branch 'develop' into doug/4132_improve_notification_content 2021-08-17 14:36:40 +01:00
SBiOSoftWhare 16cd74717c Include AppVersion.xcconfig in all Common.xcconfig. 2021-08-16 11:35:09 +02:00
Doug d93a4994a7 Fix localisation key. 2021-08-10 10:45:33 +01:00
Doug 853a10bf4b Add voice message notification body. 2021-08-04 16:14:02 +01:00
Doug 00231feb49 Add notification body tweaks for video, audio and file messages. 2021-08-04 16:08:33 +01:00
Doug f090cc9db7 Strip the original message from reply notifications. 2021-08-04 15:25:16 +01:00
Doug 1e10839fe4 Use the notification fallback content when an event couldn't be decrypted. 2021-08-04 14:34:23 +01:00
Doug 74a9205c72 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 06041c8c2b Add fallback notification for reactions. Add fallback notifications for member displayname and avatar changes. 2021-08-03 14:55:06 +01:00
Doug 3f5491a850 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 47a037f320 Add notice message type.
Change an if to a switch to match the one below.
2021-08-02 16:06:55 +01:00
ismailgulek 87f40c679f Recreate background sync service if credentials changed 2021-06-18 19:45:14 +03:00
Stefan Ceriu b00d07ffca 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 4069141928 Add logs 2021-05-11 16:17:25 +03:00
ismailgulek 9d9b61180c Do not store event below iOS 13, add some original fields to the stored event 2021-05-11 16:04:42 +03:00
ismailgulek f1ce391419 Add sanity check for the method 2021-05-10 17:29:24 +03:00
ismailgulek 26428fb93f Update store mechanism for call invites 2021-05-10 17:28:59 +03:00
ismailgulek 38cace5528 Use decrypted call invite events for VoIP pushes 2021-05-10 16:18:28 +03:00
ismailgulek 48a224d63a Send VoIP pushes if there is only enough time to handle them 2021-05-10 15:28:30 +03:00
ismailgulek 868dd46171 Add notification delay log 2021-05-10 15:21:30 +03:00
ismailgulek 302bbb023a Update request timeout 2021-05-10 14:47:18 +03:00
ismailgulek 60175f01a8 Group if conditions 2021-04-29 12:34:27 +03:00
ismailgulek 78a9811380 Change group call notification title and body 2021-04-20 16:04:58 +03:00
ismailgulek 1bc8fd43ef Do not display group call notification when in the related room 2021-04-20 15:51:46 +03:00
ismailgulek a8058025a9 Merge branch 'voip_group_notification' into voip_design_updates 2021-04-20 15:30:32 +03:00
ismailgulek 1323af0c23 Merge branch 'develop' into voip_design_updates 2021-04-20 11:41:53 +03:00
manuroe f7bc544261 Notifications: Fix sender display name that can miss
Fix #4222
2021-04-16 15:02:02 +02:00
ismailgulek 7849627390 Show notifications always for incoming group calls 2021-04-14 16:30:21 +03:00
ismailgulek 4ddaa15034 Introduce enableRingingForGroupCalls and add a labs setting for it 2021-04-09 14:54:03 +03:00
ismailgulek e9b6db83be Send VoIP pushes fro Jitsi widget events 2021-03-19 03:00:38 +03:00
ismailgulek a23ebe226c Read widget event types from NSE 2021-03-19 02:52:04 +03:00
manuroe a5dac32976 EncryptionKeyManager: Update Xcodegen yml to use it 2021-02-18 16:02:07 +01:00
manuroe 9e3a9cc55a Merge branch 'develop' into element_3812 2021-02-16 11:44:13 +01:00
ismailgulek 260e8066ad Wait for VoIP push request before calling contentHandler 2021-02-12 15:28:31 +03:00
manuroe 5817ddc822 XcodeGen: Add missing source file after merging develop 2021-02-11 17:03:30 +01:00
manuroe 2967051f84 Merge remote-tracking branch 'origin/develop' into element_3812 2021-02-11 16:19:12 +01:00
manuroe 15597c38b2 XcodeGen: Removed useless postbuildScripts 2021-02-11 09:37:07 +01:00
manuroe ac7cf9f1ce XcodeGen: Use same names for yml and xcconfig files in every target 2021-02-11 09:21:00 +01:00
manuroe ffd0f2865f XcodeGen: Move yml files into their sub folder 2021-02-09 19:29:17 +01:00
manuroe dc7cd467cd Xcodegen: No more build settings in yml files 2021-02-09 18:57:06 +01:00
manuroe 19a8eb42e2 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 275f960b22 XcodeGen: Move all base settings from yml to xcconfig 2021-02-09 17:37:14 +01:00