Commit graph

137 commits

Author SHA1 Message Date
Morgan Pretty
394b0646a3 Updated the code to support additional session id prefixes 2022-02-08 16:37:01 +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
5a5741f47b Group notifications from background polling 2021-11-23 11:05:04 +11:00
ryanzhao
dbcc158337 fix unsend bugs 2021-10-27 13:51:19 +11:00
ryanzhao
0b5d6ae4b0 fix disappearing messages for sync messages 2021-10-04 14:39:28 +11:00
ryanzhao
3a84593de9 fix profile key crash & typo 2021-09-30 09:20:20 +10:00
ryanzhao
bfc1e96c9d Merge branch 'sync-read' into bug-fixes 2021-09-16 14:56:04 +10:00
ryanzhao
d4067eb39d mark previous messages as read if there is a sync message 2021-09-16 10:20:18 +10:00
ryanzhao
50465c04bf fix a crash where the configuration message contacts info may contain invalid profile key 2021-09-15 16:43:49 +10:00
ryanzhao
140676fdaf fix expiration sync messages show display name rather than "You" 2021-09-14 14:32:39 +10:00
ryanzhao
f08d0470e5 expire sync messages if needed 2021-09-10 13:48:07 +10:00
Niels Andriesse
45042a1acf Fix typos 2021-08-10 11:17:04 +10:00
ryanzhao
2e8e931551 minor refactor 2021-08-09 16:52:42 +10:00
ryanzhao
940e09c25b handle canceling push notification 2021-08-09 12:30:09 +10:00
Ryan Zhao
7e640fb6ac Don't show deleted message in home screen 2021-08-05 14:08:13 +10:00
Ryan Zhao
eaab6ee22d deleted message UI in conversation screen 2021-08-05 13:34:07 +10:00
ryanzhao
00fd764042 delete the message on storage server after receiving an unsend request 2021-08-04 15:11:49 +10:00
Ryan Zhao
80bf62df90 fix nested transaction crash on setting notification identifier 2021-08-03 10:42:09 +10:00
Ryan Zhao
885e9296d1 Merge branch 'dev' of https://github.com/oxen-io/session-ios into unsend-message 2021-08-03 10:26:30 +10:00
Niels Andriesse
e8d8377a04 Fix threading bug 2021-08-03 09:58:50 +10:00
Ryan Zhao
e2a0578770 cancel local notifications for unsend requests 2021-08-02 14:03:46 +10:00
Ryan Zhao
83252650b1 unsend request handler 2021-07-30 14:21:43 +10:00
Niels Andriesse
6bf25e28f7 Debug 2021-07-23 09:00:28 +10:00
Niels Andriesse
ca862096b4 Rename profilePictureEncryptionKey → profileEncryptionKey 2021-07-22 14:52:10 +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
Niels Andriesse
356dc0cc4f Clean up indentation 2021-07-07 15:09:09 +10:00
Brice-W
2f0fe36905 add expiration timer to configuration message 2021-06-21 14:21:34 +10:00
Niels Andriesse
7bb7edd3c0 Further cleanup 2021-06-11 11:11:16 +10:00
Niels Andriesse
b090227a2d Fix potential crash & apply code convention 2021-06-11 11:01:08 +10:00
Brice-W
1f9cd92bce set expiration timer for new group members 2021-06-10 11:51:38 +10:00
nielsandriesse
1041f991fd Fix unnecessary map calls 2021-06-04 16:23:59 +10:00
Brice-W
49c1de8387 clean 2021-06-04 15:29:34 +10:00
Brice-W
dbcf19529b fix 2021-06-04 14:01:23 +10:00
Brice-W
9e790986f6 fix closed group corner cases 2021-06-04 11:50:24 +10:00
nielsandriesse
bf9d860214 Batch thread updates 2021-05-28 09:47:05 +10:00
Niels Andriesse
3fda8daec9 Merge branch 'dev' into cleanup 2021-05-20 16:25:59 +10:00
nielsandriesse
17688a66e6 Make closed group polling variable rate 2021-05-12 10:33:29 +10:00
nielsandriesse
06f795169b Merge branch 'dev' into cleanup 2021-05-05 14:10:19 +10:00
nielsandriesse
0c864454aa Remove duplicate message server ID tracking 2021-05-05 13:30:37 +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
d742fc1548 Delete V1 OGS & file server 2021-05-04 15:46:48 +10:00
Niels Andriesse
d516aa7ecb Fix profile updating bug 2021-05-03 09:14:42 +10:00
Niels Andriesse
b3f9824b91 Add documentation 2021-04-26 09:54:06 +10:00
Niels Andriesse
beabf0c9c0 Implement closed group logic changes 2021-04-16 10:56:10 +10:00
Niels Andriesse
e5216ffe7c Add documentation 2021-04-16 09:40:54 +10:00
Niels Andriesse
f6c7e2264d Add documentation 2021-04-16 09:33:21 +10:00
Niels Andriesse
5f37eddfa1 Show a loader while a group is updating 2021-04-15 13:36:33 +10:00
Niels Andriesse
f2f5dcdfc2 Implement closed group logic changes 2021-04-15 13:36:03 +10:00