Morgan Pretty
c3b855646f
Merge branch 'dev' into feature/session-id-blinding-part-2
...
# Conflicts:
# Session.xcodeproj/project.pbxproj
# Session/Conversations/Views & Modals/JoinOpenGroupModal.swift
# Session/Open Groups/JoinOpenGroupVC.swift
# Session/Settings/SettingsVC.swift
# SessionMessagingKit/Sending & Receiving/MessageReceiver+Handling.swift
# SessionMessagingKit/Sending & Receiving/MessageReceiver.swift
4 years ago
Ryan Zhao
49d6a64194
Merge branch 'remove-OWSBlockingManager' into voice-calls-2
4 years ago
Morgan Pretty
5ca227434b
Merge branch 'dev' into feature/session-id-blinding-part-2
...
# Conflicts:
# Session.xcodeproj/project.pbxproj
# Session/Utilities/BackgroundPoller.swift
# SessionMessagingKit/Database/Storage+OpenGroups.swift
# SessionMessagingKit/Messages/Control Messages/ConfigurationMessage+Convenience.swift
# SessionMessagingKit/Open Groups/OpenGroupAPIV2.swift
# SessionMessagingKit/Open Groups/OpenGroupManagerV2.swift
# SessionMessagingKit/Sending & Receiving/MessageSender.swift
# SessionMessagingKit/Sending & Receiving/Pollers/OpenGroupPollerV2.swift
# SessionMessagingKit/Sending & Receiving/Pollers/Poller.swift
# SessionMessagingKit/Storage.swift
# SessionMessagingKit/Utilities/General.swift
# SessionSnodeKit/SnodeAPI.swift
# SessionUtilitiesKit/General/Atomic.swift
4 years ago
Morgan Pretty
7165b9e4f6
Merge branch 'dev' into feature/remove-OWSBlockingManager
...
# Conflicts:
# Session/Conversations/ConversationVC+Interaction.swift
# Session/Meta/AppDelegate.swift
# SessionMessagingKit/Messages/Control Messages/ConfigurationMessage+Convenience.swift
# SessionMessagingKit/Sending & Receiving/MessageReceiver+Handling.swift
4 years ago
Ryan Zhao
fdde7e4fe0
Merge branch 'fix/tweaks-to-config-message-generation' of https://github.com/mpretty-cyro/session-ios into bug-fix-for-call
4 years ago
Morgan Pretty
3663e63bc7
Swapped the Config message 'filter' to a 'compactMap' because apparently that doesn't crash
4 years ago
Morgan Pretty
212c5e87aa
Re-added the transaction requirement when generating the current config message
4 years ago
Morgan Pretty
29c53223e0
More tweaks to fix crash
...
Wrapped the force sync calls within their own Storage.write blocks to ensure they have the latest data and aren't accessing a transaction completed in a different thread
Reverted a number of the unneeded changes
4 years ago
Ryan Zhao
cef9a2a076
Merge branch 'fix/tweaks-to-config-message-generation' of https://github.com/mpretty-cyro/session-ios into bug-fix-for-call
4 years ago
Morgan Pretty
7aa1221987
Tweaks to the ConfigurationMessage generation logic
...
Removed force unwraps
Updated the closed group storage methods to take a transaction parameter
4 years ago
Morgan Pretty
78c0d000be
Removed the OWSBlockingManager replacing it with the config sync
...
Fixed an issue where the "block" button would appear in the NoteToSelf swipe menu
Removed the OWSBlockingManager and supporting files
Removed a number of unused classes and methods
Refactored the BlockListUIUtils to Swift
4 years ago
Ryan Zhao
37614fe3d8
Merge branch 'dev' into voice-calls-2
4 years ago
Morgan Pretty
d4c0acb2a7
Updated the configuration message to sync the blocked state correctly
4 years ago
Morgan Pretty
c415fc9e06
Merge branch 'dev' into feature/session-id-blinding-part-2
...
# Conflicts:
# Session/Open Groups/OpenGroupSuggestionGrid.swift
# SessionMessagingKit/Open Groups/OpenGroupAPIV2+ObjC.swift
# SessionMessagingKit/Open Groups/OpenGroupAPIV2.swift
# SessionMessagingKit/Open Groups/OpenGroupManagerV2.swift
4 years ago
Ryan Zhao
a31fb7f957
Merge branch 'dev' into voice-calls-2
4 years ago
Ryan Zhao
30e1f34782
fix configuration message may include contacts that shouldn't be visible
4 years ago
Ryan Zhao
5762445128
Merge branch 'ipad-support-1' into voice-calls-2
4 years ago
Morgan Pretty
d298bcdb4e
Merge branch 'dev' into feature/session-id-blinding-part-2
...
# Conflicts:
# Session.xcodeproj/project.pbxproj
# Session/Utilities/ContactUtilities.swift
# SessionUtilitiesKit/General/Array+Utilities.swift
4 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)
4 years ago
Ryan Zhao
52407aec03
Merge branch 'ipad-support-1' into voice-calls-2
4 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
4 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
4 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
4 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
4 years ago
Morgan Pretty
ad9282a7b9
Removed 'publicKey' from the MessageRequestResponse and updated logic to use 'message.sender' isntead
4 years ago
Morgan Pretty
394b0646a3
Updated the code to support additional session id prefixes
4 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)
4 years ago
Ryan Zhao
c820212115
extend call message ttl to 14 days
4 years ago
Ryan Zhao
0c2027d7c8
fix call message self send valid
4 years ago
Ryan Zhao
81dd4557a5
sync answer and end call message
4 years ago
ryanzhao
219440f444
update call protobuf
4 years ago
ryanzhao
3b545ca618
Merge branch 'dev' of https://github.com/oxen-io/session-ios into voice-calls-2
4 years ago
ryanzhao
49688c0a2d
potentially fix a crash when setting nickname from null
4 years ago
Niels Andriesse
3584a0e357
Fix call message TTL
4 years ago
Niels Andriesse
b3ead76221
Debug
4 years ago
Niels Andriesse
6fdf544368
Implement end call message
4 years ago
Niels Andriesse
3206ce380e
Rename WebRTCWrapper → WebRTCSession
4 years ago
Niels Andriesse
b3af41e2fc
Debug
4 years ago
Niels Andriesse
1ad42547b2
Batch send ICE candidates
4 years ago
Niels Andriesse
525eb40d8d
Make signaling happen using Session messages
4 years ago
Niels Andriesse
030c869d06
Add WebRTC dependency & implement CallMessage
4 years ago
Ryan Zhao
b827b9e1ba
make it work for multi device
4 years ago
Ryan Zhao
dff99cf0fc
add unsend request proto
4 years ago
Niels Andriesse
356dc0cc4f
Clean up indentation
4 years ago
Brice-W
2f0fe36905
add expiration timer to configuration message
4 years ago
Brice-W
a840d61f4e
delete obsolete code
4 years ago
Niels Andriesse
7bb7edd3c0
Further cleanup
4 years ago
Niels Andriesse
b090227a2d
Fix potential crash & apply code convention
4 years ago
Brice-W
1f9cd92bce
set expiration timer for new group members
4 years ago
Niels Andriesse
bd04775cbf
Implement open group invitations UI
5 years ago
nielsandriesse
a76c43973f
Increase TTL & remove PoW
5 years ago
Niels Andriesse
b1cd34c9b4
Create DataExtractionNotification
5 years ago
Niels Andriesse
82690259b2
Clean protobuf
5 years ago
nielsandriesse
2d6bf235d7
Sync expiration timer updates
5 years ago
nielsandriesse
f488453140
Update configuration message for contacts
5 years ago
Niels Andriesse
1b9aa9aea2
Keep things backwards compatible
5 years ago
Niels Andriesse
e945a6779f
Include profile in configuration sync message
5 years ago
nielsandriesse
1924e01edc
Merge branch 'multi-device' into ui
5 years ago
nielsandriesse
dd56da7619
Merge branch 'closed-groups' into multi-device
5 years ago
nielsandriesse
ece564988e
Allow self-sending of closed group control messages
5 years ago
Niels Andriesse
90e53e5cef
Redesign conversation screen part 1
5 years ago
Niels Andriesse
1fda8e4249
Add encryption key pair request message
5 years ago
Niels Andriesse
82cbf2ab41
Clean
5 years ago
Niels Andriesse
585fabca03
Debug
5 years ago
Niels Andriesse
6b7b158000
Debug
5 years ago
Niels Andriesse
cf333d5e3d
Merge branch 'closed-groups' into multi-device
5 years ago
Niels Andriesse
b7160cbb11
Clean
5 years ago
Niels Andriesse
c9c83da3dc
Rename ClosedGroupUpdateV2 → ClosedGroupControlMessage
5 years ago
Niels Andriesse
9ea1ccd0c2
Update ClosedGroupUpdate for new message types
5 years ago
Niels Andriesse
74fd3eb812
Partially implement message syncing
5 years ago
nielsandriesse
9eefc21eb9
Periodically send configuration messages
5 years ago
nielsandriesse
8ae5db3141
Update protos & create ConfigurationMessage
5 years ago
Niels Andriesse
d5228abea9
Update notification extension for V2 closed group updates
5 years ago
nielsandriesse
d5e1237b0c
Allow admins to leave & fix remaining issues
5 years ago
Niels Andriesse
0d01480cd0
Debug
5 years ago
Niels Andriesse
ee1d4b1bd5
Debug & make UI clearer
5 years ago
Niels Andriesse
da503b0df1
Update Session protocol closed groups logic
5 years ago
Niels Andriesse
71758b0c00
Remove the Signal protocol
5 years ago
nielsandriesse
d3f0ed81f7
Fix another compatibility issue
5 years ago
nielsandriesse
bc4be99070
Fix Android compatibility issue
5 years ago
nielsandriesse
f504965dfa
Set group context
...
Android needs this
5 years ago
Niels Andriesse
efe8f1c8bb
Clean
5 years ago
Niels Andriesse
3f5bc18f6b
Fix remaining TODOs
5 years ago
nielsandriesse
d6c115bc2a
Fix module linking issue
5 years ago
Niels Andriesse
3eae001202
Fix disappearing messages
5 years ago
Niels Andriesse
c4e0b45b33
Send expiration timer updates again
5 years ago
Niels Andriesse
4942da1d23
Send read receipts again
5 years ago
nielsandriesse
b218a16b05
Implement attachment downloading
5 years ago