Commit Graph

25 Commits

Author SHA1 Message Date
Morgan Pretty 4c89c165d8 Fixed a few bugs uncovered by QA
Fixed a bug where the ConfigurationMessage was getting generated before the contact state was persisted to the database in the message request flow causing odd behaviours (now generating the ConfigurationMessage within the same transaction)
Fixed a bug where sending a message to an existing message request thread once the message requests item has been hidden would show the message requests notification and trigger the section to re-appear on the home screen
Fixed a bug where blocked contacts weren't getting excluded from the contacts list in the configuration message
2022-02-23 17:12:57 +11:00
Morgan Pretty 47314bd639 Added a notification to indicate the user has a new message request
Fixed a bug where the notification count could be increased for message requests
Fixed a bug where an approved contact could be 'unapproved' due to an order of execution issue when generating the config sync message
Fixed a check to avoid registering for push notifications when on the simulator (old check didn't cater for M1 Macs)
Moved the 'hasHiddenMessageRequests' into the group user defaults so it can be accessed within the notification extension
Added code to handle an edge case where an old client could incorrectly un-approve a contact via a legacy configuration message
2022-02-21 14:48:53 +11:00
Morgan Pretty 9db5083cc5 Built out the Message Request functionality
Added the MessageRequestsViewController
Added a 'Message Requests' button to the settings screen
Added accept/reject buttons for message requests to the ConversationVC
Added the ability to hide the message request item on the HomeVC (re-appears if you get a new message request)
Added code to handle an edge-case where the message request approval state wouldn't be returned to the sender due to the recipient running an old version of the app
Prevented contacts which aren't associated with an approved thread from appearing when creating a closed group
Disabled notifications for threads which aren't approved
Updated the app notification count to exclude unapproved messages
Updated the app to ignore closed group creation messages if the group has no admins which are approved contacts
Fixed up the keyboard avoidance behaviour in the ConversationVC
Fixed a couple of minor interaction issues which affected some devices
Fixed an issue where the database migrations would run on the 2nd launch when creating a new account (causing odd behaviours)
2022-02-02 16:59:56 +11:00
Ryan Zhao cfd7d67c9a fix for background polling collapsed notification title 2021-11-25 16:32:47 +11:00
Ryan Zhao 4f1093beca improve translation and notificaiton displaying 2021-11-23 11:58:19 +11:00
Ryan Zhao 5a5741f47b Group notifications from background polling 2021-11-23 11:05:04 +11:00
ryanzhao ecf92ceeea fix PN sound settings not applying to remote PNs 2021-10-19 15:11:47 +11:00
ryanzhao 5553d4e068 fix default PN content 2021-10-15 10:02:00 +11:00
ryanzhao c33630c1d1 don't wait for 5s before firing a message notification 2021-09-30 14:31:14 +10:00
ryanzhao b7c6eafa87 fix notification preview type nested transaction crash 2021-09-30 14:24:04 +10:00
ryanzhao bfc1e96c9d Merge branch 'sync-read' into bug-fixes 2021-09-16 14:56:04 +10:00
ryanzhao d0947b83a9 cancel specific notification if there is an identifier 2021-09-16 10:32:23 +10:00
ryanzhao 3c4a19e30d fix nested transaction crash 2021-09-13 14:37:10 +10:00
Ryan Zhao 80bf62df90 fix nested transaction crash on setting notification identifier 2021-08-03 10:42:09 +10:00
Ryan Zhao f88c2b1708 fix crash 2021-08-02 15:24:12 +10:00
Ryan Zhao e2a0578770 cancel local notifications for unsend requests 2021-08-02 14:03:46 +10:00
Ryan Zhao 423feae426 add notify reply and clean 2021-07-30 09:43:05 +10:00
Niels Andriesse 483ed4792f Fix localization & clean 2021-07-29 10:14:06 +10:00
ryanzhao 354b7e0dc3 notify mentions as settings 2021-07-26 15:43:03 +10:00
nielsandriesse a098ba7125 Remove unused code 2021-05-05 12:13:48 +10:00
Niels Andriesse dd0baf0d97 Unify contacts APIs 2021-03-01 09:36:18 +11:00
Niels Andriesse 713b781def Remove legacy notifications adaptee 2021-02-23 15:38:55 +11:00
Niels Andriesse 49c825eb43 Remove old conversation screen 2021-02-19 15:46:52 +11:00
Niels Andriesse 5524ab1932 Remove unused code 2021-01-27 14:21:13 +11:00
nielsandriesse a915c5ddaa Re-organize files 2021-01-12 11:05:52 +11:00