Commit Graph

107 Commits (ed3dcf76342253e8faf80c175cd59d347b310c6c)

Author SHA1 Message Date
Ryan Zhao 79c1cb08b6 minor UI adjustment 3 years ago
Ryan Zhao 88876138db Merge branch 'ipad-support-1' into voice-calls-2 3 years ago
Ryan Zhao 4edb666580 UI minor adjustment to modals 3 years ago
Morgan Pretty 8ca00ca578 Fixed a number of bugs, resolved some TODOs and tested the outbox APIs
Updated the join open group method to retrieve the capabilities as part of the initial request
Updated the OpenGroupManager to require a transaction to be passed to the various 'handler' methods (allowing for everything to be processed within a single transaction)
Fixed a few issues where we weren't storing the timestamp for open group messages and DMs which could result in duplicate messages
Fixed an issue where we were setting the timestamp value for messages sent to an open group without converting it to be milliseconds to be consistent with other messages
Fixed an issue where the BatchRequestInfo could incorrectly flag it's response as failing to parse even though the type was optional
Fixed a bug where the open group would re-fetch all messages every other time
Fixed a bug where the long press context menu wouldn't appear after failing to delete a message
Fixed a bug where joining an open group would trigger the join behaviour and APIs twice
3 years ago
Ryan Zhao e8f996306d show call permission required modal when calls are nor enabled 3 years ago
Ryan Zhao 52407aec03 Merge branch 'ipad-support-1' into voice-calls-2 3 years ago
Morgan Pretty cb288ca09c Merge branch 'dev' into feature/session-id-blinding-part-2
# Conflicts:
#	Session/Conversations/ConversationVC+Interaction.swift
#	SessionMessagingKit/Open Groups/OpenGroupManagerV2.swift
3 years ago
Ryan Zhao 04d25577f4 Merge branch 'dev' into ipad-support-1 3 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)
3 years ago
Ryan Zhao c0615fe11d Merge branch 'dev' of https://github.com/oxen-io/session-ios into ipad-support-1 3 years ago
Ryan Zhao b32a8cbab2 fix alert vc for iPad 3 years ago
Morgan Pretty ef09d4d5aa Additional encryption work on id blinding
Got the updated blinding logic working (at least when authenticating a request - still need to deal with message signing and verification)
Storing the server capabilities in the database now so we can correctly blind requests based on them
Renamed the remaining 'v2' functions and classes to just be 'OpenGroup' since there isn't a 'V2' anymore
Cleaned up a few TODOs and functions
3 years ago
Morgan Pretty b655882cbd Started resolving TODOs
Added some new properties to the OpenGroupV2
Moved a number of methods and variables from OpenGroupAPI to OpenGroupManager (anything doing actual logic)
Moved the message signing into the OpenGroupAPI (since that's the only place it happens)
Renamed remaining old model classes to start with 'Legacy' to make clean up easier
Updated the OpenGroupAPI poll method to use the same logic as it previously did to determine if it should retrieve recent messages or messages since the last one
3 years ago
Morgan Pretty 8cc9caa0fd Renamed the OpenGroupPollerV2 and OpenGroupManagerV2 3 years ago
Ryan Zhao 2d9f962a97 Merge branch 'dev' of https://github.com/oxen-io/session-ios into voice-calls-2 3 years ago
Morgan Pretty cd61fb8df0 Merge branch 'dev' into feature/message-requests
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	SignalUtilitiesKit/Utilities/UIColor+Extensions.swift
3 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)
3 years ago
Morgan Pretty 3b07be4eed Fixed a couple of crashes
Fixed an issue where sharing form Safari without adding comments would result in an invalid message getting sent.
Fixed a crash when sharing plain text from safari.
Fixed a crash when localising 'OK' (key and value can't be the same when using the new extension).
3 years ago
Ryan Zhao d2413922c3 minor UI fix 3 years ago
Ryan Zhao 71e6ccd94b add flag for enable/disable call function 3 years ago
Ryan Zhao 0a3d84d5c8 WIP: Call message Ui improvements 3 years ago
Ryan Zhao 8947f47d77 fix conversation title view position 4 years ago
Ryan Zhao 32790a9d99 fix title view position 4 years ago
ryanzhao 336c694b52 refactoring on showing call ip exposure 4 years ago
ryanzhao 1231b9c20a add preview before staring video 4 years ago
Niels Andriesse b54cd3b026 Add call button to conversation screen 4 years ago
Niels Andriesse 7f0b87a2b2 Avoid unnecessary conversation screen updates 4 years ago
Niels Andriesse 483ed4792f Fix localization & clean 4 years ago
ryanzhao 0181b57f1a add only notify mentions subtitle in conversation creen 4 years ago
Niels Andriesse 6d2044f230 Warn users if they're about to send their recovery phrase to someone 4 years ago
Niels Andriesse dfdffc607c Make profile pictures tappable 4 years ago
Niels Andriesse aae11b1c28 Disable PNs for muted closed groups 4 years ago
Niels Andriesse f0b74c31fa Minor refactoring 4 years ago
Niels Andriesse 4a0b1c0ad0 Fix build 4 years ago
Niels Andriesse 3fda8daec9 Merge branch 'dev' into cleanup 4 years ago
Niels Andriesse 4eff61595a Implement open group joining business logic 4 years ago
Niels Andriesse e4d1925436 Show confirmation dialog 4 years ago
Niels Andriesse e3671291c5 Merge branch 'dev' into cleanup 4 years ago
Niels Andriesse ea668f0344 Use newly translated strings 4 years ago
nielsandriesse e1ad33e832 Clean 4 years ago
nielsandriesse 49f3b9f7db Rename contactIdentifier → contactSessionID 4 years ago
nielsandriesse 21acdfc835 Clean up thread model 4 years ago
Niels Andriesse 209882fb3e Correctly handle multiple untrusted attachments 4 years ago
Niels Andriesse aa68e91a4d Fix attachment download resumption 4 years ago
nielsandriesse a360fa7721 Merge branch 'dev' into deferred-attachment-downloads 4 years ago
Niels Andriesse 3bf46a36c7 Fix memory leaks 4 years ago
nielsandriesse 717fe32a73 Fix build 4 years ago
nielsandriesse c6f4443eed Update more logic for V2 open groups 4 years ago
Niels Andriesse 960e500acd Don't auto-download attachments from untrusted contacts 4 years ago
Niels Andriesse b7a66e9f5f Hopefully fix scrolling bug 4 years ago
Niels Andriesse 57eb5f8ef4 Make conversation title tappable 4 years ago
Niels Andriesse cf07fc1b1a Implement nicknames 4 years ago
Niels Andriesse dd0baf0d97 Unify contacts APIs 4 years ago
Niels Andriesse 205ff8a660 Prepare for upcoming contact changes 4 years ago
Niels Andriesse e945a6779f Include profile in configuration sync message 4 years ago
Niels Andriesse 66a00d4167 Clean 4 years ago
Niels Andriesse d30fd2fb07 Clean 4 years ago