Commit Graph

17910 Commits (db633e69dec777ccd3e245a92b30bb2f09f496d9)
 

Author SHA1 Message Date
Morgan Pretty db633e69de Reworked the SessionCell.Accessory (same interface, builds much quicker) 1 year ago
Morgan Pretty ea45951f72 Renamed the release scheme to 'App_Store_Release' to help libSession build 1 year ago
Morgan Pretty 42f4925c36 Added more unit tests and resolve a minor edge case
Added some more unit tests
Added logic to insert a fallback "invite" control message if a group is created via the USER_GROUPS config message instead of an invite
1 year ago
Morgan Pretty d16cbcaeb6 Changes to the CI dependency chain 1 year ago
Morgan Pretty d0e391f5cb Removed attempted multi-line formatting 1 year ago
Morgan Pretty 5d2663cab3 CI multiline command formatting tweaks 1 year ago
Morgan Pretty 11da1911b7 CI build file formatting tweaks 1 year ago
Morgan Pretty 9b21a0d251 More unit tests, attempting to parallelize CI test running 1 year ago
Morgan Pretty 4dd1199da1 More unit tests and reenable XCBeautify 1 year ago
Morgan Pretty f5f112a593 More unit tests & disable XCBeautify for CI testing 1 year ago
Morgan Pretty 08337fe0fa More unit tests and trying to extend the CI test timeout 1 year ago
Morgan Pretty 6be2608d82 Further CI tweaks 1 year ago
Morgan Pretty 0ce1edd567 CI tweaks 1 year ago
Morgan Pretty 3bb11aeac1 Fixed the broken legacy group push notifications & CI tweaks
Fixed the broken legacy group push notifications
Reset and close the simulators before/after the tests are run on the CI
1 year ago
Morgan Pretty 37d3d5b829 Plugged in some more libSession functions and added more unit tests
Updated the code to use the libSession encrypt/decrypt functions for the 'groupKicked' message
Updated the code to use the libSession function to load the admin key when receiving a promotion instead of reloading the config state
Changed the NotificationsManager and NotificationActionHandler to be injected via dependencies instead of the Environment
Mocked out the NotificationsManager for unit testing
1 year ago
Morgan Pretty 3d60757c40 Reworked test DSL to speed up build time and added more tests
Fixed a bug where the group invite message could be incorrectly added in some cases
1 year ago
Morgan Pretty 315d78b500 [REVERT ME] Allow arbitrary loads in ATS for QA 1 year ago
Morgan Pretty 6100b619c6 Added some more prepared request unit tests 1 year ago
Morgan Pretty b22ec12989 Added handling for "needs rekey" after the merge occurs 1 year ago
Morgan Pretty 476858401c Added some more unit tests 1 year ago
Morgan Pretty d3e3ad70b9 Added some more tests and fixed up some others 1 year ago
Morgan Pretty 875bf88be4 Added more unit tests, fixed a couple of minor bugs
Added a dev setting to disable the group auto-approve for admins which are contacts (for testing purposes)
Added logic to unsubscribe and resubscribe for PNs when swapping environments
1 year ago
Morgan Pretty e4354b7370 Merge branch 'feature/groups-rebuild-part-2' into feature/groups-rebuild
# Conflicts:
#	SessionMessagingKit/Sending & Receiving/Message Handling/MessageSender+Groups.swift
1 year ago
Morgan Pretty fadde4d1f2 Fixed the broken unit tests 1 year ago
Morgan Pretty fa8e37b0c7 Removed 'fileIds' from Message.Destination (tested and won't break)
Removed 'fileIds' from Message.Destination (tested and won't break)
Cleaned up some TODOs
1 year ago
Morgan Pretty b7b7b4af6a Added disappearing messages support to updated groups
Added disappearing messages support to updated groups
Added the 10s & 60s debug disappearing message setting options to the DeveloperSettingsViewModel
Copy tweaks on the DeveloperSettingsViewModel
Removed some unused code
1 year ago
Morgan Pretty 988fa5c550 Fixed build errors from merge 1 year ago
Morgan Pretty b89a4d3aeb Merge remote-tracking branch 'origin/feature/drop-yap-database-support' into feature/groups-rebuild-part-2
# Conflicts:
#	SessionMessagingKit/Database/Models/SessionThread.swift
1 year ago
Morgan Pretty 1057a4c3fa Merge remote-tracking branch 'origin/feature/drop-yap-database-support' into feature/groups-rebuild-part-2
# Conflicts:
#	LibSession-Util
#	Session.xcodeproj/project.pbxproj
#	Session/Conversations/ConversationVC+Interaction.swift
#	Session/Conversations/ConversationViewModel.swift
#	Session/Conversations/Message Cells/InfoMessageCell.swift
#	Session/Conversations/Settings/ThreadDisappearingMessagesSettingsViewModel.swift
#	SessionMessagingKit/Database/Models/SessionThread.swift
#	SessionMessagingKit/Sending & Receiving/MessageSender.swift
#	SessionMessagingKit/SessionUtil/Config Handling/SessionUtil+UserGroups.swift
#	SessionMessagingKit/SessionUtil/SessionUtil.swift
#	SessionUtilitiesKit/Database/SSKKeychainStorage.swift
1 year ago
Morgan Pretty 15e8c9bd09 Merge remote-tracking branch 'RyanFork/disappearing-message-redesign' into feature/drop-yap-database-support 1 year ago
Ryan ZHAO 39c9ec7357 clean 1 year ago
Morgan Pretty 60684bc977 Merge remote-tracking branch 'RyanFork/disappearing-message-redesign' into feature/drop-yap-database-support 1 year ago
Morgan Pretty 2109c4c91d Fixed a developer settings crash 1 year ago
Morgan Pretty 59fc7a53ef New DeveloperSettingsViewModel, bulk PN endpoints and updated group messages
Added the DeveloperSettingsViewModel and dependency-controlled feature flags
Added the generic 'SessionListViewModel' to reduce duplicate code when we want to just display a selectable list of items
Added an indicator on the home screen to show when using testnet
Added group promotions behind a feature flag
Updated the PushNotificationAPI to use bulk subscribe/unsubscribe requests
Updated the 'GroupUpdateDeleteMessage' and 'GroupUpdateDeleteMemberContentMessage' to support additional behaviours
Updated the SessionCell to have better RTL support (swapped some left/right things to leading/trailing)
Updated the revoke/unrevoke endpoints to take arrays of subaccount tokens
Refactored the Bencode logic to properly support Codable types
1 year ago
Ryan ZHAO 3d566c1923 minor fix on close button accessibility id 1 year ago
Ryan ZHAO 6d92f31f6d update accessibility of empty state label 1 year ago
Morgan Pretty 32f5a18e00 WIP adding PNs for updated groups and changes for enabling unit testing
Started adding logic to subscribe and unsubscribe for updated group push notifications
Updated the keychain service to be injected via dependencies
Reworked the Dependencies logic to avoid a concurrent access issue
Fixed an issue where some keychain data might not be cleared in some cases
Fixed an issue where being kicked and readded to a group would make it seem to disappear ("invited" message wasn't getting created)
1 year ago
Morgan Pretty 0c1ea23b08 Started adding tests for the DisplayPictureDownloadJob and clean up
Started adding tests for the DisplayPictureDownloadJob
Cleaned up the Crypto singleton a bit
Moved the DisplayPictureManager encryption/decryption into Crypto methods
1 year ago
Morgan Pretty 4f2b629239 Added bolding to the control messages and unit testing work
Added bolding to the control messages
Reworked the MockFunctionHandler to have different calls with inferred return types to reduce boilerplate
Fixed broken unit tests
Fixed an issue which could occur in the ObservableTableSource where it could miss the first output if it returned too quickly
Started adding DownloadDisplayPictureJob unit tests
Minor copy tweak
1 year ago
Morgan Pretty dffe321bc4 Added the updated revoke & unrevoke endpoints
Added the updated revoke & unrevoke endpoints when removing and adding group members
Updated the group creation to upload the provided image and set it to the group correctly
1 year ago
Morgan Pretty 7e34c1609f Added the new localised strings 1 year ago
Morgan Pretty b90ee74c91 Added promotion handling, message deletion & deprecation banner
Added logic to handle promotion messages
Added a debounced toast for promotion failures
Added support for the 'delete_before' and 'attach_delete_before' functionality
Added in the deprecated legacy groups banner.
Cleaned up the UserListViewModel a little
Updated the 'User count' header subtitle to take the user to the 'Group Members' or 'Edit Group' screens based on admin status
Updated the sorting of the group member lists to match the requirements
Fixed the debounced group invite failure toast
Fixed an issue where some libSession errors wouldn't get propagated back into the Swift code resulting in invalid database changes
Fixed an issue where admins couldn't properly leave groups
1 year ago
Ryan Zhao 18852b8a52 fix an issue where closed group disappearing messages type can be set to unknown by shared config 1 year ago
Ryan Zhao 70326b5c74 fix disappearing messages for closed group control messages 1 year ago
Ryan Zhao f2629f193b add disappearing timer to call info messages 1 year ago
Ryan Zhao 8c6c6705a5 update control message text colour 1 year ago
Morgan Pretty a5118157b3 Finished invite statuses and toasts
Added invitation statuses for updated groups
Added the invite and failed invite toasts
Added proper support for the group description
Refactored the EditClosedGroupVC and UserSelectionVC to use the SessionTableViewModel
Updated the ObservableTableSource to support forcing a refresh either before or after the database observation
Removed support for the per-thread notification sound
1 year ago
Ryan Zhao d27475d0be feat: add timer for disappearing info messages 1 year ago
Ryan Zhao 83a64c5ca1 clean 1 year ago
Ryan Zhao 3d1b930ede feat: update disappearing messages ui for visible messages 1 year ago