Commit Graph

636 Commits (4c5bfe258d8abb8d1bd5b53fad7b76d464f9a79f)

Author SHA1 Message Date
Ryan Zhao 5f9bc4c55f Merge branch 'unread-metion-fix' into voice-calls-2 2 years ago
Ryan Zhao 06958babcb fix unread mention indicator showing after the message is deleted 2 years ago
Ryan Zhao f489e78deb Merge branch 'dev' into voice-calls-2 2 years ago
Ryan Zhao e72f0f528d fix notification body for attachments 2 years ago
Ryan Zhao 5c7176982c Merge branch 'dev' into voice-calls-2 2 years ago
Morgan Pretty c0e90152ce Fixes for config message handling
Updated the config message handling to try fetch the existing contact first before creating a new one
Updated the OpenGroupManagerV2 to avoid joining an open group if the user already has a thread for it and is polling it
2 years ago
Ryan Zhao 2a0f70b3a8 Merge branch 'dev' into voice-calls-2 2 years ago
Morgan Pretty 0f78e1af61 Updated the code to only add closed groups for the first config message received 2 years ago
Ryan Zhao a68ed28a7a Merge branch 'dev' into voice-calls-2 2 years ago
Morgan Pretty 3e0ccaea4c Merge branch 'dev' into feature/session-id-blinding-part-2
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	Session/Utilities/MentionUtilities.swift
#	SessionMessagingKit/Sending & Receiving/Pollers/OpenGroupPollerV2.swift
#	SessionMessagingKit/Sending & Receiving/Pollers/Poller.swift
#	SignalUtilitiesKit/Messaging/Sending & Receiving/MessageSender+Convenience.swift
2 years ago
Ryan Zhao 5762445128 Merge branch 'ipad-support-1' into voice-calls-2 2 years ago
Morgan Pretty 65f14cf0a1 Added more unit tests
Removed an unused endpoint
Moved 'Dependencies' into the Utilities folder (also out from being nested within 'OpenGroupAPI' since it can be broader than that)
Finished adding unit tests for the OpenGroupAPI
2 years ago
Ryan Zhao 60e8da3bff Merge branch 'dev' into preformance-improvement 2 years ago
Morgan Pretty 17a9e510c5 Further work on unit tests (and a couple of bug fixes found when testing)
Removed a couple remaining TODOs
Added 'standardUserDefaults' to the 'Dependencies' type
Tweaked the OpenGroupAPI to only update the 'lastOpen' timestamp if it successfully polls
Refactored a couple of methods in the ConversationViewItem into swift so we can clean up the OpenGroupAPI more
Updated the OpenGroupAPI so it no longer has static variables for state (shifted to the OpenGroupManager and made them instance variables)
Fixed an encoding issue with the Capabilities.Capability
2 years ago
Morgan Pretty af543b980b Made a couple of changes to how the ConfigurationMessage is generated and handled
Stopped configuration messages from automatically creating threads for sync'ed contacts (now they will only be created if there are messages)
Updated the ConfigurationMessage to stop truncating the list of contacts but filter the full set (also update the logic to include previously approved contacts)
2 years ago
Morgan Pretty f9468219d9 Code cleanup and database transaction tweaks
Updated the OpenGroupManager to be a bit more thread safe
Updated the OpenGroupManager "isModOrAdmin" check to better support the various keys of the current user
Fixed some blinding code to use an existing transaction rather than create it's own ones
Removed the Legacy API calls, handling and types
2 years ago
Morgan Pretty decb946bf3 Fixed an unrecognised selector crash hidden by the conversion of Objective-C to Swift 2 years ago
Morgan Pretty 81f563229f Renamed FileServerAPIV2 to FileServerAPI
Updated the direct file upload/download to use the non-base64 approaches as well
Updated the attachment 'serverId' value to be a string instead of a UInt64 (future-proofing)
Updated the OnionRequest V4 response handling to avoid converting the "response body" part to a string and processing that, instead just slice the byte array (ie. stopped it from being broken from multiple conversions)
Removed the base64-based file upload/download endpoints (no use including them when they are inefficient and we don't want to use them)
2 years ago
Morgan Pretty 1c474955de File upload working, further code cleanup
Got the updated file upload working
Removed the legacy 'room' header
Consolidated a number of types between SOGS, FileServer and general requests
Updated the OnionRequestAPI to deal with a Data payload (rather than encoding it to a string and then back to data)
2 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
2 years ago
Morgan Pretty 8a7db1d48f Started adding logic for the outbox endpoint
Moved the BlindedIdMapping retrieval logic to ContactUtilities so it's reusable
Added the 'outbox' endpoints (need testing as they aren't deployed to test yet)
2 years ago
Ryan Zhao 52407aec03 Merge branch 'ipad-support-1' into voice-calls-2 2 years ago
Morgan Pretty 6936f35f2a Fixed a few issues uncovered while testing and some cleanup
Fixed an incorrect optional in RoomPollInfo
Fixed an incorrect parameter name in the ClosedGroupRequestBody
Fixed a crash due to a change in the ContactUtilities
Cleaned up the duplicate code in the OnionRequestAPI, HTTP and SnodeAPI to all use 'Data' response types
Updated the SnodeAPI to casting types to Any (made it hard to catch breaking changes with HTTP and OnionRequestAPI)
2 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
2 years ago
Ryan Zhao daf0705d42 Merge branch 'dev' into preformance-improvement 2 years ago
Ryan Zhao f632763eee revert debug code 2 years ago
Morgan Pretty 3a75639285 Fixed a few of issues in the last commit
Fixed a couple of build issues where I missed a couple of calls to removed functions
Fixed a EXC_BAD_ACCESS issue where the 'poll' function could be called from multiple threads (which accesses and mutates variables)
Cleaned up the MessageRequestResponse handling a little
2 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)
2 years ago
Morgan Pretty a26ee12f8d Further work on Id Blinding
Renamed the setter for the SOGS 'Server' object for consistency
Updated the Curve25519Kit repo to use an Oxen fork
Updated the MockDataGenerator to accomodate the latest changes
Updated the ConversationVC to better support getting replaced when the conversion from blinded to unblinded happens while on that screen
Added a cache for the mapping between blinded ids and standard ids (gets cached whenever a valid match is found)
Added a migration to remove the old 'authToken, 'lastMessageServerId' and 'lastDeletionServerId' collections (redundant in SOGS V4)
2 years ago
Ryan Zhao 6b231316ee fix & improve voice message preview in home screen 2 years ago
Morgan Pretty 3e97782d18 Merge branch 'dev' into feature/session-id-blinding-part-2
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	Session/Conversations/ConversationVC.swift
#	Session/Meta/Translations/de.lproj/Localizable.strings
#	Session/Meta/Translations/en.lproj/Localizable.strings
#	Session/Meta/Translations/es.lproj/Localizable.strings
#	Session/Meta/Translations/fa.lproj/Localizable.strings
#	Session/Meta/Translations/fi.lproj/Localizable.strings
#	Session/Meta/Translations/fr.lproj/Localizable.strings
#	Session/Meta/Translations/hi.lproj/Localizable.strings
#	Session/Meta/Translations/hr.lproj/Localizable.strings
#	Session/Meta/Translations/id-ID.lproj/Localizable.strings
#	Session/Meta/Translations/it.lproj/Localizable.strings
#	Session/Meta/Translations/ja.lproj/Localizable.strings
#	Session/Meta/Translations/nl.lproj/Localizable.strings
#	Session/Meta/Translations/pl.lproj/Localizable.strings
#	Session/Meta/Translations/pt_BR.lproj/Localizable.strings
#	Session/Meta/Translations/ru.lproj/Localizable.strings
#	Session/Meta/Translations/si.lproj/Localizable.strings
#	Session/Meta/Translations/sk.lproj/Localizable.strings
#	Session/Meta/Translations/sv.lproj/Localizable.strings
#	Session/Meta/Translations/th.lproj/Localizable.strings
#	Session/Meta/Translations/vi-VN.lproj/Localizable.strings
#	Session/Meta/Translations/zh-Hant.lproj/Localizable.strings
#	Session/Meta/Translations/zh_CN.lproj/Localizable.strings
2 years ago
Morgan Pretty cc2a077a6c Started working on `MessageRequestResponse` handling for SOGS message requests
Pointing Curve25519 to use a fork that exposes an XEd25519 conversion method
Fixed an issue where I had broken all message sending due to the SnodeAPI casting Onion responses to `Any`
2 years ago
Ryan Zhao f22672ccd7 Merge branch 'dev' of https://github.com/oxen-io/session-ios into preformance-improvement 2 years ago
Morgan Pretty dbead5e3c8 Got the '/inbox' APIs and encryption/decryption/validation working
Added a few types to make the code more readable
Added the inbox request to the polling
Added a couple of properties to the TSContactThread to indicate the originating open group to support SOGS DMs
Added code to store the latest message id for an open group inbox
Added a bunch of documentation from the API docs into the OpenGroupAPI (and associated models)
Updated the OpenGroupAPI to match the latest docs
Fixed the incorrect structure of the SendDirectMessageRequest
Fixed an incorrect inbox endpoint path
Tweaked the batch response handling so it wouldn't fail to parse all responses if a single one failed
Renamed IdPrefix to SessionId.Prefix and cleaned up the type to be more readable & self-documenting
2 years ago
Ryan Zhao 7a677a1800 move pollers to one working queue to avoid race condition 2 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
2 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
2 years ago
ryanzhao cd97b9c3e8 minor fix on poller threading 2 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)
2 years ago
ryanzhao b2ab984586 refactor on timer and polling threading 2 years ago
Ryan Zhao d21c5329e3 further improvements to move poller into background threads 2 years ago
Ryan Zhao 36907d3af0 improve mention and unread message count 2 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
2 years ago
Ryan Zhao 16c9b7793a move pollers to background threads 2 years ago
Morgan Pretty 1edd500dab Updated to the latest blinding behaviour
Added a couple more dependencies for unit testing injection
Updated the MessageSender to set the sender of the message to the appropriate blinded/unblinded key
Updated the OpenGroup Message to handle verification of both blinded and unblinded messages
Updated the MessageSender to use dependency injection for it's sendToOpenGroupDestination method
Updated the JSONDecoder to support getting dependencies (for signature verification)
Fixed tests broken by updating the signing logic
2 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
2 years ago
Ryan Zhao e8e120666b move message poller to back ground thread 2 years ago
Ryan Zhao 6c64d580b8 move open group polling to background thread 2 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
2 years ago
Ryan Zhao cc1b1e8c51 poll for open groups in NSE 2 years ago
Morgan Pretty 999d4a1082 Merge branch 'dev' into feature/message-requests
# Conflicts:
#	Session/Conversations/ConversationVC+Interaction.swift
2 years ago
Morgan Pretty d490cf7d19 Fixed an issue where only the first sync config message would be processed 2 years ago
Morgan Pretty 56bdee3919 Updated the message request processing to handle both 'didApproveMe' and 'isApproved' contact flags 2 years ago
RyanZhao d221a5bef9
Merge pull request #558 from mpretty-cyro/feature/pdf-preview
Added code to allow previewing PDF attachments within the app
2 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
2 years ago
Ryan Zhao c32cc4d649 Merge branch 'feature/pdf-preview' of https://github.com/mpretty-cyro/session-ios into voice-calls-2 2 years ago
Ryan Zhao 52886f2e16 Merge branch 'dev' of https://github.com/oxen-io/session-ios into voice-calls-2 2 years ago
Morgan Pretty 8cc9caa0fd Renamed the OpenGroupPollerV2 and OpenGroupManagerV2 2 years ago
Morgan Pretty 63e6cdd9ec Renamed OpenGroupAPIV2 to OpenGroupAPI
Added the inbox endpoints
2 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
2 years ago
Morgan Pretty c90f346d6a Further SOGS V4 integration work
Added in the v4 onion requests logic
Added in the new pin/unpin APIs
Split up additional legacy methods to try and simplify the refactoring
Added a number of TODOs around usage of legacy request methods
2 years ago
Morgan Pretty 1b820c48c6 Added support for Microsoft Word, Excel & Powerpoint previews 2 years ago
Morgan Pretty 161a90ad28 Updated the code to show the document interaction controller for text files as well 2 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'
2 years ago
Morgan Pretty 140cc97829 Fixed a couple of bugs with the share extension
Fixed a bug where sharing a text file was resulting in the entire contents being put into the message input field
Fixed a bug where sharing from within the app where the app was in dark mode but the device was in light mode would result in buggy UI
2 years ago
Morgan Pretty ad9282a7b9 Removed 'publicKey' from the MessageRequestResponse and updated logic to use 'message.sender' isntead 2 years ago
Morgan Pretty 2284375fc0 Started work on updated SOGS support
Split the OpenGroupAPIV2 into separate files
Started working on the new auth and blinded-id approaches (new auth working with un-blinded id suggesting blinded-id code is incorrect)
Updated the SOGS request/response types to use Codable
Updated the SOGS Request type to use enums instead of strings for keys (to reduce likelihood of typos breaking things)
Updated SessionMessagingKit to use Codable and JSONEncoder/JSONDecoder instead of the legacy JSONSerialization
Cleaned up some naming conventions in the SessionMessagingKit (calling a URLRequest body 'parameters' is very confusing...)
Removed the custom TSRequest class (just using standard URLRequest everywhere instead)
Added a number of extension functions to enable some more functional-coding styles
Added extensions to Sodium methods to allow scalar multiplication and the ability to hash providing a salt and a personalisation value (both needed for new SOGS auth)
Fixed an issue where the legacy auth for SOGS could crash due to threading issues (multiple threads accessing the same variable)
Fixed an issue where if you were in two rooms in a single SOGS and deleted one of them, the other room would stop getting updates as the server public key was getting removed
2 years ago
Morgan Pretty 394b0646a3 Updated the code to support additional session id prefixes 2 years ago
Ryan Zhao 2d9f962a97 Merge branch 'dev' of https://github.com/oxen-io/session-ios into voice-calls-2 2 years ago
Morgan Pretty cd61fb8df0 Merge branch 'dev' into feature/message-requests
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	SignalUtilitiesKit/Utilities/UIColor+Extensions.swift
2 years ago
Ryan Zhao e543f86c8b Merge branch 'dev' of https://github.com/oxen-io/session-ios into 1.11.21 2 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)
2 years ago
Morgan Pretty c7e7d30dea Merge branch 'dev' into fix/safari-sharing 2 years ago
Ryan Zhao ce83de5c46 fix crash of dictionary.subscript.getter for closed groups 2 years ago
Ryan Zhao a101bfbf82 Merge branch 'dev' of https://github.com/oxen-io/session-ios into 1.11.21 2 years ago
RyanZhao 6aac2a9966
Merge pull request #550 from mpretty-cyro/fix/open-group-initial-mention-list
Fix open group initial mention list population
2 years ago
Ryan Zhao 8ed77435d8 update translation 2 years ago
Morgan Pretty 2fedba4cea Addressed PR changes
Added NVActivityIndicatorView to the SessionShareExtension.
Removed the SignalAttachmentType.
3 years ago
Morgan Pretty af6d4a1dc0 Fixed the initial open group mention list 3 years ago
Morgan Pretty 0629d086c5 Updated the link previews to default to HTTPS 3 years ago
Morgan Pretty e6c90c5e18 Finished off UI clean up
Fixed a couple more vertical alignment issues with certain attachment types.
Finished cleaning up the MediaMessageView UI code (removed old code).
3 years ago
Morgan Pretty dd9eeb5d61 Added initial support for sharing URLs and text
Updated the share extension to load URL previews.
Updated the ThreadPickerVC to send plain text & URLs in the same way they are sent for normal messages.
3 years ago
Ryan Zhao b4b6b24530 update translation 3 years ago
Ryan Zhao 53f75ff69b Merge branch 'dev' into voice-calls-2 3 years ago
Ryan Zhao 5e9695d234 disable typing indicators and read receipts by default 3 years ago
ryanzhao c38923cc2f Merge branch 'disappearing-message-fix' into voice-calls-2 3 years ago
ryanzhao e24ae60d71 fix duplicated disappearing message in closed groups 3 years ago
Ryan Zhao 4658e76d46 fix linked device answering/ending call issues 3 years ago
Ryan Zhao 35fc3ede9e Merge branch '1.11.19' into voice-calls-2 3 years ago
Ryan Zhao a6df6504c8 Prevent the same ExpirationTimerUpdate to be handled twice 3 years ago
Ryan Zhao 2000297a5f Add missed call message for call offer messages from more than one minute 3 years ago
Ryan Zhao 0a3d84d5c8 WIP: Call message Ui improvements 3 years ago
Ryan Zhao 78971b7d09 ignore call messages over 60s 3 years ago
Ryan Zhao 561cf98e6b Merge branch '1.11.19' into voice-calls-2 3 years ago
Ryan Zhao 5a5741f47b Group notifications from background polling 3 years ago
Ryan Zhao a8dd010b06 Merge branch '1.11.19' into voice-calls-2 3 years ago
Ryan Zhao e504e23f92 minor fix 3 years ago
Ryan Zhao 77e1f30bc9 fix sync message sending bug 3 years ago
Ryan Zhao e9f19b9c62 fix duplicated incoming call 3 years ago
Ryan Zhao 81dd4557a5 sync answer and end call message 3 years ago
ryanzhao e49431d2eb fix transaction crash 3 years ago
ryanzhao dd891063bd minor fix 3 years ago
ryanzhao 716378ccd3 handle offer message might come in earlier than pre offer message 3 years ago
ryanzhao d8021f6d6b clean 3 years ago
ryanzhao edffbe7d4c fix data channel and uuid check 3 years ago
ryanzhao fa79124bb7 minor refactoring & handle network change 3 years ago
ryanzhao 336c694b52 refactoring on showing call ip exposure 3 years ago
ryanzhao da14539639 handle busy 3 years ago
ryanzhao 2bbba2c6b7 clean 3 years ago
ryanzhao 248a02e1e9 minor fix 3 years ago
ryanzhao ff79c58f44 update call message after a call ended 3 years ago
ryanzhao 6f78d6dfbe refactoring for CallKit 3 years ago
ryanzhao dbcc158337 fix unsend bugs 3 years ago
ryanzhao 18a9768167 filter other call messages 3 years ago
ryanzhao 8a6be4fc5b notify pre-offer call message 3 years ago
ryanzhao 63d75040a6 clean 3 years ago
ryanzhao 7cd7343585 schedule background refresh tasks 3 years ago
ryanzhao fbe5b12c9d WIP: incoming call banner 3 years ago
ryanzhao 219440f444 update call protobuf 3 years ago
ryanzhao 3b545ca618 Merge branch 'dev' of https://github.com/oxen-io/session-ios into voice-calls-2 3 years ago
ryanzhao b315510ec2 Revert "improve attachment image quality"
This reverts commit ad4e65e6e1.
3 years ago
ryanzhao ad4e65e6e1 improve attachment image quality 3 years ago
ryanzhao 0b5d6ae4b0 fix disappearing messages for sync messages 3 years ago
ryanzhao 3a84593de9 fix profile key crash & typo 3 years ago
ryanzhao 23fb69ba6f add incoming/outgoing call message bubble 3 years ago
ryanzhao daee269a7a Merge branch 'dev' into voice-calls-2 3 years ago
ryanzhao bfc1e96c9d Merge branch 'sync-read' into bug-fixes 3 years ago
ryanzhao d4067eb39d mark previous messages as read if there is a sync message 3 years ago
ryanzhao 50465c04bf fix a crash where the configuration message contacts info may contain invalid profile key 3 years ago
ryanzhao fde5083de8 improve link preview images 3 years ago
ryanzhao 140676fdaf fix expiration sync messages show display name rather than "You" 3 years ago
ryanzhao f08d0470e5 expire sync messages if needed 3 years ago
ryanzhao 6e07c56e7d Merge branch 'master' of https://github.com/oxen-io/session-ios into voice-calls-2 3 years ago
RyanZhao fbd30ca8e5
Merge pull request #500 from RyanRory/improvements
Improvements
3 years ago
ryanzhao 454003c027 Revert "WIP: make the attachment download work in NSE"
This reverts commit 7295c14e17.
3 years ago
ryanzhao 7295c14e17 WIP: make the attachment download work in NSE 3 years ago
ryanzhao d6d041a74f fix closed group threading issue 3 years ago
ryanzhao da335a8401 clean 3 years ago
ryanzhao 132ff0416f set server timestamp as open group message's sent timestamp 3 years ago
ryanzhao 7a354fe220 potentially fix the closed group not receiving messages issue 3 years ago
Niels Andriesse 8ba8e1c1a8 Merge branch 'dev' of github.com:oxen-io/session-ios into voice-calls-2 3 years ago
Niels Andriesse baf9e4e9d4 Add ringing UI 3 years ago
ryanzhao 1822c7df16 fix duplicated messages sent in closed groups 3 years ago
Niels Andriesse b3ead76221 Debug 3 years ago
Niels Andriesse 6fdf544368 Implement end call message 3 years ago
Niels Andriesse 34e630b5bf Add documentation 3 years ago
Niels Andriesse 3206ce380e Rename WebRTCWrapper → WebRTCSession 3 years ago
Niels Andriesse 1ad42547b2 Batch send ICE candidates 3 years ago
Niels Andriesse 525eb40d8d Make signaling happen using Session messages 3 years ago
Niels Andriesse 1a12199d0b Implement CallManager 3 years ago
Niels Andriesse 45042a1acf Fix typos 3 years ago
ryanzhao 2e8e931551 minor refactor 3 years ago
ryanzhao 940e09c25b handle canceling push notification 3 years ago
Ryan Zhao 7e640fb6ac Don't show deleted message in home screen 3 years ago
Ryan Zhao 6e45aed71b Merge branch 'dev' of https://github.com/oxen-io/session-ios into unsend-message 3 years ago
Ryan Zhao eaab6ee22d deleted message UI in conversation screen 3 years ago
Niels Andriesse e311d2878f Fix message status indicator bug 3 years ago
Niels Andriesse 50d17be43b Fix animation glitch 3 years ago
Niels Andriesse b8c4e6aa93 Avoid unnecessary conversation screen updates 3 years ago
ryanzhao 00fd764042 delete the message on storage server after receiving an unsend request 3 years ago
ryanzhao 9953451767 add comment 3 years ago
ryanzhao 8d53a775d2 Revert "delete real message and sync message together"
This reverts commit cc17a952e0.
3 years ago
ryanzhao cc17a952e0 delete real message and sync message together 3 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
3 years ago
Niels Andriesse 7f0b87a2b2 Avoid unnecessary conversation screen updates 3 years ago
Ryan Zhao 80bf62df90 fix nested transaction crash on setting notification identifier 3 years ago
Ryan Zhao 885e9296d1 Merge branch 'dev' of https://github.com/oxen-io/session-ios into unsend-message 3 years ago
Niels Andriesse e8d8377a04 Fix threading bug 3 years ago
Ryan Zhao 08360273e6 save server hash for message receive jobs 3 years ago
Ryan Zhao c68350f3d8 store hash value for outgoing messages 3 years ago
Ryan Zhao e2a0578770 cancel local notifications for unsend requests 3 years ago
Ryan Zhao b827b9e1ba make it work for multi device 3 years ago
Ryan Zhao 94c1879263 fix unsend request receive handler 3 years ago
Ryan Zhao 6aa865e7b7 delete locally and send unsend request 3 years ago
Ryan Zhao 83252650b1 unsend request handler 3 years ago
Niels Andriesse 8f29010e89 Poll for closed group messages more frequently 3 years ago
Niels Andriesse 8a29469eb5 Handle incorrect clock setting 3 years ago
Niels Andriesse 6bf25e28f7 Debug 3 years ago
Niels Andriesse ca862096b4 Rename profilePictureEncryptionKey → profileEncryptionKey 3 years ago
Niels Andriesse 519ffa4405 Fully switch to the new contact API
This should improve performance significantly as it avoids many unnecessary sync transactions. It also makes the code more readable.
3 years ago
Niels Andriesse 1d1d63c979 Don't auto resubscribe to PNs for muted closed groups 3 years ago
Niels Andriesse 11df899db3 Don't use jobs for open group polling
It's not necessary because we can always get the messages again from the server, and it helps with performance
3 years ago
Niels Andriesse aae11b1c28 Disable PNs for muted closed groups 3 years ago
Niels Andriesse 356dc0cc4f Clean up indentation 3 years ago
Brice-W 2f0fe36905 add expiration timer to configuration message 3 years ago
Niels Andriesse 7bb7edd3c0 Further cleanup 3 years ago
Niels Andriesse b090227a2d Fix potential crash & apply code convention 3 years ago
Brice-W 1f9cd92bce set expiration timer for new group members 3 years ago
nielsandriesse 1041f991fd Fix unnecessary map calls 3 years ago
Brice-W 49c1de8387 clean 3 years ago
Brice-W dbcf19529b fix 3 years ago
Brice-W 9e790986f6 fix closed group corner cases 3 years ago
nielsandriesse bf9d860214 Batch thread updates 3 years ago
nielsandriesse e72c6d4cbd Mark .noThread error as non-retryable 3 years ago
Niels Andriesse 601062c9ef Fix timeSinceLastOpen usage 3 years ago
Brice-W 51ba97827d open group polling limit implementation 3 years ago
Niels Andriesse aa3a18fa7e Don't notify for closed group control messages
This addresses an issue where:

