Commit Graph

147 Commits

Author SHA1 Message Date
Andy Uhnak 74b369e3af Track all errors in Sentry 2022-08-23 08:14:59 +01:00
Stefan Ceriu 0382692bcd Use the newly added BackgroundSyncService readMarkerEvent method plus cleanup. 2022-06-15 15:18:42 +03:00
Stefan Ceriu 1449325458 NSE - Prevent playback on already read messages and enable on device silencing for unwanted push notifications 2022-06-15 15:18:42 +03:00
Doug a562a10eae Notification strings fall back to English if missing 2022-04-06 15:44:12 +01:00
ismailgulek 0b0ae45f84 Navigate to thread from notification 2022-03-08 12:58:13 +03:00
Stefan Ceriu bc60512101 Fixed various project warnings. Completely disabled nullability checks, went down from ~20k to 195. 2022-02-10 08:43:18 +02:00
David Langley 1e9fb6b625 Merge pull request #5293 from vector-im/langleyd/5292_refresh_tokens
App: Refresh Tokens Implementation
2022-01-31 08:59:19 +00:00
ismailgulek e344dcceed Merge branch 'develop' into ismail/5068_start_thread 2022-01-19 00:07:52 +03:00
David Langley 1ca64b3bf6 Add analytics for Unauthenticated errors 2022-01-13 17:33:51 +00:00
David Langley 433fb4e2e8 Remove duplicated logout code and fix spinner.
- Remove some duplication of logout behaviour
- Fix additional spinner on homeViewController
2022-01-10 21:38:24 +00:00
David Langley dc32c77f44 Merge branch 'develop' of https://github.com/vector-im/element-ios into langleyd/5292_refresh_tokens 2022-01-06 22:43:20 +00:00
David Langley b8a242b66b Split MXKAccount from Data so just data can be loaded from disk without side effects. Also change force reload of accounts to stop double load on init. 2022-01-06 20:35:37 +00:00
Stefan Ceriu cdde2a173b vector-im/element-ios/issues/5298 - Custom notification text for shared locations. 2022-01-04 17:33:32 +02:00
Stefan Ceriu fc56a7c267 vector-im/element-ios/issues/5298 - Added body message content keys and replaced plain string usages. 2022-01-04 17:33:32 +02:00
Stefan Ceriu 3f715ec2c4 vector-im/element-ios/issues/5298 - Replaced "msgtype" strings with new kMXMessageTypeKey. 2022-01-04 17:33:32 +02:00
David Langley 14886788d6 Add first refresh token implementation pass. Account credential persistence and NotificationService handling. 2021-12-09 17:28:56 +00:00
Stefan Ceriu dc574ab0a6 vector-im/element-ios/issues/5114 - Polls in the timeline. 2021-12-09 09:37:02 +02:00
SBiOSoftWhare 860e7dbae2 Merge develop into steve/5020_matrixkit_merge 2021-11-30 16:16:52 +01:00
SBiOSoftWhare fe84f0d862 Remove MatrixKit import from Swift files. 2021-11-29 17:50:30 +01:00
David Langley 5608678890 Make backgroundServiceInitQueue static and follow convention for queue naming. 2021-11-26 12:47:53 +00:00
David Langley 50c67b3b6c Don't allow concurrent initializations of MXBackgroundSyncService 2021-11-26 10:32:50 +00:00
David Langley c507166aa4 Don't wait for accountData to start voip call. 2021-11-16 16:16:04 +00:00
David Langley 4e72189739 Remove build setting and get check virtual info 2021-11-16 14:40:22 +00:00
David Langley 3bce1c6df6 Fix logging function name 2021-11-16 12:24:21 +00:00
David Langley 81f1a946f6 Ignore badge updates for virtual rooms. 2021-11-16 12:00:20 +00: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 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