Commit Graph

892 Commits (7d399db9f2f90d2de5878fb18f3d99719aa882ca)

Author SHA1 Message Date
Ryan ZHAO dcaec4b2a8 fix an keyboard issue of Calls 10 months ago
Ryan ZHAO 1b40c1363a Merge branch 'dev' into fix-calls-issue-3 10 months ago
Morgan Pretty d41bc9b2c1
Merge pull request #355 from session-foundation/feature/update-crowdin-translations
[Automated] Update translations from Crowdin
10 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)
10 months ago
stfsession 4471af11d5 [Automated] Update translations from Crowdin 10 months ago
Ryan ZHAO a16e3aa61a workaround for a permission issue in NotificationServiceExtension 10 months ago
Ryan ZHAO 403ca8c10c refactor on getting microphone permission state to try to fix an issue 10 months ago
Morgan Pretty 3a91bc52e1
Merge pull request #342 from mpretty-cyro/fix/atomic-reentrancy
Refactor Atomic<T> to Support Reentrancy
10 months ago
Morgan Pretty c6365e597d Merge branch 'dev' into fix/atomic-reentrancy 10 months ago
stfsession f52fabeefb [Automated] Update translations from Crowdin 10 months ago
mpretty-cyro b20abd1ce8 [Automated] Update translations from Crowdin 11 months ago
Bilb 465bd55111 [Automated] Update translations from Crowdin 11 months ago
Morgan Pretty 1e07120eba Cleaned up 'calledFromConfig' params
• Renamed the remaining 'calledFromConfig' params to be a bit more descriptive of what they actually do
• Removed all the 'calledFromConfig' values

The `calledFromConfig` was previously needed to help prevent reentrant libSession access but that is now supported. This now means that a config change could trigger a database update which subsequently triggers a config change but libSession has a built in diff system which will prevent this resulting in an infinite update loop

