Commit Graph

91 Commits

Author SHA1 Message Date
Ryan Zhao 6f927a5003 minor refactor 2022-03-15 14:27:11 +11:00
Ryan Zhao b920dbcc10 check if the incoming message is already in database before persisting 2022-03-15 14:00:36 +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 0e15c63e6b Fixed a case where a the share extension wasn't using a transaction version of a method 2022-03-10 16:58:08 +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 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 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 a86310b0f5 improve global search performance 2022-02-21 13:20:34 +11:00
Morgan Pretty 051f03f4b4 PR comments and a few missed use cases
Disabled the attachments and voice message buttons for the first message
Disabled the Disappearing Messages flag for the until the conversation is approved
Fixed a bug where the recipient of a message request could incorrectly get the 'pending approval' state
Refactored some standard auto layout code to use the custom extension code
2022-02-14 17:49:08 +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
RyanZhao 2a26eda36b
Merge pull request #531 from RyanRory/1.11.19
1.11.19 bug fixes and improvements
2021-12-06 09:48:08 +11:00
Ryan Zhao 1cc2f17469 pin conversations 2021-11-17 15:51:53 +11:00
ryanzhao e49431d2eb fix transaction crash 2021-11-15 16:47:12 +11:00
ryanzhao f51651ce8e minor fix on conversation ordering 2021-10-05 15:09:11 +11:00
ryanzhao 204fe789ed fix sync message in open group won't be marked as sent 2021-10-04 11:56:05 +11:00
ryanzhao ceb88f3d00 prevent disappearing message affecting the order of conversations 2021-10-01 16:29:02 +10:00
ryanzhao b7c6eafa87 fix notification preview type nested transaction crash 2021-09-30 14:24:04 +10:00
ryanzhao e91469fe0e fix nested transaction crash 2021-09-30 09:30:30 +10:00
ryanzhao 3c4a19e30d fix nested transaction crash 2021-09-13 14:37:10 +10:00
Niels Andriesse 7f0b87a2b2 Avoid unnecessary conversation screen updates 2021-08-03 15:36:54 +10:00
Niels Andriesse 6bf25e28f7 Debug 2021-07-23 09:00:28 +10:00
Niels Andriesse 9d605c03f0 Debug 2021-07-22 15:23:35 +10:00
Niels Andriesse 519ffa4405 Fully switch to the new contact API
This should improve performance significantly as it avoids many unnecessary sync transactions. It also makes the code more readable.
2021-07-22 14:41:27 +10:00
nielsandriesse ff1d2d2f28 Remove (seemingly) unnecessary hack 2021-05-28 09:24:03 +10:00
Niels Andriesse 3fda8daec9 Merge branch 'dev' into cleanup 2021-05-20 16:25:59 +10:00
Niels Andriesse c84a942478 Fix push notification handling
This was crashing every time the extension started
2021-05-20 13:57:42 +10:00
nielsandriesse 06f795169b Merge branch 'dev' into cleanup 2021-05-05 14:10:19 +10:00
nielsandriesse 964cb8b326 Fix new deletion method 2021-05-05 13:49:24 +10:00
nielsandriesse 47daf16d5c Merge branch 'dev' into deletion-handling 2021-05-05 13:30:59 +10:00
nielsandriesse 0c864454aa Remove duplicate message server ID tracking 2021-05-05 13:30:37 +10:00
nielsandriesse b3a6d90a1b Add missing strings 2021-05-05 13:18:45 +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 d742fc1548 Delete V1 OGS & file server 2021-05-04 15:46:48 +10:00
Niels Andriesse edd9139fe0 Manually vacuum the DB every time the app is started 2021-04-19 15:58:46 +10:00
Niels Andriesse beabf0c9c0 Implement closed group logic changes 2021-04-16 10:56:10 +10:00
Niels Andriesse 209882fb3e Correctly handle multiple untrusted attachments 2021-04-08 16:24:54 +10:00
Niels Andriesse aa68e91a4d Fix attachment download resumption 2021-04-08 09:51:52 +10:00
nielsandriesse a360fa7721 Merge branch 'dev' into deferred-attachment-downloads 2021-04-07 14:58:57 +10:00
Niels Andriesse d4b745a322 Cache open group preview images 2021-03-30 09:54:40 +11:00
Niels Andriesse 5504f74659 Show V2 open group member count 2021-03-26 16:31:15 +11:00
Niels Andriesse 516f815521 Debug 2021-03-26 10:39:51 +11:00
nielsandriesse 717fe32a73 Fix build 2021-03-24 15:12:58 +11:00
nielsandriesse 4c9728b4fe Update other APIs for V2 open groups 2021-03-24 12:37:33 +11:00
nielsandriesse a5f831fd6c Keep track of last message & last deletion server IDs 2021-03-24 12:07:02 +11:00
nielsandriesse 1d65f717b5 Add auth token handling 2021-03-24 11:12:08 +11:00
Niels Andriesse 76e5515610 Quick fix missing username bug 2021-03-05 13:06:35 +11:00
Niels Andriesse 960e500acd Don't auto-download attachments from untrusted contacts 2021-03-05 11:48:31 +11:00
Niels Andriesse 92304fa590 Clean & debug 2021-03-04 13:50:13 +11:00
Niels Andriesse b023b1be94 Fix profile updating issue 2021-03-04 11:11:58 +11:00