Commit Graph

19116 Commits (529cb2e0f9194d1ecdfd7484c24497b2e764267f)
 

Author SHA1 Message Date
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 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 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
2 months ago
Morgan Pretty 9ae785ae3a Fixed the build errors resulting from the merging 2 months ago
Morgan Pretty ba3acaa2da Merge remote-tracking branch 'upstream/dev' into feature/groups-rebuild 2 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
2 months ago
Morgan Pretty e88a7ed453 Allow notifications from non-default namespaces, handle empty data 2 months ago
Morgan Pretty 442a8c7cb5 Merge remote-tracking branch 'upstream/dev' into feature/groups-rebuild 2 months ago
Morgan Pretty 0cb4d4184c
Merge pull request #358 from RyanRory/notification-patch
Fix a case for PNs with no content
2 months ago
Ryan ZHAO d528a70bfc clean up 2 months ago
Ryan ZHAO 9207418100 Merge branch 'dev' into notification-patch 2 months ago
Morgan Pretty 1db80dfa13 Merge remote-tracking branch 'upstream/dev' into feature/groups-rebuild
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	Session/Calls/CallVC.swift
#	Session/Calls/WebRTC/WebRTCSession+MessageHandling.swift
#	Session/Calls/WebRTC/WebRTCSession.swift
#	Session/Meta/AppDelegate.swift
#	Session/Utilities/Permissions.swift
#	SessionMessagingKit/Sending & Receiving/Errors/MessageReceiverError.swift
#	SessionMessagingKit/Sending & Receiving/MessageReceiver.swift
#	SessionUtilitiesKit/General/SNUserDefaults.swift
2 months ago
Morgan Pretty 7b0f7ea8af Fixed a number of QA issues and other bugs founds
• Added a 2000 limit to the input field
• Added an error when opening the share extension before completing onboarding
• Updated the code to treat an empty `adminSignature` as null (in case a client sends it incorrectly)
• Updated the code to include updated group control messages when determining unread
• Updated code to perform a supplemental key rotation (if needed) when resending invites to members flagged as supplemental (to handle a case where the initial invite request failed)
• Updated the code to schedule group config update control messages when making the local changes but make their sending contingent on the next config sync succeeding
• Updated the code to only enable the Share and Notification extensions once the onboarding process has been completed
• Updated the code to always enqueue config syncs for all configs on launch (if there are no pending changes then it won't do anything, but if there are then this will increase the likelihood that they will be synced)
• Fixed an issue where the default contacts query was based on thread records instead of contact records
• Fixed an issue where creating a conversation by tapping on a group member or avatar wasn't correctly creating the conversation in the draft state
• Fixed an issue where incoming messages could be added to the "Note to Self" conversation if the "syncTarget" was incorrectly set on them
2 months ago
Morgan Pretty 81242de035 Fixed a few more QA issues
• Added some localised copy
• Added the helpdesk article URL for the deprecated groups banner
• Updated mentions to include the current user in groups, 1-1 and NTS conversations (also made the current user appear as "you")
• Fixed a layout issue with the deleted message view
• Fixed an issue where the "mark as unread" action would incorrectly appear for the Note to Self conversation
• Fixed an issue where we were incorrectly sending an ExpirationTimerUpdate in some cases
3 months ago
Morgan Pretty c5cccad08f
Merge pull request #20 from RyanRory/groups-rebuild-fix
Groups rebuild fix
3 months ago
Ryan ZHAO 7ed4d393e3 fix an issue where deleting outgoing messages in a 1-1 globally does not leave artifacts behind for the person deleting 3 months ago
Ryan ZHAO 379ab2629f fix a keyboard issue 3 months ago
Ryan ZHAO d076892424 fix an issue if a global deletion fails, the UI should toast and stay on the deletion modal. 3 months ago
Ryan ZHAO 8ca0b19391 potentially fix a accessibility id issue. 3 months ago
RyanZhao 7d399db9f2
Merge pull request #354 from RyanRory/fix-calls-issue-3
Fix Calls issues
3 months ago
Ryan ZHAO 9aab3b045c bump up version and build number 3 months ago
Ryan ZHAO 4fc848ebdc add detailed call connection info 3 months ago
Morgan Pretty e8c20ef8ee More QA Fixes
• Fixed an issue where "this message was deleted locally" couldn't be overwritten with "this message was deleted"
• Backported a libSession fix for the current config being incorrectly removed from the swarm
3 months ago
Ryan ZHAO 753b93bb9e clean up 3 months ago
Ryan ZHAO 8c02b7ac08 fix a case where the received notification payload is not valid either for legacy or current PN protocol 3 months ago
Ryan ZHAO 3c681a217c add detailed call info 3 months ago
Ryan ZHAO a26da76484 fix an issue where Note to self appears after receiving first call 3 months ago
Ryan ZHAO 0b33e7a5fb fix potential infinite loop 3 months ago
Ryan ZHAO 07e75d0cca add check for PNs from other namespaces 3 months ago
Ryan ZHAO bce5eda5c2 fix an issue where iPhone 6s cuts off message request text 3 months ago
Ryan ZHAO 6aa77a966a update version & build number 3 months ago
Ryan ZHAO 4303179b3f add some logs for testing 3 months ago
Ryan ZHAO b0d397142b fix a case for PNs with no content 3 months ago
Ryan ZHAO 5681b96089 WIP: fix message request info layout 3 months ago
Ryan ZHAO dcaec4b2a8 fix an keyboard issue of Calls 3 months ago
Ryan ZHAO 1b40c1363a Merge branch 'dev' into fix-calls-issue-3 3 months ago
Morgan Pretty bcbe7ec11c Build error and redundant variable removal 3 months ago
Morgan Pretty 16addb3b91 Additional 'afterAsync' changes for the groups branch 3 months ago
Morgan Pretty 28699798f1 Merge remote-tracking branch 'upstream/dev' into feature/groups-rebuild
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	Session/Home/HomeVC.swift
#	Session/Meta/AppDelegate.swift
#	Session/Meta/SessionApp.swift
#	SessionMessagingKit/Jobs/Types/UpdateProfilePictureJob.swift
#	SessionMessagingKit/Sending & Receiving/MessageSender.swift
#	SessionUtilitiesKit/JobRunner/JobRunner.swift
3 months ago
Morgan Pretty 800e32c633 Cleaned up some TODOs, QA fixes and refetch on admin promotion
• Added logic to trigger a full refetch when getting promoted to admin within a group
• Added a timeout to display picture uploads
• Updated the code to inject the DisplayPictureManager via dependencies
• Updated the resend invite functionality to have a blocking loading indicator as well
• Refactored some closure-based logic for display picture uploads to use Combine instead
• Refactored the SnodeReceivedMessageInfo (with a migration) so it's no longer using a weird constructed key (now have individual queryable columns for the values)
3 months ago
Morgan Pretty d41bc9b2c1
Merge pull request #355 from session-foundation/feature/update-crowdin-translations
[Automated] Update translations from Crowdin
3 months ago
stfsession 411358401d
Merge pull request #356 from mpretty-cyro/fix/production-crashes
Fixed a number of crashes currently affecting production
3 months ago
Morgan Pretty 37ea2a89bc Fixed a number of crashes currently affecting production
• Fixed a crash due to our ThreadSafe code using a struct instead of a class (rendering it non thread safe)
• Fixed a crash which could occur on the home screen if the data loaded before the UI finished loading
• (Hopefully) Fixed a crash which could occur when the OS optimised async execution to run immediately within an existing database transaction (potentially resulting in re-entrant database access)
• Fixed an issue where the database read/write publishers weren't checking for a valid database state before actual query execution (only during the creation of the stream)
3 months ago
stfsession 4471af11d5 [Automated] Update translations from Crowdin 3 months ago
Morgan Pretty 8d4365d89c Fixed additional QA issues and bugs found while testing
• Added a unit test to validate the GroupMember sorting continues to work as expected
• Updated the AppSetup process to be simpler (no need to check if it had previously run anymore)
• Removed some state management code from the NotificationServiceExtension (no longer needed now that state is properly managed via the Dependencies)
• Fixed an issue where if you had updated another client, gotten updated groups in your config, and then update the iOS client then it wouldn't create the updated groups until a UserGroups config change occurred
• Fixed a bug where we would incorrectly try to retrieve the disappearing messages settings for V2 Groups from the UserGroups config instead of the GroupInfo one
• Fixed an issue where the updated groups poller might not get started correctly in some cases
• Fixed an issue where we could incorrectly add a "you were invited..." control message on linked devices when creating an updated group
• Fixed an issue where the "open url" modal wouldn't be dismissed when copying the url
• Fixed an issue where reactions could appear on locally deleted community messages
• Fixed an issue where the "Note to Self" conversation could be mislabelled in the share extension
• Fixed an issue where sharing a url with a preview would fail
• Fixed an issue where a quote for an attachment wouldn't show the thumbnail if the conversation was open when the quote message was received
• Fixed an issue where the background colour of the display picture could be incorrect when in a multi-avatar for a group conversation
3 months ago
Ryan ZHAO a16e3aa61a workaround for a permission issue in NotificationServiceExtension 3 months ago
Morgan Pretty 6a4fa224ac Fixed a few more QA issues
• Added the updated light-mode warning colour
• Updated the group version warning banner to explicitly use the primary orange colour
• Fixed an incorrect colour for radio options in the modal
• Fixed an issue where non-admins would incorrectly try to remove obsolete group config hashes (which is not allowed)
3 months ago
Ryan ZHAO 35ae44d389 update build number 3 months ago
Ryan ZHAO c055f6f5c8 add more logs 3 months ago