Commit Graph

122 Commits

Author SHA1 Message Date
Doug 6513b6ada8 Update from feedback.
Set notificationBodyLocalizationKey in CommonConfiguration. Remove redundant customisation. Use MXRoomMemberEventContent.
2021-08-18 12:32:32 +01:00
Doug bee25b2f4e Add a few extra comments. 2021-08-17 15:55:35 +01:00
Doug 168a91fa42 Add reaction content to notifications when available. 2021-08-17 15:51:18 +01:00
Doug 6165a89f33 Update strings from feedback. 2021-08-17 15:38:01 +01:00
Doug 5b391fc03d Fix localisation key. 2021-08-10 10:45:33 +01:00
Doug 2ba1adc263 Add voice message notification body. 2021-08-04 16:14:02 +01:00
Doug 9b43034ec8 Add notification body tweaks for video, audio and file messages. 2021-08-04 16:08:33 +01:00
Doug c9659a0b11 Strip the original message from reply notifications. 2021-08-04 15:25:16 +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 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 20eb92afbb Add fallback notification for reactions. Add fallback notifications for member displayname and avatar changes. 2021-08-03 14:55:06 +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 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 0e3ce8e905 Recreate background sync service if credentials changed 2021-06-18 19:45:14 +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 c7aca9b902 Add logs 2021-05-11 16:17:25 +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
ismailgulek 3bef3d2bec Add sanity check for the method 2021-05-10 17:29:24 +03:00
ismailgulek 93bd3c1ac8 Update store mechanism for call invites 2021-05-10 17:28:59 +03:00
ismailgulek cb2526203b Use decrypted call invite events for VoIP pushes 2021-05-10 16:18:28 +03:00
ismailgulek cefaa890f6 Send VoIP pushes if there is only enough time to handle them 2021-05-10 15:28:30 +03:00
ismailgulek 734d6d0ac3 Add notification delay log 2021-05-10 15:21:30 +03:00
ismailgulek aec3ce3e70 Update request timeout 2021-05-10 14:47:18 +03:00
ismailgulek d1470badf2 Group if conditions 2021-04-29 12:34:27 +03:00
ismailgulek 983995b282 Change group call notification title and body 2021-04-20 16:04:58 +03:00
ismailgulek 203eb41462 Do not display group call notification when in the related room 2021-04-20 15:51:46 +03:00
ismailgulek daabbeea9e Merge branch 'voip_group_notification' into voip_design_updates 2021-04-20 15:30:32 +03:00
ismailgulek 8a50383a88 Merge branch 'develop' into voip_design_updates 2021-04-20 11:41:53 +03:00
manuroe 4975947851 Notifications: Fix sender display name that can miss
Fix #4222
2021-04-16 15:02:02 +02:00
ismailgulek 0b078701ec Show notifications always for incoming group calls 2021-04-14 16:30:21 +03:00
ismailgulek db95c1cb4e Introduce enableRingingForGroupCalls and add a labs setting for it 2021-04-09 14:54:03 +03:00
ismailgulek f67ff8e77d Send VoIP pushes fro Jitsi widget events 2021-03-19 03:00:38 +03:00
ismailgulek 8f220b1e93 Wait for VoIP push request before calling contentHandler 2021-02-12 15:28:31 +03:00
manuroe e26cf154a2 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 7e06bd43f6 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 1e087b77e8 Memory: The memory logger has been moved to the SDK 2021-01-28 15:24:04 +01:00
manuroe 9c42dbd8fd NotificationService: Update logs 2021-01-21 12:22:19 +01:00
ismailgulek 5e261d728b Polish memory footprinter and logs 2020-12-18 15:03:00 +03:00
ismailgulek ff7e8e7cd7 Log memory footprint 2020-12-18 14:14:35 +03:00
ismailgulek d30fc1b21a Force reloading account details on every notification 2020-12-11 12:57:10 +03:00
ismailgulek e3d6f75d5f Clean up resources after completion 2020-12-09 14:01:45 +03:00
ismailgulek 0eea1098bb Remove commented code 2020-10-23 18:53:46 +03:00
ismailgulek 4290564e85 Use new background sync service 2020-10-22 17:27:35 +03:00
ismailgulek 19483c24ca Revert logger 2020-10-12 21:52:43 +03:00
ismailgulek 98fec2f686 Use store in the Kit 2020-10-12 21:51:57 +03:00
ismailgulek 86e7e17c48 Improve SyncResponseStore 2020-10-12 17:27:06 +03:00
ismailgulek 7d143178a5 Last changes 2020-10-12 12:57:00 +03:00
ismailgulek b65b8a5a28 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 5a8f5b6a80 Change notification body, keep it expendable 2020-09-28 14:23:33 +03:00
ismailgulek c60c06a4ab Do not allow reply if protected, also set to be removed 2020-09-16 16:08:02 +03:00