Commit Graph

2659 Commits (119d7e21da5668707bc70246c6613390faab1f43)

Author SHA1 Message Date
Morgan Pretty 1439b1b033
Merge pull request #327 from mpretty-cyro/fix/input-not-reappearing
Fixed some issues with message deletion and the input field
6 months ago
Morgan Pretty e6429ecafb
Merge pull request #325 from RyanRory/fix-keyboard
Fix keyboard not activating correctly in after following a link
6 months ago
Ryan ZHAO b37e6a03db fix a keyboard issue for calls 6 months ago
Morgan Pretty 3f893b1ce0 Cleaned up and finished the export/import logic 6 months ago
Morgan Pretty 15243f326d Changed the HelpViewModel to just provide the "share" option again 6 months ago
Ryan ZHAO 12d499a5e5 clean up 6 months ago
Ryan ZHAO 2faad168ef Potentially fix a keyboard issue for calls 6 months ago
Morgan Pretty 35758b2946 Added logic for dev setting import/export
• Added the dev settings UI
• Added export and import functionality (import is unfinished)
• Updated the export logs to allow for either sharing or saving direct to files
6 months ago
Morgan Pretty 22e59b1789 Fixed a crash which could occur when receiving a UserGroups config change 6 months ago
Ryan ZHAO 8f10f43494 further fix on app state issues 6 months ago
Ryan ZHAO 1dddedf3eb add logs and fix a case when the call is going with CallKit but the app state is not in background 6 months ago
Ryan ZHAO 58707da75e add more logs 6 months ago
Ryan ZHAO bf5db2ab93 fix an issue where job runner is not activated when answering calls from CallKit 6 months ago
Ryan ZHAO fc4778e79f don't start other pollers when app is activated in backgroud 6 months ago
Ryan ZHAO 780e262e52 fix CallKit crash 6 months ago
Ryan ZHAO 5fb9a6621d add more logs 6 months ago
Ryan ZHAO 83a0849f66 add some more logs for testing and debug 6 months ago
Morgan Pretty 68284315a6 Fixed some issues with message deletion and the input field
• Fixed an issue where the input view wouldn't reappear when deleting messages for everyone in a one-to-one conversation
• Fixed an issue where the input view would be visible while the loading indicator was visible when deleting from a community
• Fixed an issue where notifications weren't being removed after processing an UnsendRequest
• Fixed an issue where legacy groups had a "Clear for everyone" option but it didn't do anything
• Updated the copy for legacy groups to say "Delete for everyone" instead of "Clear for everyone"
6 months ago
Morgan Pretty e1c5215986 Various dependency changes required to get unit tests working correctly
• Updated the SessionCallManager to be an updated singleton type (cleaned up more in Groups Rebuild)
• Updated the PushRegistrationManager to be an updated singleton type (cleaned up more in Groups Rebuild)
• Injected dependencies correctly in a bunch of places
6 months ago
Morgan Pretty 2ee1fa0125 Updated NTS & 1-1 conversation deletion to be consistent with other plats
• Added a few functions to retrieve conversation settings from libSession
• Updated the Note to Self swipe action to be "Hide" (hides the conversation but does not delete the messages)
• Updated the one-to-one deletion behaviour (now syncs both hiding the conversation and deleting it's messages)
• Updated the logic to retrieve the relevant disappearing messages setting from libSession when creating a thread if it doesn't exist (allows us to delete threads without worrying about losing settings)
• Updated a bunch of dependency management & injection code so the unit tests would pass
6 months ago
Bilb ae81c4e190 [Automated] Update translations from Crowdin 6 months ago
Ryan ZHAO 5b6d7e8321 fix an issue of keyboard not activating correctly in after following a link 6 months ago
stfsession 3fc0dcbecb [Automated] Update translations from Crowdin 6 months ago
Morgan Pretty 7f069263e2 Merge remote-tracking branch 'upstream/dev' into fix/rework-recipient-state 7 months ago
Morgan Pretty 8170091e34
Merge pull request #1045 from mpretty-cyro/fix/incorrect-contact-deletion
Reworked 'deleteOrLeave' function to remove ambiguity, fixed some strings
7 months ago
Morgan Pretty 091cfcb807
Merge pull request #1038 from RyanRory/fix-disappearing-messages-control-message
Fix disappearing messages control message
7 months ago
Morgan Pretty aeb2fa0f1a Merge branch 'dev' into fix/rework-recipient-state 7 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)
7 months ago
Morgan Pretty feafe02a6c Fixed a bug where the icon on the NewMessageScreen wasn't rendering 7 months ago
Morgan Pretty a32af018a7 Refactored the LintLocalizableStrings script
• Added new 'LintControl' mechanisms to allow for ignoring sections of code
• Added new 'MatchType' mechanisms for excluding unlocalized cases
• Updated the code to explicitly handle localized template strings (both single and multiline)
• Updated the code to process files across multiple threads to improve performance
• Updated the code to use Swift 5.7 regex and store in static variables to prevent reconstruction every time they are used
• Removed the list of individual files which are ignored (now just output a count)
• Fixed an issue where having a localized string on a subsequent line could result in an unlocalized (or incorrectly localized) string not being detected
• Fixed an issue where having multiple strings on a single line could result in an unlocalized string not being detected
• Fixed an issue where zero-width characters would result in the variable count comparison between translations failing
• Fixed a number of localization warnings
7 months ago
Morgan Pretty 472fd61287 Reworked 'deleteOrLeave' function to remove ambiguity, fixed some strings 7 months ago
mpretty-cyro 2ceb277c2e [Automated] Update translations from Crowdin 7 months ago
Ryan ZHAO bfa059f415 Merge branch 'dev' into fix-disappearing-messages-control-message 7 months ago
Ryan ZHAO 8da80ab314 Merge branch 'dev' into standardize-modal-accessibility-id 7 months ago
mpretty-cyro a0e09e909c [Automated] Update translations from Crowdin 7 months ago
mpretty-cyro 5a6a6ad917 [Automated] Update translations from Crowdin 7 months ago
Ryan ZHAO 5e0b98f713 Merge branch 'dev' into fix-disappearing-messages-control-message 7 months ago
Ryan ZHAO 6b1f4fc5b5 fix disappearing messages config message not syncing 7 months ago
Morgan Pretty 16ba002469 Merge remote-tracking branch 'upstream/dev' into third-party-license
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	Session/Meta/Translations/InfoPlist.xcstrings
7 months ago
Morgan Pretty 7f6e241287 Fixed a couple of small bugs
• Fixed an issue where the licenses may not be sorted which could result in different outputs between builds
• Fixed an issue where non-dependencies could be included in the project if they had been resolved at some point
7 months ago
Morgan Pretty d570e10430 Merge remote-tracking branch 'upstream/dev' into feature/uniform-type-identifiers-refactoring
# Conflicts:
#	Session/Meta/Translations/InfoPlist.xcstrings
8 months ago
Morgan Pretty 2c9427edcf Refactored MimeTypeUtil to use UniformTypeIdentifiers 8 months ago
Ryan ZHAO b2ce98ea83 standardize modal & input error accessibility ids 8 months ago
Ryan ZHAO 62f84d2c1f add script the catch licenses in SPM and generate a plist file as Acknowledgement in Settings.bundle 8 months 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
8 months ago
Ryan ZHAO 581569b009 merge latest translation & bump up build number 8 months ago
Morgan Pretty ea8a725ce3 Updated the user displayPicture error modal copy to be a bit cleaner 8 months ago
Ryan ZHAO ded30dc072 merge latest translation and update the build number 8 months ago
Ryan ZHAO bd34d1a9e6 fix block confirmation accessibility id 8 months ago
Ryan ZHAO d73b9d0ab0 merge latest translation 8 months 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
8 months ago
Ryan ZHAO 6a3f914541 change clear data model to make it the same as standard design 8 months ago
Ryan ZHAO c3b5925f78 modify clear data modal with error 8 months ago
Morgan Pretty a7e73080fa Minor logging tweaks 8 months 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
9 months ago
Ryan ZHAO ff75dd9392 fix clear all message requests modal 9 months ago
Ryan ZHAO 9dde3ed8ac fix enable link preview modal style 9 months ago
Morgan Pretty a87a547886 libSession attachment upload/download improvements, logging tweaks 9 months ago
Morgan Pretty bce7a093cf Merge remote-tracking branch 'upstream/dev' into fix/crashes-and-improvements
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	Session/Calls/Call Management/SessionCallManager.swift
#	Session/Meta/AppDelegate.swift
#	Session/Notifications/PushRegistrationManager.swift
#	SessionNotificationServiceExtension/NotificationServiceExtension.swift
#	SessionShareExtension/ThreadPickerVC.swift
#	SessionUtilitiesKit/Database/Storage.swift
9 months ago
Morgan Pretty a02bc55445 Fixed an endless loading state when clearing data with no network 9 months ago
Morgan Pretty 3366408187 Removed a delay before starting pollers which is no longer needed 9 months ago
Morgan Pretty 7e771467d6 Fixed an issue with push notifications in legacy groups
• Reworked the NotificationServiceExtension to just always reset and reload it's state to avoid weird bugs
• Updated the legacy group messages to fallback to using a locally generated serverHash if one isn't provided (always happens for legacy PNs)
• Include error info when failing to process extension logs
• Made a bunch of the Storage functions instance functions instead of static functions
9 months ago
Ryan ZHAO b0ab84a86d fix group control messages 9 months ago
Ryan ZHAO 1b73f74fb7 add timeout error modal for clearing data from network 9 months ago
Ryan ZHAO 3a509d942e update translation files 9 months ago
Ryan ZHAO 6f5d452b35 fix group leaving modal to respect group admins 9 months ago
Ryan ZHAO a98c213b78 fix disappearing messages strings 9 months ago
Ryan ZHAO 630e20fc69 Merge branch 'dev' into standardised-strings 9 months ago
Ryan ZHAO ea48f1b40d fix strings 9 months ago
Ryan ZHAO 544c680b6b update translation file 9 months ago
Ryan ZHAO f861241b95 fix more strings 9 months ago
Morgan Pretty f7626939e6 Fixed a crash which could occur when taking a photo via the app failed 9 months ago
Ryan ZHAO 367104c835 fix on strings 9 months ago
Ryan ZHAO 9b676a8083 remove unused block/unblock toast 9 months ago
Ryan ZHAO 263844daba fix unblock modal 9 months ago
Ryan ZHAO f7bc296225 fix group/community leave message 9 months ago
Ryan ZHAO 02a4dc9e8c Merge branch 'standardised-strings' of https://github.com/RyanRory/loki-messenger-ios into standardised-strings 9 months ago
Ryan ZHAO 6e6c5d9a19 show control message on main device when accepting message request 9 months 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)
9 months ago
Morgan Pretty 9f9d3d4455 Fixed a regression where deleting data from network gave a false-failure 9 months ago
Morgan Pretty 597f94a954 Fixed an issue where you could answer calls without having the mic permission 9 months 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
9 months ago
Ryan ZHAO 7acd299858 fix unblock modals 9 months ago
Ryan ZHAO b39845f265 fix strings 9 months ago
Morgan Pretty 3a1f086d0c 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)
9 months ago
Morgan Pretty 9eca118d85 Correctly show the 'uploading' state, removed unused function 9 months ago
Ryan ZHAO 3dc0ed255c fix text got cut off unexpectedly in modals 9 months ago
Ryan ZHAO 3ae766d07f fix some strings 9 months ago
Ryan ZHAO 7dcc1ba992 fix UI issue when there is an error or no results for a gif search 9 months ago
Ryan ZHAO ce8c6bd971 fix a clear data modal 9 months ago
Ryan ZHAO 70f8d45a39 fix a bunch of strings 9 months ago
Ryan ZHAO 080ab386ad change gif to constants 9 months ago
Ryan ZHAO c4ebdd6d3d fix some strings 9 months ago
Ryan ZHAO d31036f60c clean errors 9 months ago
Ryan ZHAO 8d05a9dce3 move webRTC constants to its own file 9 months ago
Ryan ZHAO f8fb647752 fix some modals 9 months ago
Ryan ZHAO 509caf9167 clean 9 months ago
Ryan ZHAO 8aedf68f74 clean useless identifier 9 months ago
Morgan Pretty c5efbbf445 Fixed a build error 9 months ago
Ryan ZHAO 5c18019e6b Merge branch 'dev' into standardised-strings 9 months ago