• someone would create a closed group
• on other peoples' devices this control message would be received through a background poll or a push notification
• the received message timestamps table would be updated
• processing wouldn't be finished (during a background poll or while handling a push notification the system can cut you off at any time)
• some of the added users don't see the new closed group because when they open the app and get the control message from their swarm it's considered a duplicate and isn't processed again
3 years ago
Niels Andriesse 3fda8daec9 Merge branch 'dev' into cleanup 3 years ago
nielsandriesse c36cf1a36d Hopefully fix closed group handling bug 3 years ago
nielsandriesse 73eeff3ea1 Debug 3 years ago
nielsandriesse 17688a66e6 Make closed group polling variable rate 3 years ago
Niels Andriesse 16a01ccc00
Merge pull request #405 from oxen-io/open-group-invitations-2
Open Group Invitations
3 years ago
Ryan ZHAO 539b13d189 fix inconsistent voice message durations 3 years ago
Niels Andriesse bd04775cbf Implement open group invitations UI 3 years ago
Niels Andriesse 7e60d3c218 Merge branch 'dev' into cleanup 3 years ago
Niels Andriesse ad801d4f33 Fix threading 3 years ago
nielsandriesse 06f795169b Merge branch 'dev' into cleanup 3 years ago
nielsandriesse 964cb8b326 Fix new deletion method 3 years ago
nielsandriesse 47daf16d5c Merge branch 'dev' into deletion-handling 3 years ago
nielsandriesse 0c864454aa Remove duplicate message server ID tracking 3 years ago
nielsandriesse a098ba7125 Remove unused code 3 years ago
nielsandriesse 955e3abdad Clean up group update handling 3 years ago
nielsandriesse 49f3b9f7db Rename contactIdentifier → contactSessionID 3 years ago
nielsandriesse 21acdfc835 Clean up thread model 3 years ago
Niels Andriesse d742fc1548 Delete V1 OGS & file server 3 years ago
Niels Andriesse fee6861847 Minor refactoring 3 years ago
Niels Andriesse d516aa7ecb Fix profile updating bug 3 years ago
Niels Andriesse c747acfc04 Fix compact poll deletion handling 3 years ago
Niels Andriesse b3f9824b91 Add documentation 3 years ago
Niels Andriesse bd895dbf29 Fix group member adding bug 3 years ago
Niels Andriesse 5021357661 Fix timestamp issue 3 years ago
nielsandriesse accd838017 Merge branch 'dev' into snode-list-updating 3 years ago
Niels Andriesse 5a242ce4e8 Debug 3 years ago
Niels Andriesse 4774123ad4 Update V2 open group poller for compact polling 3 years ago
Niels Andriesse 35bd22f542 Clean 3 years ago
Niels Andriesse 3f1358ac4d Debug 3 years ago
Niels Andriesse beabf0c9c0 Implement closed group logic changes 3 years ago
Niels Andriesse e5216ffe7c Add documentation 3 years ago
Niels Andriesse f6c7e2264d Add documentation 3 years ago
Niels Andriesse 5f37eddfa1 Show a loader while a group is updating 3 years ago
Niels Andriesse f2f5dcdfc2 Implement closed group logic changes 3 years ago
Niels Andriesse 2763ee0d1a Clean 3 years ago
Niels Andriesse 1a12487292 Clean 3 years ago
nielsandriesse a76c43973f Increase TTL & remove PoW 3 years ago
ryanzhao 1893ccac76 use TSIncomingMessage's serverTimastamp to make more sense 3 years ago
ryanzhao b501579917 clean 3 years ago
Ryan ZHAO fcc3c27779 fix unread message count bug 3 years ago
Niels Andriesse 209882fb3e Correctly handle multiple untrusted attachments 3 years ago
nielsandriesse a360fa7721 Merge branch 'dev' into deferred-attachment-downloads 3 years ago
Niels Andriesse 44783ddfef Update ConfigurationMessage for V2 open groups 3 years ago
Niels Andriesse 46fb792c96 Fix file downloading 3 years ago
Niels Andriesse e50f4da63e Update AttachmentDownloadJob & AttachmentUploadJob for V2 open groups 3 years ago
Niels Andriesse 053f581bb2 Fix accidental commit 3 years ago
Niels Andriesse 516f815521 Debug 3 years ago
nielsandriesse c6f4443eed Update more logic for V2 open groups 3 years ago
nielsandriesse e5764264b3 Debug 3 years ago
nielsandriesse 09b4b7d388 Update MessageSender for V2 open groups 3 years ago
nielsandriesse 4c9728b4fe Update other APIs for V2 open groups 3 years ago
Niels Andriesse 960e500acd Don't auto-download attachments from untrusted contacts 3 years ago
Niels Andriesse 54fc54e7b9 Minor refactoring 3 years ago