Commit Graph

17502 Commits

Author SHA1 Message Date
Morgan Pretty c1553aca41 Merge remote-tracking branch 'origin/fix/attachment-reupload-bugs' into feature/updated-user-config-handling
# Conflicts:
#	SessionUtilitiesKit/JobRunner/JobRunner.swift
2023-05-26 17:57:20 +10:00
Morgan Pretty 5d88db7a8a Merge remote-tracking branch 'origin/feature/tweak-profile-modal-ui' into feature/updated-user-config-handling
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	Session/Calls/Call Management/SessionCall.swift
#	Session/Conversations/ConversationVC.swift
#	Session/Conversations/Input View/MentionSelectionView.swift
#	Session/Conversations/Message Cells/VisibleMessageCell.swift
#	Session/Settings/SettingsViewModel.swift
#	Session/Shared/Views/SessionAvatarCell.swift
#	Session/Shared/Views/SessionCell+AccessoryView.swift
#	SessionUIKit/Components/ConfirmationModal.swift
#	SessionUIKit/Components/PlaceholderIcon.swift
#	SignalUtilitiesKit/Profile Pictures/ProfilePictureView.swift
2023-05-26 17:54:45 +10:00
Morgan Pretty 6fcfffafe7 Added logic to include the commit hash in the logs for debug builds 2023-05-26 16:52:40 +10:00
Morgan Pretty 09ab977861 Updated the code to decode and use updated notifications
Made the JobQueue execution type explicit
Fixed a bug where legacy group's might not be unsubscribed from
2023-05-26 14:27:14 +10:00
Morgan Pretty 8f2e09d125 Added a missing filter to a db query 2023-05-26 08:48:11 +10:00
Morgan Pretty 4419d31077 Removed the ability to swipe-to-reply to sending/failed outgoing messages 2023-05-25 09:24:20 +10:00
Morgan Pretty 41ba692a03 Fixed an issue where you couldn't search for hidden contacts 2023-05-25 09:14:01 +10:00
Morgan Pretty 22303f2458 Colour tweak 2023-05-25 08:42:27 +10:00
Morgan Pretty cf2e198a64 Updated the profile picture modal
Moved the ProfilePictureView into SessionUIKit
Fixed a couple of minor ProfilePictureView bugs
2023-05-24 17:42:43 +10:00
Morgan Pretty 2d792e4e3e Updated the profile picture modal and standardised the ProfilePictureView sizes
Fixed an issue where 'CurrentAppContext().isMainAppAndActive' wasn't called on the main thread
Updated the ProfilePictureView to have the updated icon UI
2023-05-24 13:33:53 +10:00
Morgan Pretty 2bb68ccbcf Fixed a few issues found during QA
Fixed an issue where you could be left on the settings screen after deleting/leaving a conversation
Fixed an issue where deleting the last contact/group/community from a device would result in linked devices not deleting the relevant conversation
Fixed an issue where leaving a group created a race condition where linked devices wouldn't remove the group
2023-05-24 09:43:06 +10:00
Morgan Pretty fc94d24ddf Fixed up and added more unit tests to the JobRunner 2023-05-23 17:38:54 +10:00
Morgan Pretty b277056a62 Removed the extra debug logs for message sending 2023-05-23 15:09:11 +10:00
Morgan Pretty a532976333 Updated the JobRunner to wait until the current transaction is done before running a job 2023-05-23 15:02:37 +10:00
Morgan Pretty 9c2ec47557 Added more logs for debugging 2023-05-23 14:53:48 +10:00
Morgan Pretty 44824c8127 Added a bunch of logs to the Jobs to better track the startup state 2023-05-23 14:02:12 +10:00
Morgan Pretty 77b6faccb3 Merge remote-tracking branch 'upstream/dev' into feature/job-runner-unit-tests
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	SessionUtilitiesKit/Database/Models/Job.swift
#	SessionUtilitiesKit/Database/Models/JobDependencies.swift
#	SessionUtilitiesKit/JobRunner/JobRunner.swift
2023-05-23 09:52:42 +10:00
Morgan Pretty 3f362a71f3 Fixed a couple of QA issues
Forced the user config feature to be on (for testing)
Fixed a bug where triggering the 'Delete for everyone' functionality would incorrectly try to delete from the recipient swarm (not possible)
Fixed a bug where the 'profileNamePublisher' could only be set once resulting in potential issues if you try to restore different accounts within the same session
Re-added the limit to the number of reactions to display before collapsing to make it consistent with the designs and other platforms
Updated the SnodeAPI to ensure that when it retries it will actually select a new snode
2023-05-23 09:42:10 +10:00
Morgan Pretty 37894175e5 Fixed a couple of bugs
Fixed a bug where reacting to an incoming attachment message in a one-to-one conversation would result in the attachment being re-uploaded
Fixed a bug where concurrent queues in the JobRunner wouldn't start newly added jobs until current jobs had finished executing
2023-05-22 12:06:12 +10:00
Ryan Zhao ffb3f0dd90 adjust snippet function parameters to get a good looking result 2023-05-22 11:21:07 +10:00
Ryan Zhao 66d7226d80 get rid of truncating calculation and guard constant number 2023-05-22 11:07:22 +10:00
Morgan Pretty 61ad85b97b Added logic to unsubscribe for legacy one-to-one PNs 2023-05-22 10:57:16 +10:00
Morgan Pretty 4330a40f6f Started working on integrating the updated push APIs
Updated the PushNotificationAPI to be more consistent with the SnodeAPI and OpenGroupAPI structures
Updated the logic so if the database key can't be retrieved the app will no longer throw a fatalError (now just fail to initialise Storage and rely on the App/Extensions to properly handle this case)
Fixed a couple of bugs where the share extension wouldn't populate correctly
2023-05-19 17:26:14 +10:00
ryanzhao e2384e464f use snippet function in sql query for message search 2023-05-19 17:02:56 +10:00
Morgan Pretty 19eddd79a1 Fixed an issue where non-visible messages were causing their conversations to appear
Fixed a crash when trying to unsend a message
2023-05-19 14:55:35 +10:00
Morgan Pretty 2053b6b0cd Added some accessibility info
Fixed an issue where the Display Picture update modal wouldn't rendering animated images actually animating
2023-05-19 14:27:51 +10:00
Morgan Pretty 9799297e15 Fixed build issues from merge 2023-05-18 17:45:04 +10:00
Morgan Pretty 534343f8b0 Merge remote-tracking branch 'upstream/dev' into feature/updated-user-config-handling
# Conflicts:
#	Session/Closed Groups/NewClosedGroupVC.swift
#	Session/Conversations/ConversationVC+Interaction.swift
#	Session/Conversations/ConversationVC.swift
#	Session/Conversations/ConversationViewModel.swift
#	Session/Conversations/Settings/ThreadSettingsViewModel.swift
#	Session/Home/GlobalSearch/GlobalSearchViewController.swift
#	Session/Home/HomeVC.swift
#	Session/Home/New Conversation/NewDMVC.swift
#	Session/Media Viewing & Editing/GIFs/GifPickerViewController.swift
#	Session/Meta/Translations/de.lproj/Localizable.strings
#	Session/Meta/Translations/en.lproj/Localizable.strings
#	Session/Meta/Translations/es.lproj/Localizable.strings
#	Session/Meta/Translations/fa.lproj/Localizable.strings
#	Session/Meta/Translations/fi.lproj/Localizable.strings
#	Session/Meta/Translations/fr.lproj/Localizable.strings
#	Session/Meta/Translations/hi.lproj/Localizable.strings
#	Session/Meta/Translations/hr.lproj/Localizable.strings
#	Session/Meta/Translations/id-ID.lproj/Localizable.strings
#	Session/Meta/Translations/it.lproj/Localizable.strings
#	Session/Meta/Translations/ja.lproj/Localizable.strings
#	Session/Meta/Translations/nl.lproj/Localizable.strings
#	Session/Meta/Translations/pl.lproj/Localizable.strings
#	Session/Meta/Translations/pt_BR.lproj/Localizable.strings
#	Session/Meta/Translations/ru.lproj/Localizable.strings
#	Session/Meta/Translations/si.lproj/Localizable.strings
#	Session/Meta/Translations/sk.lproj/Localizable.strings
#	Session/Meta/Translations/sv.lproj/Localizable.strings
#	Session/Meta/Translations/th.lproj/Localizable.strings
#	Session/Meta/Translations/vi-VN.lproj/Localizable.strings
#	Session/Meta/Translations/zh-Hant.lproj/Localizable.strings
#	Session/Meta/Translations/zh_CN.lproj/Localizable.strings
#	Session/Settings/BlockedContactsViewController.swift
#	Session/Settings/NukeDataModal.swift
#	Session/Settings/SettingsViewModel.swift
#	SessionMessagingKit/Shared Models/SessionThreadViewModel.swift
#	SessionUIKit/Components/ConfirmationModal.swift
2023-05-18 17:34:25 +10:00
Morgan Pretty db67e36acb Updated the feature flag so it will continue to use User Config if the migrations have already been run 2023-05-18 16:32:49 +10:00
Morgan Pretty 83dad170a6
Merge pull request #854 from oxen-io/dev
Release 2.2.14
2023-05-18 15:37:26 +10:00
Morgan Pretty 2035d508d9 Ran pod install 2023-05-18 15:37:14 +10:00
Morgan Pretty 7ecb645454 Merge remote-tracking branch 'upstream/master' into dev
# Conflicts:
#	Session/Meta/Translations/fr.lproj/Localizable.strings
2023-05-18 15:32:04 +10:00
Morgan Pretty 03d879804f Increased build and version numbers 2023-05-18 15:26:30 +10:00
Morgan Pretty 6be759d39c
Merge pull request #851 from mpretty-cyro/feature/updated-profile-picture-modal
Updated the profile picture management UI & functionality
2023-05-18 15:23:11 +10:00
Morgan Pretty c5a9c92a92
Merge pull request #847 from RyanRory/fix-link-preview
Fix link preview
2023-05-18 15:22:56 +10:00
Morgan Pretty cd5dd1e3fa
Merge pull request #848 from obouchet/chore/french_translations
add and fix missing French translations
2023-05-18 15:22:19 +10:00
Morgan Pretty e061bb02cd
Merge pull request #850 from mpretty-cyro/fix/general-bug-fixes
Various tweaks and fixes
2023-05-18 15:19:56 +10:00
Morgan Pretty ff2a48d94d
Merge pull request #852 from mpretty-cyro/fix/updated-seed3-cert
Updated the certificate for seed3
2023-05-18 15:19:41 +10:00
Morgan Pretty 4455af9771
Merge pull request #853 from RyanRory/fix-global-search-hanging
Fix global search hanging issue
2023-05-18 15:19:28 +10:00
Ryan Zhao c69c7fc63f fix an issue when using global search and there is a long long search result, the app will end up hanging 2023-05-18 13:53:53 +10:00
Morgan Pretty d19ed8599f Updated the certificate for seed3 2023-05-18 08:50:03 +10:00
Morgan Pretty c134acdc90 Updated to the latest version of libSession 2023-05-16 13:46:09 +10:00
Morgan Pretty 9c8653aa21 Updated the profile picture management UI
Updated the UI to use a modal
Added the ability to remove the profile picture
2023-05-16 13:09:05 +10:00
Morgan Pretty 5b5f4a4e88 Various tweaks and fixes
Fixed an issue where the GlobalSearch push animation could be jittery
Fixed a crash which could occur when returning from the background on certain screens
Removed the keyboard dismiss animation when pushing from global search to a conversation (apparently this is how iMessage avoids the animation bug...)
Updated to the latest version of GRDB
Updated the Atomic wrapper to use the ReadWrite lock for less blocking behaviours
Updated the audio attachment icon to be consistent with Android & Desktop
Updated the QuoteView to omit the "author" if we don't have their name and the quote can't be found
2023-05-16 09:38:14 +10:00
Morgan Pretty 977c2051ed Fixed a few bugs uncovered with further testing
Added some more logs to libSession build script and tweaked the stdout location
Added shadow threads to the GarbageCollectionJob
Changed the seed node retries to 2 because it's likely we will swap to another seed node pretty quickly which could resolve the issue
Fixed a bug where the user could get kicked from a draft conversation if they get a contacts update before sending a message
Fixed a bug where message status or media message download statuses would trigger the conversation to jump to the bottom
2023-05-10 17:27:36 +10:00
Olivier Bouchet e6d5e62693 add and fix missing French translations 2023-05-08 20:42:55 -04:00
Ryan Zhao f855d89af2 clean 2023-05-08 16:13:51 +10:00
Ryan Zhao 249ccab466 fix link preview not working 2023-05-08 16:05:56 +10:00
Morgan Pretty 6685dc0572 Dropping messages which shouldn't be processed without a thread
Removed an extra localised string value
2023-05-08 11:30:36 +10:00
Morgan Pretty a9afb2d1d1 Accessibility and copy tweaks 2023-04-26 16:18:36 +10:00