If we do end up in a situation that this update loop results in a config change (which would then get synced) it's likely a bug in iOS which would be hard to track down as it would result from a specific database change (ie. this will hopefully make it easier to resolve inconsistent libSession integrations)
11 months ago
Morgan Pretty 08c7a2cf7f Refactored `Atomic<T>` to `@ThreadSafe` and `@ThreadSafeObject`
• Refactored `Atomic<T>` to `@ThreadSafe` and `@ThreadSafeObject` (the latter supports reentrancy
• Added some logging to the debug import process
11 months ago
Morgan Pretty 907abf1d24
Merge pull request #334 from mpretty-cyro/feature/appium-env-var-handling
Added basic handling for env vars provided by Appium
11 months ago
Morgan Pretty cc102edc26 Fixed a typo 11 months ago
Morgan Pretty 195df3f81f
Merge pull request #333 from session-foundation/feature/update-crowdin-translations
[Automated] Update translations from Crowdin
11 months ago
Morgan Pretty 6f2f46715f Added basic handling for env vars provided by Appium 11 months ago
stfsession 987866aeb1 [Automated] Update translations from Crowdin 11 months ago
Morgan Pretty 5d9b97e354 Added Lucide as a dependency, added standard font styling 11 months ago
Morgan Pretty f262b6d7a8 Merge remote-tracking branch 'upstream/dev' into fix/inconsistent-deletion-behaviours
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	Session/Calls/Call Management/SessionCallManager.swift
#	Session/Notifications/PushRegistrationManager.swift
#	SessionMessagingKit/Sending & Receiving/Message Handling/MessageReceiver+Calls.swift
#	SessionMessagingKit/Sending & Receiving/Message Handling/MessageReceiver+MessageRequests.swift
11 months ago
Morgan Pretty 000220f828
Merge pull request #323 from session-foundation/feature/update-crowdin-translations
[Automated] Update translations from Crowdin
11 months ago
Morgan Pretty 22e59b1789 Fixed a crash which could occur when receiving a UserGroups config change 11 months ago
Ryan ZHAO 5fb9a6621d add more logs 11 months ago
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
11 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
11 months ago
Bilb ae81c4e190 [Automated] Update translations from Crowdin 11 months ago
stfsession 3fc0dcbecb [Automated] Update translations from Crowdin 1 year ago
Morgan Pretty 8170091e34
Merge pull request #1045 from mpretty-cyro/fix/incorrect-contact-deletion
Reworked 'deleteOrLeave' function to remove ambiguity, fixed some strings
1 year 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
1 year ago
Morgan Pretty 472fd61287 Reworked 'deleteOrLeave' function to remove ambiguity, fixed some strings 1 year ago
mpretty-cyro 2ceb277c2e [Automated] Update translations from Crowdin 1 year ago
mpretty-cyro a0e09e909c [Automated] Update translations from Crowdin 1 year ago
mpretty-cyro 5a6a6ad917 [Automated] Update translations from Crowdin 1 year ago
Morgan Pretty 16ba002469 Merge remote-tracking branch 'upstream/dev' into third-party-license
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	Session/Meta/Translations/InfoPlist.xcstrings
1 year ago
Morgan Pretty 7f6e241287 Fixed a couple of small bugs
• Fixed an issue where the licenses may not be sorted which could result in different outputs between builds
• Fixed an issue where non-dependencies could be included in the project if they had been resolved at some point
1 year ago
Ryan ZHAO 62f84d2c1f add script the catch licenses in SPM and generate a plist file as Acknowledgement in Settings.bundle 1 year ago
Morgan Pretty 7086fe1ba0 Number of small Xcode 16 build fixes
• Renamed an init which matched a private API so triggered a store submission warning
• Fixed a unit test build issue in Xcode 16
• Updated the LintLocalizableStrings updatePermissionStrings output to be sorted (so it doesn't change every time)
• Moved the 'Ensure InfoPlist.xcstrings updated' build step to the Session target
1 year ago
Ryan ZHAO 581569b009 merge latest translation & bump up build number 1 year ago
Ryan ZHAO ded30dc072 merge latest translation and update the build number 1 year ago
Ryan ZHAO d73b9d0ab0 merge latest translation 1 year ago
Morgan Pretty ecd066f7a1 Merge remote-tracking branch 'upstream/dev' into strings
# Conflicts:
#	Session/Media Viewing & Editing/PhotoCaptureViewController.swift
#	Session/Notifications/AppNotifications.swift
#	Session/Settings/SettingsViewModel.swift
#	Session/Utilities/Permissions.swift
#	SessionMessagingKit/Messages/Control Messages/CallMessage.swift
#	SessionMessagingKit/Sending & Receiving/Message Handling/MessageSender+ClosedGroups.swift
#	SessionShareExtension/ThreadPickerVC.swift
1 year ago
Morgan Pretty d8294aac0d Fixed logging issue and other minor tweaks
• Fixed a bug where the libSession logs wouldn't all come through correctly
• Added logic to handle response headers from libSession
• Minor optimisation to closed groups poller setup
• Minor logging tweaks
1 year ago
Morgan Pretty 3366408187 Removed a delay before starting pollers which is no longer needed 1 year ago
Morgan Pretty 7e771467d6 Fixed an issue with push notifications in legacy groups
• Reworked the NotificationServiceExtension to just always reset and reload it's state to avoid weird bugs
• Updated the legacy group messages to fallback to using a locally generated serverHash if one isn't provided (always happens for legacy PNs)
• Include error info when failing to process extension logs
• Made a bunch of the Storage functions instance functions instead of static functions
1 year ago
Ryan ZHAO b0ab84a86d fix group control messages 1 year ago
Ryan ZHAO 3a509d942e update translation files 1 year ago
Ryan ZHAO 630e20fc69 Merge branch 'dev' into standardised-strings 1 year ago
Ryan ZHAO ea48f1b40d fix strings 1 year ago
Ryan ZHAO 544c680b6b update translation file 1 year ago