Commit Graph

844 Commits (a27f1d7ada5c29fc5e4dbbb5bae21877eb766b3e)

Author SHA1 Message Date
Morgan Pretty 686768f8b2 Fixed a few bugs with sync messages
Fixed an issue where sync messages were failing to send if the message wasn't disappearing
Fixed an issue where the 'Failed to Sync' statuses wouldn't be shown
Updated the MessageSenderError, SnodeAPIError and OnionRequestAPIError to actually output our error strings when included in strings
Updated the tryFlatMapWithRandomSnode function to include context of the last error thrown
Cleaned up the 'isSyncMessage' logic
2 years ago
Ryan ZHAO 6dc5d3031b Merge branch 'dev' into message-detail-screen 2 years ago
Ryan ZHAO f5afdae646 Merge branch 'dev' into message-detail-screen 2 years 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
2 years ago
Ryan ZHAO bd0a25bbe9 fix an issue that a disappearing messages control message will be removed by a race condition 2 years ago
Ryan ZHAO b4f01db37e extend expire timer update message TTL to be default 14 days 2 years ago
Ryan ZHAO ce1eee2018 fix an issue where disappearing messages settings in groups won't be synced on new linked devices 2 years ago
Ryan ZHAO 2eac3d79f2 fix an issue where after creating a group, the group will have a DaS-1D default setting 2 years ago
Ryan ZHAO 31b0d008e6 clean 2 years ago
Ryan ZHAO fdae955288 fix data extraction message DaR 2 years ago
Ryan ZHAO b2360d8e1a fix an issue where DaR messages are read on linked devices won't have correct expiration start time 2 years ago
Morgan Pretty 84492be016 Fixed build issues, removed invalid unit tests and missing copy 2 years ago
Morgan Pretty 661720a988 Merge remote-tracking branch 'upstream/dev' into disappearing-message-redesign
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	Session/Meta/Translations/ar.lproj/Localizable.strings
#	Session/Meta/Translations/be.lproj/Localizable.strings
#	Session/Meta/Translations/bg.lproj/Localizable.strings
#	Session/Meta/Translations/bn.lproj/Localizable.strings
#	Session/Meta/Translations/cs.lproj/Localizable.strings
#	Session/Meta/Translations/da.lproj/Localizable.strings
#	Session/Meta/Translations/de.lproj/Localizable.strings
#	Session/Meta/Translations/el.lproj/Localizable.strings
#	Session/Meta/Translations/en.lproj/Localizable.strings
#	Session/Meta/Translations/eo.lproj/Localizable.strings
#	Session/Meta/Translations/es-ES.lproj/Localizable.strings
#	Session/Meta/Translations/fa.lproj/Localizable.strings
#	Session/Meta/Translations/fi.lproj/Localizable.strings
#	Session/Meta/Translations/fil.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/hu.lproj/Localizable.strings
#	Session/Meta/Translations/id.lproj/Localizable.strings
#	Session/Meta/Translations/it.lproj/Localizable.strings
#	Session/Meta/Translations/ja.lproj/Localizable.strings
#	Session/Meta/Translations/ko.lproj/Localizable.strings
#	Session/Meta/Translations/ku.lproj/Localizable.strings
#	Session/Meta/Translations/lt.lproj/Localizable.strings
#	Session/Meta/Translations/lv.lproj/Localizable.strings
#	Session/Meta/Translations/ne-NP.lproj/Localizable.strings
#	Session/Meta/Translations/nl.lproj/Localizable.strings
#	Session/Meta/Translations/no.lproj/Localizable.strings
#	Session/Meta/Translations/pl.lproj/Localizable.strings
#	Session/Meta/Translations/pt-BR.lproj/Localizable.strings
#	Session/Meta/Translations/pt-PT.lproj/Localizable.strings
#	Session/Meta/Translations/ro.lproj/Localizable.strings
#	Session/Meta/Translations/ru.lproj/Localizable.strings
#	Session/Meta/Translations/si-LK.lproj/Localizable.strings
#	Session/Meta/Translations/sk.lproj/Localizable.strings
#	Session/Meta/Translations/sl.lproj/Localizable.strings
#	Session/Meta/Translations/sv-SE.lproj/Localizable.strings
#	Session/Meta/Translations/th.lproj/Localizable.strings
#	Session/Meta/Translations/tr.lproj/Localizable.strings
#	Session/Meta/Translations/uk.lproj/Localizable.strings
#	Session/Meta/Translations/vi.lproj/Localizable.strings
#	Session/Meta/Translations/zh-CN.lproj/Localizable.strings
#	Session/Meta/Translations/zh-TW.lproj/Localizable.strings
#	SessionMessagingKit/Configuration.swift
#	SessionUtilitiesKit/Database/Storage.swift
2 years ago
Ryan ZHAO 43e2983f49 fix call messages and data extraction messages with their expiration info and refactor 2 years ago
Ryan ZHAO 1c6232e4d7 minor refactor 2 years ago
Morgan Pretty a563cddba8 Added a timeout for the MessageSendJob and additional logging 2 years ago
Ryan ZHAO 4c0c1cda1a Do not process outdated expiration update messages 2 years ago
Ryan ZHAO c473c6cb23 fix an issue where disappearing messages config in legacy group was not updated 2 years ago
Ryan ZHAO 87309ccba1 fix an issue where note to self may show expiration update control messages which should be removed already. 2 years ago
Morgan Pretty cbcdb9b37f Refactored AppContext and AppRediness to Swift 2 years ago
Ryan ZHAO 084586e6ba change call messages and data extraction notification to be DaR if needed 2 years ago
Ryan ZHAO 9231f57636 minor fix 2 years ago
Ryan ZHAO 04d734ef87 use local disappearing messages setting for call messages and data extraction notifications 2 years ago
Ryan ZHAO 10d1c64c29 remove outdated client banner when receiving a message from new version 2 years ago
Ryan ZHAO ff691529c4 Do NOT expire control messages in groups 2 years ago
Ryan ZHAO e38fb400ea refactor on the way that attaching disappearing messages config to messages 2 years ago
Ryan ZHAO 9fc5f8fa68 WIP: refactoring the way of applying disappearing messages settings 2 years ago
Ryan ZHAO c9df2a73e7 bring back false deleted logic 2 years ago
Ryan ZHAO 79eafa7df8 fix logic error for message ttl 2 years ago
Ryan ZHAO 7693e53183 minor refactor and fix expiration update message for control messages 2 years ago
Ryan ZHAO 42f2440067 fix disappearing messages update control messages for legacy groups and linked devices 2 years ago
Ryan ZHAO 74efe8cc72 fix an issue for legacy groups disappearing message update control message 2 years ago
Ryan ZHAO 490cde57ce fix disappearing messages update control messages for legacy groups 2 years ago
Ryan ZHAO 4ec1d730cd remove previous logic for expiring control messages indicating disappearing messages turned off 2 years ago
Ryan ZHAO 5d2a307d5e WIP: update copies and implement following setting 2 years ago
Ryan ZHAO e8ec91ba8b keep disappearing message update control message for legacy mode 2 years ago
Ryan ZHAO adf1a76acc fix outdated client version check 2 years ago
Ryan ZHAO 21c4a17a85 minor fix: only show banner when V2 is enabled 2 years ago
Ryan ZHAO 5f0835c41b feat : display outdated client banner for linked devices 2 years ago
Morgan Pretty 60684bc977 Merge remote-tracking branch 'RyanFork/disappearing-message-redesign' into feature/drop-yap-database-support 2 years ago
ryanzhao f603b422b0 Merge branch 'dev' into message-detail-screen
# Conflicts:
#	Session/Media Viewing & Editing/MediaInfoVC+MediaPreviewView.swift
#	SignalUtilitiesKit/Media Viewing & Editing/OWSVideoPlayer.swift
2 years ago
Ryan Zhao 928d7f2b1e add comments and minor refactor 2 years ago
ryanzhao a64d054537 only start disappearing messages after a message successfully sent 2 years ago
Morgan Pretty 12347c9f2f Merge remote-tracking branch 'upstream/dev' into disappearing-message-redesign
# Conflicts:
#	Session/Media Viewing & Editing/MediaDetailViewController.swift
2 years ago
Morgan Pretty de7d85f4cb Merge remote-tracking branch 'upstream/dev' into fix/media-interactions 2 years ago
Morgan Pretty a6931bb922 Merge remote-tracking branch 'upstream/dev' into disappearing-message-redesign
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	Session/Conversations/Settings/ThreadDisappearingMessagesSettingsViewModel.swift
#	Session/Conversations/Settings/ThreadSettingsViewModel.swift
#	Session/Shared/SessionTableViewController.swift
#	Session/Shared/SessionTableViewModel.swift
#	Session/Shared/Types/SessionTableSection.swift
#	SessionTests/Conversations/Settings/ThreadDisappearingMessagesViewModelSpec.swift
#	SessionUIKit/Components/SessionButton.swift
2 years ago
Morgan Pretty bd98db2612 Fixed a few bugs and crashes around media interactions
Fixed a crash when trying to grant permission to access additional photos
Fixed a bug where audio files would incorrectly get recognised as voice messages
Replaced our custom video/audio players with the native ones (which have additional built-in controls)
Updated the errors from SSKKeychainStorage to include useful information
Updated layout for audio attachments
2 years ago
Morgan Pretty 085a1a59aa Fixed an issue where the messages might not get reprocessed when they should
Dropped the auto-incrementing id from the SnodeReceivedMessageInfo
Changed the 'key, hash' from a uniqueKey to a primaryKey to allow "upsert" behaviours to work
2 years ago
Morgan Pretty 18b296bcd8 Merge branch 'disappearing-message-redesign' into feature/drop-yap-database-support
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	Session/Meta/AppDelegate.swift
#	Session/Meta/Translations/de.lproj/Localizable.strings
#	Session/Meta/Translations/es-ES.lproj/Localizable.strings
#	Session/Meta/Translations/fi.lproj/Localizable.strings
#	Session/Meta/Translations/fr.lproj/Localizable.strings
#	Session/Meta/Translations/it.lproj/Localizable.strings
#	Session/Meta/Translations/ja.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/sk.lproj/Localizable.strings
#	Session/Meta/Translations/zh-CN.lproj/Localizable.strings
#	Session/Meta/Translations/zh-TW.lproj/Localizable.strings
#	SessionMessagingKit/Database/LegacyDatabase/SMKLegacy.swift
#	SessionMessagingKit/Database/Migrations/_003_YDBToGRDBMigration.swift
#	SessionMessagingKit/Messages/Control Messages/ConfigurationMessage.swift
#	SessionSnodeKit/Database/LegacyDatabase/SSKLegacy.swift
#	SessionSnodeKit/Database/Migrations/_003_YDBToGRDBMigration.swift
#	SessionUtilitiesKit/Database/LegacyDatabase/SUKLegacy.swift
#	SessionUtilitiesKit/Database/Migrations/_003_YDBToGRDBMigration.swift
2 years ago
ryanzhao c787d2558f Merge branch 'dev' into message-detail-screen 2 years ago