Commit Graph

16907 Commits

Author SHA1 Message Date
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
Morgan Pretty 91eff4fe39
Merge pull request #718 from mpretty-cyro/fix/migration-and-release-issues
Fix migration issues and theming crashes
2022-10-24 17:17:56 +11:00
Morgan Pretty 8907a33675 Fixed the broken unit tests
Increased the build & version numbers
2022-10-24 17:12:02 +11:00
Morgan Pretty 301ae76b0f Updated the OpenGroupAPI to always use authentication and default to blinded when no capabilities are present 2022-10-24 15:24:46 +11:00
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
2022-10-24 14:52:28 +11:00
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
2022-10-21 17:32:51 +11:00
ryanzhao 981621738a Merge branch 'dev' into quote-standardise 2022-10-19 16:14:20 +11:00
ryanzhao 4083b2fb2d Merge branch 'dev' into ipad-landscape-support 2022-10-19 16:14:06 +11:00
ryanzhao 1ff5a69f50 Merge branch 'dev' into accessibility-ids-2 2022-10-19 16:13:53 +11:00
ryanzhao 265659c8cb add accessibility labels for automation test 2022-10-19 16:13:21 +11:00