Commit Graph

1074 Commits (bf5db2ab93b5d0e33e5e9ddb6b075ef3be4ab777)

Author SHA1 Message Date
Ryan ZHAO 780e262e52 fix CallKit crash 11 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
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
Ryan ZHAO 8d05a9dce3 move webRTC constants to its own file 1 year ago
Ryan ZHAO ca5c979f8f Merge branch 'dev' into standardised-strings 1 year ago
Morgan Pretty 67830ed767 Fixed a legacy group message decryption issue
Fixed a bug where we were incorrectly generating and requiring 64 byte secrets for legacy groups (we only need 32 bytes), since we do length checks before calling the libSession C API (to prevent crashes) we would fail before attempting to decrypt because the key was too short
1 year ago
Ryan ZHAO b980e52873 update scripts 1 year ago
Ryan ZHAO 5c18019e6b Merge branch 'dev' into standardised-strings 1 year ago
Morgan Pretty b3e7fa66fc Removed settings data change animations, fixed settings dismiss bug
• Remove the data change animations on the settings screens as they were causing frequent crashes
• Fixed an issue where deleting a message request via settings would dismissing the settings screen
1 year ago
Ryan ZHAO 771b21a96d Merge branch 'dev' into standardised-strings 1 year ago
Ryan ZHAO 0413baa06e refactor localized string with style 1 year ago
Morgan Pretty 027ce1604d Fixed a few issues found during QA
• Fixed an issue where incoming legacy group messages were failing to decrypt
• Fixed an issue where decoding push notifications could result in an infinite loop
• Fixed an issue where the extensions would incorrectly try to append extension logs (only want the main app to do this)
• Updated the accessibility ids for the switches and radios on the privacy and disappearing message settings screens
1 year ago
Morgan Pretty 5da842a109 Fixed an issue where joinedAt wasn't getting set for legacy groups 1 year ago
Morgan Pretty 9b7b61e0d7 Merge remote-tracking branch 'upstream/dev' into standardised-strings
# Conflicts:
#	Session/Conversations/ConversationVC+Interaction.swift
1 year ago