Morgan Pretty
22130f734e
Removed an unneeded duplicate file
2 years ago
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
2 years ago
Morgan Pretty
f1e9412c7a
Added in missing code changes unrelated to closed groups rebuild
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
Morgan Pretty
f5933bdf75
Updated to the latest version of the shared util library
...
# Conflicts:
# Session/Onboarding/Onboarding.swift
2 years ago
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
2 years ago
Morgan Pretty
f721178b49
Added in a migration to create the user profile config and trigger a sync
...
# Conflicts:
# Session.xcodeproj/project.pbxproj
2 years ago
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
2 years ago
RyanZhao
ff65c84504
Merge pull request #713 from RyanRory/accessibility-ids-2
...
Add AccessibilityIDs
2 years ago
Ryan Zhao
8d64dc1df2
clean
2 years ago
Emily
f1dd8a8a53
Adding accessibility ids for closed group testing, messaging tests, onboarding tests and linked device testing
2 years ago
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
2 years ago
Emily
6d36450b83
adding id for message request workflow and configuration message
2 years ago
ryanzhao
47523054b2
slightly reduce max width of media message on iPad
2 years ago
ryanzhao
d827bb2770
fix message request empty state
2 years ago
ryanzhao
0240001201
fix copy and share buttons are getting squashed when switching from landscape to portrait in new DM VC
2 years ago
ryanzhao
02028c36e6
Merge branch 'dev' into ipad-landscape-support
2 years ago
RyanZhao
7e161e30a0
Merge pull request #655 from RyanRory/quote-standardise
...
Quote standardise
2 years ago
ryanzhao
ab2dc8deaf
Merge branch 'dev' into quote-standardise
2 years ago
ryanzhao
fe8930405d
Merge branch 'dev' into ipad-landscape-support
2 years ago
Emily
2159ec149e
adding accessibility ids and label to extract session id and recovery phrase and adding ids for message requests workflow
2 years ago
Morgan Pretty
7cbdca672e
Fixed a bug where copying the open group url wasn't working correctly
2 years ago
Morgan Pretty
d740fe32c2
Added some copy to explain disabled buttons for message requests
2 years ago
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
2 years ago
Morgan Pretty
1b350cf422
Fixed a number of crashes
...
Consolidated the PagedDatabaseObserver updating logic into a static function (can be improved further in the future)
Added defensive coding to prevent the LinkDeviceVC from crashing when the nav controller doesn't exist
Fixed an issue where the 'Permissions' callbacks were doing UI logic on background threads
Fixed an issue where the 'reloadCurrent' load type for the PagedDatabaseObserver was incorrectly increasing the 'currentCount' of the PageInfo
Fixed an issue where loading all of the data for paged data could result in a crash when the 'loadMore' section was removed
2 years ago
Morgan Pretty
89df1261e3
Added a method to allow safer database inserts
...
Fixed an issue where the app settings were updating immediately making them seem to
Updated GRDB to version 6.1 and SQLCipher to 4.5.2
Added a method which allows for inserting into the database while omitting columns which exist in the object but not in the database (so allow for old migrations to run with less issues)
Updated all the migrations to use the migration safe insert method
Removed some ObjC support extension functions
2 years ago
ryanzhao
981621738a
Merge branch 'dev' into quote-standardise
2 years ago
ryanzhao
4083b2fb2d
Merge branch 'dev' into ipad-landscape-support
2 years ago
ryanzhao
1ff5a69f50
Merge branch 'dev' into accessibility-ids-2
2 years ago
ryanzhao
265659c8cb
add accessibility labels for automation test
2 years ago
Morgan Pretty
c38a660d2f
Updated the pinned icon to use "Text Secondary" for it's tint colour
2 years ago
Morgan Pretty
f8b803a9db
Merge remote-tracking branch 'upstream/dev' into fix/theming-tweaks
2 years ago
Morgan Pretty
d8fd3b35b4
Theming tweaks and bug fixes
...
Made a tweak to prevent some odd looking keyboard transitions when going to conversation settings
Updated the PagedDatabaseObserver to not call 'onChangeUnsorted' on the main thread (now we can generate the changeset on the background thread so there is less main thread work)
Fixed an issue where the most recently received message from the swarm could be removed from the swarm yet the app would still poll for it, resulting in the swarm always returning the oldest possible messages until the user sends a new one-to-one message
Fixed an issue where the initial scroll offset could be incorrect due to certain message types
Fixed an issue where the title view inside a conversation could jump when pushing to the conversation settings screen
Refactored a couple of ObjC functions to Swift as they were crashing (due to memory allocation?) hopefully this will fix it
Tweaked some DispatchQueue priorities to ensure PagedDatabaseObserver loading is prioritised
Updated buttons to use a standard convention for highlighted states
Updated the new conversation button to follow the new highlighted state convention
2 years ago
ryanzhao
48c0c06c4b
cherry pick bacd call fix & clean
2 years ago
ryanzhao
85147551cf
Merge branch 'dev' into quote-standardise
2 years ago
ryanzhao
de9a408ed2
Merge branch 'dev' into ipad-landscape-support
2 years ago
Morgan Pretty
b54700575f
Tweaked a couple of layout issues in the visible message
2 years ago
Morgan Pretty
e16180c007
Removed commented code and fixed a minor layout issue on SE devices
2 years ago
Ryan Zhao
98c5c996fc
clean
2 years ago
Ryan Zhao
d9ea06008b
clean
2 years ago
Ryan Zhao
be670a5516
clean
2 years ago
Ryan Zhao
b7616dea0b
clean
2 years ago
Ryan Zhao
9a5c7632c7
Merge branch 'dev' into ipad-landscape-support
2 years ago
Ryan Zhao
27214e8478
fix NewDMVC
2 years ago