Commit Graph

18277 Commits (201659728fe77f45b0acf5c5dd9be287f7959568)
 

Author SHA1 Message Date
Morgan Pretty 201659728f Removed some debug code 1 year ago
Morgan Pretty f7dcd47c0c Fixed a few more minor bugs and updated GeoLite2 data
• Updated the GeoLite2 country database data, added some basic localisation to it
• Managed to optimise the size of the GeoLite2 data bundled with the app (10mb -> 8mb)
• Cleaned up the IP2Country logic a little
• Removed some pluralisation from logs (want the logs to be identical outside of numbers)
• Tweaked the PushRegistrationManager to actually timeout
1 year ago
Morgan Pretty 592d743c82 Fixed a bug where the conversation settings button message request bug 1 year ago
Morgan Pretty a8d9200ef5 Fixed a few more bugs
• Fixed an issue where excessive job failures could result in jobs not running onLaunch or onActive as expected (extended network issues resulted in the default communities not getting fetched)
• Fixed an issue where the PathVC could end up in a weird state after the IP2Country cache gets updated
• Fixed an issue where LinkPreview caching was incorrectly case sensitive
• Fixed an issue where the IP2Country might load it's cache on the wrong thread
• Added the ability to copy the file path to the log file when exporting on the simulator
• Updated the Request type to correctly encode a body of 'Data' type when given (would previously incorrectly encode it as JSON)
1 year ago
Morgan Pretty 25150f931e Logging improvements, incorrect version number fix 1 year ago
Morgan Pretty 59bc1f4ec9 Added another missed change 1 year ago
Morgan Pretty 1fd65230b7 Fixed the broken unit tests
• Added a method to customise mock parameter summaries for unit tests
• Pulled across the updated libSession cache logic
1 year ago
Morgan Pretty 3dada9e58a Updated mention styling and added back path "recovery" logic 1 year ago
Morgan Pretty e2fc0a5b51 Further fixes
• Fixed an issue where the default log level was set too low
• Fixed an issue where sending the app to the background without any pending jobs could result in the database and network not being suspended correctly
• Updated to latest libSession (don't try to recover paths, just rebuild)
1 year ago
Morgan Pretty ea7b4a2de3 Fixed an issue with rapidly going to/from the background
• Fixed an issue where leaving and returning to the app rapidly could leave the app in a state when the database and network are inaccessible
• Fixed an issue where bad nodes might not get dropped from the pool (libSession update)
1 year ago
Morgan Pretty 185e84dc95 Fixed a few PN behaviours
• Tweaked the message request notification behaviour
• Fixed an issue where duplicate message errors would result in the generic notification being shown
• Further notification logging improvements
1 year ago
Morgan Pretty db796896f4 Tweaks to notification extension
• Fixed an issue where the notification extension could end up in an invalid state if you delete and create a new account in rapid succession
• Fixed an issue where notification processing errors weren't getting handled correctly resulting in the notification extension timing out
• Stopped the notification extension from trying to download profile images
• Added commit hash to version info
• Tweaked the notification extension logic flow to be more straight forward
1 year ago
Morgan Pretty dc85c69993
Merge pull request #985 from mpretty-cyro/feature/30s-debug-dis-msg-option
Added a 30s disappearing messages option to debug builds for testing
1 year ago
Morgan Pretty 344e290ec1 Added a 30s disappearing messages option to debug builds for testing 1 year ago
Morgan Pretty ec72a5310f
Merge pull request #981 from mpretty-cyro/fix/release-2-6-1-issues
Fix release 2.6.1 Issues
1 year ago
Morgan Pretty a49a27207d Missed some code 1 year ago
Morgan Pretty 27a3dff06b NSE tweaks to ensure code paths all behave as expected 1 year ago
Morgan Pretty 1ee7548c0a Updated to the latest libSession 1 year ago
Morgan Pretty 20eb791f75 Fixed an ONS lookup issue, update check frequency tweak 1 year ago
Morgan Pretty cac5542868 Additional bug fixes, log tweaks and update checking
• Added a new CheckForAppUpdates job which runs at most once every 24 hours
• Updated the job failure logs to include the error that caused the failure
• Updated the network instance to use 'single_path_mode' when not executing within the main app
• Updated the logger to append extension logs when resuming instead of only during startup
• Updated the export logs behaviour to append the previously rotated log data if the latest log file is too short (to ensure we get more useful info when debugging)
• Updated to the latest libSession commit to resolve a couple of edge-cases
1 year ago
Morgan Pretty 6663bd64c4 Stopped the PN extension suspending the network and improved logging
• Removed the SOGS polling from the notification extension (rarely worked and caused network suspension bugs)
• Cleaned up some logging
1 year ago
Morgan Pretty 7019f84be9
Merge pull request #976 from mpretty-cyro/fix/release-2-6-0-issues
Fix release 2.6.0 issues
1 year ago
Morgan Pretty afa93d3320 Updated with latest libSession fixes, minor logging tweaks 1 year ago
Morgan Pretty a5095b5965 Fixed remaining broken unit tests 1 year ago
Morgan Pretty 999ddfe50e Made a couple of tweaks to make the build process easier
• Added a script to extract the app group during the build and load it in at runtime (fallback to the current one)
• Updated the 'App Store Release' scheme to 'App_Store_Release' to fix build issues on some machines
• Fixed some broken unit tests
1 year ago
Morgan Pretty a91024f0bb Separate streams for attachment upload/download and bug fixes
• Updated the code to stop sending legacy PNs outside of legacy group conversations
• Updated the logger logic to clean things up and use the local date/time (with time zone info) to ease debugging user reports
• Fixed an issue where messages in a community could incorrectly accept disappearing message settings
• Fixed an issue where duplicate messages could be sent in some cases
• Fixed an issue where the conversation might not scroll to the bottom after sending an attachment
• Fixed an issue where attachment encryption was happening in a db write thread
1 year ago
Morgan Pretty 6751a9c5ff PR Comments & more tweaks for background behaviours 1 year ago
Morgan Pretty f2299b74f4 Tweak for a test which behaves inconsistently 1 year ago
Morgan Pretty 6cb9294143 Changed the networking logic to suspend/resume rather than just cancel connections 1 year ago
Morgan Pretty b0eec5a4c2 Updated to the latest libSession and updated it's error handling 1 year ago
Morgan Pretty d1a4683bc3 Worked on fixing the main libQuic crashes
• Revert logic to stop voice messages from playing when their associated message disappears
• Updated the libSession build script to pass through the build type (so we get debug libSession builds when doing debug builds)
• Fixed a couple of issues in libSession around recovering network connectivity
1 year ago
Morgan Pretty b58a3f23cd Fixed a couple of bugs in the ConversationVC
• Fixed a bug where a disappearing voice message wouldn't stop playing
• Fixed a bug where the conversation screen was never freed from memory
• Fixed an issue with an earlier change where the openGroupManager cache would access itself while modifying itself causing a crash
1 year ago
Morgan Pretty 593c3792b2 Fixed a bug where we stopped handling call message PNs 1 year ago
Morgan Pretty f9d9954cf5 Attempts to fix more crashes and fix unit tests
• Fixed an index out of bounds issue with the mnemonic
• Attempt to fix a crash due to failing to hash SignalAttachment
• Attempt to fix a crash due to list data change inconsistencies
• Ensuring we are shutting down the network when resetting app data
• Updated the broken unit tests
1 year ago
Morgan Pretty 3b5eaa6bbb Fixed a few minor issues noticed in the logs
• Fixed an issue where SOGS pollers could be started multiple times
• Avoid checking if blinded conversations exist in the config (will always return false)
• Updated some logs to provide more timing information
1 year ago
Morgan Pretty 1bc294114b Second batch of fixes for the libQuic release crashes
• Fixed a rare crash which could occur when receiving a network response
• Updated to the latest libSession (contains some libQuic fixes)
• Bumped version number
1 year ago
Morgan Pretty 733694d464 Defensive coding for C API conversation, threading & logging tweaks
• Reworked some of the C API conversions to try to prevent invalid cases
• Tweaked the threading around libSession networking callbacks to minimise Swift code blocking libSession threads
• More logging tweaks
1 year ago
Morgan Pretty dd5716e831 Initial work on 2.6.0 issues
• Fixed an issue where voice messages wouldn't stop playing when deleting a message or leaving a conversation
• Fixed an issue where the notification extension was handling errors and finishing while within a database transaction
• Fixed an issue where the ShareExtension may not have been able to send LinkPreviews
• Fixed an issue where displaying or logging the paths weren't maintaining the correct order
• Tweaked some of the logging behaviours
1 year ago
Morgan Pretty c130e3259b
Merge pull request #971 from mpretty-cyro/update-build-instructions
Tweaks to the build script and building instructions
1 year ago
Morgan Pretty e4d07fc510 Tweaks to the build script and building instructions 1 year ago
Morgan Pretty 8276749482
Merge pull request #960 from mpretty-cyro/feature/lib-quic-integration
libQuic integration via libSession
1 year ago
Morgan Pretty 444655ffcd Latest libSession 1 year ago
Morgan Pretty 021d05d0b3 Fixed a build script bug, updated to latest libSession 1 year ago
Morgan Pretty e62e0885ca Removed test logs 1 year ago
Morgan Pretty f50d7fcee4 Updated to the latest libSession, added new build arg 1 year ago
Morgan Pretty 7dc811a1d8 Lastest libSession tweaks 1 year ago
Morgan Pretty 994854f8ee Expose libSession submodule errors in build script, libSession path building tweaks 1 year ago
Morgan Pretty bc6bab2c67 Build script update to handle submodule errors/warnings and disable the check on debug builds 1 year ago
Morgan Pretty 481b515ed0 Logging testing 1 year ago
Morgan Pretty 47001b754d Added manual log calls for testing 1 year ago