Commit Graph

1085 Commits (ec37f9bbe23f68667de508ac962d55f23e5c342c)

Author SHA1 Message Date
Morgan Pretty 5d9b97e354 Added Lucide as a dependency, added standard font styling 10 months ago
Morgan Pretty 3002853d17 Updated the package dependencies to point at the STF org 10 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
10 months ago
Morgan Pretty 03f07a725d
Merge pull request #330 from mpretty-cyro/feature/dev-settings
Added logic for dev setting import/export
10 months ago
Ryan ZHAO 25ffe98912 fix an issue when app is in background state, call messages are not handled properly 10 months ago
Morgan Pretty 35758b2946 Added logic for dev setting import/export
• Added the dev settings UI
• Added export and import functionality (import is unfinished)
• Updated the export logs to allow for either sharing or saving direct to files
10 months ago
Morgan Pretty 22e59b1789 Fixed a crash which could occur when receiving a UserGroups config change 10 months ago
Ryan ZHAO 8f10f43494 further fix on app state issues 10 months ago
Ryan ZHAO 1dddedf3eb add logs and fix a case when the call is going with CallKit but the app state is not in background 10 months ago
Ryan ZHAO 58707da75e add more logs 10 months ago
Ryan ZHAO 780e262e52 fix CallKit crash 10 months ago
Ryan ZHAO 5fb9a6621d add more logs 11 months ago
Ryan ZHAO 83a0849f66 add some more logs for testing and debug 11 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
11 months ago
Ryan ZHAO ca515d32e1 update build and version number 11 months ago
Morgan Pretty b2ccd24172 Fixed an app submission issue due to private API naming collision 12 months ago
Morgan Pretty ce77a10b16 Updated version and build number info 12 months ago
Morgan Pretty 7af0f865f5 Refactored the 'RecipientState' type
• Refactored the 'RecipientState' type to just be columns on the 'Interaction' table
• Added some syntactic sugar to clean up the 'CallbackWrapper' boilerplate within the LibSession+Networking code
• Fixed an issue where sending a message into a group where you are the only member would result in the message permanently being in the sending state
• Fixed an issue when initially setting up the interaction database structure where the community whisper mechanism needed another column
• Fixed a bug where the MessageSendJob wouldn't time out during path building
• Fixed a bug where the MessageSendJob wouldn't retry 8 times before detecting a timeout (meaning it would retry up to 80 times in total before permanently failing)
12 months ago
Morgan Pretty bfe5f96fd8 Tweaked a couple of Xcode settings to remove redundant languages 1 year ago
Morgan Pretty 16ba002469 Merge remote-tracking branch 'upstream/dev' into third-party-license
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	Session/Meta/Translations/InfoPlist.xcstrings
1 year ago
Morgan Pretty 41a3f27fad
Merge pull request #1034 from mpretty-cyro/feature/uniform-type-identifiers-refactoring
Refactored MimeTypeUtil to use UniformTypeIdentifiers
1 year ago
Morgan Pretty 0afb0c399b Updated to the latest GRDB (Built with Xcode 16) 1 year ago
Morgan Pretty d570e10430 Merge remote-tracking branch 'upstream/dev' into feature/uniform-type-identifiers-refactoring
# Conflicts:
#	Session/Meta/Translations/InfoPlist.xcstrings
1 year ago
Morgan Pretty 2c9427edcf Refactored MimeTypeUtil to use UniformTypeIdentifiers 1 year ago
Ryan ZHAO 62f84d2c1f add script the catch licenses in SPM and generate a plist file as Acknowledgement in Settings.bundle 1 year 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
1 year ago
Morgan Pretty a1c3d53569 Updated project level versions 1 year ago
Morgan Pretty 0f549ae77d Renamed 'ScrollableLabelView' to 'ScrollableLabel' 1 year ago
Morgan Pretty 7bfc533882 Created a ScrollableLabelView component for the ConfirmationModal 1 year ago
Ryan ZHAO 581569b009 merge latest translation & bump up build number 1 year ago
Ryan ZHAO b9beb7aec4 Use English strings as the default strings & update build number 1 year ago
Ryan ZHAO b8b8419fdb minor fix on the tool bar theme and bump up build number 1 year ago
Ryan ZHAO ded30dc072 merge latest translation and update the build number 1 year ago
Morgan Pretty ecd066f7a1 Merge remote-tracking branch 'upstream/dev' into strings
# Conflicts:
#	Session/Media Viewing & Editing/PhotoCaptureViewController.swift
#	Session/Notifications/AppNotifications.swift
#	Session/Settings/SettingsViewModel.swift
#	Session/Utilities/Permissions.swift
#	SessionMessagingKit/Messages/Control Messages/CallMessage.swift
#	SessionMessagingKit/Sending & Receiving/Message Handling/MessageSender+ClosedGroups.swift
#	SessionShareExtension/ThreadPickerVC.swift
1 year ago
Morgan Pretty 5266cba14d Fixed a bug with path dropping detection and logging tweaks 1 year ago
Morgan Pretty a7e73080fa Minor logging tweaks 1 year 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
1 year ago
Morgan Pretty 3366408187 Removed a delay before starting pollers which is no longer needed 1 year ago
Ryan ZHAO d21a0815fa add constants 1 year ago
Ryan ZHAO 630e20fc69 Merge branch 'dev' into standardised-strings 1 year ago
Ryan ZHAO 4e8859250e bump up version number to 2.8.0 1 year 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.
1 year ago
Morgan Pretty 09a14358ee Updated to the latest GRDB (use pre-built framework to cut ~30 sec from build time) 1 year 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)
1 year 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
1 year ago
Ryan ZHAO 30ec5a1b0d bump up build number 1 year ago
Ryan ZHAO 36c6696ea8 update version number 1 year ago
Ryan ZHAO ce8c6bd971 fix a clear data modal 1 year ago
Ryan ZHAO 39efcc4d2b bump up version and build number 1 year ago
Ryan ZHAO d31036f60c clean errors 1 year ago