Commit Graph

1723 Commits (70f8d45a393aa227d5ebaa478cd01968868151d9)

Author SHA1 Message Date
Ryan ZHAO 70f8d45a39 fix a bunch of strings 7 months ago
Ryan ZHAO fcc5a36883 update disappearing messages type localized name logic 7 months ago
Ryan ZHAO 5d03a8057e clean 7 months ago
Ryan ZHAO ca5c979f8f Merge branch 'dev' into standardised-strings 7 months ago
Morgan Pretty 67830ed767 Fixed a legacy group message decryption issue
Fixed a bug where we were incorrectly generating and requiring 64 byte secrets for legacy groups (we only need 32 bytes), since we do length checks before calling the libSession C API (to prevent crashes) we would fail before attempting to decrypt because the key was too short
7 months ago
Ryan ZHAO 771b21a96d Merge branch 'dev' into standardised-strings 7 months ago
Morgan Pretty 027ce1604d Fixed a few issues found during QA
• Fixed an issue where incoming legacy group messages were failing to decrypt
• Fixed an issue where decoding push notifications could result in an infinite loop
• Fixed an issue where the extensions would incorrectly try to append extension logs (only want the main app to do this)
• Updated the accessibility ids for the switches and radios on the privacy and disappearing message settings screens
8 months ago
Ryan ZHAO 6d27ef0dfa fix an issue there attachment error modal won't show up 8 months ago
Morgan Pretty 5da842a109 Fixed an issue where joinedAt wasn't getting set for legacy groups 8 months ago
Morgan Pretty 2bcd8e28ab Merge remote-tracking branch 'upstream/dev' into standardised-strings
# Conflicts:
#	Scripts/LintLocalizableStrings.swift
#	Session.xcodeproj/project.pbxproj
#	Session/Closed Groups/EditClosedGroupVC.swift
#	Session/Conversations/ConversationVC+Interaction.swift
#	Session/Conversations/Message Cells/Content Views/QuoteView.swift
#	Session/Conversations/Settings/ThreadDisappearingMessagesSettingsViewModel.swift
#	Session/Conversations/Settings/ThreadSettingsViewModel.swift
#	Session/Conversations/Views & Modals/ConversationTitleView.swift
#	Session/Home/GlobalSearch/GlobalSearchViewController.swift
#	Session/Media Viewing & Editing/GIFs/GifPickerViewController.swift
#	Session/Media Viewing & Editing/PhotoCaptureViewController.swift
#	Session/Media Viewing & Editing/PhotoLibrary.swift
#	Session/Notifications/UserNotificationsAdaptee.swift
#	Session/Open Groups/JoinOpenGroupVC.swift
#	Session/Settings/NukeDataModal.swift
#	Session/Shared/ScanQRCodeWrapperVC.swift
#	SessionMessagingKit/Database/Models/Attachment.swift
#	SessionMessagingKit/Database/Models/DisappearingMessageConfiguration.swift
#	SessionMessagingKit/Database/Models/RecipientState.swift
#	SessionMessagingKit/Sending & Receiving/Attachments/SignalAttachment.swift
#	SessionShareExtension/ShareNavController.swift
#	SessionShareExtension/ThreadPickerVC.swift
#	SessionUIKit/Components/TopBannerController.swift
#	SessionUtilitiesKit/General/String+Utilities.swift
#	SessionUtilitiesKit/Networking/IPv4.swift
#	SignalUtilitiesKit/Media Viewing & Editing/Attachment Approval/AttachmentApprovalInputAccessoryView.swift
#	SignalUtilitiesKit/Media Viewing & Editing/Attachment Approval/AttachmentApprovalViewController.swift
#	SignalUtilitiesKit/Media Viewing & Editing/Attachment Approval/AttachmentCaptionToolbar.swift
#	SignalUtilitiesKit/Screen Lock/ScreenLock.swift
8 months ago
Morgan Pretty 07cbbbbd94 Fixed compile issue and bumped version number 8 months ago
Morgan Pretty 2032dafc74 Merge remote-tracking branch 'upstream/dev' into feature/swift-package-manager
# Conflicts:
#	SessionMessagingKit/Sending & Receiving/Message Handling/MessageReceiver+ExpirationTimers.swift
#	SessionMessagingKit/Sending & Receiving/MessageReceiver.swift
#	SessionSnodeKit/Networking/SnodeAPI.swift
#	SessionUtilitiesKit/Media/DataSource.h
#	SessionUtilitiesKit/Media/DataSource.m
8 months ago
Morgan Pretty 2b9412164d
Merge pull request #1002 from mpretty-cyro/fix/no-version-check-when-testing
Added code to defer the CheckForAppUpdatesJob when running tests or sim
8 months ago
Morgan Pretty 432238debe
Merge pull request #970 from RyanRory/disappearing-messages-v2-post-enabling
Cleaning up legacy disappearing messages
8 months ago
Morgan Pretty af463d874e Merge remote-tracking branch 'upstream/dev' into fix/minor-deadlock-improvements
# Conflicts:
#	SessionMessagingKit/Sending & Receiving/Pollers/OpenGroupPoller.swift
8 months ago
Morgan Pretty 009c017ca2
Merge pull request #995 from RyanRory/observing-sogs-permission-change
Show message input box when permission changed in a convo
8 months ago
Morgan Pretty 31ae994941 Added Keychain migration code just in case (really shouldn't be needed) 8 months ago
Ryan ZHAO 5ee048330b plurals and fix some strings 8 months ago
Morgan Pretty b451d1ac04 Added code to defer the CheckForAppUpdatesJob when running tests or sim 8 months ago
Morgan Pretty bef27ee0c7 Fixed build issues resulting from rebase after Onboarding 8 months ago
Morgan Pretty e773550d0a Fixed issues with sending sync messages and uploading attachments 8 months ago
Morgan Pretty ed34ebcae9 Fixed the share extension and moved the WebRTC logic
Moved the WebRTC dependency out of SessionMessagingKit and into the main Session app (it's the only one that used it and it was causing library linker issues in the share extension because it wasn't directly linked)
8 months ago
Morgan Pretty b5a61704e3 Fixed a few c conversions which could crash if they failed 8 months ago
Morgan Pretty c69f3cd71a Resolved a TODO I had missed 8 months ago
Morgan Pretty 25c1fb6b45 Fixed the unit tests 8 months ago
Morgan Pretty ce01f128f3 Replaced Cocoapods with Swift Package Manager for dependency management 8 months ago
Morgan Pretty 450613de17 A few more changes resulting from the merge 8 months ago
Morgan Pretty da6c407e9f Minor tweaks 8 months ago
Ryan ZHAO b198699c4f refactor and clean up on Expiration Timer Update messages 8 months ago
Ryan ZHAO ad03d2a3ff WIP: refactor expiration update message 8 months ago
Ryan ZHAO d997122f8f WIP: clean up stage 2 8 months ago
Ryan ZHAO 07389bf592 clean up stage 1 8 months ago
Morgan Pretty d5c756caa3 Fixed a SignalAttachment hash uniqueness issue, fixed attachment UX issues
• Fixed an issue where you could select 0 attachments and go to the "send attachment" screen
• Fixed an issue where returning from the "send attachment" screen wouldn't have the initially selected attachment selected
• Added a uniqueId to the DataSource so instances can be better distinguished from each other (not ideal as the same file would have separate identifiers)
8 months ago
Ryan ZHAO 003816117f Merge branch 'dev' into standardised-strings 8 months ago
Morgan Pretty 2098cb32dd Number of fixes and tweaks related to the deadlock issue
• Fixed some cases where errors weren't being displayed correctly
• Tweaked the "nodeNotFound" error to be a bit more human readable
• Tweaked the BackgroundPoller timeout to have a 5 second buffer instead of a 1 second buffer
• Moved the lastHash pruning into the GarbageCollectionJob instead of the pre-poll fetching to avoid needing to use a write query before polling
• Reworked the Pollers to make their database queries part of the polling stream (and as such, cancellable)
8 months ago
Ryan ZHAO 2642cc785b trigger an update when user permission change on sogs 8 months ago
Morgan Pretty 6a838a486c Fixed an issue where the blocked contacts screen might not show values 8 months ago
Morgan Pretty d4e66dde14 Fixed a few more issues found during testing
• Fixed an issue where the conversation 'created' timestamp wasn't correctly getting set when creating a group
• Fixed an issue where sending a message to 'Note to Self' may not show the conversation in the conversation list
• Fixed an issue where sharing a message with an attachment might not include the attachment
• Fixed an issue where list paging wouldn't work in some cases after values were inserted into the database after the currently loaded pages
• Added some handling for invalid 'joinedAt' values for groups (seems like we can have an incorrect resolution)
8 months ago
Morgan Pretty 3676f63cb0 Fixed some bugs found during QA
• Fixed a bug where the onboarding wouldn't be considered complete after successfully retrieving a displayName when restoring an account
• Fixed a couple of libSession networking bugs
• Tweaked some logging
• Removed some legacy code
8 months ago
Morgan Pretty ae2561502b Merged 2.6.3 changes and minor bug fixes
• Fixed an issue where attachments in communities weren't downloading
• Attempted to fix an occasional build issue due to an order-of-execution issue with processing the Info.plist files
• Updated to the latest `libSession` version (include 2.6.3 changes)
8 months ago
Morgan Pretty ed472f44c5 Merge remote-tracking branch 'upstream/dev' into release/2.6.3
# Conflicts:
#	Session/Meta/AppDelegate.swift
#	Session/Onboarding/LandingVC.swift
#	Session/Onboarding/LinkDeviceVC.swift
#	Session/Onboarding/RegisterVC.swift
#	Session/Onboarding/RestoreVC.swift
9 months ago
Morgan Pretty 234694b292 Fixed a couple of BackgroundPoller behaviours
• Fixed an issue where the BackgroundPoller would fail if a single destination failed
  - This would suspend the network, then the other pending requests would error and automatically retry, attempting to create a new connection which could loop a number of times rapidly since the network was suspended
• Fixed an issue where the BackgroundPoller could incorrectly try to write to the database after it had been suspended
9 months ago
Morgan Pretty 65807ec6d3 Further fixes
• Updated the pollers to NOT take the duration of the previous poll into account when scheduling the next poll
• Updated to the latest `libSession` version (a few optimisations/fixes)
• Fixed a minor layout issue with the attribution label on the Path screen
9 months ago
Morgan Pretty f7dcd47c0c Fixed a few more minor bugs and updated GeoLite2 data
• Updated the GeoLite2 country database data, added some basic localisation to it
• Managed to optimise the size of the GeoLite2 data bundled with the app (10mb -> 8mb)
• Cleaned up the IP2Country logic a little
• Removed some pluralisation from logs (want the logs to be identical outside of numbers)
• Tweaked the PushRegistrationManager to actually timeout
9 months ago
Morgan Pretty a8d9200ef5 Fixed a few more bugs
• Fixed an issue where excessive job failures could result in jobs not running onLaunch or onActive as expected (extended network issues resulted in the default communities not getting fetched)
• Fixed an issue where the PathVC could end up in a weird state after the IP2Country cache gets updated
• Fixed an issue where LinkPreview caching was incorrectly case sensitive
• Fixed an issue where the IP2Country might load it's cache on the wrong thread
• Added the ability to copy the file path to the log file when exporting on the simulator
• Updated the Request type to correctly encode a body of 'Data' type when given (would previously incorrectly encode it as JSON)
9 months ago
Morgan Pretty 25150f931e Logging improvements, incorrect version number fix 9 months ago
Ryan ZHAO 19b4055a2e Merge branch 'onboarding' into standardised-strings 9 months ago
Ryan ZHAO d1483bc1a7 fix an issue where global search/contact list - outgoing message request does not show up in the contact list 9 months ago
Morgan Pretty 1fd65230b7 Fixed the broken unit tests
• Added a method to customise mock parameter summaries for unit tests
• Pulled across the updated libSession cache logic
9 months ago
Ryan ZHAO 572e5ceb7d fix an issue where 100 bytes string won't pass the display name length test 9 months ago