Commit Graph

2399 Commits (6c07bac03bda38a4b177cd22d3f2e04768b4ecfa)

Author SHA1 Message Date
Morgan Pretty 6c07bac03b Merge remote-tracking branch 'upstream/dev' into fix/ip2country-explicit-int-sizing 1 year ago
bemusementpark 05b95cf34e Deduplicate IP2Country 1 year ago
Morgan Pretty bae51b6a9e Reworked some logic to use safer functions to navigate the memory 1 year ago
Morgan Pretty 86ba37c2ec Updated the IP2Country to use explicit Int sizes, added logs, add size check 1 year ago
Morgan Pretty 6a838a486c Fixed an issue where the blocked contacts screen might not show values 1 year ago
Morgan Pretty d4e66dde14 Fixed a few more issues found during testing
• Fixed an issue where the conversation 'created' timestamp wasn't correctly getting set when creating a group
• Fixed an issue where sending a message to 'Note to Self' may not show the conversation in the conversation list
• Fixed an issue where sharing a message with an attachment might not include the attachment
• Fixed an issue where list paging wouldn't work in some cases after values were inserted into the database after the currently loaded pages
• Added some handling for invalid 'joinedAt' values for groups (seems like we can have an incorrect resolution)
1 year ago
Morgan Pretty 3676f63cb0 Fixed some bugs found during QA
• Fixed a bug where the onboarding wouldn't be considered complete after successfully retrieving a displayName when restoring an account
• Fixed a couple of libSession networking bugs
• Tweaked some logging
• Removed some legacy code
1 year ago
Morgan Pretty ed472f44c5 Merge remote-tracking branch 'upstream/dev' into release/2.6.3
# Conflicts:
#	Session/Meta/AppDelegate.swift
#	Session/Onboarding/LandingVC.swift
#	Session/Onboarding/LinkDeviceVC.swift
#	Session/Onboarding/RegisterVC.swift
#	Session/Onboarding/RestoreVC.swift
1 year ago
Ryan ZHAO fe312a0d68 update translation link 1 year ago
Morgan Pretty 402083e0cf Removed the path screen attribution label 1 year ago
Morgan Pretty 234694b292 Fixed a couple of BackgroundPoller behaviours
• Fixed an issue where the BackgroundPoller would fail if a single destination failed
  - This would suspend the network, then the other pending requests would error and automatically retry, attempting to create a new connection which could loop a number of times rapidly since the network was suspended
• Fixed an issue where the BackgroundPoller could incorrectly try to write to the database after it had been suspended
1 year ago
Morgan Pretty 65807ec6d3 Further fixes
• Updated the pollers to NOT take the duration of the previous poll into account when scheduling the next poll
• Updated to the latest `libSession` version (a few optimisations/fixes)
• Fixed a minor layout issue with the attribution label on the Path screen
1 year ago
Morgan Pretty 6c9f4b506d Added the attribution label to the paths screen 1 year ago
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
Ryan ZHAO f8e1c4a20b update accessibility id 1 year ago
Ryan ZHAO e430ef7943 fix accessibility id 1 year ago
Morgan Pretty 25150f931e Logging improvements, incorrect version number fix 1 year ago
Ryan ZHAO 27b5aeaec3 handle an edge case when user force quitting the app during account creation 1 year ago
Ryan ZHAO 1753a4a85d add animation 1 year ago
Ryan ZHAO 23511941c5 fix the ons error logic 1 year ago
Ryan ZHAO 75845619f7 update accessibility id 1 year ago
Ryan ZHAO b2a7e142a3 update onboarding flow when the seed is already stored 1 year ago
Ryan ZHAO eec4c7f944 add localised strings 1 year ago
Ryan ZHAO 4da21035ca fix ons search error 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
Ryan ZHAO 654419d116 fix multiple lines display name in settings screen 1 year ago
Ryan ZHAO 572e5ceb7d fix an issue where 100 bytes string won't pass the display name length test 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
Ryan ZHAO ab2f93a993 workaround for restarting capture after going back from message notification screen 1 year ago
Ryan ZHAO 057e71f942 minor copy fix 1 year ago
Ryan ZHAO a05aab193c fix the error message for ons searching time out 1 year ago
Ryan ZHAO 216a6666cc fix error logic for recovery password 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
Ryan ZHAO 0b7ff7b623 Merge branch 'dev' into onboarding 1 year ago
Ryan ZHAO e82cf79dd4 fix an issue that the camera freezes after scanning something other than a session id in new conversation screen 1 year ago
Ryan ZHAO d6b8616543 further fix for global search sorting 1 year ago
Ryan ZHAO ed04c5153e fix default contact list sorting behaviour in global search screen 1 year ago
Ryan ZHAO 497bfbe120 copy fix 1 year ago
Ryan ZHAO 28dcbffa99 copy fix 1 year ago
Ryan ZHAO 16f47d4f87 fix an issue where copy is cut off on small devices 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 1726930e2e Merge remote-tracking branch 'upstream/dev' into onboarding 1 year ago
Ryan ZHAO 62854c57c7 fix recovery password qr code 1 year ago