Commit graph

101 commits

Author SHA1 Message Date
Morgan Pretty
78c0d000be Removed the OWSBlockingManager replacing it with the config sync
Fixed an issue where the "block" button would appear in the NoteToSelf swipe menu
Removed the OWSBlockingManager and supporting files
Removed a number of unused classes and methods
Refactored the BlockListUIUtils to Swift
2022-03-23 09:59:38 +11:00
Morgan Pretty
3e380ede4e A couple of message request fixes
Added an error state to the OpenGroupSuggestionGrid
Fixed a bug where the settings button wouldn't appear for the sender of a message request once approved
2022-03-10 14:33:20 +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
da66b1af2c fix swiping back for approved message request conversation 2022-03-01 16:51:16 +11:00
Ryan Zhao
279892e83b fix some scrolling to bottom and button issue 2022-03-01 14:03:10 +11:00
Ryan Zhao
78e2c4f55c minor refactor in search bar & message request vc 2022-03-01 11:21:07 +11:00
Ryan Zhao
ccae9141ff rollback to fix an odd scrolling issue 2022-03-01 10:45:34 +11:00
Ryan Zhao
7e92391740 Merge branch 'dev' of https://github.com/oxen-io/session-ios into preformance-improvement 2022-03-01 10:30:51 +11:00
Morgan Pretty
110c7bb01a Addressed PR comments
Moved the 'backBarButtonItem' into the BaseVC (and removed it for being duplicated in various view controllers)
Removed a redundant line of code
2022-03-01 10:25:54 +11:00
Morgan Pretty
e6b941ea8a Fixed a number of tweaks and bugs with message requests
Removed the "Back" text from the back buttons
Removed the inset on the 'Path' settings button so the text remains horizontally centered
Hid the settings button from message request threads
Fixed an issue where the back button would remain visible in a conversation when the search field was visible
Fixed an issue where the tintColor of the conversation search field didn't match the global search field
Fixed an issue where sending an attachment response to a message request wouldn't approve the message request
Updated the size and positioning of the message request 'Clear All' button to match the DM 'Next' button
Updated the message request 'Clear All' button to start visible (so it's visible during the push animation) since that's the most likely state it'll be in
Updated the 'Message Requests' cell to use the pinned background colour
Updated the fallback for contact thread names to be a middle-truncated string (4 characters either side)
2022-02-28 17:23:34 +11:00
Ryan Zhao
27e7c25197 fix scroll to bottom crash 2022-02-28 16:35:28 +11:00
Ryan Zhao
629d952944 clean 2022-02-28 16:08:36 +11:00
Ryan Zhao
885ab66550 minor improvements on scroll to bottom 2022-02-28 16:02:28 +11:00
Ryan Zhao
ec40922cb4 reduce initial loading on conversation screen 2022-02-28 15:27:00 +11:00
Ryan Zhao
2ae0ae40d4 minor improvements to reduce the database read on UI thread 2022-02-28 15:22:38 +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
Ryan Zhao
c85e3ef86b clean up unused code 2022-02-25 10:57:02 +11:00
Morgan Pretty
6f1a8fcdc5 Fixed a bug where the most recent message couldn't be interacted with due to message request UI changes 2022-02-22 11:42:11 +11:00
Ryan Zhao
e428333b7b minor update to reduce database read on ui thread 2022-02-21 16:58:42 +11:00
Morgan Pretty
dfbee2a520 Removed the single message restriction from message requests (still text only) 2022-02-21 10:10:32 +11:00
Morgan Pretty
3639a21bc8 Fixed bugs raised by QA
Added some missing localised strings
Prevented 'Read' and 'Typing' indicators from functioning on Message Requests
Prevented link previews on the first message of a message request
Added a confirmation alert when trying to clear all message requests
Added a confirmation alert when trying to delete a message request
Added an empty state to the MessageRequestsViewController
Updated the back behaviour of the ConversationVC to behave more nicely with approving/declining message requests
Updated the OWSBlockingManager to also update the stored contacts 'isBlocked' flag to match
2022-02-17 16:29:14 +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
6009c30805 Removed a resolved todo and fixed some variable naming 2022-02-11 17:17:09 +11:00
Morgan Pretty
bdf2b825ad Updated the code to disable input for unapproved conversations after sending the first message 2022-02-11 11:26:04 +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