Commit Graph

40 Commits

Author SHA1 Message Date
Ryan Zhao a1e47419c8 minor refactor 2022-03-15 14:03:17 +11:00
Ryan Zhao 48c74d9476 refactor to apply this logic to unread message count 2022-03-11 15:48:12 +11:00
Ryan Zhao 06958babcb fix unread mention indicator showing after the message is deleted 2022-03-11 11:43:21 +11:00
Morgan Pretty c2e13f02bc Fixed a crash which could occur while processing message request notifications due to not using a DB transaction 2022-03-10 16:50:48 +11:00
Ryan Zhao daf0705d42 Merge branch 'dev' into preformance-improvement 2022-03-02 10:53:42 +11:00
Morgan Pretty 1b3f6c0ca6 Minor tweaks to the message request banner on the HomeVC
Fixed the unread message counting for message requests
Updated the message request banner to indicate the number of message requests with an unread message
Updated the message request banner to automatically disappear if the user has no unread message requests
Renamed a variable for ReadReceipt management to make it a bit more self-documenting (it looked like it would trigger a read receipt to be sent regardless of the setting)
2022-03-01 17:25:53 +11:00
Ryan Zhao f22672ccd7 Merge branch 'dev' of https://github.com/oxen-io/session-ios into preformance-improvement 2022-02-25 14:58:20 +11:00
Morgan Pretty 582ff0997a Fixed a couple of crashes and added some mock data generation logic
Possibly fixed a crash due to a database deadlock
Fixed a crash when the first message requests gets added if there are no other threads
Added code to generate a bunch of random thread data (Needs some testing to ensure no data leaves the device)
2022-02-22 15:51:17 +11:00
Ryan Zhao cb127be5a2 minor clean 2022-02-21 15:44:52 +11:00
Ryan Zhao 36907d3af0 improve mention and unread message count 2022-02-21 14:49:47 +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 3a626ed80a fix a deadlock issue 2022-01-18 13:35:53 +11:00
Ryan Zhao 1cc2f17469 pin conversations 2021-11-17 15:51:53 +11:00
ryanzhao 99d2dd42d5 fix first message not being functional issue 2021-10-12 09:27:09 +11:00
ryanzhao 4a21e87625 minor fix on conversation ordering 2021-10-07 10:57:24 +11:00
ryanzhao f51651ce8e minor fix on conversation ordering 2021-10-05 15:09:11 +11:00
ryanzhao ceb88f3d00 prevent disappearing message affecting the order of conversations 2021-10-01 16:29:02 +10:00
ryanzhao 42d4e07724 add @ symbol when there is mention in unread messages 2021-08-30 13:22:40 +10:00
Ryan Zhao 7e640fb6ac Don't show deleted message in home screen 2021-08-05 14:08:13 +10:00
Niels Andriesse e311d2878f Fix message status indicator bug 2021-08-05 10:47:15 +10:00
Niels Andriesse 7f0b87a2b2 Avoid unnecessary conversation screen updates 2021-08-03 15:36:54 +10:00
Niels Andriesse 483ed4792f Fix localization & clean 2021-07-29 10:14:06 +10:00
ryanzhao b0e03f5dfd update subtitle status in conversation screen instantly 2021-07-26 16:16:14 +10:00
ryanzhao f0d2826403 add thread flag for only notifying mentiongs 2021-07-26 15:42:45 +10:00
Niels Andriesse aae11b1c28 Disable PNs for muted closed groups 2021-07-13 16:09:28 +10:00
Niels Andriesse 6bc9b21cde Fix handling of failed messages in open groups
Failures wouldn't show up because `recipientIdentifiers` was empty for open groups
2021-07-13 09:46:06 +10:00
nielsandriesse 964cb8b326 Fix new deletion method 2021-05-05 13:49:24 +10:00
nielsandriesse a098ba7125 Remove unused code 2021-05-05 12:13:48 +10:00
nielsandriesse 8512691f2b Clean 2021-05-05 10:57:06 +10:00
nielsandriesse 955e3abdad Clean up group update handling 2021-05-05 10:38:09 +10:00
nielsandriesse 49f3b9f7db Rename contactIdentifier → contactSessionID 2021-05-05 10:00:39 +10:00
nielsandriesse 21acdfc835 Clean up thread model 2021-05-05 09:53:18 +10:00
Niels Andriesse dd0baf0d97 Unify contacts APIs 2021-03-01 09:36:18 +11:00
nielsandriesse ac41400ede Implement conversation screen subtitle 2021-02-15 16:50:48 +11:00
Niels Andriesse 21f72f8caf Make group updates more descriptive 2021-01-27 11:45:46 +11:00
Niels Andriesse b2ef12a1df Reduce code duplication 2021-01-11 14:37:49 +11:00
Niels Andriesse a6e44ca0f0 Clean 2021-01-11 14:12:07 +11:00
nielsandriesse 3010f7cb7c Fix crash 2021-01-08 11:21:58 +11:00
Niels Andriesse 71758b0c00 Remove the Signal protocol 2021-01-04 13:59:21 +11:00
nielsandriesse 5dfd4b1965 Restructure 2020-11-25 16:15:16 +11:00