Commit Graph

103 Commits (c46c75e4f0cdce3d181f5aa85ccec9681abc032e)

Author SHA1 Message Date
Ryan Zhao e664cb8235 Merge branch 'bug-fixes-1.11.25' into bug-fix-for-calls 4 years ago
ryanzhao 8557604064 clean up 4 years ago
Ryan Zhao 49d6a64194 Merge branch 'remove-OWSBlockingManager' into voice-calls-2 4 years ago
Morgan Pretty 21924ee81a Merge branch 'dev' into feature/remove-OWSBlockingManager
# Conflicts:
#	Session.xcodeproj/project.pbxproj
4 years ago
Ryan Zhao 8b3d3fffb5 Merge branch 'dev' into voice-calls-2 4 years ago
RyanZhao f05c695756
Merge pull request #588 from mpretty-cyro/fix/message-request-count-bug
Performance: Count unread message requests thread-first rather than unread-message-first
4 years ago
Morgan Pretty 7165b9e4f6 Merge branch 'dev' into feature/remove-OWSBlockingManager
# Conflicts:
#	Session/Conversations/ConversationVC+Interaction.swift
#	Session/Meta/AppDelegate.swift
#	SessionMessagingKit/Messages/Control Messages/ConfigurationMessage+Convenience.swift
#	SessionMessagingKit/Sending & Receiving/MessageReceiver+Handling.swift
4 years ago
Ryan Zhao fc093a0157 Merge branch 'dev' into bug-fix-for-call 4 years ago
Morgan Pretty b815a9f348 Fixed up a potential threading issue with the sync configuration logic
Moved all the sync configuration calls to be within the existing 'write' blocks instead of waiting until the completion
4 years ago
Morgan Pretty 5bb3bd7bc1 Cleaned up some config sync logic and allowed migrations to trigger them
Updated the migrations so they can specify whether a configuration sync is required
Moved the config sync logic into a MessageSender extension (makes far more sense than AppDelegate)
Fixed a bug where the ShareVC was triggering the 'versionMigrationsDidComplete' twice
Removed a couple of imports for files that had been deleted
4 years ago
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
4 years ago
Morgan Pretty 01742af16b Added an initial call to `isRTL` on the main thread to prevent a background thread calling it first 4 years ago
Morgan Pretty 1ed3328aac Updated how the HomeVC counts unread message request threads
Updated the HomeVC to count the threads with unread messages using the TSMessageRequestGroup instead of using the UnreadDatabaseView
Removed the OWSMessageUtils 'unreadMessageRequestCount' method
4 years ago
Ryan Zhao a68ed28a7a Merge branch 'dev' into voice-calls-2 4 years ago
Ryan Zhao 88876138db Merge branch 'ipad-support-1' into voice-calls-2 4 years ago
Ryan Zhao c08b1617c2 slim the button width again 4 years ago
Ryan Zhao 52407aec03 Merge branch 'ipad-support-1' into voice-calls-2 4 years ago
Ryan Zhao 9b075efe0c Merge branch 'dev' into ipad-support-1 4 years ago
Ryan Zhao 1fb4952f5e Merge branch 'dev' into preformance-improvement 4 years ago
Ryan Zhao e243fb8817 fix unread message request count issues 4 years ago
Ryan Zhao daf0705d42 Merge branch 'dev' into preformance-improvement 4 years ago
Ryan Zhao 167d68870a show conversation settings button after approving message requests 4 years ago
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)
4 years ago
Ryan Zhao 04d25577f4 Merge branch 'dev' into ipad-support-1 4 years ago
Ryan Zhao 7e92391740 Merge branch 'dev' of https://github.com/oxen-io/session-ios into preformance-improvement 4 years ago
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
4 years ago
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)
4 years ago
Ryan Zhao f22672ccd7 Merge branch 'dev' of https://github.com/oxen-io/session-ios into preformance-improvement 4 years ago
Ryan Zhao c0615fe11d Merge branch 'dev' of https://github.com/oxen-io/session-ios into ipad-support-1 4 years ago
Ryan Zhao b32a8cbab2 fix alert vc for iPad 4 years ago
Ryan Zhao 348331d9ab fix present view controller UI issue for iPad 4 years ago
Ryan Zhao 9ff369fbd0 fix settings screen presentation on iPad 4 years ago
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
4 years ago
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)
4 years ago
Morgan Pretty 47314bd639 Added a notification to indicate the user has a new message request
Fixed a bug where the notification count could be increased for message requests
Fixed a bug where an approved contact could be 'unapproved' due to an order of execution issue when generating the config sync message
Fixed a check to avoid registering for push notifications when on the simulator (old check didn't cater for M1 Macs)
Moved the 'hasHiddenMessageRequests' into the group user defaults so it can be accessed within the notification extension
Added code to handle an edge case where an old client could incorrectly un-approve a contact via a legacy configuration message
4 years ago
Ryan Zhao a8fd6d9d18 fix home screen not reloading when coming into foreground 4 years ago
Morgan Pretty 6009c30805 Removed a resolved todo and fixed some variable naming 4 years ago
Ryan Zhao 2d9f962a97 Merge branch 'dev' of https://github.com/oxen-io/session-ios into voice-calls-2 4 years ago
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)
4 years ago
Ryan Zhao 20a3b6ee26 move path button into setttings 4 years ago
Ryan Zhao 2a229bd663 minor fix 4 years ago
Ryan Zhao 68ec1654e8 rebuild global search UI 4 years ago
Ryan Zhao e718cee611 WIP: rebuild global search UI 4 years ago
Ryan Zhao 8be5768ad2 snippet for group members 4 years ago
Ryan Zhao 037d70b185 handle seed view reminder and search bar 4 years ago
ryanzhao 10abbb0552 search result view UI 4 years ago
ryanzhao fed1218538 WIP: global search UI 4 years ago
ryanzhao 9ec749285f minor clean 4 years ago
Ryan Zhao 912f8d80a6 Merge branch 'pin-chats' into voice-calls-2 4 years ago
Ryan Zhao 7e5573c96f fix cell updating and pin icon color 4 years ago