Commit Graph

262 Commits (f5e48cec0139deb18c3f66f6da8588215abed52f)

Author SHA1 Message Date
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
Morgan Pretty 63e6cdd9ec Renamed OpenGroupAPIV2 to OpenGroupAPI
Added the inbox endpoints
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 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 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 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
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
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
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 a356b080d0 Do not show user details to prevent spam 3 years ago
Ryan Zhao bbccbe42c1 copy / paste images directly 3 years ago
Ryan Zhao 300f6f50cf add size label for file type attachment 3 years ago
Ryan Zhao 5e521a8192 fix the issue where no text will show along with a doc type attachment 3 years ago
ryanzhao 13b7b1edb6 Keep screen on when recording voice message 3 years ago
ryanzhao 3a38f44d1f fix deleting message in open groups 4 years ago
ryanzhao ac30e56151 enable unsend request 4 years ago
ryanzhao b81bdf71a4 Media message text UI improvement 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 bf2725183d automatically add space after mention 4 years ago
ryanzhao 4120c949de increase the max number of messages loaded 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