Morgan Pretty
8f3dcbc6be
Sorted out a bunch of the config syncing logic
...
Updated the onboarding to attempt to retrieve the current user profile config and skip display name collection if it already exists
Updated the logic to get the snode pool and build paths immediately on launch even if the user hasn't been created yet (faster onboarding)
Removed the iOS-specific concurrent dual snode '/store' behaviour
Cleaned up the profile updating logic
Fixed an issue where the pollers could end up deadlocking the main thread if too many tried to start concurrently
2022-12-16 16:51:08 +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
22130f734e
Removed an unneeded duplicate file
2022-12-08 18:13:12 +11:00
Morgan Pretty
174725c7fd
Removed unneeded imports of libraries to understand usage
...
Refactored some 3rd-part standard encryption to use CryptoKit
Removed the PromiseKit pod
Fixed the broken tests
2022-12-08 18:07:02 +11:00
Morgan Pretty
f1e9412c7a
Added in missing code changes unrelated to closed groups rebuild
2022-12-08 14:21:38 +11:00
Morgan Pretty
70ff2b49f0
Fixed the broken tests and resolved some warnings
...
Stopped migration logs from appearing in unit tests
# Conflicts:
# Session/Settings/RemoveUsersModal.swift
# SessionMessagingKitTests/Open Groups/OpenGroupManagerSpec.swift
# SessionTests/Conversations/Settings/ThreadDisappearingMessagesViewModelSpec.swift
# SessionTests/Conversations/Settings/ThreadSettingsViewModelSpec.swift
2022-12-07 16:05:32 +11:00
Morgan Pretty
ca4ce52402
Fixing the broken unit tests, resolved the remaining TODOs
...
# Conflicts:
# Session.xcodeproj/project.pbxproj
# SessionMessagingKitTests/Open Groups/Models/BatchRequestInfoSpec.swift
# SessionMessagingKitTests/Open Groups/OpenGroupAPISpec.swift
# SessionMessagingKitTests/Open Groups/OpenGroupManagerSpec.swift
# SessionMessagingKitTests/_TestUtilities/TestOnionRequestAPI.swift
# SessionTests/Conversations/Settings/ThreadSettingsViewModelSpec.swift
# SessionUtilitiesKit/Networking/BatchResponse.swift
# SessionUtilitiesKitTests/Networking/BatchResponseSpec.swift
2022-12-07 16:04:31 +11:00
Morgan Pretty
5033738994
Fixed a few issues caused by the PromiseKit refactor
...
Started cleaning up the TODOs
Fixed a couple of merge conflict issues
Fixed a bug with the state of attachments which failed to download
# Conflicts:
# SessionMessagingKit/Database/Models/Attachment.swift
2022-12-07 15:59:17 +11:00
Morgan Pretty
6970ff22cc
Refactored the remaining references to PromiseKit
...
# Conflicts:
# Session.xcodeproj/project.pbxproj
# Session/Media Viewing & Editing/PhotoCapture.swift
# SessionMessagingKit/Jobs/Types/GarbageCollectionJob.swift
# SessionMessagingKit/Sending & Receiving/MessageSender+Convenience.swift
# SessionMessagingKit/Utilities/Promise+Utilities.swift
# SessionShareExtension/ShareVC.swift
# SessionShareExtension/ThreadPickerVC.swift
# SessionSnodeKit/OnionRequestAPI+Encryption.swift
# SessionSnodeKit/OnionRequestAPI.swift
# SessionUtilitiesKit/Database/Storage.swift
# SessionUtilitiesKit/Networking/HTTP.swift
2022-12-07 15:58:53 +11:00
Morgan Pretty
8b37002d89
Removed some unneeded imports
...
# Conflicts:
# SessionMessagingKit/Jobs/Types/AttachmentUploadJob.swift
# SessionMessagingKit/Jobs/Types/MessageSendJob.swift
# SessionShareExtension/SAEScreenLockViewController.swift
# SessionSnodeKit/Models/SnodeBatchRequest.swift
2022-12-07 15:54:56 +11:00
Morgan Pretty
8ac6b25ced
Further refactoring work
...
Refactored usages and removed AFNetworking
Updated the media screens to use Combine
# Conflicts:
# Session/Closed Groups/GroupMembersViewModel.swift
# Session/Media Viewing & Editing/GIFs/GifPickerCell.swift
# Session/Media Viewing & Editing/GIFs/GiphyAPI.swift
# Session/Media Viewing & Editing/PhotoCapture.swift
2022-12-07 15:54:17 +11:00
Morgan Pretty
c9fdee9f24
Work on the PromiseKit refactor
...
# Conflicts:
# Session.xcodeproj/project.pbxproj
# Session/Conversations/ConversationVC+Interaction.swift
# Session/Home/Message Requests/MessageRequestsViewModel.swift
# Session/Notifications/AppNotifications.swift
# Session/Notifications/PushRegistrationManager.swift
# Session/Notifications/SyncPushTokensJob.swift
# Session/Notifications/UserNotificationsAdaptee.swift
# Session/Settings/BlockedContactsViewModel.swift
# Session/Settings/NukeDataModal.swift
# Session/Settings/SettingsViewModel.swift
# Session/Utilities/BackgroundPoller.swift
# SessionMessagingKit/Database/Models/ClosedGroup.swift
# SessionMessagingKit/File Server/FileServerAPI.swift
# SessionMessagingKit/Open Groups/OpenGroupAPI.swift
# SessionMessagingKit/Sending & Receiving/Message Handling/MessageReceiver+ClosedGroups.swift
# SessionMessagingKit/Sending & Receiving/Message Handling/MessageReceiver+UnsendRequests.swift
# SessionMessagingKit/Sending & Receiving/Message Handling/MessageSender+ClosedGroups.swift
# SessionMessagingKit/Sending & Receiving/MessageSender+Convenience.swift
# SessionMessagingKit/Sending & Receiving/MessageSender.swift
# SessionMessagingKit/Sending & Receiving/Notifications/PushNotificationAPI.swift
# SessionMessagingKit/Sending & Receiving/Pollers/ClosedGroupPoller.swift
# SessionMessagingKit/Sending & Receiving/Pollers/CurrentUserPoller.swift
# SessionMessagingKit/Sending & Receiving/Pollers/Poller.swift
# SessionMessagingKit/Utilities/ProfileManager.swift
# SessionSnodeKit/Networking/SnodeAPI.swift
# SessionSnodeKit/OnionRequestAPI.swift
# SessionUtilitiesKit/Networking/HTTP.swift
2022-12-07 15:50:58 +11:00
Morgan Pretty
f5933bdf75
Updated to the latest version of the shared util library
...
# Conflicts:
# Session/Onboarding/Onboarding.swift
2022-12-07 15:08:04 +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
f12191f85e
Updated the ProtoWrappers.py to use Python3 and support more types
2022-12-07 14:40:56 +11:00
Morgan Pretty
ba33d2c95e
Added the logic to create the UserProfile data dump in the migration
2022-12-07 14:40:56 +11:00
Morgan Pretty
f721178b49
Added in a migration to create the user profile config and trigger a sync
...
# Conflicts:
# Session.xcodeproj/project.pbxproj
2022-12-07 14:40:54 +11:00
Morgan Pretty
d03d2ce8ab
Fixed remaining issues, cleaned up memory & logic
...
# Conflicts:
# Session.xcodeproj/project.pbxproj
2022-12-07 14:40:41 +11:00
Morgan Pretty
a1e09d830f
Got test working
2022-12-07 14:40:08 +11:00
Morgan Pretty
edf3bde573
Started working on the integration
...
# Conflicts:
# Session.xcodeproj/project.pbxproj
# SessionMessagingKit/Configuration.swift
# SessionMessagingKit/Database/Migrations/_012_AddClosedGroupInfo.swift
# SessionMessagingKit/Database/Migrations/_013_AutoDownloadAttachments.swift
# SessionMessagingKit/Open Groups/Models/SOGSBatchRequest.swift
# SessionSnodeKit/OnionRequestAPI.swift
# SessionSnodeKit/SSKDependencies.swift
# SessionTests/Conversations/Settings/ThreadDisappearingMessagesViewModelSpec.swift
# SessionTests/Conversations/Settings/ThreadSettingsViewModelSpec.swift
# SessionTests/Settings/NotificationContentViewModelSpec.swift
# SessionUtilitiesKit/Networking/BatchResponse.swift
2022-12-07 14:40:03 +11:00
RyanZhao
ff65c84504
Merge pull request #713 from RyanRory/accessibility-ids-2
...
Add AccessibilityIDs
2022-12-06 15:15:19 +11:00
ryanzhao
b86ea81860
clean
2022-12-06 15:09:22 +11:00
Ryan Zhao
8d64dc1df2
clean
2022-12-05 15:47:05 +11:00
Emily
f1dd8a8a53
Adding accessibility ids for closed group testing, messaging tests, onboarding tests and linked device testing
2022-12-05 15:27:27 +11:00
Morgan Pretty
8abe2a1d74
Increased the version numbers for release
2022-11-30 12:06:39 +11:00
Morgan Pretty
b26dff8d5d
Merge pull request #745 from RyanRory/fix-job-duplicated-run
...
Fix duplicated job running issue
2022-11-30 12:02:53 +11:00
Morgan Pretty
b834dddbe4
Fixed another minor bug, added logging and defensive coding
...
Fixed a bug where you couldn't set animated avatars
Added some defensive coding to prevent the JobRunner queues from adding or starting jobs that don't have id's set
Tweaked the code to be a little more explicit when inserting jobs before other jobs
2022-11-30 11:57:13 +11:00
ryanzhao
09a6a422d0
fix an issue where jobs' ids won't be set correctly and the jobs will be run more than once
2022-11-30 10:13:43 +11:00
Emily
6d36450b83
adding id for message request workflow and configuration message
2022-11-16 12:26:24 -10:00
ryanzhao
ff813e4376
update build number
2022-11-16 16:52:49 +11:00
ryanzhao
9d71ae141b
bump up build & version number
2022-11-16 15:43:55 +11:00
RyanZhao
fbe9e49744
Merge pull request #699 from RyanRory/ipad-landscape-support
...
iPad landscape UI
2022-11-16 15:42:42 +11:00
ryanzhao
47523054b2
slightly reduce max width of media message on iPad
2022-11-16 15:40:49 +11:00
ryanzhao
d827bb2770
fix message request empty state
2022-11-16 13:13:25 +11:00
ryanzhao
0240001201
fix copy and share buttons are getting squashed when switching from landscape to portrait in new DM VC
2022-11-16 10:28:07 +11:00
ryanzhao
02028c36e6
Merge branch 'dev' into ipad-landscape-support
2022-11-16 09:53:25 +11:00
RyanZhao
7e161e30a0
Merge pull request #655 from RyanRory/quote-standardise
...
Quote standardise
2022-11-16 09:52:38 +11:00
RyanZhao
e38db1bd5c
Merge pull request #737 from mpretty-cyro/fix/copy-open-group-url
...
Fixed a bug where copying the open group url wasn't working correctly
2022-11-16 09:52:21 +11:00
RyanZhao
a7f245e6f8
Merge pull request #738 from mpretty-cyro/fix/global-search-crash
...
Fixed a crash which could occur in global search
2022-11-16 09:52:09 +11:00
ryanzhao
ab2dc8deaf
Merge branch 'dev' into quote-standardise
2022-11-15 11:32:45 +11:00
ryanzhao
fe8930405d
Merge branch 'dev' into ipad-landscape-support
2022-11-15 11:32:29 +11:00
Emily
2159ec149e
adding accessibility ids and label to extract session id and recovery phrase and adding ids for message requests workflow
2022-11-14 13:54:33 -10:00
Morgan Pretty
e808f385e8
Fixed a crash which could occur in global search
2022-11-10 15:54:02 +11:00
Morgan Pretty
7cbdca672e
Fixed a bug where copying the open group url wasn't working correctly
2022-11-09 11:07:13 +11:00
Morgan Pretty
1c6592aa6f
Merge pull request #735 from mpretty-cyro/fix/add-pending-message-request-explanation
...
Added some copy to explain disabled buttons for message requests
2022-11-08 11:17:39 +11:00
Morgan Pretty
d740fe32c2
Added some copy to explain disabled buttons for message requests
2022-11-08 09:35:27 +11:00
Morgan Pretty
977da174cd
Merge pull request #732 from mpretty-cyro/fix/general-bug-pass
...
General bug fixing
2022-11-07 10:49:47 +11:00
Morgan Pretty
9dbab87ba4
Actually setting the 'forceBlinded' flag
2022-11-07 10:19:17 +11:00
Morgan Pretty
f4d4e7d810
Fixed an issue with blinding being switched on
...
Fixed an issue where a user that was part of an open group before blinding was enabled wouldn't be able to access the group once blinding was switched on
Updated the code to better support errors sent from SOGS as bencoded data
2022-11-07 10:18:59 +11:00
Morgan Pretty
c934415355
General bug fixing
...
Fixed an issue where the database could get suspended if the app is launched when the app is doing a background fetch
Fixed an incorrectly localized string
Fixed an issue where the author name on a message didn't have it's width constrained
Fixed a bug where the conversation message list inset wasn't getting updated properly in some cases
Tweaked some logic in the OpenGroupPoller when running from the background to try and close some of the odd cases
2022-11-03 17:26:10 +11:00