Commit Graph

2868 Commits (88aa1f3eed0dc78957b7c911bfd101284735a4bc)

Author SHA1 Message Date
Morgan Pretty 88aa1f3eed Merge remote-tracking branch 'upstream/dev' into feature/app-disguise 4 weeks ago
Morgan Pretty bdfb83e211 Merge remote-tracking branch 'upstream/dev' into fix/nan-crash 4 weeks ago
ThomasSession a95405097f [Automated] Update translations from Crowdin 1 month ago
Morgan Pretty 7dbd150c51 Merge branch 'dev' into feature/app-disguise 1 month ago
Morgan Pretty e6f0640e99 Attempt to prevent an odd NaN crash 1 month ago
Morgan Pretty 82b315ccb1
Merge pull request #383 from mpretty-cyro/fix/poller-and-background-processing-bugs
Poller and background processing fixes
1 month ago
Morgan Pretty 37b64cd69b
Merge pull request #379 from mpretty-cyro/fix/network-status-not-updating
Network status not updating in certain conditions
1 month ago
Morgan Pretty 98f7bee170
Merge pull request #394 from session-foundation/feature/update-crowdin-translations
[Automated] Update translations from Crowdin
1 month ago
Morgan Pretty 6017a992ce Merge remote-tracking branch 'upstream/dev' into fix/poller-and-background-processing-bugs 1 month ago
Morgan Pretty d77ab47f8b Merge remote-tracking branch 'upstream/dev' into fix/network-status-not-updating 1 month ago
Morgan Pretty bb6e78dc27 Merge remote-tracking branch 'upstream/dev' into fix/logging-issues-and-improvements
# Conflicts:
#	Session/Home/GlobalSearch/GlobalSearchViewController.swift
1 month 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
1 month ago
Morgan Pretty b12a5282bb
Merge pull request #392 from mpretty-cyro/fix/grdb-assertion
Fix GRDB Assertion
1 month ago
Morgan Pretty 43952c8386
Merge pull request #377 from mpretty-cyro/feature/refactor-screen-lock
Cleaned up some of the Screen Lock behaviours
1 month ago
mpretty-cyro d21737eca7 [Automated] Update translations from Crowdin 1 month ago
Morgan Pretty a524a265a5 Merge remote-tracking branch 'upstream/dev' into feature/refactor-screen-lock
# Conflicts:
#	Session.xcodeproj/project.pbxproj
1 month 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
1 month 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
1 month ago
Morgan Pretty bd70ada50b
Merge pull request #372 from RyanRory/punycode-for-ons
Make ONS with emoji work by punycode
1 month ago
Morgan Pretty 32ce6c5b35
Merge pull request #369 from RyanRory/fix-highlight-background
Fix mentioning highlight background
1 month 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
1 month ago
Morgan Pretty 846aa695c2 Updated searching to use a publisher and cancel it (instead of db interrupt) 1 month 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
1 month ago
Morgan Pretty 2137c19ce0 Localised the strings 1 month ago
Morgan Pretty 5845866f8d Added alternate app icon logic, refactored Appearance screen
• Added 6 alternate app icons
• Refactored the Appearance screen to use the SessionTableViewController convention
• Refactored the `SessionCell.Accessory.CustomView` to be `SessionCell.Accessory.Custom` (allows config-based creation)
1 month ago
mpretty-cyro 38aefd6564 [Automated] Update translations from Crowdin 1 month ago
Ryan ZHAO 369be3a278 Merge branch 'dev' into punycode-for-ons 1 month ago
Morgan Pretty 637723d026 Fixed a crash when opening message info in a community 1 month ago
Morgan Pretty adc877ffbd Documentation tweak 1 month ago
Morgan Pretty 347b6ace28 Pointed at a separate SPM-specific repo to reduce dependency size 1 month ago
Morgan Pretty ada7a4e499 Tweaked licence generation, updated to latest SPM libSession 1 month ago
Ryan ZHAO a6c0762d2b Merge branch 'dev' into fix-highlight-background 2 months ago
Ryan ZHAO 97cbead8ae Merge branch 'dev' into punycode-for-ons 2 months ago
Morgan Pretty 7c4249b082 Cleaned up some of the ScreenLock logic 2 months ago
Morgan Pretty f75544487a Merge remote-tracking branch 'upstream/dev' into fix/network-status-not-updating 2 months ago
Morgan Pretty 3577cb9dbe Merge remote-tracking branch 'upstream/dev' into fix/poller-and-background-processing-bugs 2 months ago
Morgan Pretty 8f0aa51491 Merge remote-tracking branch 'upstream/dev' into fix/logging-issues-and-improvements 2 months ago
Morgan Pretty 312846e694 Merge remote-tracking branch 'upstream/dev' into feature/groups-rebuild 2 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
2 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)
2 months ago
ThomasSession 527ea2757e [Automated] Update translations from Crowdin 2 months ago
Morgan Pretty 8649dc0845 Fixed an issue where the network status indicator wouldn't update 2 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
2 months ago
Ryan ZHAO 0707f30e9a Merge branch 'dev' into punycode-for-ons 2 months ago
Ryan ZHAO 3aaa6b36f3 Merge branch 'dev' into fix-highlight-background 2 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
2 months ago
Morgan Pretty 8a60eee626 Fixed a crash when tapping on the attachment camera button 2 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)
2 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
2 months ago
Morgan Pretty 74c9f3ddb8 Merge remote-tracking branch 'upstream/dev' into feature/groups-rebuild 2 months ago