Commit Graph

18920 Commits (9207418100481c85fdf578eeecaeccdda06c0e23)
 

Author SHA1 Message Date
Morgan Pretty 6ad2f4e122 Updated libSession to fix a snode cache refresh bug 7 months ago
Ryan ZHAO c3b5925f78 modify clear data modal with error 7 months ago
Ryan ZHAO ca8344db06 fix attachment short description 7 months ago
Morgan Pretty a7e73080fa Minor logging tweaks 7 months 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
7 months ago
Ryan ZHAO ff75dd9392 fix clear all message requests modal 7 months ago
Ryan ZHAO 9dde3ed8ac fix enable link preview modal style 7 months ago
Ryan ZHAO ae3fde1e1c Merge branch 'dev' into strings 7 months ago
Morgan Pretty a87a547886 libSession attachment upload/download improvements, logging tweaks 7 months ago
Morgan Pretty bce7a093cf Merge remote-tracking branch 'upstream/dev' into fix/crashes-and-improvements
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	Session/Calls/Call Management/SessionCallManager.swift
#	Session/Meta/AppDelegate.swift
#	Session/Notifications/PushRegistrationManager.swift
#	SessionNotificationServiceExtension/NotificationServiceExtension.swift
#	SessionShareExtension/ThreadPickerVC.swift
#	SessionUtilitiesKit/Database/Storage.swift
7 months ago
Morgan Pretty a02bc55445 Fixed an endless loading state when clearing data with no network 7 months ago
Morgan Pretty dfe690cc1a
Merge pull request #1010 from mpretty-cyro/fix/attachment-dictionary-crash-2
Reworked the SignalAttachmentItem hash function
7 months ago
Morgan Pretty 3366408187 Removed a delay before starting pollers which is no longer needed 7 months ago
Morgan Pretty 09adaa34a4 libSession update - local swarm calculation 7 months 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
7 months ago
Ryan ZHAO b0ab84a86d fix group control messages 7 months ago
Ryan ZHAO 1b73f74fb7 add timeout error modal for clearing data from network 7 months ago
Ryan ZHAO 3a509d942e update translation files 7 months ago
Ryan ZHAO 6f5d452b35 fix group leaving modal to respect group admins 7 months ago
Ryan ZHAO d21a0815fa add constants 7 months ago
Morgan Pretty 533afa2af0 Tweaked the static upload script to ignore the branch name for tags 7 months ago
Ryan ZHAO a98c213b78 fix disappearing messages strings 7 months ago
Ryan ZHAO 630e20fc69 Merge branch 'dev' into standardised-strings 7 months ago
Ryan ZHAO 4e8859250e bump up version number to 2.8.0 7 months ago
Morgan Pretty 645e24a573 Fixed an issue where legacy group push notifications weren't working 7 months ago
Morgan Pretty d38e620e8e Fixed a regression when updating config messages
Doing a config push was working via `Atomic.wrappedValue` instead of `Atomic.mutate` - we need to use `Atomic.mutate` in this case because we want to block other threads from modifying the config while we are doing a push (otherwise it can crash due to data changing while generating the push payload)
7 months ago
Morgan Pretty 31e5719318 Updated libSession (tweaks to some usages of 'wrap_exceptions') 7 months ago
Morgan Pretty 1396652698 Refactored the DSL for interacting with C structs
There were a few logs related to bad memory access within libSession and the `toLibSession` convention which we'd originally setup made me nervous as C-friendly objects would be allocated in Swift and then assigned to C struct properties but I'm not sure how the memory would actually behave in this case.

This updated approach unfortunately involves a bunch of duplicate code within 'TypeConversion+Utilities' (and some horrible type aliases for tuples) but as a result we now have compile-time safe 'get' and 'set' functions for any C struct which conforms to `CAccessible` and `CMutable`. The other nice benefit about this change is that the new `set` functions copy memory across into the C structs so we can have more confidence that the memory ownership has shifted to the libSession side of things.
7 months ago
Ryan ZHAO ea48f1b40d fix strings 7 months ago
Ryan ZHAO 544c680b6b update translation file 7 months ago
Ryan ZHAO f861241b95 fix more strings 7 months ago
Morgan Pretty f7626939e6 Fixed a crash which could occur when taking a photo via the app failed 7 months ago
Morgan Pretty 09a14358ee Updated to the latest GRDB (use pre-built framework to cut ~30 sec from build time) 7 months ago
Ryan ZHAO 367104c835 fix on strings 7 months ago
Ryan ZHAO 318d5beaab fix time formatting 7 months ago
Ryan ZHAO 9b676a8083 remove unused block/unblock toast 7 months ago
Ryan ZHAO 263844daba fix unblock modal 7 months ago
Ryan ZHAO f7bc296225 fix group/community leave message 7 months ago
Ryan ZHAO 5b637c7b77 fix an issue where plural strings have other dynamic values 7 months ago
Ryan ZHAO 02a4dc9e8c Merge branch 'standardised-strings' of https://github.com/RyanRory/loki-messenger-ios into standardised-strings 7 months ago
Ryan ZHAO 6e6c5d9a19 show control message on main device when accepting message request 7 months ago
Morgan Pretty f07d0ba189
Merge pull request #1016 from mpretty-cyro/fix/deadlock-rework
Reworked deadlock handling, fixed a few other issues
7 months ago
Morgan Pretty ddd36b96a2 Reworked deadlock handling, fixed a few other issues
• Fixed an issue where the background task to finish sending messages may not have sent the sync message or the main message after and upload
• Fixed an issue where the SessionBackgroundTask was incorrectly reporting a failure to be created
• Fixed an incorrect modal action colour
• Fixed a crash when creating legacy groups
• Updated the code so that we take charge of resolving the deadlock issue instead of relying on GRDB to do it
• Updated the logic to timeout the SessionBackgroundTask with 5 seconds of background time remaining (to ensure we have enough time to suspend the network & database)
7 months ago
Morgan Pretty 9f9d3d4455 Fixed a regression where deleting data from network gave a false-failure 8 months ago
Morgan Pretty 597f94a954 Fixed an issue where you could answer calls without having the mic permission 8 months ago
Morgan Pretty e1aedb36da Fixed a few bugs found when testing strings
• Fixed an issue where creating a legacy group could be blocked by the legacy PN subscription failing (was part of the synchronous request)
• Fixed an issue where the code would incorrectly use profile data from incoming messages sent from the current user to update it's profile info
• Fixed an issue where saving media would fail silently if the user had rejected the OS permission
• Refactored a little code around profile changes to make things more readable
8 months ago
Ryan ZHAO 7acd299858 fix unblock modals 8 months ago
Ryan ZHAO b39845f265 fix strings 8 months ago
Morgan Pretty 3a1f086d0c Reworked deadlock handling, fixed a few other issues
• Fixed an issue where the background task to finish sending messages may not have sent the sync message or the main message after and upload
• Fixed an issue where the SessionBackgroundTask was incorrectly reporting a failure to be created
• Fixed an incorrect modal action colour
• Fixed a crash when creating legacy groups
• Updated the code so that we take charge of resolving the deadlock issue instead of relying on GRDB to do it
• Updated the logic to timeout the SessionBackgroundTask with 5 seconds of background time remaining (to ensure we have enough time to suspend the network & database)
8 months ago
Morgan Pretty 9eca118d85 Correctly show the 'uploading' state, removed unused function 8 months ago