Commit Graph

487 Commits (5b6be3912dc205dec057f5d401a89a63a99b4aae)

Author SHA1 Message Date
Ryan Zhao 66567ba9f5 clean 3 years ago
Ryan Zhao c85e3ef86b clean up unused code 3 years ago
Morgan Pretty 819d5a39e1 Disabled the disappearing message settings for the recipient of a message request as well 3 years ago
Ryan Zhao b32a8cbab2 fix alert vc for iPad 3 years ago
Ryan Zhao 24d8122d78 fix sharing UI for iPad 3 years ago
Ryan Zhao efab374e7f refactor on session search bar decoration 3 years ago
Ryan Zhao ab0714af00 fix search bar cancel button for iPad 3 years ago
Morgan Pretty faa8918cd4 Replaced the remaining non-file legacy methods with their non-legacy equivalents
Updated the OpenGroup polling to run on a non-main thread
Updated the TSGroupModel to store moderatorIds as well as the adminIds (new endpoint is only going to give diffs)
Updated the BatchRequest to support json, base64 encoded strings and raw bytes for it's body
Replaced the 'lastMessageServerID' methods with 'OpenGroupSequenceNumber' methods (since we have swapped the property over)
Added an alert when banning fails (previously it would fail silently)
Fixed a bug where sent blinded messages were appearing as incoming messages
Fixed a bug where the OpenGroup infoUpdates wasn't getting decoded correctly
Fixed an issue where the ConversationVC wouldn't become the first responder again after the ban alerts disappeared
Fixed an issue where I'd incorrectly used the message 'seqNo' in place of the message server id
Fixed an issue where open group messages were setting their `sentTimestamp` to seconds instead of milliseconds for incoming messages
3 years ago
Ryan Zhao 97bf861809 Merge branch 'dev' of https://github.com/oxen-io/session-ios into preformance-improvement 3 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
3 years ago
Morgan Pretty 6f1a8fcdc5 Fixed a bug where the most recent message couldn't be interacted with due to message request UI changes 3 years ago
Ryan Zhao e428333b7b minor update to reduce database read on ui thread 3 years ago
Morgan Pretty dfbee2a520 Removed the single message restriction from message requests (still text only) 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 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
3 years ago
Morgan Pretty 999d4a1082 Merge branch 'dev' into feature/message-requests
# Conflicts:
#	Session/Conversations/ConversationVC+Interaction.swift
3 years ago
Ryan Zhao 529bc58d05 fix swiping to reply for very short messages 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
Ryan Zhao c32cc4d649 Merge branch 'feature/pdf-preview' of https://github.com/mpretty-cyro/session-ios into voice-calls-2 3 years ago
Morgan Pretty 8cc9caa0fd Renamed the OpenGroupPollerV2 and OpenGroupManagerV2 3 years ago
Morgan Pretty 63e6cdd9ec Renamed OpenGroupAPIV2 to OpenGroupAPI
Added the inbox endpoints
3 years ago
Ryan Zhao 3fb7babecb clean 3 years ago
Morgan Pretty eb927c36a9 Started cleaning up some of the SOGS and Onion Requests structure
Cleaned up the OnionRequestAPI so we don't need the LegacyOnionRequestAPI
Added requests for the user endpoints
Added deprecated flags to the legacy endpoints and functions
Added some logic to start handling the new poll (batch) response
Started adding unit tests for the OpenGroupAPI functions
3 years ago
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
3 years ago
Ryan Zhao 132254ee97 message bubble corner fix for link preview & open group invitation 3 years ago
Ryan Zhao 7d00897907 minor clean up 3 years ago
Morgan Pretty 1b820c48c6 Added support for Microsoft Word, Excel & Powerpoint previews 3 years ago
Morgan Pretty 161a90ad28 Updated the code to show the document interaction controller for text files as well 3 years ago
Morgan Pretty 6009c30805 Removed a resolved todo and fixed some variable naming 3 years ago
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'
3 years ago
Morgan Pretty bdf2b825ad Updated the code to disable input for unapproved conversations after sending the first message 3 years ago
Morgan Pretty ad9282a7b9 Removed 'publicKey' from the MessageRequestResponse and updated logic to use 'message.sender' isntead 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 185b2d2a97 Merge branch 'dev' into feature/pdf-preview
# Conflicts:
#	Session/Conversations/ConversationVC+Interaction.swift
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
Ryan Zhao e543f86c8b Merge branch 'dev' of https://github.com/oxen-io/session-ios into 1.11.21 3 years ago
Morgan Pretty 16ab4be537 Merge branch 'dev' into feature/pdf-preview 3 years ago
Morgan Pretty 4d62ddbd77 Merge branch 'dev' into fix/safari-sharing
# Conflicts:
#	Podfile.lock
3 years ago
Morgan Pretty 7f479bbca4 Merge branch 'dev' into feature/message-requests 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
Ryan Zhao ebb7507728 Merge branch 'dev' of https://github.com/oxen-io/session-ios into 1.11.21 3 years ago
Ryan Zhao 166fbff26c improve selected message animation for global search 3 years ago
Morgan Pretty bee36423da Fixed a couple of issue with sharing large attachments
Added back localized attachment error messages
Fixed an issue where sending an attachment could fail and the screen would be dismissed before the user had a chance to read the error
3 years ago
Morgan Pretty b85c113da6 Added code to preview PDF attachments 3 years ago
Ryan Zhao c81e0e517d fix ui issue after making unread message count 4 digits 3 years ago
Ryan Zhao 99022006da Make the unread message count 4 digits instead of 2 3 years ago
Ryan Zhao 2c7dfe6a37 fix conversation screen scrolling to bottom issue 3 years ago
Ryan Zhao 70a562344c minor issue fix 3 years ago
Ryan Zhao d96d7468a4 fix read more button colour 3 years ago
Ryan Zhao 6ae84d3e37 update outgoing message text colour in light mode 3 years ago
Ryan Zhao d642d8a4ed improve image message ratio 3 years ago
Ryan Zhao bcc5da75b6 minor fix on debug mode to prevent crashing 3 years ago
Ryan Zhao 837b2ac157 fix a typo 3 years ago
Ryan Zhao 715c9eff98 clean 3 years ago
Ryan Zhao c1c5678056 implement animation for selected search result message flickering 3 years ago
ryanzhao fed1218538 WIP: global search UI 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 7ee76bf9ca minor fix on debug mode to prevent crashing 3 years ago
Ryan Zhao 29cd6fb312 fix minor issues 3 years ago
Ryan Zhao 2ee4b0119d improve image message ratio 3 years ago
Ryan Zhao 67fdea13bd fix conversation screen scrolling to bottom issue 3 years ago
Ryan Zhao e62877baca Merge branch 'dev' into voice-calls-2 3 years ago
RyanZhao 9521098afa
Merge pull request #537 from RyanRory/open-group-spam-prevention
Do not show user details to prevent spam
3 years ago
Ryan Zhao 9e373dc3d1 do not show copy session id option when long press messages in open groups 3 years ago
Ryan Zhao 0dcb8f81ca Merge branch 'dev' into voice-calls-2 3 years ago
RyanZhao 69352efa32
Merge pull request #539 from RyanRory/nickname-for-anonymous
Set nickname to a person that never talked to
3 years ago
RyanZhao 1558309805
Merge pull request #536 from RyanRory/copy-paste-image
Copy / paste images directly
3 years ago
Ryan Zhao c5635a39dd set nickname to a person that never talked to 3 years ago
Ryan Zhao 5803eae134 clean 3 years ago
Ryan Zhao d2413922c3 minor UI fix 3 years ago
Ryan Zhao b2b03eb273 clean up call button appearance logic 3 years ago
Ryan Zhao a356b080d0 Do not show user details to prevent spam 3 years ago
Ryan Zhao bbccbe42c1 copy / paste images directly 3 years ago
Ryan Zhao 71e6ccd94b add flag for enable/disable call function 3 years ago
Ryan Zhao e42c8ea592 Merge branch 'doc-with-text' into voice-calls-2 3 years ago
Ryan Zhao 300f6f50cf add size label for file type attachment 3 years ago
Ryan Zhao d2f29e7db2 Merge branch 'doc-with-text' into voice-calls-2 3 years ago
Ryan Zhao 5e521a8192 fix the issue where no text will show along with a doc type attachment 3 years ago
Ryan Zhao 4b38f8b3b6 improve call message showing contact name 3 years ago
Ryan Zhao daa205e471 clean 3 years ago
Ryan Zhao 6703d8c7f4 add timestamp to call message UI 3 years ago
Ryan Zhao 9e6c81d28b improve call message UI 3 years ago
Ryan Zhao 0a3d84d5c8 WIP: Call message Ui improvements 3 years ago
Ryan Zhao a8dd010b06 Merge branch '1.11.19' into voice-calls-2 4 years ago
Ryan Zhao 8947f47d77 fix conversation title view position 4 years ago
Ryan Zhao d3a2b456f1 handle permission request for voice and video calls 4 years ago
Ryan Zhao 32790a9d99 fix title view position 4 years ago
Ryan Zhao 57f0595dc3 hide call button for note to self 4 years ago
ryanzhao 13b7b1edb6 Keep screen on when recording voice message 4 years ago
ryanzhao edffbe7d4c fix data channel and uuid check 4 years ago
ryanzhao 336c694b52 refactoring on showing call ip exposure 4 years ago
ryanzhao ff79c58f44 update call message after a call ended 4 years ago
ryanzhao f019fe7733 use CallKit for all cases 4 years ago
ryanzhao 4db87992b2 refactor for voip push notification 4 years ago
ryanzhao 0ef7bdc9ce refactor to plug in callkit 4 years ago
ryanzhao bcf0ecfb69 show modal of ip exposure for calls 4 years ago
ryanzhao 7dfb999239 Merge branch 'dev' of https://github.com/oxen-io/session-ios into voice-calls-2 4 years ago
ryanzhao 3a38f44d1f fix deleting message in open groups 4 years ago
ryanzhao 1231b9c20a add preview before staring video 4 years ago
ryanzhao 7b23b8f601 Merge branch 'dev' of https://github.com/oxen-io/session-ios into voice-calls-2 4 years ago
ryanzhao ac30e56151 enable unsend request 4 years ago
ryanzhao b81bdf71a4 Media message text UI improvement 4 years ago
ryanzhao fbe5b12c9d WIP: incoming call banner 4 years ago
ryanzhao 98268ebf73 hide outgoing call message sending status 4 years ago
ryanzhao 3b545ca618 Merge branch 'dev' of https://github.com/oxen-io/session-ios into voice-calls-2 4 years ago
ryanzhao 0b5d6ae4b0 fix disappearing messages for sync messages 4 years ago
ryanzhao bd73f14915 fix crash when quoted attachment's content type is null 4 years ago
ryanzhao a856415438 fix conversation screen unread count > viewItems count crash 4 years ago
ryanzhao 23fb69ba6f add incoming/outgoing call message bubble 4 years ago
ryanzhao 383f996e82 WIP: improve call UI 4 years ago
ryanzhao 5354185696 improve UI 4 years ago
ryanzhao 019a2cd299 add options for voice call and video call 4 years ago
ryanzhao e8500d75a7 fix input panel issue & make local video view draggable 4 years ago
ryanzhao daee269a7a Merge branch 'dev' into voice-calls-2 4 years ago
ryanzhao bf2725183d automatically add space after mention 4 years ago
ryanzhao 4120c949de increase the max number of messages loaded 4 years ago
ryanzhao 6e07c56e7d Merge branch 'master' of https://github.com/oxen-io/session-ios into voice-calls-2 4 years ago
ryanzhao d10ad83d51 Improve date breaks between messages to be consistent with desktop 4 years ago
RyanZhao fbd30ca8e5
Merge pull request #500 from RyanRory/improvements
Improvements
4 years ago
ryanzhao e0288f2bb3 clean draft after deleting it 4 years ago
ryanzhao a7e9606833 add copy link option when clicking a link 4 years ago
ryanzhao f99fa58acc add accessibility for input text view 4 years ago
ryanzhao b7289e72a3 add accessibility to attachment buttons 4 years ago
ryanzhao d60475be99 add accessibility to send button and voice message button 4 years ago
ryanzhao da335a8401 clean 4 years ago
Niels Andriesse c1a61e897b UI improvements 4 years ago
Niels Andriesse e899804b85 Rename CallVCV2 → CallVC 4 years ago
Niels Andriesse 525eb40d8d Make signaling happen using Session messages 4 years ago
Niels Andriesse b54cd3b026 Add call button to conversation screen 4 years ago
Niels Andriesse 45042a1acf Fix typos 4 years ago
ryanzhao eee9ceff39 fix crash for older messages 4 years ago
ryanzhao 31cf0b7b20 don't send unsend requests for open groups 4 years ago
ryanzhao 951b8ac1e6 localisation for context menu 4 years ago
ryanzhao 76a96c31bf add flag to disable unsend request for now 4 years ago
ryanzhao 5f2890a1fc Merge branch 'dev' of https://github.com/oxen-io/session-ios into unsend-message 4 years ago
ryanzhao 025ef2c301 clean 4 years ago
ryanzhao ce8f4f984d fix the date header issue 4 years ago
ryanzhao 7fe0e46445 clean 4 years ago
Mark Feaver f0fb4529c8 Disabled tableview scroll when swiping to reply in a conversation 4 years ago
ryanzhao 278f962488 clean & rollback to fix the issue that the date will not show after a message has been deleted 4 years ago
Ryan Zhao b714565480 smooth the hide and show of the input accessory view 4 years ago
Ryan Zhao 4904d2cdcf localisation 4 years ago
Ryan Zhao 90bd775fd5 show delete options for only outgoing messages 4 years ago
Ryan Zhao 8c897dcc3d use action sheet to show options for deleting a message 4 years ago
Ryan Zhao 33bd74338d localisation 4 years ago
Ryan Zhao 9bf31f69ae disable swipe to reply for deleted messages 4 years ago
Ryan Zhao da1fe9b287 clean 4 years ago
Ryan Zhao e1b99be6f2 disable interactions with deleted message in conversation screen 4 years ago
Ryan Zhao 6e45aed71b Merge branch 'dev' of https://github.com/oxen-io/session-ios into unsend-message 4 years ago
Ryan Zhao eaab6ee22d deleted message UI in conversation screen 4 years ago
Niels Andriesse e311d2878f Fix message status indicator bug 4 years ago
Niels Andriesse 50d17be43b Fix animation glitch 4 years ago
Niels Andriesse b8c4e6aa93 Avoid unnecessary conversation screen updates 4 years ago
Niels Andriesse 3db8231bde Fix glitch 4 years ago
ryanzhao 8d53a775d2 Revert "delete real message and sync message together"
This reverts commit cc17a952e0.
4 years ago
ryanzhao cc17a952e0 delete real message and sync message together 4 years ago
ryanzhao dd2f8c7df9 Merge branch 'dev' of https://github.com/oxen-io/session-ios into unsend-message 4 years ago
Niels Andriesse 1b0a12d7c0 Don't unnecessarily unsubscribe from closed group PNs
We don't need to do this anymore as we now have the ability to ignore PNs in the notification service extension
4 years ago
Niels Andriesse 7043e83ea3 Merge branch 'dev' into conversation-ui 4 years ago
Niels Andriesse 7d56e51690 Simplify conversation screen updating logic 4 years ago
Niels Andriesse ec41a9e08e Remove hack 4 years ago
Niels Andriesse 7f0b87a2b2 Avoid unnecessary conversation screen updates 4 years ago
Niels Andriesse e6949a5ae8 Fix glitch and add FIXME 4 years ago
Ryan Zhao 12a995bc91 enable only notify mention for closed groups 4 years ago
Niels Andriesse c5c75a306e Hopefully fix scrolling issue 4 years ago
Ryan Zhao 885e9296d1 Merge branch 'dev' of https://github.com/oxen-io/session-ios into unsend-message 4 years ago
Ryan Zhao 5f6da0739e delete message on storage server 4 years ago
Niels Andriesse 593ab49952 Increase voice message recording limit to 3 minutes 4 years ago
Ryan Zhao e8f0d0d124 WIP: delete from storage server 4 years ago
Ryan Zhao 1450fd380b hide delete for everyone if there is no server hash for the message 4 years ago
Ryan Zhao 68d14709e9 fix a race condition 4 years ago
Ryan Zhao 4d65c6c340 minor refactor 4 years ago
Ryan Zhao 5a26331abc delete locally for multi device 4 years ago
Ryan Zhao adcca5d1e1 WIP: delete message in storage server 4 years ago
Ryan Zhao 6aa865e7b7 delete locally and send unsend request 4 years ago
Ryan Zhao 7be6d13afd minor ui fix 4 years ago
Ryan Zhao bb49d7236f ui for 2 types of deletion 4 years ago
Niels Andriesse 9565358b55 Increase scroll to bottom margin 4 years ago
Niels Andriesse 8dac8a9ae4 Fix copy 4 years ago
Niels Andriesse 483ed4792f Fix localization & clean 4 years ago
ryanzhao 25b9b06044 fix unread count not disappear after scrolling to bottom 4 years ago
ryanzhao b0e03f5dfd update subtitle status in conversation screen instantly 4 years ago
ryanzhao 0181b57f1a add only notify mentions subtitle in conversation creen 4 years ago
ryanzhao 798b541241 add UI in conversation settings 4 years ago
Niels Andriesse 44288c45e9 Fix auto scroll to bottom bug 4 years ago
ryanzhao bd7e9b5943 add comment 4 years ago
ryanzhao fcca7f3076 clean 4 years ago
ryanzhao 4fad67484f fix incorrect unread position 4 years ago
ryanzhao 40d2832a30 Merge branch 'dev' of https://github.com/oxen-io/session-ios into conversation-scroll-issues 4 years ago
Niels Andriesse 6d2044f230 Warn users if they're about to send their recovery phrase to someone 4 years ago
ryanzhao 221eabc496 fix scroll to button not always works 4 years ago
Niels Andriesse e84fc1aa04 Include destination info in error messages 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 ba60879343 Add support for new ban and delete all endpoint 4 years ago
Niels Andriesse 3238487917 Don't send screenshot notifications
None of the other platforms are able to do it, so it's inconsistent for iOS to be sending them
4 years ago
Niels Andriesse 28ea914097 Show date break header by hour instead of by day
Also ditch relative timestamps in favor of absolute ones
4 years ago
Ryan Zhao 7eb5d63a83 fix the misplaced scroll to bottom button 4 years ago
Niels Andriesse f0b74c31fa Minor refactoring 4 years ago
nielsandriesse 0b5e13ca59 Fix slight scroll behavior issue 4 years ago