Commit Graph

19258 Commits (9ed91f2eeba946a310db53bf4d0a11befcdb8b7e)
 

Author SHA1 Message Date
Morgan Pretty 8db12faedb
Merge pull request #371 from session-foundation/feature/update-crowdin-translations
[Automated] Update translations from Crowdin
2 months ago
Morgan Pretty d91af1b5b6 Fixed a few bugs
• Updated to the latest libSession
• Fixed some warnings
• Fixed a compilation issue on non-debug builds
• Fixed an issue with the dev settings data importer when ignoring hidden files from old exports (wouldn't move the inputStream forward correctly resulting in a crash)
• Fixed an issue where the swarm poller wasn't included synchronously processed messages in it's publisher output
2 months ago
Morgan Pretty 811528bfd5
Merge pull request #21 from mpretty-cyro/fix/refactor-migrations
Refactored the migrations to avoid an anti-pattern
2 months ago
Morgan Pretty 28c06d0e2b Removed more unused code, tweak to speed up test compilation 2 months ago
mpretty-cyro 5653688cbf [Automated] Update translations from Crowdin 2 months ago
Morgan Pretty d22c2cccf1 Fixed a few migration issues found when testing 2 months ago
Morgan Pretty bdbfe6c28e Refactored the remaining DB queries to avoid using type-based queries 2 months ago
Morgan Pretty 647919efde Started working on refactoring the migrations to avoid an anti-pattern 2 months ago
Morgan Pretty 1f3f7ba7c6 Fixed QA issues
• Refactored the 'performOperation' function to have cleaner control flow and resolve another EXC_BAD_ACCESS edge case
• Updated the code to allow legacy groups to be unpinned after they are deprecated
• Fixed an issue where the default state of the global search screen wouldn't be populated if you had a contact with no SessionThread record
• Fixed an issue with display picture placeholder generation
• Fixed an issue where the edit group screen would show the group display picture back to front
2 months ago
Morgan Pretty 70ef1c451c Updated to the latest LibSession with groupPubKey validation 2 months ago
Morgan Pretty 823409709c Added timestamp verification logic and fixed a couple of QA issues
• Updated the code to set and check the 'sigTimestamp' value in order to validate the envelope.timestamp when possible
• Disabled the delete/select buttons on the attachment screens in legacy groups once deprecated
• Disabled the ability to remove reactions from the reaction list in legacy groups once deprecated
• Fixed an issue where the "expired groups" banner could incorrectly appear after creating a new group
• Fixed an issue where the ConfigSyncJob wouldn't report it's failure immediately
2 months ago
Ryan ZHAO bb049987a7 make ons with emoji work by punycode 2 months ago
Ryan ZHAO 2ccf442aa4 fix highlight mention background for RTL 2 months ago
Morgan Pretty 35972d176a Fixed broken message sending for TestFlight build
• Fixed broken unit tests
• Fixed some incorrect logic for validating a message
2 months ago
Morgan Pretty c99ee90ca6 Fixed a QA issue, a couple edge-cases and cleaned up some logic
• Added the "expired group" banner for when the first poll of an updated group doesn't retrieve config messages
• Removed a redundant base64 encode/decode
• Removed messy extra message validation function
• Fixed an edge-case where a member granted supplemental access to the group could end up incorrectly kicked under the right conditions
• Fixed an issue where the copy for deleting a deprecated legacy group wasn't accurate
2 months ago
Morgan Pretty 3f3d4dde26 Fixed a number of issues found during general testing
• Added a 'forceSlowDatabaseQueries' dev setting to help track down main thread database queries
• Updated the unit tests to use a NoopNetworkCache by default when running unit tests
• Updated the custom debug sync query timer to poll more frequently for the first few iterations
• Fixed the broken unit tests
• Fixed the bad memory issue again (wasn't properly fixed...)
• Fixed an issue where the keyboard wouldn't reappear after deleting a message
• Fixed an issue where the toast shown after deleting a message could do a weird appearance animation
• Fixed an issue where legacy group invites were incorrectly still being handled once legacy groups were deprecated
• Fixed an issue where control messages could incorrectly leave a deletion artifact when triggering "delete before now"
• Fixed an issue where the typing indicator logic could run on the main thread (was also overly complex)
• Fixed an issue where we were clearing the incoming typing indicator too quickly (5s vs 15s like other platforms)
• Fixed an issue where the GroupPoller could incorrectly wait for longer than it should between polls if a message was deleted (there will be a better approach we should use in the future when we have an `active_at` flag for the conversation)
2 months ago
Morgan Pretty 8bb51968f0 Fixed some issues found during debugging & QA issues
• Added code to schedule any missing recurring jobs (so we no longer need to worry that the jobs have been lost or the migrations that added them ran correctly in their final state)
• Added the 'FailedGroupInvitesAndPromotionsJob' to flag invites/promotions which weren't sent before the app closed as failed
• Updated to the latest libweb
• Updated to the latest libSession
• Updated the config sync job to delay marking itself as failed if the network is not connected (it'll now observer the network status and trigger the failure callback when reconnected, which will result in another sync attempt shortly after - this will prevent a disabled network from building up the failure count excessively causing sync delays)
• Fixed a bad memory race condition which could occur with the new `Storage.performOperation` logic
2 months ago
Morgan Pretty 44b1d69551 Fixed a number of issues found during testing, and some QA issues
• Updated the SyncPushTokensJob to wait for a bit for paths to build before failing
• Updated the PushNotification service to be selectable via the dev settings
• Updated the database timeout code to be a little more developer friendly
• Updated the code to stop blocked contacts from appearing in the main conversation list
• Removed the invalid "push-testnet" push server
• Removed the logic to configure the APNS push service based on the service network (was incorrect)
• Removed the 'Int' raw type constraint for the 'FeatureOption'
• Fixed an issue where the initial conversation query for groups would fail due to an invalid join
• Fixed an issue where the initial conversation query wouldn't include the 'markedUnread' flag (meaning the conversation wouldn't correctly get marked as read)
• Fixed a rare bad memory crash
• Fixed an issue where the modal wouldn't be dismissed after updating the group display name
• Fixed an issue where the "Recreate Group" button was the wrong height
2 months ago
Morgan Pretty 245623b4c6 QA fixes and scope changes discussed today
• Removed the blocking loading indicators from a number of group actions
• Refactored the group promotions failure toast logic to match the invites failure toast logic
• Updated the actions which are allowed on messages in legacy groups once deprecated
• Updated to the latest libSession (minor PR feedback tweaks)
• Fixed a few build warnings
• Fixed a layout issue on the All Media screen
• Fixed an issue where the keyboard avoidance wouldn't be updated on the conversation screen if you went to a child screen and returned
• Fixed a couple of places where handling 'GROUP_MEMBER' changes could result in hitting the infinite loop guards so the changes wouldn't be reflected correctly
2 months ago
Ryan ZHAO 4dddeebabc fix highlight background and add paddings to the trailing of @You 2 months ago
Morgan Pretty cfb02f42d3 Fixed an issue where we tried to delete protected files after import 2 months ago
Morgan Pretty c414e1b5fc Fixed build issues from the merge 2 months ago
Morgan Pretty 7b9f8cb45e Merge remote-tracking branch 'upstream/dev' into feature/groups-rebuild 2 months ago
Morgan Pretty 9d58407067
Merge pull request #368 from mpretty-cyro/fix/dev-settings-import
Fixed up a couple of issues with the debug import/export process
2 months ago
Morgan Pretty 11402b124f Fixed a few minor issues
• Fixed a possible incorrect crash report after importing data via the dev settings
• Fixed an issue where modals displayed after clearing the database data would have broken theming
• Fixed an issue where admin display name and pictures may not appear correctly in the message list when interleaved with control messages
2 months ago
Morgan Pretty e1f093edd4 Fixed up a couple of issues with the debug import/export process
• Updated the ConfirmationModal explanation to be automatically scrollable by default
• Updated the DirectoryArchiver to ignore hidden files (based on the '.' prefix) by default as they wouldn't have been created by Session
2 months ago
Morgan Pretty 45a9586318 Updated the code to use the localised copy for the deprecation UI 2 months ago
Morgan Pretty 6830c68c31 Merge remote-tracking branch 'upstream/dev' into feature/groups-rebuild
# Conflicts:
#	Session/Calls/Call Management/SessionCall.swift
#	Session/Conversations/ConversationVC+Interaction.swift
#	Session/Conversations/ConversationVC.swift
#	Session/Meta/AppDelegate.swift
#	Session/Meta/MainAppContext.swift
#	Session/Notifications/PushRegistrationManager.swift
#	SessionMessagingKit/Jobs/GarbageCollectionJob.swift
#	SessionMessagingKit/Jobs/Types/UpdateProfilePictureJob.swift
#	SessionMessagingKit/LibSession/Config Handling/LibSession+Shared.swift
#	SessionMessagingKit/Sending & Receiving/MessageSender.swift
#	SessionMessagingKit/Utilities/ProfileManager.swift
#	SessionUtilitiesKit/Database/Storage.swift
#	SessionUtilitiesKit/JobRunner/JobRunner.swift
#	_SharedTestUtilities/SynchronousStorage.swift
2 months ago
Morgan Pretty c1fcf8e4aa
Merge pull request #362 from session-foundation/feature/update-crowdin-translations
[Automated] Update translations from Crowdin
2 months ago
Morgan Pretty d200878162
Merge pull request #366 from mpretty-cyro/fix/database-reentrancy-handling
Fixed a few issues related to database reentrancy
2 months ago
Bilb 6075840257 [Automated] Update translations from Crowdin 2 months ago
Morgan Pretty 119d7e21da
Merge pull request #365 from RyanRory/fix-modal-on-cancel
Fix customised on cancel won't dismiss the modal
2 months ago
Morgan Pretty d5add5bb79 Fixed a few more issues
• Minor tweak to config load order
• Pulled across reentrancy PR fixes
• Fixed an issue where some UI changes were occurring on background threads (causing crashes)
• Fixed an issue where editing a group name/description was performing a blocking action but not showing a loading indicator
• Fixed an issue where the group display picture modal would have it's "save" button enabled even when the picture hadn't been changed
2 months ago
Morgan Pretty 18d0488056 Missed a code path to signal the semaphore 2 months ago
Morgan Pretty 18f4b57811 Fixed an issue where database migrations could cause a db query timeout 2 months ago
Morgan Pretty 9c12265544
Merge pull request #367 from mpretty-cyro/fix/leave-conversation-screen-crash
Fixed a crash which could occur when leaving the conversation screen
2 months ago
Morgan Pretty 9081ff50f6 Made a couple of minor fixes
• Fixed an issue with database error logging
• Fixed an issue with a missing join in the query to update the app badge count
2 months ago
Morgan Pretty 529cb2e0f9 Added the legacy group deprecation logic (pending final copy)
• Added a separate feature flag for deprecating legacy groups
• Added the ability for a legacy group admin to "Recreate" the group (ie. pre-fill a new group with the same members)
• Updated the "Leave" button to be "Delete" for legacy groups once deprecated
• Disabled the "mark as unread" action for legacy groups once deprecated
• Disabled the input and conversation settings for legacy groups once deprecated
• Disabled the long press menu and removing reactions for legacy groups once deprecated
2 months ago
Morgan Pretty 23159439f2 Small fix to the database error logging 2 months ago
Morgan Pretty 2952d9c0bb Fixed a bug where pasting excessive text wouldn't enable the send button 2 months ago
Morgan Pretty 4028cf1023 Database reentrancy fixes
• Reworked synchronous database access to prevent reentrancy issues
• Updated the JobExecuter to take a "Scheduler" rather than a "DispatchQueue" (allows for a potentially refactor to use "OperationQueue" instead if we want more fine-tuned control over the number of concurrent executions which can occur)
2 months ago
Morgan Pretty e47e0e45f5 Added a couple more thread checks just to be safe 2 months ago
Morgan Pretty 3887a8902e Fixed a crash which could occur when leaving the conversation screen 2 months ago
Morgan Pretty 0a7cd9a500 Fixed a few issues related to database reentrancy
• Reworked the database rentrancy fixes
• Added a timeout to prevent deadlocks with our custom synchronous database actions
• Fixed a case where we were incorrectly accessing the database in a reentrant way
2 months ago
Ryan ZHAO be80fec15d fix customised on cancel won't dismiss the modal 2 months ago
Morgan Pretty dce05376d1 Fixed additional QA issues
• Updated the "Delete for Everyone" behaviour to show a blocking loading indicator if a network request is required
• Removed some duplicate code
• Fixed an issue where mentions wouldn't filter correctly for groups in some cases
• Fixed an issue where legacy group members could appear in the members list multiple times when navigating there from the conversation title
• Fixed an issue where the message deletion toasts could appear behind blurred modal backgrounds
• Fixed an issue where pasting text which is too large into an empty input field would result in the text having the default OS styling instead of the text styling we have set
3 months ago
Morgan Pretty 9ae785ae3a Fixed the build errors resulting from the merging 3 months ago
Morgan Pretty ba3acaa2da Merge remote-tracking branch 'upstream/dev' into feature/groups-rebuild 3 months ago
Morgan Pretty a13f5ae253
Merge pull request #364 from mpretty-cyro/feature/tweak-notification-handling
Allow notifications from non-default namespaces, handle empty data
3 months ago
Morgan Pretty e88a7ed453 Allow notifications from non-default namespaces, handle empty data 3 months ago