Commit Graph

2661 Commits (d200878162c8698b4cc2b00fc30b32594380ba85)

Author SHA1 Message Date
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
Morgan Pretty 119d7e21da
Merge pull request #365 from RyanRory/fix-modal-on-cancel
Fix customised on cancel won't dismiss the modal
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 be80fec15d fix customised on cancel won't dismiss the modal 3 months ago
Ryan ZHAO 4fc848ebdc add detailed call connection info 3 months ago
Ryan ZHAO 753b93bb9e clean up 3 months ago
Ryan ZHAO 3c681a217c add detailed call info 3 months ago
Ryan ZHAO 0b33e7a5fb fix potential infinite loop 3 months ago
Ryan ZHAO bce5eda5c2 fix an issue where iPhone 6s cuts off message request text 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 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 370eb3e4de fix microphone permission request API 3 months ago
Ryan ZHAO 8bc40a3535 add retry for call messages 3 months ago
Ryan ZHAO 47f9984d33 further refactor to use latest API 4 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
Morgan Pretty 9cf0c83c4b
Merge pull request #351 from session-foundation/feature/update-crowdin-translations
[Automated] Update translations from Crowdin
4 months ago
Morgan Pretty 2ba826faa2
Merge pull request #349 from mpretty-cyro/fix/calls-without-callkit
Fixed an issue where incoming calls would always fail without CallKit
4 months ago
stfsession f52fabeefb [Automated] Update translations from Crowdin 4 months ago
Ryan ZHAO c56e57663e add accessibility id for broken media 4 months ago
Morgan Pretty 380d81683a
Merge pull request #347 from mpretty-cyro/fix/shared-messages-not-expiring
Fixed an issue where shared messages and community invites wouldn't disappear
4 months ago
Morgan Pretty 9a5e18ed48 Fixed an issue where incoming calls would always fail without CallKit
• Fixed an issue where incoming calls would always fail without CallKit
• Fixed a couple of layout bugs with the IncomingCallBanner
4 months ago
Morgan Pretty 15aaa8332d Fixed an issue where shared messages and community invites wouldn't disappear 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 13fabbb305 Fixed an issue where sharing attachments could lose filename and extension 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
Ryan ZHAO 87d6768164 fix a keyboard issue when CallVC is dismissed 4 months ago
Ryan ZHAO 111626eb4a clean up and refactoring 4 months ago
Ryan ZHAO bfbe0ae9eb remove call cache and fix call issue 4 months ago
Ryan ZHAO 8624e4cf46 try to fix callkit 4 months ago
Ryan ZHAO 921ef93064 add some logs 4 months ago
Ryan ZHAO 47805b96ac a bit refactor on dependencies that used by WebRTCSession 4 months ago
Ryan ZHAO 53fdbbb00d try to fix a callkit issue 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