Commit Graph

2510 Commits (ca5c979f8f921af0c7f6a0ace757171e943a50fd)

Author SHA1 Message Date
Ryan ZHAO 6758ad010e show message input box when permission is changed in a conversation 8 months ago
Morgan Pretty 6a838a486c Fixed an issue where the blocked contacts screen might not show values 8 months 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)
8 months 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
8 months 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
9 months ago
Ryan ZHAO fe312a0d68 update translation link 9 months ago
Morgan Pretty 402083e0cf Removed the path screen attribution label 9 months 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
9 months 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
9 months ago
Morgan Pretty 6c9f4b506d Added the attribution label to the paths screen 9 months ago
Morgan Pretty 201659728f Removed some debug code 9 months 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
9 months ago
Morgan Pretty 592d743c82 Fixed a bug where the conversation settings button message request bug 9 months 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)
9 months ago
Ryan ZHAO f8e1c4a20b update accessibility id 9 months ago
Ryan ZHAO e430ef7943 fix accessibility id 9 months ago
Ryan ZHAO 394bd19c96 WIP: ban & delete toast 9 months ago
Morgan Pretty 25150f931e Logging improvements, incorrect version number fix 9 months ago
Ryan ZHAO 27b5aeaec3 handle an edge case when user force quitting the app during account creation 9 months ago
Ryan ZHAO 1753a4a85d add animation 9 months ago
Ryan ZHAO 23511941c5 fix the ons error logic 9 months ago
Ryan ZHAO 77e9a1d29a fix landing screen T&C string 9 months ago
Ryan ZHAO 065e51381b add strings & update libsession build script 9 months ago
Ryan ZHAO 19b4055a2e Merge branch 'onboarding' into standardised-strings 9 months ago
Ryan ZHAO 75845619f7 update accessibility id 9 months ago
Ryan ZHAO b2a7e142a3 update onboarding flow when the seed is already stored 9 months ago
Ryan ZHAO eec4c7f944 add localised strings 9 months ago
Ryan ZHAO 4da21035ca fix ons search error 9 months 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
9 months ago
Ryan ZHAO 654419d116 fix multiple lines display name in settings screen 9 months ago
Ryan ZHAO 572e5ceb7d fix an issue where 100 bytes string won't pass the display name length test 9 months ago
Morgan Pretty 3dada9e58a Updated mention styling and added back path "recovery" logic 9 months 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)
9 months ago
Ryan ZHAO ab2f93a993 workaround for restarting capture after going back from message notification screen 10 months ago
Ryan ZHAO 057e71f942 minor copy fix 10 months ago
Ryan ZHAO a05aab193c fix the error message for ons searching time out 10 months ago
Ryan ZHAO 216a6666cc fix error logic for recovery password 10 months 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)
10 months 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
10 months 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
10 months ago
Ryan ZHAO 0b7ff7b623 Merge branch 'dev' into onboarding 10 months ago
Ryan ZHAO e82cf79dd4 fix an issue that the camera freezes after scanning something other than a session id in new conversation screen 10 months ago
Ryan ZHAO d6b8616543 further fix for global search sorting 10 months ago
Ryan ZHAO ed04c5153e fix default contact list sorting behaviour in global search screen 10 months ago
Ryan ZHAO 497bfbe120 copy fix 10 months ago
Ryan ZHAO 28dcbffa99 copy fix 10 months ago
Ryan ZHAO 16f47d4f87 fix an issue where copy is cut off on small devices 10 months 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
10 months 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
10 months ago
Ryan ZHAO ac29ca484c update info plist translation file 10 months ago
Ryan ZHAO 527c921df3 Merge branch 'onboarding' into standardised-strings 10 months ago
Morgan Pretty 1726930e2e Merge remote-tracking branch 'upstream/dev' into onboarding 10 months ago
Ryan ZHAO 62854c57c7 fix recovery password qr code 10 months ago
Ryan ZHAO 1839d596ce replace "Unknown" section with "#" for global search 10 months ago
Ryan ZHAO 3f3c7321ad fix contacts sorting issue in global search 10 months ago
Ryan ZHAO 4c0ffdcd25 add paddings at the bottom of recovery password title 10 months ago
Ryan ZHAO 54fea140b7 fix global search section title for conversations 10 months 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
10 months ago
Ryan ZHAO 45d9718ef8 fix a bunch of accessibility ids 10 months ago
Ryan ZHAO fea940c69d fix an issue that the screen stack is odd when sending message requests 10 months ago
Ryan ZHAO 7310f49b59 fix recovery password accessibility in light mode 10 months ago
Ryan ZHAO 63ca28b002 make the fake chat bubbles in landing screen scrollable 10 months ago
Morgan Pretty 6cb9294143 Changed the networking logic to suspend/resume rather than just cancel connections 10 months 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
10 months ago
Ryan ZHAO ecb1b83a8e upgrade to minimum iOS 15.0 support 10 months ago
Ryan ZHAO 90de873ea0 add and modify strings 10 months ago
Ryan ZHAO c9130326bc fix some localised strings 10 months 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
11 months 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
11 months 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
11 months 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
11 months 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
11 months ago
Ryan ZHAO 1d01eb91ae Merge branch 'onboarding' into standardised-strings 11 months ago
Ryan ZHAO de4a367374 fix an issue that the navigation bar won't change as the appearance settings changes 11 months ago
Ryan ZHAO 431c024354 update accessibility ids 11 months ago
Ryan ZHAO ae4c87a5b0 minor refactor on how to show error messages when the mnemonic is incorrect 11 months ago
Ryan ZHAO 648c3e658e fix incorrectly displayed empty state in home screen 11 months ago
Ryan ZHAO aa5d7f14d3 fix home screen in light mode 11 months ago
Ryan ZHAO d8c6692fbc add closed button for Open URL Modal 11 months ago
Ryan ZHAO 0a9fa9de51 clean 11 months ago
Ryan ZHAO 27cfa40819 replace "Session ID" with "Account ID" 11 months ago
Ryan ZHAO 98b46bc142 replace "Lock Session" with "Lock App" 11 months ago
Ryan ZHAO 2301c75c08 fix toast error message for scanning recovery password qrcode 11 months ago
Ryan ZHAO 1c46faa500 update InfoPlist.xcstrings 11 months ago
Ryan ZHAO acb528f190 time localisation 11 months ago
Ryan ZHAO fdfc75967b Merge branch 'standardised-strings' of https://github.com/RyanRory/loki-messenger-ios into standardised-strings 11 months ago
Ryan ZHAO be150154d1 WIP: add scripts for OS permission strings 11 months ago
Morgan Pretty d9a64e0148 Merge remote-tracking branch 'upstream/dev' into standardised-strings
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	Session/Closed Groups/EditClosedGroupVC.swift
#	Session/Closed Groups/NewClosedGroupVC.swift
#	Session/Conversations/ConversationVC+Interaction.swift
#	Session/Conversations/ConversationVC.swift
#	Session/Conversations/Emoji Picker/EmojiPickerCollectionView.swift
#	Session/Conversations/Settings/ThreadSettingsViewModel.swift
#	Session/Emoji/Emoji+Available.swift
#	Session/Home/New Conversation/NewDMVC.swift
#	Session/Media Viewing & Editing/GIFs/GifPickerViewController.swift
#	Session/Meta/AppDelegate.swift
#	Session/Meta/SessionApp.swift
#	Session/Onboarding/PNModeVC.swift
#	Session/Path/PathVC.swift
#	Session/Utilities/IP2Country.swift
#	SessionMessagingKit/Messages/Control Messages/SharedConfigMessage.swift
#	SessionMessagingKit/Sending & Receiving/Pollers/OpenGroupPoller.swift
#	SessionMessagingKit/Sending & Receiving/Pollers/Poller.swift
#	SessionNotificationServiceExtension/NotificationError.swift
#	SessionUIKit/Style Guide/Values.swift
#	SignalUtilitiesKit/Media Viewing & Editing/Attachment Approval/AttachmentCaptionToolbar.swift
11 months ago
Morgan Pretty 73193df2e1 Fixed error handling after merge 11 months ago
Morgan Pretty e420ce4e58 Merge remote-tracking branch 'upstream/dev' into onboarding
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	Session/Conversations/ConversationVC.swift
#	Session/Home/New Conversation/NewDMVC.swift
#	Session/Onboarding/PNModeVC.swift
#	SessionUIKit/Style Guide/Values.swift
11 months ago
Morgan Pretty 9e5a938d6f Use the new logger, fixed build script bug, latest libSession
• Updated to the latest libSession
• Updated the code to use the new logger
• Fixed a bug in the build script where changes to external libSession dependencies wouldn't result in a rebuild
11 months ago
Morgan Pretty fb8a1623df Updated the CI sim build command to use unbuffered io 11 months ago
Morgan Pretty fee7f09c38 Fixed keyboard obscuring the calls UI in one case, fixed QA ids 11 months ago
Ryan ZHAO 991d0b90d5 add a new modal for unknown errors when clearing data from network 11 months ago
Ryan ZHAO 8fe3cf7562 update strings and minor fix 11 months ago
Ryan ZHAO 688ab805d7 UI fix for onboarding merge 11 months ago
Ryan ZHAO 0d6ed3fa1f fix display name screen title 11 months ago
Ryan ZHAO 96832484b3 minor refactor on getting app name 11 months ago
Ryan ZHAO ed24b91199 replace community join error 11 months ago
Ryan ZHAO e790fa4519 make things compile 11 months ago