Commit Graph

289 Commits

Author SHA1 Message Date
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'
2022-02-11 16:48:16 +11:00
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
2022-02-10 11:17:41 +11:00
Morgan Pretty 394b0646a3 Updated the code to support additional session id prefixes 2022-02-08 16:37:01 +11:00
Morgan Pretty cd61fb8df0 Merge branch 'dev' into feature/message-requests
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	SignalUtilitiesKit/Utilities/UIColor+Extensions.swift
2022-02-04 11:49:54 +11:00
Ryan Zhao 69e464e8ae bump up version & build number 2022-02-03 16:33:26 +11:00
Morgan Pretty 4d62ddbd77 Merge branch 'dev' into fix/safari-sharing
# Conflicts:
#	Podfile.lock
2022-02-03 08:32:17 +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
Ryan Zhao 18fea4ab73 Merge branch 'dev' into global-search 2022-01-27 15:43:54 +11:00
Morgan Pretty 09d63456b6 Merge branch 'dev' into fix/safari-sharing
# Conflicts:
#	Podfile
#	Podfile.lock
#	Session.xcodeproj/project.pbxproj
2022-01-27 15:17:28 +11:00
Ryan Zhao 85c4b3d745 show recent search result as default for global search screen 2022-01-27 14:19:07 +11:00
Ryan Zhao 68ec1654e8 rebuild global search UI 2022-01-25 15:04:11 +11:00
Morgan Pretty 03fb5cbeeb Cleanup and tweaks
Fixed some compilation issues.
Removed an unused dependency.
Cleaned up the Podfile to minimise duplication.
Pointed at an oxen fork of SignalCoreKit instead of a personal one.
2022-01-25 12:05:45 +11:00
ryanzhao fed1218538 WIP: global search UI 2022-01-14 16:41:36 +11:00
Morgan Pretty 61f809caee Fixed a couple of bugs and started UI refactoring
Refactored the UI creation and layout code in the attachments UI.
Started refactoring the UI in the MediaMessageView (converting the existing stuff and will then consolidate when done).
Fixed a bug where playing a video attachment would result in the zoom continually getting reset.
Fixed a bug where the attachment zoom scale would randomly change causing odd behaviours.
2022-01-12 16:57:04 +11:00
Morgan Pretty 4f3faa28bc Refactored SessionShareExtension code to Swift 2022-01-11 12:38:19 +11:00
Ryan Zhao 7a22c9d329 update build number 2021-12-16 16:24:23 +11:00
Ryan Zhao 19cb916fa1 update version & build number 2021-12-16 13:28:28 +11:00
Ryan Zhao d754311395 update version & build number 2021-12-06 09:50:47 +11:00
ryanzhao 365231f309 update build number 2021-10-27 13:51:56 +11:00
ryanzhao e529e68cb2 update build number 2021-10-22 14:38:33 +11:00
ryanzhao a31700865a update build number 2021-10-19 15:12:30 +11:00
ryanzhao ecf92ceeea fix PN sound settings not applying to remote PNs 2021-10-19 15:11:47 +11:00
ryanzhao e51bd3b819 update version number 2021-10-19 13:52:19 +11:00
ryanzhao 0eba1eb14f update build number 2021-10-07 10:58:09 +11:00
ryanzhao 36f3f83298 update build number 2021-10-05 15:46:36 +11:00
ryanzhao c85b9020b9 update version number 2021-10-04 16:27:28 +11:00
ryanzhao 7aa751ca45 share log files in settings vc 2021-10-01 09:18:40 +10:00
ryanzhao 5ccb84bcf0 update build number 2021-09-20 10:04:00 +10:00
ryanzhao 7e89c28038 update build number 2021-09-17 16:24:51 +10:00
ryanzhao bfe24ee7bb update version number 2021-09-17 15:41:38 +10:00
ryanzhao e049d05891 update translations 2021-09-15 15:07:18 +10:00
ryanzhao d60bbdb315 update build number 2021-09-03 11:03:16 +10:00
ryanzhao a25ef77f9a update version number 2021-09-02 11:38:00 +10:00
Niels Andriesse d6f1553050 Update build number 2021-08-20 10:31:15 +10:00
Niels Andriesse fff117e633 Update build number 2021-08-20 10:20:23 +10:00
Niels Andriesse cb2fb4497d Update version number 2021-08-19 15:57:44 +10:00
Niels Andriesse e226b9a273 Fix copyright notice 2021-08-18 13:45:04 +10:00
Niels Andriesse 9e70432ec9 Update project settings 2021-08-12 13:30:14 +10:00
Niels Andriesse 72469f78f1 Fix organization name 2021-08-12 11:06:04 +10:00
ryanzhao 03fde557fc Merge branch 'dev' of https://github.com/oxen-io/session-ios into unsend-message 2021-08-09 15:08:11 +10:00
Niels Andriesse 530bb7983a Update version number 2021-08-09 14:54:47 +10:00
Ryan Zhao 6e45aed71b Merge branch 'dev' of https://github.com/oxen-io/session-ios into unsend-message 2021-08-05 13:34:17 +10:00
Ryan Zhao eaab6ee22d deleted message UI in conversation screen 2021-08-05 13:34:07 +10:00
Ryan Zhao ab492d5304 Merge branch 'dev' of https://github.com/oxen-io/session-ios into unsend-message 2021-08-05 11:51:31 +10:00
Niels Andriesse 29acca574c Update build number 2021-08-05 10:48:24 +10:00
Niels Andriesse d76d04d0f5 Merge branch 'dev' into conversation-ui 2021-08-05 09:23:23 +10:00
Niels Andriesse 1dc463a9ed Update build number 2021-08-05 09:21:20 +10:00
ryanzhao dd2f8c7df9 Merge branch 'dev' of https://github.com/oxen-io/session-ios into unsend-message 2021-08-04 09:08:10 +10:00
Niels Andriesse 7043e83ea3 Merge branch 'dev' into conversation-ui 2021-08-03 16:08:34 +10:00
Niels Andriesse c132b16d01 Update build number 2021-08-03 15:45:04 +10:00