Commit Graph

19112 Commits (9ae785ae3a38dcbb47a9e6bf5ed94afa1f58ea3b)
 

Author SHA1 Message Date
Morgan Pretty e1c5215986 Various dependency changes required to get unit tests working correctly
• Updated the SessionCallManager to be an updated singleton type (cleaned up more in Groups Rebuild)
• Updated the PushRegistrationManager to be an updated singleton type (cleaned up more in Groups Rebuild)
• Injected dependencies correctly in a bunch of places
5 months ago
Morgan Pretty 2ee1fa0125 Updated NTS & 1-1 conversation deletion to be consistent with other plats
• Added a few functions to retrieve conversation settings from libSession
• Updated the Note to Self swipe action to be "Hide" (hides the conversation but does not delete the messages)
• Updated the one-to-one deletion behaviour (now syncs both hiding the conversation and deleting it's messages)
• Updated the logic to retrieve the relevant disappearing messages setting from libSession when creating a thread if it doesn't exist (allows us to delete threads without worrying about losing settings)
• Updated a bunch of dependency management & injection code so the unit tests would pass
5 months ago
Bilb ae81c4e190 [Automated] Update translations from Crowdin 5 months ago
Ryan ZHAO 5b6d7e8321 fix an issue of keyboard not activating correctly in after following a link 5 months ago
Morgan Pretty ffd7bb2569 Fixed a bunch of issues found by QA
• Updated the GroupMembers handling to updated the current users entry if they have the admin key and their current state is not correct
• Updated the "groups have been upgraded" banner to be visible for non-admins
• Updated the code to prevent changes from being able to be made on group configs without the admin key (was crashing previously)
• Added the new "deleted" group state and copy
• Fixed a layout issue on the settings screen when the editable text is too long
• Fixed a case sensitive contact sorting issue
• Fixed an issue where the groups v2 min version banner was appearing on legacy groups screens
• Fixed a bug where profile information may not be updated due to a timestamp resolution issue
• Fixed a bug where the group name would incorrectly be used in the block modal for group message requests
• Fixed a bug where the block button wasn't appearing within the group message request screen
• Fixed a bug where there was an incorrect timestamp conversion when checking whether to drop a message that was sent earlier than the 'deleteBefore' timestamp
• Fixed an issue where the "you left the group" message wouldn't be visible if you rejoined a group
• Fixed an issue where crashing during the initial creation of a group could result in it's state never loading
• Fixed an issue where deleting before a timestamp wasn't correctly using the network-offset timestamp
• Fixed an issue where the submodule was pointing at the wrong repo
• Removed some duplicate code
5 months ago
Morgan Pretty 04508e9cf5 Working through QA Issues
• Added a warning when removing members from a group
• Fixed a bug where unapproved contacts were appearing as options for inviting to a group
• Fixed a bug where the "min version" banner was appearing on the legacy create group screen instead of the new one
• Fixed a bug where admins could appear twice in the legacy group member list
• Fixed some incorrect accessibility issues
• Tweaked the accessibility of the dual action items in the edit group screen
• Updated version numbers to simplify testing
5 months ago
Morgan Pretty dcb320ca91 Fixed a couple of incorrect queries from a previous optimisation 5 months ago
Morgan Pretty 03020ad556 Merge remote-tracking branch 'upstream/dev' into feature/groups-rebuild
# Conflicts:
#	Scripts/LintLocalizableStrings.swift
#	Session.xcodeproj/project.pbxproj
#	Session/Calls/Call Management/SessionCall.swift
#	Session/Calls/Call Management/SessionCallManager.swift
#	Session/Calls/WebRTC/WebRTCSession+DataChannel.swift
#	Session/Conversations/ConversationVC+Interaction.swift
#	Session/Conversations/Message Cells/Content Views/OpenGroupInvitationView.swift
#	Session/Conversations/Message Cells/Content Views/QuoteView.swift
#	Session/Conversations/Message Cells/Content Views/SwiftUI/OpenGroupInvitationView_SwiftUI.swift
#	Session/Conversations/Message Cells/Content Views/SwiftUI/VoiceMessageView_SwiftUI.swift
#	Session/Conversations/Settings/ThreadSettingsViewModel.swift
#	Session/Database/Migrations/_001_ThemePreferences.swift
#	Session/Home/GlobalSearch/GlobalSearchViewController.swift
#	Session/Home/HomeViewModel.swift
#	Session/Home/Message Requests/MessageRequestsViewModel.swift
#	Session/Home/New Conversation/NewMessageScreen.swift
#	Session/Media Viewing & Editing/GIFs/GiphyAPI.swift
#	Session/Media Viewing & Editing/GIFs/GiphyDownloader.swift
#	Session/Media Viewing & Editing/PhotoLibrary.swift
#	Session/Meta/MainAppContext.swift
#	Session/Meta/SessionApp.swift
#	Session/Meta/Translations/remove_unused_strings.swift
#	Session/Notifications/PushRegistrationManager.swift
#	Session/Onboarding/Onboarding.swift
#	Session/Settings/HelpViewModel.swift
#	Session/Settings/SettingsViewModel.swift
#	Session/Settings/Views/VersionFooterView.swift
#	Session/Shared/FullConversationCell.swift
#	Session/Shared/SessionHostingViewController.swift
#	Session/Utilities/BackgroundPoller.swift
#	Session/Utilities/UIContextualAction+Utilities.swift
#	SessionMessagingKit/Configuration.swift
#	SessionMessagingKit/Database/Models/Attachment.swift
#	SessionMessagingKit/Database/Models/ClosedGroup.swift
#	SessionMessagingKit/Database/Models/Interaction.swift
#	SessionMessagingKit/Database/Models/RecipientState.swift
#	SessionMessagingKit/Database/Models/SessionThread.swift
#	SessionMessagingKit/Jobs/FailedMessageSendsJob.swift
#	SessionMessagingKit/LibSession/Config Handling/LibSession+Contacts.swift
#	SessionMessagingKit/LibSession/Config Handling/LibSession+UserGroups.swift
#	SessionMessagingKit/LibSession/Config Handling/LibSession+UserProfile.swift
#	SessionMessagingKit/LibSession/LibSession+SessionMessagingKit.swift
#	SessionMessagingKit/Messages/Message.swift
#	SessionMessagingKit/Messages/Visible Messages/VisibleMessage.swift
#	SessionMessagingKit/Sending & Receiving/Attachments/ThumbnailService.swift
#	SessionMessagingKit/Sending & Receiving/Message Handling/MessageReceiver+MessageRequests.swift
#	SessionMessagingKit/Sending & Receiving/Message Handling/MessageReceiver+VisibleMessages.swift
#	SessionMessagingKit/Sending & Receiving/Message Handling/MessageSender+LegacyClosedGroups.swift
#	SessionMessagingKit/Sending & Receiving/MessageReceiver.swift
#	SessionMessagingKit/Sending & Receiving/MessageSender.swift
#	SessionMessagingKit/Sending & Receiving/Notifications/Models/SubscribeRequest.swift
#	SessionMessagingKit/Sending & Receiving/Notifications/Models/UnsubscribeRequest.swift
#	SessionMessagingKit/Sending & Receiving/Notifications/PushNotificationAPI.swift
#	SessionMessagingKit/Sending & Receiving/Pollers/CurrentUserPoller.swift
#	SessionMessagingKit/Sending & Receiving/Pollers/OpenGroupPoller.swift
#	SessionMessagingKit/Utilities/OWSAudioPlayer.m
#	SessionMessagingKit/Utilities/Preferences.swift
#	SessionMessagingKit/Utilities/ProfileManager.swift
#	SessionMessagingKitTests/Jobs/MessageSendJobSpec.swift
#	SessionMessagingKitTests/Open Groups/OpenGroupManagerSpec.swift
#	SessionNotificationServiceExtension/NSENotificationPresenter.swift
#	SessionShareExtension/ShareNavController.swift
#	SessionSnodeKit/LibSession/LibSession+Networking.swift
#	SessionSnodeKit/Networking/SnodeAPI.swift
#	SessionSnodeKit/Types/ProxiedContentDownloader.swift
#	SessionUIKit/Components/ConfirmationModal.swift
#	SessionUtilitiesKit/Database/Models/Identity.swift
#	SessionUtilitiesKit/General/AppContext.swift
#	SessionUtilitiesKit/General/FileSystem.swift
#	SessionUtilitiesKit/General/NSTimer+Proxying.m
#	SessionUtilitiesKit/General/SNUserDefaults.swift
#	SessionUtilitiesKit/General/UIDevice+featureSupport.swift
#	SessionUtilitiesKit/Media/MediaUtils.swift
#	SignalUtilitiesKit/Media Viewing & Editing/Image Editing/ImageEditorCropViewController.swift
#	SignalUtilitiesKit/Media Viewing & Editing/MediaMessageView.swift
#	SignalUtilitiesKit/Media Viewing & Editing/OWSVideoPlayer.swift
#	SignalUtilitiesKit/Screen Lock/ScreenLockViewController.swift
5 months ago
Morgan Pretty ab2debc29a Missed a change and fixed broken tests 5 months ago
Morgan Pretty 9596dbf248 Updated the code to use the new group member status funcs 5 months ago
RyanZhao 83911cf9f7
Merge pull request #319 from RyanRory/fix-thumbnail
Fix image attachment thumbnail generation
5 months ago
Ryan ZHAO ca515d32e1 update build and version number 5 months ago
Ryan ZHAO 153870cb98 Merge branch 'dev' into fix-thumbnail 5 months ago
RyanZhao 420df5132e
Merge pull request #318 from session-foundation/feature/update-crowdin-translations
[Automated] Update translations from Crowdin
5 months ago
Ryan ZHAO 71de47e1b9 fix an issue where thumbnail is not properly generated 5 months ago
stfsession 3fc0dcbecb [Automated] Update translations from Crowdin 5 months ago
RyanZhao fac94f94be
Merge pull request #1048 from mpretty-cyro/feature/query-optimisation
Updated the SQL for checking session id prefixes
6 months ago
RyanZhao 054043b7d8
Merge pull request #1047 from mpretty-cyro/fix/rework-recipient-state
Refactored the 'RecipientState' type and other improvements
6 months ago
Morgan Pretty fbc550b883 Fixed another issue with the group member lists 6 months ago
Morgan Pretty 481ee65822 Fixed a typo 6 months ago
Morgan Pretty 7b70ba03fc Fixed a couple of bugs revolving around handling group invitations 6 months ago
Morgan Pretty 4ab99f8276 Fixed some incorrect copy 6 months ago
Morgan Pretty f8377e6029 Fixed an issue where the group was in the wrong state after destroyed 6 months ago
Morgan Pretty b2ccd24172 Fixed an app submission issue due to private API naming collision 6 months ago
Morgan Pretty ce77a10b16 Updated version and build number info 6 months ago
Morgan Pretty 7f069263e2 Merge remote-tracking branch 'upstream/dev' into fix/rework-recipient-state 6 months ago
Morgan Pretty 8170091e34
Merge pull request #1045 from mpretty-cyro/fix/incorrect-contact-deletion
Reworked 'deleteOrLeave' function to remove ambiguity, fixed some strings
6 months ago
Morgan Pretty 091cfcb807
Merge pull request #1038 from RyanRory/fix-disappearing-messages-control-message
Fix disappearing messages control message
6 months ago
Morgan Pretty aeb2fa0f1a Merge branch 'dev' into fix/rework-recipient-state 6 months ago
Morgan Pretty 532bbd2590 Updated the SQL for checking session id prefixes 6 months ago
Morgan Pretty d2f062cfb2 Removed a couple of unused variables 6 months ago
Morgan Pretty 7af0f865f5 Refactored the 'RecipientState' type
• Refactored the 'RecipientState' type to just be columns on the 'Interaction' table
• Added some syntactic sugar to clean up the 'CallbackWrapper' boilerplate within the LibSession+Networking code
• Fixed an issue where sending a message into a group where you are the only member would result in the message permanently being in the sending state
• Fixed an issue when initially setting up the interaction database structure where the community whisper mechanism needed another column
• Fixed a bug where the MessageSendJob wouldn't time out during path building
• Fixed a bug where the MessageSendJob wouldn't retry 8 times before detecting a timeout (meaning it would retry up to 80 times in total before permanently failing)
6 months ago
Morgan Pretty ef0f73a38c
Merge pull request #1046 from mpretty-cyro/fix/string-linter-issues
Refactored the LintLocalizableStrings script
6 months ago
Morgan Pretty feafe02a6c Fixed a bug where the icon on the NewMessageScreen wasn't rendering 6 months ago
Morgan Pretty a32af018a7 Refactored the LintLocalizableStrings script
• Added new 'LintControl' mechanisms to allow for ignoring sections of code
• Added new 'MatchType' mechanisms for excluding unlocalized cases
• Updated the code to explicitly handle localized template strings (both single and multiline)
• Updated the code to process files across multiple threads to improve performance
• Updated the code to use Swift 5.7 regex and store in static variables to prevent reconstruction every time they are used
• Removed the list of individual files which are ignored (now just output a count)
• Fixed an issue where having a localized string on a subsequent line could result in an unlocalized (or incorrectly localized) string not being detected
• Fixed an issue where having multiple strings on a single line could result in an unlocalized string not being detected
• Fixed an issue where zero-width characters would result in the variable count comparison between translations failing
• Fixed a number of localization warnings
6 months ago
Morgan Pretty 472fd61287 Reworked 'deleteOrLeave' function to remove ambiguity, fixed some strings 6 months ago
Morgan Pretty 8c21b9c9ad
Merge pull request #1044 from oxen-io/feature/update-crowdin-translations
[Automated] Update translations from Crowdin
6 months ago
mpretty-cyro 2ceb277c2e [Automated] Update translations from Crowdin 6 months ago
Morgan Pretty ad2c9ff5a6 Fixed a number of bugs found when checking the acceptance criteria
• Fixed some incorrect copy
• Fixed a bug where being the only member in a group would result in messages always having the "sending" status
• Fixed a bug where accepting a group invitation on a linked device wouldn't start the poller on the current device
• Fixed a bug where there could be a duplicate 'you were invited to join the group' info message after accepting the group invite
• Fixed a bug where the failed invitation toast could appear multiple times
• Fixed a bug where the legacy groups banner was appearing for non-admins (apparently it shouldn't be)
6 months ago
Morgan Pretty 208d7aa22c Removed FileSystem and use a properly injected FileManagerType everywhere 6 months ago
Morgan Pretty f7c39c4c5d
Merge pull request #1033 from RyanRory/standardize-modal-accessibility-id
Standardize modal & input error accessibility ids
6 months ago
Ryan ZHAO bfa059f415 Merge branch 'dev' into fix-disappearing-messages-control-message 6 months ago
Ryan ZHAO 8da80ab314 Merge branch 'dev' into standardize-modal-accessibility-id 6 months ago
Morgan Pretty 98f74661f2 Merge remote-tracking branch 'upstream/dev' into feature/groups-rebuild
# Conflicts:
#	Session/Meta/Translations/Localizable.xcstrings
6 months ago
Morgan Pretty 7519aab36c
Merge pull request #1041 from mpretty-cyro/feature/safer-setting-memory-usage
Updated the method 'Setting' data manipulation to be safer
6 months ago
Morgan Pretty 4d7d9161bf
Merge pull request #1042 from oxen-io/feature/update-crowdin-translations
[Automated] Update translations from Crowdin
6 months ago
mpretty-cyro a0e09e909c [Automated] Update translations from Crowdin 6 months ago
Morgan Pretty 8bd2468fb6 Profile info update change, RadioButton bugfix, unit test changes
• Update group member profile info on invite acceptance
• Fixed a bug with the default RadioButton enabled state
• Added a few more unit tests
6 months ago
Morgan Pretty a6e39d930f Added localisations for some strings and resolved a bunch of warnings 6 months ago
Morgan Pretty 6cbd8cbf15 Updated the method 'Setting' data manipulation to be safer
Also resolves a warning about an unsafe pointer
6 months ago