Commit Graph

2865 Commits (a37eb915079fe4d92cc2aa6fd571cd9b6943a3b0)

Author SHA1 Message Date
mpretty-cyro a37eb91507 [Automated] Update translations from Crowdin 9 months ago
Morgan Pretty bdfb83e211 Merge remote-tracking branch 'upstream/dev' into fix/nan-crash 9 months ago
ThomasSession a95405097f [Automated] Update translations from Crowdin 9 months ago
Morgan Pretty e6f0640e99 Attempt to prevent an odd NaN crash 9 months ago
Morgan Pretty 82b315ccb1
Merge pull request #383 from mpretty-cyro/fix/poller-and-background-processing-bugs
Poller and background processing fixes
10 months ago
Morgan Pretty 37b64cd69b
Merge pull request #379 from mpretty-cyro/fix/network-status-not-updating
Network status not updating in certain conditions
10 months ago
Morgan Pretty 98f7bee170
Merge pull request #394 from session-foundation/feature/update-crowdin-translations
[Automated] Update translations from Crowdin
10 months ago
Morgan Pretty 6017a992ce Merge remote-tracking branch 'upstream/dev' into fix/poller-and-background-processing-bugs 10 months ago
Morgan Pretty d77ab47f8b Merge remote-tracking branch 'upstream/dev' into fix/network-status-not-updating 10 months ago
Morgan Pretty bb6e78dc27 Merge remote-tracking branch 'upstream/dev' into fix/logging-issues-and-improvements
# Conflicts:
#	Session/Home/GlobalSearch/GlobalSearchViewController.swift
10 months ago
Morgan Pretty fdcdd070a1 Merge remote-tracking branch 'upstream/dev' into fix/logging-issues-and-improvements
# Conflicts:
#	SessionMessagingKit/LibSession/LibSession+SessionMessagingKit.swift
#	SessionMessagingKitTests/_TestUtilities/MockLibSessionCache.swift
10 months ago
Morgan Pretty b12a5282bb
Merge pull request #392 from mpretty-cyro/fix/grdb-assertion
Fix GRDB Assertion
10 months ago
Morgan Pretty 43952c8386
Merge pull request #377 from mpretty-cyro/feature/refactor-screen-lock
Cleaned up some of the Screen Lock behaviours
10 months ago
mpretty-cyro d21737eca7 [Automated] Update translations from Crowdin 10 months ago
Morgan Pretty a524a265a5 Merge remote-tracking branch 'upstream/dev' into feature/refactor-screen-lock
# Conflicts:
#	Session.xcodeproj/project.pbxproj
10 months ago
Morgan Pretty 05d47392db
Merge pull request #393 from mpretty-cyro/fix/partial-group-state-loading
Fixed an issue where groups with only some config dumps wouldn't load
10 months ago
Morgan Pretty 194833b6f7
Merge pull request #388 from mpretty-cyro/fix/community-message-info-crash
Fixed a crash when opening message info in a community
10 months ago
Morgan Pretty bd70ada50b
Merge pull request #372 from RyanRory/punycode-for-ons
Make ONS with emoji work by punycode
10 months ago
Morgan Pretty 32ce6c5b35
Merge pull request #369 from RyanRory/fix-highlight-background
Fix mentioning highlight background
10 months ago
Morgan Pretty 82b9c18929 Fixed an issue where groups with only some config dumps wouldn't load
• Cleaned up the interface for loading the "default" state for configs (shouldn't really be used outside of onboarding to tweaked it's interface)
• Updated the logic so group configs would be initialised all at once per group (previously it would load them in variant load order, now it will be group -> variant load order)
• Fixed an issue where groups in the invited state would incorrectly load their config states
10 months ago
Morgan Pretty 846aa695c2 Updated searching to use a publisher and cancel it (instead of db interrupt) 10 months ago
Morgan Pretty e29758e401 Updated GRDB and refactored internal Storage operations
• Updated to GRDB 7.3.0 (from 6.29.3)
• Updated the ConfigMessageReceiveJob and MessageReceiveJob to use the `writeAsync` function (instead of the blocking `write` function) so that they aren't subject to the `Storage.transactionDeadlockTimeoutSeconds`
• Refactored the `Storage.performOperation` and `Storage.performPublisherOperation` to rely on the new cancellable async/await `Task` logic that GRDB 7 supports (as apparently the other async methods don't support cancellation...)
• Cleaned up some "Sendable" related warnings
• Minor tweaks to `Log.assertOnMainThread` to make it a little more readable
10 months ago
mpretty-cyro 38aefd6564 [Automated] Update translations from Crowdin 10 months ago
Ryan ZHAO 369be3a278 Merge branch 'dev' into punycode-for-ons 10 months ago
Morgan Pretty 637723d026 Fixed a crash when opening message info in a community 10 months ago
Morgan Pretty adc877ffbd Documentation tweak 10 months ago
Morgan Pretty 347b6ace28 Pointed at a separate SPM-specific repo to reduce dependency size 10 months ago
Morgan Pretty ada7a4e499 Tweaked licence generation, updated to latest SPM libSession 10 months ago
Ryan ZHAO a6c0762d2b Merge branch 'dev' into fix-highlight-background 10 months ago
Ryan ZHAO 97cbead8ae Merge branch 'dev' into punycode-for-ons 10 months ago
Morgan Pretty 7c4249b082 Cleaned up some of the ScreenLock logic 10 months ago
Morgan Pretty f75544487a Merge remote-tracking branch 'upstream/dev' into fix/network-status-not-updating 10 months ago
Morgan Pretty 3577cb9dbe Merge remote-tracking branch 'upstream/dev' into fix/poller-and-background-processing-bugs 10 months ago
Morgan Pretty 8f0aa51491 Merge remote-tracking branch 'upstream/dev' into fix/logging-issues-and-improvements 10 months ago
Morgan Pretty 312846e694 Merge remote-tracking branch 'upstream/dev' into feature/groups-rebuild 10 months ago
Morgan Pretty a080d67618 Fixed a couple of bugs and logging tweaks
• Refactored the remaining `SNLog` calls
• Added support for a 'customSuffix' to the log categories (similar to the 'customPrefix' it allows category name manipulation whilst keeping the existing log level settings)
• Improved logging in the PN extension
• Fixed an issue where the PN extension would end up with duplicate logs every time a new PN was received
• Fixed an issue where the PN extension would needlessly dispatch it's setup to the main thread
• Fixed an issue where the PN extension would try to read from the database after suspending it
• Fixed an issue where the PN extension could try to complete on a non-main thread (eg. db threads) which _might_ cause odd behaviours
10 months ago
Morgan Pretty 4435240d2b Fixed a number of background processing and polling issues
• Tweaked some background poller logs
• Refactored the `BackgroundFetch` handling to use a `DispatchSourceTimer` instead of `NSTimer` and use a specific `DispatchQueue` to avoid race conditions
• Refactored the BackgroundTaskManager to use `DispatchQueue` and `DispatchSourceTimer` and removed unused code (was seeing background tasks incorrectly running too long so wanted to clean it up)
• Fixed an issue where pollers would incorrectly be released during background polling
• Fixed an issue where the background poller wouldn't update the app notification badge count
• Fixed an issue where the community pollers 'timeSinceLastPoll' was incorrectly being given both an epoch timestamp as well as a duration since the last poll (resulting in always just refetching recent messages)
• Fixed an issue where the community poller wasn't updating the last poll timestamp (also renamed some functions to make them clearer)
• Fixed an issue where pollers could incorrectly be started in the background (eg. when receiving a PN)
10 months ago
ThomasSession 527ea2757e [Automated] Update translations from Crowdin 10 months ago
Morgan Pretty 8649dc0845 Fixed an issue where the network status indicator wouldn't update 10 months ago
Morgan Pretty a049d87b11 Fixed a few bugs which came up during testing
• Added a 'requireAllRequestsSucceed' flag to the ConfigurationSyncJob (so it'll report a failure if any individual request fails)
• Fixed an issue where a number of 'response' types weren't encoding correctly (only impacted unit tests)
• Fixed an issue where the logger wasn't correctly respecting the log level settings
• Fixed an issue where the path status indicator wouldn't default to unknown
• Fixed an issue where the generic database error didn't replace the 'app_name' variable
• Fixed an issue where notification content might not be shown correctly
• Fixed an issue where a group could be partially created due to one of it's configs failing to be stored (we now consider that a failure so the user can try again)
• Fixed an issue where processing a config message in the BackgroundPoller could result in attempting to fetch from communities after the process completed
• Fixed a crash where a database query could incorrectly be interrupted after it completed if both happened at just the right time
• Fixed broken unit tests
10 months ago
Ryan ZHAO 0707f30e9a Merge branch 'dev' into punycode-for-ons 10 months ago
Ryan ZHAO 3aaa6b36f3 Merge branch 'dev' into fix-highlight-background 10 months ago
Morgan Pretty 22f3974968 Fixed a couple of issues found during internal testing
• Fixed an issue where leaving a group from the settings screen would just sit there until you successfully left
• Fixed an issue where admin display pictures didn't have the crown icon in the conversation screen
10 months ago
Morgan Pretty 8a60eee626 Fixed a crash when tapping on the attachment camera button 10 months ago
Morgan Pretty 828b25254a Fixed a silly message variant bug, unit test env var tweaks
• Added an env variable to enable the debug disappearing message durations
• Moved the 'processUnitTestEnvVariablesIfNeeded' function into a separate file and added some docs (so we can just look at that file to see what is supported)
• Fixed an issue where the deleted message artifact variant had incorrectly gotten it's value changed (too late to change it back so need a migration)
10 months ago
Morgan Pretty 25f3e836ef Debug dis message durations on for tests, uregister PNs on clear acct
• Turned on debug disappearing message settings by default for tests
• Unregister from PNs when clearing the account
10 months ago
Morgan Pretty 74c9f3ddb8 Merge remote-tracking branch 'upstream/dev' into feature/groups-rebuild 10 months ago
Morgan Pretty 4399a5a5bb Fixed a few issues that came up when testing
• Attempt to fix an issue where the CI couldn't find a test simulator because it didn't exist (now try to grab the latest)
• Refactored the notification service extension logging to be more helpful and allow for better tracking
• Fixed a minor layout issue on devices with a home button
• Fixed an issue where display pictures could be given the wrong file extension because we were assuming jpeg
• Fixed an issue where disabling the "Auto dark-mode" setting may not correctly trigger a theme update
• Fixed an issue where returning to the settings screen from a child screen would result in the screen jumping
• Fixed an issue where migrating the community display picture would fail
• Fixed an issue where failing to decrypt a config message push notification would incorrectly result in the fallback notification being shown
10 months ago
mpretty-cyro 6f32b1c911 [Automated] Update translations from Crowdin 10 months ago
Morgan Pretty ad821dcbf1 Fixed some string issues
• Updated the string linter logic to error when incorrect parameter names are given (or missed)
• Updated the code based on the latest string changes
• Fixed an issue where the string linter wasn't working
10 months ago