Commit Graph

902 Commits (9d22927cb86852cb9c57c51a65b191db4b7ec6dd)

Author SHA1 Message Date
Ryan ZHAO 0bc9e9a6cf rename 2 months ago
Ryan ZHAO 9983cfbaea make local network access permission check wokr 2 months ago
Ryan ZHAO 3256876eab update missed call tip modal 2 months ago
Ryan ZHAO 46f82fd557 WIP: add permission chain for voice and video calls 2 months ago
Morgan Pretty c1fcf8e4aa
Merge pull request #362 from session-foundation/feature/update-crowdin-translations
[Automated] Update translations from Crowdin
3 months ago
Morgan Pretty d200878162
Merge pull request #366 from mpretty-cyro/fix/database-reentrancy-handling
Fixed a few issues related to database reentrancy
3 months ago
Bilb 6075840257 [Automated] Update translations from Crowdin 3 months ago
Morgan Pretty e47e0e45f5 Added a couple more thread checks just to be safe 3 months ago
Morgan Pretty 3887a8902e Fixed a crash which could occur when leaving the conversation screen 3 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
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 d41bc9b2c1
Merge pull request #355 from session-foundation/feature/update-crowdin-translations
[Automated] Update translations from Crowdin
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
Ryan ZHAO a16e3aa61a workaround for a permission issue in NotificationServiceExtension 3 months ago
Ryan ZHAO 403ca8c10c refactor on getting microphone permission state to try to fix an issue 4 months ago
Morgan Pretty 3a91bc52e1
Merge pull request #342 from mpretty-cyro/fix/atomic-reentrancy
Refactor Atomic<T> to Support Reentrancy
4 months ago
Morgan Pretty c6365e597d Merge branch 'dev' into fix/atomic-reentrancy 4 months ago
stfsession f52fabeefb [Automated] Update translations from Crowdin 4 months ago
mpretty-cyro b20abd1ce8 [Automated] Update translations from Crowdin 4 months ago
Bilb 465bd55111 [Automated] Update translations from Crowdin 4 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)
4 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
4 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
5 months ago
Morgan Pretty cc102edc26 Fixed a typo 5 months ago
Morgan Pretty 195df3f81f
Merge pull request #333 from session-foundation/feature/update-crowdin-translations
[Automated] Update translations from Crowdin
5 months ago
Morgan Pretty 6f2f46715f Added basic handling for env vars provided by Appium 5 months ago
stfsession 987866aeb1 [Automated] Update translations from Crowdin 5 months ago
Morgan Pretty 5d9b97e354 Added Lucide as a dependency, added standard font styling 5 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
5 months ago
Morgan Pretty 000220f828
Merge pull request #323 from session-foundation/feature/update-crowdin-translations
[Automated] Update translations from Crowdin
5 months ago
Morgan Pretty 22e59b1789 Fixed a crash which could occur when receiving a UserGroups config change 5 months ago
Ryan ZHAO 5fb9a6621d add more logs 5 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
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
stfsession 3fc0dcbecb [Automated] Update translations from Crowdin 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 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
mpretty-cyro 2ceb277c2e [Automated] Update translations from Crowdin 6 months ago
mpretty-cyro a0e09e909c [Automated] Update translations from Crowdin 6 months ago
mpretty-cyro 5a6a6ad917 [Automated] Update translations from Crowdin 6 months ago
Morgan Pretty 16ba002469 Merge remote-tracking branch 'upstream/dev' into third-party-license
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	Session/Meta/Translations/InfoPlist.xcstrings
7 months 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
7 months ago
Ryan ZHAO 62f84d2c1f add script the catch licenses in SPM and generate a plist file as Acknowledgement in Settings.bundle 7 months 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
7 months ago
Ryan ZHAO 581569b009 merge latest translation & bump up build number 7 months ago
Ryan ZHAO ded30dc072 merge latest translation and update the build number 7 months ago