Ryan Zhao
e946fd81d2
minor refactor for automation test
2 years ago
Ryan Zhao
74844cc6b3
add 10s expiration settings for testing
2 years ago
Ryan Zhao
a7db4485df
resolve a race condition of expireTimerUpdate and configUpdate
2 years ago
ryanzhao
40f1d6491d
Merge branch 'feature/updated-user-config-handling' of https://github.com/mpretty-cyro/session-ios into disappearing-message-redesign
2 years ago
Morgan Pretty
44f8b7f59d
Updated the GroupLeavingJob to succeed for certain error cases
2 years ago
ryanzhao
2df820339c
refactor on adding expiration on interactions before inserted into database
2 years ago
Morgan Pretty
1ba060b7f0
Cleaned up the outdated message logic and fixed a few bugs
...
Fixed a bug where showing hidden conversations would appear at the bottom of the list
Fixed a bug where you would be kicked from a one-to-one conversation when opening it if you had hidden it
Fixed a bug where joining a community via URL wasn't automatically opening the community
Fixed a bug where the community poller could trigger again before the previous poll completed
Fixed an edge-case where community messages could be missed if the app crashed at the right time when processing a poll response
2 years ago
ryanzhao
ae78abc5a4
fix an issue where expire timer update message being invalid
2 years ago
ryanzhao
eb8f50c29f
minor fix
2 years ago
ryanzhao
5b9944d668
Merge branch 'feature/updated-user-config-handling' of https://github.com/mpretty-cyro/session-ios into disappearing-message-redesign
2 years ago
Morgan Pretty
44469d9078
Few minor tweaks & bug fixes
...
Added an 'all' namespace to make the "delete from all" behaviour more explicit
Defaulted the ConfigDump 'timestampMs' database column to 0
Updated the 'conversationInConfig' logic to support the note to self conversation
2 years ago
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