472 Commits

Author SHA1 Message Date
David Langley
4fca1e7f9b Ignore badge updates for virtual rooms. 2021-11-16 12:00:20 +00:00
David Langley
c52f82b05b Ignore badge updates for virtual rooms. 2021-11-16 12:00:20 +00:00
Philippe Loriaux
eaa2450be7 Improve the Obj-C Generated Interface Header Name definition 2021-10-26 17:42:33 +02:00
Philippe Loriaux
216924165d Improve the Obj-C Generated Interface Header Name definition 2021-10-26 17:42:33 +02:00
Stefan Ceriu
b41cd1e1a4 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
Stefan Ceriu
9957f8f59a 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
823e526bec 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
c5881e11ae 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
862f30102f 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
David Langley
ada377dcf2 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
a331233cf3 Using a property wrapper for UserDefaults backed application settings (RiotSettings). 2021-08-30 11:02:06 +03:00
Stefan Ceriu
c6821f8dbe Using a property wrapper for UserDefaults backed application settings (RiotSettings). 2021-08-30 11:02:06 +03:00
Doug
09e534b7a6 Update from feedback.
Set notificationBodyLocalizationKey in CommonConfiguration. Remove redundant customisation. Use MXRoomMemberEventContent.
2021-08-18 12:32:32 +01:00
Doug
6513b6ada8 Update from feedback.
Set notificationBodyLocalizationKey in CommonConfiguration. Remove redundant customisation. Use MXRoomMemberEventContent.
2021-08-18 12:32:32 +01:00
Doug
5f3c42c868 Add a few extra comments. 2021-08-17 15:55:35 +01:00
Doug
bee25b2f4e Add a few extra comments. 2021-08-17 15:55:35 +01:00
Doug
14db5ecdb8 Add reaction content to notifications when available. 2021-08-17 15:51:18 +01:00
Doug
168a91fa42 Add reaction content to notifications when available. 2021-08-17 15:51:18 +01:00
Doug
41506040b9 Update strings from feedback. 2021-08-17 15:38:01 +01:00
Doug
6165a89f33 Update strings from feedback. 2021-08-17 15:38:01 +01:00
Doug
e0d171c307 Merge branch 'develop' into doug/4132_improve_notification_content 2021-08-17 14:36:40 +01:00
Doug
0209b7c753 Merge branch 'develop' into doug/4132_improve_notification_content 2021-08-17 14:36:40 +01:00
SBiOSoftWhare
085ac6e25a Include AppVersion.xcconfig in all Common.xcconfig. 2021-08-16 11:35:09 +02:00
SBiOSoftWhare
1fed3de5d8 Include AppVersion.xcconfig in all Common.xcconfig. 2021-08-16 11:35:09 +02:00
Doug
9d2191cc7e Fix localisation key. 2021-08-10 10:45:33 +01:00
Doug
5b391fc03d Fix localisation key. 2021-08-10 10:45:33 +01:00
Doug
a4e018f083 Add voice message notification body. 2021-08-04 16:14:02 +01:00
Doug
2ba1adc263 Add voice message notification body. 2021-08-04 16:14:02 +01:00
Doug
62861ac1a2 Add notification body tweaks for video, audio and file messages. 2021-08-04 16:08:33 +01:00
Doug
9b43034ec8 Add notification body tweaks for video, audio and file messages. 2021-08-04 16:08:33 +01:00
Doug
0316fdf9e4 Strip the original message from reply notifications. 2021-08-04 15:25:16 +01:00
Doug
c9659a0b11 Strip the original message from reply notifications. 2021-08-04 15:25:16 +01:00
Doug
78791ebb16 Use the notification fallback content when an event couldn't be decrypted. 2021-08-04 14:34:23 +01:00
Doug
e311684691 Use the notification fallback content when an event couldn't be decrypted. 2021-08-04 14:34:23 +01:00
Doug
3705e07a78 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
64a36bca6d 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
a0b7df24e0 Add fallback notification for reactions. Add fallback notifications for member displayname and avatar changes. 2021-08-03 14:55:06 +01:00
Doug
20eb92afbb Add fallback notification for reactions. Add fallback notifications for member displayname and avatar changes. 2021-08-03 14:55:06 +01:00
Doug
f764abf9ee 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
ab998360aa 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
da566fca39 Add notice message type.
Change an if to a switch to match the one below.
2021-08-02 16:06:55 +01:00
Doug
6eb5b14ee9 Add notice message type.
Change an if to a switch to match the one below.
2021-08-02 16:06:55 +01:00
ismailgulek
aad81081cb Recreate background sync service if credentials changed 2021-06-18 19:45:14 +03:00
ismailgulek
0e3ce8e905 Recreate background sync service if credentials changed 2021-06-18 19:45:14 +03:00
Stefan Ceriu
a8b0e8700e 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
Stefan Ceriu
43f6c44c78 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
b59e6e33ca Add logs 2021-05-11 16:17:25 +03:00
ismailgulek
c7aca9b902 Add logs 2021-05-11 16:17:25 +03:00
ismailgulek
cea2ee9ddf Do not store event below iOS 13, add some original fields to the stored event 2021-05-11 16:04:42 +03:00
ismailgulek
7bfc313753 Do not store event below iOS 13, add some original fields to the stored event 2021-05-11 16:04:42 +03:00