ryanzhao
6658c5edd5
fix issue of syncing disappearing messages
2 years ago
Ryan Zhao
dca70058e3
fix disappearing messages config not sync when linking a new device
2 years ago
Ryan Zhao
9dfaa09a95
fix a bug on getting expirations from snode
2 years ago
Ryan Zhao
43e38c5644
Merge branch 'updated-user-config-handling' into disappearing-message-redesign
2 years ago
Morgan Pretty
613dbb4afa
Another tweak for the string linter and a couple of UI fixes
...
Fixed a minor UI bug with the ProfilePictureView when in a SessionCell
Fixed a height calculation issue on the EditClosedGroupVC
2 years ago
ryanzhao
cd95212918
minor fix
2 years ago
ryanzhao
30e4ad691b
further fix
2 years ago
ryanzhao
84452750fe
fix disappear after read not synced properly
2 years ago
Morgan Pretty
c455a13a7b
Finished adding logic to ignore messages invalidated by config
...
Added timestamps to the Profile table to avoid overriding current profile info with older info
Updated the MessageReceiver to ignore the rest of the messages invalidated by the config
Updated to the latest libSession
Updated the JobRunner to expose some more info about the currently running jobs
Made some tweaks to the ConfigurationSyncJob to better support concurrent jobs running for different targets
2 years ago
Morgan Pretty
3b772b7f90
[WIP] started adding logic to ignore messages invalidated by config
...
Created a ConfigMessageReceiveJob just to clean up the logs a bit
Updated the poller to make any MessageReceive jobs dependant on any ConfigMessageReceive jobs which are created
Updated legacy groups to delete the group content when you are removed
Fixed an issue where the JobRunner wouldn't stop pending jobs while clearing data
Fixed another issue with the profile view in the message cell
2 years ago
ryanzhao
963b3f6029
WIP: fix disappear after read for message sender
2 years ago
ryanzhao
ee490bfa99
minor fix
2 years ago
ryanzhao
71862a52b8
use exported C function in libSession to sync disappearing messages configuration
2 years ago
ryanzhao
c969a8e012
fix disappear after read not working for message sender
2 years ago
Ryan Zhao
afb456b710
Merge branch 'updated-user-config-handling' into disappearing-message-redesign
2 years ago
Ryan Zhao
58740d9639
sync disappearing messages config through libSession
2 years ago
Morgan Pretty
fd2794cbc2
Merge remote-tracking branch 'RyanFork/global-search-improvement' into feature/updated-user-config-handling
...
# Conflicts:
# Session/Shared/FullConversationCell.swift
2 years ago
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
2 years ago
ryanzhao
e711c978c9
WIP: sync disappearing messages config through user config
2 years ago
Morgan Pretty
8f2e09d125
Added a missing filter to a db query
2 years ago
Ryan Zhao
ef1db5a1e2
WIP: Update expiration timer to be based on user config
2 years ago
Morgan Pretty
41ba692a03
Fixed an issue where you couldn't search for hidden contacts
2 years ago
Morgan Pretty
cf2e198a64
Updated the profile picture modal
...
Moved the ProfilePictureView into SessionUIKit
Fixed a couple of minor ProfilePictureView bugs
2 years ago
ryanzhao
00e468fcce
implement the new approach to sync disappearing after read status across devices
2 years ago
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
2 years ago
ryanzhao
2b85c0fde0
WIP: implement new approach to sync disappearing after read across devices
2 years ago
Morgan Pretty
b277056a62
Removed the extra debug logs for message sending
2 years ago
Morgan Pretty
9c2ec47557
Added more logs for debugging
2 years ago
Morgan Pretty
44824c8127
Added a bunch of logs to the Jobs to better track the startup state
2 years ago
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
2 years ago
Ryan Zhao
b05bb7f9bd
fix a crash when the network clock offset is negative
2 years ago
Ryan Zhao
edfe8a61b0
Merge branch 'feature/updated-user-config-handling' of https://github.com/mpretty-cyro/session-ios into disappearing-message-redesign
2 years ago
Ryan Zhao
ffb3f0dd90
adjust snippet function parameters to get a good looking result
2 years ago
ryanzhao
e2384e464f
use snippet function in sql query for message search
2 years ago
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
2 years ago
Morgan Pretty
2053b6b0cd
Added some accessibility info
...
Fixed an issue where the Display Picture update modal wouldn't rendering animated images actually animating
2 years ago
ryanzhao
31af9c2ab9
refactor & fix default duration of legacy disappearing message, and fix typo
2 years ago
ryanzhao
86705d88e3
Merge branch 'feature/updated-user-config-handling' into disappearing-message-redesign
2 years ago
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
2 years ago
Morgan Pretty
db67e36acb
Updated the feature flag so it will continue to use User Config if the migrations have already been run
2 years ago
Morgan Pretty
c5a9c92a92
Merge pull request #847 from RyanRory/fix-link-preview
...
Fix link preview
2 years ago
Ryan Zhao
75df800c65
WIP: clean up
2 years ago
Ryan Zhao
09e1c02e1d
update legacy to be unknown
2 years ago
ryanzhao
a966fca55e
add disappearing messages type legacy
2 years ago
ryanzhao
fa02b76d77
update protobuf
2 years ago
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
2 years ago
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
2 years ago
Morgan Pretty
be7881ad2e
Merge remote-tracking branch 'origin/feature/updated-user-config-handling' into disappearing-message-redesign
...
# Conflicts:
# Session.xcodeproj/project.pbxproj
# Session/Conversations/ConversationVC.swift
# Session/Conversations/ConversationViewModel.swift
# Session/Conversations/Settings/ThreadDisappearingMessagesSettingsViewModel.swift
# Session/Conversations/Settings/ThreadSettingsViewModel.swift
# Session/Conversations/Views & Modals/ConversationTitleView.swift
# Session/Notifications/AppNotifications.swift
# Session/Settings/NukeDataModal.swift
# Session/Shared/SessionTableViewModel.swift
# Session/Shared/Views/SessionCell.swift
# SessionMessagingKit/Configuration.swift
# SessionMessagingKit/Database/Models/Contact.swift
# SessionMessagingKit/Database/Models/DisappearingMessageConfiguration.swift
# SessionMessagingKit/Messages/Control Messages/ClosedGroupControlMessage.swift
# SessionMessagingKit/Messages/Message.swift
# SessionMessagingKit/Messages/Visible Messages/VisibleMessage.swift
# SessionMessagingKit/Protos/Generated/SNProto.swift
# SessionMessagingKit/Protos/Generated/SessionProtos.pb.swift
# SessionMessagingKit/Protos/SessionProtos.proto
# SessionMessagingKit/Sending & Receiving/Message Handling/MessageReceiver+ExpirationTimers.swift
# SessionMessagingKit/Sending & Receiving/MessageReceiver.swift
# SessionMessagingKit/Shared Models/SessionThreadViewModel.swift
# SessionMessagingKitTests/Open Groups/OpenGroupManagerSpec.swift
# SessionMessagingKitTests/_TestUtilities/TestOnionRequestAPI.swift
# SessionSnodeKit/Models/SnodeAPIEndpoint.swift
# SessionSnodeKit/SnodeAPI.swift
# SessionTests/Conversations/Settings/ThreadDisappearingMessagesViewModelSpec.swift
# SessionUtilitiesKit/General/Features.swift
2 years ago
Ryan Zhao
249ccab466
fix link preview not working
2 years ago
Morgan Pretty
593acd8e37
Fixed some broken tests and removed remaining remnants of the 'syncExpiries' job
2 years ago