Commit Graph

77 Commits

Author SHA1 Message Date
Morgan Pretty 4f3900771e More work on getting SOGS V4 integrated
Updated the MessageSendJob to support V4 messages (V2 messages will be upgraded to V4 if they get re-encoded)
Renamed the Message+Destination from 'openGroup' & 'openGroupV2' to 'legacyOpenGroup' and 'openGroup'
Started plugging in more of the V4 APIs
Renamed a number of the V2 APIs to start with 'legacy'
2022-02-11 16:48:16 +11:00
Morgan Pretty cd61fb8df0 Merge branch 'dev' into feature/message-requests
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	SignalUtilitiesKit/Utilities/UIColor+Extensions.swift
2022-02-04 11:49:54 +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 ebb7507728 Merge branch 'dev' of https://github.com/oxen-io/session-ios into 1.11.21 2022-02-02 13:33:25 +11:00
Ryan Zhao c81e0e517d fix ui issue after making unread message count 4 digits 2022-01-28 15:03:19 +11:00
Ryan Zhao 99022006da Make the unread message count 4 digits instead of 2 2022-01-28 14:21:54 +11:00
Ryan Zhao 2c7dfe6a37 fix conversation screen scrolling to bottom issue 2022-01-28 14:10:35 +11:00
Ryan Zhao 837b2ac157 fix a typo 2022-01-25 16:47:50 +11:00
Ryan Zhao 715c9eff98 clean 2022-01-20 10:58:43 +11:00
Ryan Zhao c1c5678056 implement animation for selected search result message flickering 2022-01-20 10:48:01 +11:00
ryanzhao fed1218538 WIP: global search UI 2022-01-14 16:41:36 +11:00
ryanzhao ac30e56151 enable unsend request 2021-10-19 11:05:38 +11:00
ryanzhao 0b5d6ae4b0 fix disappearing messages for sync messages 2021-10-04 14:39:28 +11:00
ryanzhao a856415438 fix conversation screen unread count > viewItems count crash 2021-09-30 10:53:13 +10:00
ryanzhao e0288f2bb3 clean draft after deleting it 2021-09-01 10:23:31 +10:00
Niels Andriesse 45042a1acf Fix typos 2021-08-10 11:17:04 +10:00
ryanzhao 76a96c31bf add flag to disable unsend request for now 2021-08-09 13:51:09 +10:00
Ryan Zhao 6e45aed71b Merge branch 'dev' of https://github.com/oxen-io/session-ios into unsend-message 2021-08-05 13:34:17 +10:00
Niels Andriesse e311d2878f Fix message status indicator bug 2021-08-05 10:47:15 +10:00
Niels Andriesse 50d17be43b Fix animation glitch 2021-08-05 10:11:20 +10:00
Niels Andriesse b8c4e6aa93 Avoid unnecessary conversation screen updates 2021-08-05 10:02:52 +10:00
Niels Andriesse 3db8231bde Fix glitch 2021-08-05 09:51:12 +10:00
ryanzhao dd2f8c7df9 Merge branch 'dev' of https://github.com/oxen-io/session-ios into unsend-message 2021-08-04 09:08:10 +10:00
Niels Andriesse 7d56e51690 Simplify conversation screen updating logic 2021-08-03 15:43:53 +10:00
Niels Andriesse ec41a9e08e Remove hack 2021-08-03 15:39:00 +10:00
Niels Andriesse 7f0b87a2b2 Avoid unnecessary conversation screen updates 2021-08-03 15:36:54 +10:00
Niels Andriesse e6949a5ae8 Fix glitch and add FIXME 2021-08-03 14:28:46 +10:00
Niels Andriesse c5c75a306e Hopefully fix scrolling issue 2021-08-03 10:41:24 +10:00
Ryan Zhao 68d14709e9 fix a race condition 2021-08-02 11:59:01 +10:00
Niels Andriesse 9565358b55 Increase scroll to bottom margin 2021-07-29 13:24:06 +10:00
Niels Andriesse 44288c45e9 Fix auto scroll to bottom bug 2021-07-22 11:10:30 +10:00
ryanzhao bd7e9b5943 add comment 2021-07-20 11:46:02 +10:00
ryanzhao fcca7f3076 clean 2021-07-20 11:42:22 +10:00
ryanzhao 4fad67484f fix incorrect unread position 2021-07-20 11:22:56 +10:00
Niels Andriesse 6d2044f230 Warn users if they're about to send their recovery phrase to someone 2021-07-19 13:15:02 +10:00
Ryan Zhao 7eb5d63a83 fix the misplaced scroll to bottom button 2021-07-02 13:19:35 +10:00
nielsandriesse 0b5e13ca59 Fix slight scroll behavior issue 2021-06-08 08:05:18 +10:00
nielsandriesse 1041f991fd Fix unnecessary map calls 2021-06-04 16:23:59 +10:00
ryanzhao 4c99b9ed05 make shouldScrollToBottom based on the table view's content offset. 2021-06-04 15:30:24 +10:00
ryanzhao 55786d6f17 fix scroll button 2021-06-04 10:29:03 +10:00
ryanzhao 0475274b4d only scroll down when we are already at the bottom 2021-06-03 15:16:17 +10:00
ryanzhao b2536173a0 fix conversations never scroll down when a new message comes in 2021-06-03 14:38:50 +10:00
Ryan ZHAO 65f3699093 fix expiration timer not starting in conversation screen 2021-05-14 14:47:03 +10:00
nielsandriesse 49f3b9f7db Rename contactIdentifier → contactSessionID 2021-05-05 10:00:39 +10:00
Ryan ZHAO f2fb8a57dc fix incorrect scrolling for link previews 2021-04-19 10:43:43 +10:00
Niels Andriesse 8a54a243a4 Fix long conversation crash the right way 2021-04-19 09:35:09 +10:00
Ryan ZHAO 887088b4bc fix the keyboard won't dismiss while swiping the vc back 2021-03-30 15:18:28 +11:00
Ryan ZHAO e6975e5984 fix scroll button hiding issue 2021-03-30 13:21:05 +11:00
Ryan ZHAO 60ee602b04 fix scroll button being hidden when coming back from conversation setting vc 2021-03-30 10:38:47 +11:00
Ryan ZHAO c998d302e5 fix faulty scrolling caused by keyboard for new conversations 2021-03-30 10:35:14 +11:00