Commit Graph

852 Commits (bd34d1a9e6cc963db2262dc8683b6dc9b3a1ec92)

Author SHA1 Message Date
Ryan ZHAO 497bfbe120 copy fix 10 months ago
Ryan ZHAO 28dcbffa99 copy fix 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 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
Morgan Pretty 6cb9294143 Changed the networking logic to suspend/resume rather than just cancel connections 11 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
11 months ago
Ryan ZHAO ecb1b83a8e upgrade to minimum iOS 15.0 support 11 months ago
Ryan ZHAO 90de873ea0 add and modify strings 11 months ago
Ryan ZHAO c9130326bc fix some localised strings 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 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 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
Ryan ZHAO 8fe3cf7562 update strings and minor fix 11 months ago
Ryan ZHAO 688ab805d7 UI fix for onboarding merge 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 12 months ago
Ryan ZHAO bcc1d436bc WIP: update strings for onboarding changes 12 months ago
Morgan Pretty eccaa29c4a Fixed the background crash issues
• Updated GRDB and SQLCipher
• Shifted the ThreadSettingsViewModel code into a separate function to fix a compilation issue
12 months ago
Ryan ZHAO f4a979f55f Merge branch 'onboarding' into standardised-strings 12 months ago
Ryan ZHAO c4b035eb78 add localised strings for system controlled permission modals 12 months ago
Morgan Pretty 9491b4a97b Fixed a crash and config issue
• Fixed a bad memory crash which could occur when returning from the background
• Fixed an issue where config messages were incorrectly getting double wrapped in protobuf wrappers
12 months ago
Ryan ZHAO d50f867717 add dynamic variables for app name 12 months ago
Ryan ZHAO 534c0a13df rename dynamic variables in strings 12 months ago
Morgan Pretty 99abcdebf6 Removed some unneeded code and fixed a couple of bugs
• Removed the 'runOnceTransient' behaviour (no longer have jobs that run before the user exists)
• Removed the session id from the message snippet in the conversation list
• Fixed an issue where the SyncPushTokensJob might not run because the paths hadn't been built yet
12 months ago
Morgan Pretty 5ee15bbc3f Moved a bunch of networking logic into libSession
• Moved the snode cache and path building into libSession (deleted associated logic)
• Moved reachability detection into libSession (remove Reachability dependency)
• Fixed a couple of crashes with using libQuic requests
• Fixed a bug where the MessageRequestFooterView would show buttons on outgoing message requests
12 months ago
Ryan ZHAO 6d297dc2a9 update strings 12 months ago
Ryan ZHAO 6f6521c9ca update strings 12 months ago
Ryan ZHAO 1cda8887dc WIP: strings! 12 months ago
Morgan Pretty 352f6d7337 Fixed a number of bugs found while testing the internal build
• Reworked the keyboard avoidance in ConversationVC to fix some bugs and simplify the behaviour
• Moved the message request footer UI into it's own view
• Fixed an issue where paths wouldn't get built for a new isntall
• Fixed an issue where a couple of LibSession+Networking errors weren't getting logged correctly
• Fixed a log that could be thrown incorrect for a unique constraint failure
• Fixed an annoying startup warning due to thread priorities
1 year ago
Morgan Pretty a3188ebea4 Fixed a number of bugs found in the internal release
• Moved the 'getSwarm' behaviour into a distinct job to prevent duplicate API calls
• Updated to the latest libSession (fix libQuic crash)
• Updated the JobRunner to support the `runOnceTransient` behaviour and be able to run transient jobs in the app extensions
• Reworked the extension file logging to be written directly to the file in a single operation rather than line-by-line via the logger
• Fixed a bug where community invites has the wrong author
• Fixed a bug where the title on the disappearing messages settings screen was clipping vertically
• Fixed a bug where tapping on the disappearing messages setting subtitle could incorrectly appear in read-only state for admins
• Fixed a log which contained notification content
• Tweaks to extension logging logic
1 year ago
Ryan ZHAO a7b8a120e3 minor fix and add toast for already a member of community 1 year ago
Morgan Pretty 2cffda17bc Merge remote-tracking branch 'upstream/dev' into feature/lib-quic-integration
# Conflicts:
#	Scripts/build_libSession_util.sh
1 year ago
Morgan Pretty afe1efbd90 Deduped path building and attempted to improve extension logging
• Moved the build paths logic into the BuildPathsJob to allow for better deduping
• Updated the notification and share extensions to generate log files and append to the bottom of the app log file
1 year ago
Morgan Pretty c6c2881338 Reworked the libSession network to be instance based
• Fixed an issue where the DisappearingMessagesJob was getting run for every individual message process instead of just once after processing all messages from a poll
• Tweaked the polling logic to split the user, groups and community pollers into separate queues
• Tweaked the logic to restart the open group poller immediately after joining a community (to avoid an edge-case where there could be a long delay before the initial poll is made)
• Tweaked the logic for checking if PNs are susceptible to failure to only dispatch to the main thread once
• Cleaned up some warnings
• Updated the app versioning to be at the project level instead of target level
• Added the ability to define a unique hash for a job for deduplication
1 year ago
Ryan ZHAO f33a153c7f update more strings 1 year ago
Ryan ZHAO 62af0aa907 update more localized strings 1 year ago
Ryan ZHAO cdb9282313 replace more localized string 1 year ago
Ryan ZHAO 28dbef71c3 Merge branch 'dev' into standardised-strings 1 year ago
Ryan ZHAO 928fe3a1d6 Merge branch 'dev' into onboarding 1 year ago
Ryan ZHAO 63658f70d7 Merge branch 'dev' into standardised-strings 1 year ago
Morgan Pretty b01de2e65f Added missing keys to the privacy info file 1 year ago
Morgan Pretty fff1bcb9ba Added the FileTimestamp key to the PrivacyInfo plist 1 year ago
Morgan Pretty 53196b4694 Added new PrivacyInfo plist required by Apple 1 year ago
Ryan ZHAO 54d0f06139 add some general localised strings 1 year ago
Ryan ZHAO 0075494a2d Merge branch 'dev' into onboarding 1 year ago
Ryan ZHAO bcb2bbb2e7 fix faulty translation 1 year ago
Morgan Pretty 4818a6d074 Merge remote-tracking branch 'origin/dev' into feature/lib-quic-integration
# Conflicts:
#	Podfile.lock
#	Session.xcodeproj/project.pbxproj
#	Session/Meta/Session-Info.plist
1 year ago
Ryan ZHAO de0a3b0ee0 Merge branch 'dev' into onboarding 1 year ago
Morgan Pretty 7eb7eda74e [WIP] Cleaned up interface, error handling and redundant code 1 year ago
Ryan ZHAO d8698b717e add more localized strings 1 year ago
Ryan ZHAO 5015301bad WIP: add toasts 1 year ago
Ryan ZHAO eb9705676f change of strings 1 year ago
Ryan ZHAO 1358bc2648 add block/unblock toast 1 year ago
Ryan ZHAO 1904a795b8 WIP: add new strings 1 year ago
Ryan ZHAO 526172243b Merge branch 'dev' into onboarding 1 year ago
Ryan ZHAO 71e3925820 replace "Show Less" and disappearing messages outdated client banner 1 year ago
Ryan ZHAO f7098e27d6 fix conflicts of merging dev 1 year ago
Ryan ZHAO 88a8ac3d01 Merge branch 'dev' into standardised-strings 1 year ago
Ryan ZHAO dec43dcda3 wip: add strings 1 year ago
Ryan ZHAO e235b6059f fix an issue where the keyboard can be covering voice call buttons 1 year ago
Morgan Pretty 756e256d9a Moving libSession into SessionUtilitiesKit to expose it to other targets 1 year ago
Ryan ZHAO 6dc5d3031b Merge branch 'dev' into message-detail-screen 1 year ago
Ryan ZHAO 9df1505c2f add missing string 1 year ago
Ryan ZHAO b05efbab05 allow arbitrary loads for testing 1 year ago
Ryan ZHAO fd1c368ca0 WIP: check for any untouched strings 1 year ago
Ryan ZHAO 4054796da1 apply new localized string format 1 year ago
Ryan ZHAO 3c7ac96b5a replace NSLocalizedString() wiith .localized, and remove CommonStrings 1 year ago
Ryan ZHAO d9a73bea95 adding missing strings 1 year ago
Ryan ZHAO 0ebf0ea365 Merge branch 'dev' into standardised-strings 1 year ago
Ryan ZHAO 72fa1ae52a WIP: add accessibility ids 1 year ago
Ryan ZHAO f5afdae646 Merge branch 'dev' into message-detail-screen 1 year ago
Ryan ZHAO e85df4efd3 update string 1 year ago
Ryan ZHAO 673170360d Merge branch 'dev' into onboarding 1 year ago
Morgan Pretty e1bb6de7d6 Merge remote-tracking branch 'upstream/dev' into feature/drop-yap-database-support
# Conflicts:
#	Podfile.lock
#	SessionMessagingKit/Database/Migrations/_003_YDBToGRDBMigration.swift
1 year ago
Ryan ZHAO 2e4c11f4b9 add a process to clean up any expired messages before loading initial screen after app launch 1 year ago
Ryan ZHAO d63f3a8bee fix disappearing message settings subtitle copy 1 year ago
Ryan ZHAO a1eea8406e wrap up replacing strings 1 year ago
Ryan ZHAO 8f0b6d8202 WIP: Replace strings 1 year ago
Ryan ZHAO 11abdf4f88 Add new localization logic 1 year ago
Ryan ZHAO f9ef58c9d3 WIP: add strings 1 year ago
Ryan ZHAO 10e2734f34 remove caption function with strings 1 year ago