Commit Graph

44 Commits

Author SHA1 Message Date
Morgan Pretty d863004e6d Added a setting to control community message request polling
Added logic to broadcast the community message request acceptance to SOGS so we can communicate it to message request senders
Fixed an issue where database setting changes wouldn't trigger a live update on a settings screen
Fixed an issue where some setting toggles wouldn't animate the state change
Fixed a rarw force-unwrap crash
2023-08-11 18:02:06 +10:00
Morgan Pretty f30b383bb8 Updated to the latest version of libSession-util
Updated the SharedConfigMessage type to have a TTL of 30 days
Updated the SnodeAPI to have a 'poll' method to be more consistent with the OpenGroupAPI (it also does multiple things now so is cleaner)
Added logic to limit the number of config messages to be retrieved per poll
Added the 'ValidatableResponse' protocol to standardise SnodeAPI response validation
Added the libSession version to the logs
Fixed an issue where the user profile pic wouldn't get synced correctly due to memory going out of scope
Fixed some threading issues
Refactored the thread variants to follow the updated terminology (will think about refactoring other code areas later)
Cleaned up the Combine error handling
Started fixing broken unit tests
2023-02-20 12:56:48 +11:00
Morgan Pretty 07046db4b6 Updated to the latest libSession, fixed a few bugs
Added the logic to sync the last read state for a conversation
Added the legacyClosedGroup thread variant
Updated the config handling to be able to update the 'mergeResult' and require a dump/push due to local changes
Fixed an issue where the name on the CallVC could go off the screen
Fixed an issue where OpenGroup info could sometimes incorrectly get deleted
Fixed an issue where the ConfirmationModal on a SessionTableViewController wouldn't trigger it's action
Fixed an issue where the config handling could incorrectly trigger a contacts update when there were no changes
2023-01-27 14:51:04 +11:00
Morgan Pretty 893967e380 Updated to the latest config lib and added it's unit tests 2022-12-09 13:19:14 +11:00
Morgan Pretty 1345e89809 Further config util logic
Removed the usage of the OWSAES256Key (using CryptoKit and raw data instead)
Removed the pre-compiled headers to speed up builds with minor changes (explicit imports instead)

# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	SessionMessagingKit/Database/Models/ClosedGroup.swift
#	SessionMessagingKit/Protos/Generated/SNProto.swift
#	SessionMessagingKit/Protos/Generated/SessionProtos.pb.swift
#	SessionMessagingKit/Protos/SessionProtos.proto
#	SessionMessagingKit/Sending & Receiving/MessageSender.swift
#	SessionMessagingKit/Sending & Receiving/Pollers/CurrentUserPoller.swift
#	SessionMessagingKit/Utilities/ProfileManager.swift
#	SessionSnodeKit/Models/DeleteAllMessagesRequest.swift
#	SessionSnodeKit/Models/GetMessagesRequest.swift
#	SessionSnodeKit/Models/SendMessageRequest.swift
#	SessionSnodeKit/Types/SnodeAPINamespace.swift
2022-12-07 15:06:15 +11:00
Morgan Pretty 0c09f2bfc5 Fixed a few more QA issues, added a minor feature
Updated the document download UI
Minor font tweaks to match settings more closely
Added profile data to the MessageRequestResponse
Fixed the broken tests
2022-10-03 18:23:34 +11:00
ryanzhao 692df74af6 wip: emoji reacts message cell ui 2022-05-18 17:19:11 +10:00
ryanzhao 651b271ba0 update protobuf 2022-05-17 11:57:34 +10:00
Ryan Zhao 52407aec03 Merge branch 'ipad-support-1' into voice-calls-2 2022-03-02 14:31:31 +11:00
Morgan Pretty ad9282a7b9 Removed 'publicKey' from the MessageRequestResponse and updated logic to use 'message.sender' isntead 2022-02-11 10:47:27 +11:00
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)
2022-02-02 16:59:56 +11:00
Morgan Pretty 0f20c37afa Regenerated the SessionProtos for message requests 2022-01-31 08:56:42 +11:00
ryanzhao 219440f444 update call protobuf 2021-10-05 13:41:39 +11:00
Niels Andriesse 6fdf544368 Implement end call message 2021-08-18 10:33:33 +10:00
Niels Andriesse 1ad42547b2 Batch send ICE candidates 2021-08-17 16:02:20 +10:00
Niels Andriesse 525eb40d8d Make signaling happen using Session messages 2021-08-17 15:41:13 +10:00
Niels Andriesse 030c869d06 Add WebRTC dependency & implement CallMessage 2021-08-10 14:09:45 +10:00
Ryan Zhao dff99cf0fc add unsend request proto 2021-07-30 14:21:30 +10:00
Brice-W c1bd21c3f0 proto updated 2021-06-21 10:51:07 +10:00
Niels Andriesse 7bb7edd3c0 Further cleanup 2021-06-11 11:11:16 +10:00
Brice-W 0b5c1a68ee proto update 2021-06-09 15:37:24 +10:00
nielsandriesse f588b6b611 Fix incorrect protobuf value 2021-06-01 15:05:16 +10:00
Niels Andriesse f3fef34259 Implement proto conversion 2021-05-07 14:53:28 +10:00
Niels Andriesse 0153e1cefd Update protos 2021-05-07 14:46:53 +10:00
Niels Andriesse b1cd34c9b4 Create DataExtractionNotification 2021-03-02 15:00:22 +11:00
Niels Andriesse defb3a751b Update protobuf for data extraction notifications 2021-03-02 15:00:11 +11:00
Niels Andriesse 82690259b2 Clean protobuf 2021-03-02 13:12:24 +11:00
nielsandriesse f488453140 Update configuration message for contacts 2021-02-24 13:49:16 +11:00
nielsandriesse 268971af9a Update protobuf 2021-02-24 13:20:50 +11:00
Niels Andriesse 1b9aa9aea2 Keep things backwards compatible 2021-02-23 11:08:01 +11:00
Niels Andriesse e945a6779f Include profile in configuration sync message 2021-02-23 09:47:38 +11:00
Niels Andriesse 1fda8e4249 Add encryption key pair request message 2021-02-08 13:19:38 +11:00
Niels Andriesse afd7a5a3dc Fix open group message syncing 2021-01-25 16:48:14 +11:00
Niels Andriesse cf333d5e3d Merge branch 'closed-groups' into multi-device 2021-01-25 13:50:18 +11:00
Niels Andriesse b7160cbb11 Clean 2021-01-22 11:07:22 +11:00
Niels Andriesse c9c83da3dc Rename ClosedGroupUpdateV2 → ClosedGroupControlMessage 2021-01-22 10:28:26 +11:00
Niels Andriesse 0e3348dec7 Update protos for explicit group updates 2021-01-22 09:28:44 +11:00
Niels Andriesse eeef067f57 Implement message syncing 2021-01-14 14:57:32 +11:00
nielsandriesse 8ae5db3141 Update protos & create ConfigurationMessage 2021-01-13 11:41:56 +11:00
nielsandriesse 079fb3f165 Re-generate protos 2021-01-12 14:13:09 +11:00
nielsandriesse 6e184022bd Debug 2021-01-12 12:42:52 +11:00
nielsandriesse 8119e40edc Clean up proto definitions 2021-01-12 12:40:34 +11:00
Niels Andriesse da503b0df1 Update Session protocol closed groups logic 2021-01-05 14:54:37 +11:00
nielsandriesse 96bfab5d93 Re-generate protos 2020-11-05 14:56:15 +11:00