Ryan ZHAO
6d2e07dea6
fix an issue for local generated expiration update messages being removed immediately.
1 year ago
Ryan ZHAO
31b0d008e6
clean
1 year ago
Ryan ZHAO
fdae955288
fix data extraction message DaR
1 year ago
Ryan ZHAO
b2360d8e1a
fix an issue where DaR messages are read on linked devices won't have correct expiration start time
1 year ago
Ryan ZHAO
9a528f8c71
fix disappearing message control message already read on linked devices
1 year ago
Ryan ZHAO
a4286212b4
imp: default contact list of global search screen
1 year ago
Ryan ZHAO
d25783c4df
Merge branch 'dev' into onboarding
1 year ago
Ryan ZHAO
2f740c7065
WIP: refactor global search screen into SwiftUI
1 year ago
Morgan Pretty
84492be016
Fixed build issues, removed invalid unit tests and missing copy
1 year 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
1 year ago
Ryan ZHAO
4c340188c2
fix ttl for legacy mode
1 year ago
Ryan ZHAO
43e2983f49
fix call messages and data extraction messages with their expiration info and refactor
1 year ago
Ryan ZHAO
1c6232e4d7
minor refactor
1 year ago
Morgan Pretty
a563cddba8
Added a timeout for the MessageSendJob and additional logging
1 year ago
Ryan ZHAO
4c0c1cda1a
Do not process outdated expiration update messages
1 year ago
Ryan ZHAO
c02c3abd73
fix an issue where deleted messages won't show profile picture in groups
1 year ago
Ryan ZHAO
c473c6cb23
fix an issue where disappearing messages config in legacy group was not updated
1 year ago
Ryan ZHAO
68ce009d1c
fix an issue when following settings linked devices won't sync the updated config
1 year ago
Ryan ZHAO
e81923cdef
fix an issue when updating expiry unchanged messages won't start disappear
1 year ago
Morgan Pretty
e1d6a9dfc1
Added a migration to recreate any invalid FTS tables
1 year ago
Ryan ZHAO
87309ccba1
fix an issue where note to self may show expiration update control messages which should be removed already.
1 year ago
Morgan Pretty
cbcdb9b37f
Refactored AppContext and AppRediness to Swift
1 year ago
Ryan ZHAO
084586e6ba
change call messages and data extraction notification to be DaR if needed
1 year ago
Ryan ZHAO
9231f57636
minor fix
1 year ago
Ryan ZHAO
04d734ef87
use local disappearing messages setting for call messages and data extraction notifications
1 year ago
Ryan ZHAO
39341742ea
Don't show following settings for closed groups
1 year ago
Ryan ZHAO
10d1c64c29
remove outdated client banner when receiving a message from new version
1 year ago
Ryan ZHAO
787f2835a9
fix outdated client banner for showing current user
1 year ago
Ryan ZHAO
ac30b3c797
fix unsend requests
1 year ago
Ryan ZHAO
ff691529c4
Do NOT expire control messages in groups
1 year ago
Ryan ZHAO
e38fb400ea
refactor on the way that attaching disappearing messages config to messages
1 year ago
Ryan ZHAO
9fc5f8fa68
WIP: refactoring the way of applying disappearing messages settings
1 year ago
Ryan ZHAO
7d0e0d5164
remove attached disappearing messages settings for some control messages
1 year ago
Ryan ZHAO
c9df2a73e7
bring back false deleted logic
1 year ago
Ryan ZHAO
79eafa7df8
fix logic error for message ttl
1 year ago
Ryan ZHAO
2fc021c48c
fix an edge case where there is no expiration info for messages already expired
1 year ago
Ryan ZHAO
0aa32bcab3
fix an issue where expiration update control messages won't be marked as read on linked devices
1 year ago
Ryan ZHAO
b22fe40d6e
fix an issue where received expiration update control message should already be read
1 year ago
Ryan ZHAO
7693e53183
minor refactor and fix expiration update message for control messages
1 year ago
Ryan ZHAO
42f2440067
fix disappearing messages update control messages for legacy groups and linked devices
1 year ago
Ryan ZHAO
74efe8cc72
fix an issue for legacy groups disappearing message update control message
1 year ago
Ryan ZHAO
490cde57ce
fix disappearing messages update control messages for legacy groups
1 year ago
Ryan ZHAO
4ec1d730cd
remove previous logic for expiring control messages indicating disappearing messages turned off
1 year ago
Ryan ZHAO
362dcd3528
remove last change timestamp in local database
1 year ago
Ryan ZHAO
978ec30074
hide and display the following setting action accordingly
1 year ago
Ryan ZHAO
5d2a307d5e
WIP: update copies and implement following setting
1 year ago
Ryan ZHAO
e8ec91ba8b
keep disappearing message update control message for legacy mode
1 year ago
Ryan ZHAO
96d1f9deb2
fix outdated banner
1 year ago
Ryan ZHAO
bf3fdad856
fix outdated banner for 1-1s
1 year ago
Ryan ZHAO
d492290303
WIP: fix outdated client banner with sql query
1 year ago
Ryan ZHAO
adf1a76acc
fix outdated client version check
1 year ago
Ryan ZHAO
21c4a17a85
minor fix: only show banner when V2 is enabled
1 year ago
Ryan ZHAO
5f0835c41b
feat : display outdated client banner for linked devices
1 year ago
Morgan Pretty
15e8c9bd09
Merge remote-tracking branch 'RyanFork/disappearing-message-redesign' into feature/drop-yap-database-support
1 year ago
Ryan ZHAO
39c9ec7357
clean
1 year ago
Morgan Pretty
60684bc977
Merge remote-tracking branch 'RyanFork/disappearing-message-redesign' into feature/drop-yap-database-support
1 year ago
Ryan Zhao
18852b8a52
fix an issue where closed group disappearing messages type can be set to unknown by shared config
2 years ago
Ryan Zhao
70326b5c74
fix disappearing messages for closed group control messages
2 years ago
Ryan Zhao
3d1b930ede
feat: update disappearing messages ui for visible messages
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
ryanzhao
2d6db6a768
feat(disabled): remove message requests from community when leaving this community
2 years ago
Ryan Zhao
5e0a29f5af
WIP: clear message requests from community when leaving this community chat
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
Ryan Zhao
71fa811064
WIP: handle disappearing message failed to send
2 years ago
Ryan Zhao
cf63d6e48f
imp: modal of hiding recovery password permanently
2 years ago
Ryan Zhao
45d2964bf1
Merge branch 'dev' into onboarding
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
f809a71c8b
Updated the config merge process to only consider timestamps from merged messages
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
89b38dc2f5
Merge pull request #928 from mpretty-cyro/fix/blocked-contacts-crash
...
Fixed a crash on the blocked contacts screen and refactoring
2 years ago
Morgan Pretty
638685a8cc
Merge pull request #925 from mpretty-cyro/fix/blank-display-name-handling
...
Fixed a bug where profiles with blank name values wouldn't fallback correctly
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
f97170fdcd
Fixed a crash on the blocked contacts screen and refactoring
...
Refactored the SessionThreadViewModel to reduce boilerplate and clean up the interface a little
Refactored the MessageRequestsViewController to use the SessionTableViewController
Fixed a crash when returning from the background on the BlockedContactsViewModel
Fixed some minor lag on the NotificationSoundViewModel
Added an optional initial loading message to the SessionTableViewController
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
819106b0f2
Fixed a bug where profiles with blank name values wouldn't fallback correctly
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
Morgan Pretty
90cd3fb5e0
Merge remote-tracking branch 'upstream/dev' into disappearing-message-redesign
...
# Conflicts:
# _SharedTestUtilities/MockJobRunner.swift
2 years ago
Morgan Pretty
9dd2e896bb
Merge remote-tracking branch 'upstream/dev' into fix/add-migration-tests
...
# Conflicts:
# SessionMessagingKit/SessionUtil/SessionUtil.swift
2 years ago
Morgan Pretty
42b49e0227
Added unit tests to verify migrations between all versions work
...
Fixed a busted test import
2 years ago
Morgan Pretty
f9dc85b7ab
Fixed a couple of onboarding bugs and tweaks some logs
...
Fixed an issue where starting and then restarting onboarding would get the app into an invalid state
Fixed an issue where newline characters could cause issues with parsing the recovery phrase
Added additional logs to better be able to understand the database state
2 years ago
ryanzhao
dee5e56ccc
Merge branch 'dev' into onboarding
2 years ago
ryanzhao
c787d2558f
Merge branch 'dev' into message-detail-screen
2 years ago
Morgan Pretty
bf58831313
Merge remote-tracking branch 'upstream/dev' into disappearing-message-redesign
...
# Conflicts:
# Scripts/LintLocalizableStrings.swift
2 years ago
Morgan Pretty
5917cf103f
Refactored the LintLocalizableStrings
...
Added inline errors & warnings (regex could use some work to remove invalid cases)
Added a build step to validate the strings are included in the app and it's extensions
2 years ago
Ryan Zhao
01671438d5
fix issues that the expiresStartAtMs not being set correctly
2 years ago
Ryan Zhao
33ef2b0920
refactor and fix issues that some control messages were not following disappearing messages settings
2 years ago
Morgan Pretty
00008787cc
Merge remote-tracking branch 'upstream/dev' into disappearing-message-redesign
...
# Conflicts:
# 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
2 years ago
ryanzhao
2d0bbe4455
Merge branch 'dev' into disappearing-message-redesign
...
# Session/Meta/Translations/de.lproj/Localizable.strings
# Session/Meta/Translations/en.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/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/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/vi.lproj/Localizable.strings
# Session/Meta/Translations/zh-CN.lproj/Localizable.strings
# Session/Meta/Translations/zh-TW.lproj/Localizable.strings
2 years ago
Morgan Pretty
c4aadaff1c
Fixed the broken tests and updated test dependencies
...
Properly fixed the busted migration issue
Updated to the latest version of Quick and Nimble (unit testing libraries)
Updated the tests based on the above
2 years ago
ryanzhao
ba1d468e9b
fix an issue where call messages were not attached with disappearing messages setting
2 years ago
Morgan Pretty
20ce1deb23
Merge remote-tracking branch 'upstream/dev' into fix/xcode-15-build-issues
2 years ago
ryanzhao
d415ea5781
Merge branch 'dev' into disappearing-message-redesign
2 years ago
Morgan Pretty
323a7a1bce
Merge pull request #906 from mpretty-cyro/feature/add-timestamps-to-notification-metadata
...
Added additional notification metadata and rate-limited PN subscriptions
2 years ago
Morgan Pretty
52836cff91
Fixed a couple more issues
...
Fixed an issue with the Emoji generation
Fixed the SessionThread 'isPinned' property
Fixed an issue when migrating from a pre 2.3.0 version to the latest version
2 years ago
Ryan Zhao
77ceac54e0
fix closed group default disappearing messages settings
2 years ago
Ryan Zhao
66e37cef07
Merge branch 'dev' into disappearing-message-redesign
2 years ago
Morgan Pretty
4c934d2fda
[WIP] Started work fixing XCode 15 build issues
...
Reworked the EmojiGenerator to structure the 'EmojiWithSkinTones+String" file as the original structure was causing XCode 15 to build forever
Reworked the seed node certificate loading in an effort to fix a crash
Updated to the latest version of webp
Commented out a line causing build issues
Fixed a number of build warnings
Fixed an issue which could cause migration issues when upgrading from certain old versions
2 years ago
Morgan Pretty
f92579db07
Fixed a couple more bugs with link previews
...
Fixed an issue where sending a link with a preview wouldn't work if you have a previous "failed" preview for the same link
Fixed an issue where receiving a link with a preview could update all existing previews to an invalid state
2 years ago
Morgan Pretty
8b1a4aaba0
Added additional notification metadata and rate-limited PN subscriptions
...
Fixed an issue where the PN subscription API call wasn't taking the frequency rate limit into account
Added the timestamp and expiration timestamp to the notification metadata
2 years ago
ryanzhao
f4b17c0f06
Merge branch 'dev' into message-detail-screen
2 years ago
Morgan Pretty
a2f1f36d2c
Fixed a number of issues with the Notification Service Extension
...
Fixed an issue where receiving a PN for outgoing messages could break the NotificationServiceExtension
Fixed an issue where the NotificationServiceExtension could startup in an invalid way resulting in subsequent PNs failing to process
Fixed an issue where you could incorrectly receive multiple generic notifications after receiving an incoming call notification
Fixed an issue where the read state syncing might not clear notifications from the notification center
Fixed an issue with parsing Bencoded data
Updated the PN subscription to subscribe to CONVO_INFO_VOLATILE notifications (update read state)
Updated the NotificationServiceExtension to use standard message processing where possible
Updated the NotificationServiceExtension to update the app badge based on a database query
2 years ago
Ryan Zhao
0b2e825190
Merge branch 'dev' into onboarding
2 years ago
Ryan Zhao
8419d06a7e
Merge branch 'dev' into message-detail-screen
2 years ago
Ryan Zhao
2411e6a6a1
Merge branch 'dev' into disappearing-message-redesign
2 years ago
Morgan Pretty
dc15586dd1
Fixed a few silly build issues
2 years ago
Ryan Zhao
6c75007c0b
Merge branch 'dev' into disappearing-message-redesign
2 years ago
Morgan Pretty
7a8941db5c
Fixed a couple of config handling bugs
...
Fixed an bug where config messages could be processed in the wrong order
Tweaked the behaviour or removing threads (this would cause issues with future config-based settings changes that live on the thread getting lost)
2 years ago
ryanzhao
55850584cb
Merge branch 'dev' into onboarding
2 years ago
ryanzhao
7f1a1e1f29
Merge branch 'dev' into message-detail-screen
2 years ago
ryanzhao
8b529676a4
Merge branch 'dev' into disappearing-message-redesign
2 years ago
Morgan Pretty
3e4a2013d3
Fixed a bug where the 'migrationNoLongerSupported' would be thrown for new accounts
2 years ago
Morgan Pretty
a4ade7fdb4
Merge remote-tracking branch 'upstream/dev' into feature/drop-yap-database-support
2 years ago
Morgan Pretty
e1950ed0b5
Merge branch 'dev' into feature/drop-yap-database-support
...
# Conflicts:
# Session.xcodeproj/project.pbxproj
# SessionMessagingKit/Database/Migrations/_003_YDBToGRDBMigration.swift
# SessionUtilitiesKit/Database/Storage.swift
2 years ago
Morgan Pretty
dfdf843f66
Fixed a few more issues
...
Fixed an issue where tapping a remote notification wasn't opening the conversation
Fixed an issue where the Share Extension could fail due to not having a snode pool loaded
Fixed an issue where the Theme may not be applied at the right time in the Share extension
2 years ago
Morgan Pretty
8e28726fa7
Fixed a bug where unwritable conversations appeared in the share extension
2 years ago
Morgan Pretty
e6c26e7ff4
Cleaned up the GRDB interface for complex queries
2 years ago
Morgan Pretty
42853a08c9
Fixed a couple of minor outgoing quote bugs
...
Added a nicer mechanism for using table aliases
Fixed a bug where the quote preview view close button could overlap the content
Fixed a bug where an outgoing quote wouldn't show it's thumbnail in some cases
Fixed a bug where quoting a link preview wouldn't show the link preview attachment
2 years ago
Ryan Zhao
9fe9f19c94
Merge branch 'dev' into message-detail-screen
2 years ago
Ryan Zhao
e1f5f86743
try to fix unit test
2 years ago
Ryan Zhao
a7a19abccf
update unit test
2 years ago
Ryan Zhao
9e1f68380a
Merge branch 'dev' into disappearing-message-redesign
2 years ago
Morgan Pretty
ef5aa927a0
Added logic to use the setting if it's already been sent in a config
...
Added the ability to define requirements for migrations (in case some data or state needs to be loaded for a migration to be able to be performed correctly)
2 years ago
Morgan Pretty
9c9fb09254
Merge remote-tracking branch 'upstream/dev' into feature/blinded-message-request-setting
...
# Conflicts:
# SessionMessagingKit/Configuration.swift
2 years ago
Morgan Pretty
32527d7e83
Merge pull request #856 from mpretty-cyro/feature/updated-push-server
...
Updated Push Notification API Integration
2 years ago
Morgan Pretty
d863004e6d
Added a setting to control community message request polling
...
Added logic to broadcast the community message request acceptance to SOGS so we can communicate it to message request senders
Fixed an issue where database setting changes wouldn't trigger a live update on a settings screen
Fixed an issue where some setting toggles wouldn't animate the state change
Fixed a rarw force-unwrap crash
2 years ago
Ryan Zhao
fda9a60a2e
remove the logic that is not as expected
2 years ago
Ryan Zhao
e4beb5c794
update expiresInSeconds filter to be safe for negative value
2 years ago
Ryan Zhao
acbf6fb126
clean
2 years ago
Ryan Zhao
0e376d0d8a
rename Environment to SessionEnvironment to avoid conflicts on SwiftUI @Environment
2 years ago
Ryan Zhao
01ee543758
refactor on profile picture view
2 years ago
Morgan Pretty
c293bbca3a
Fixed a couple of migration issues and minor tweaks
...
Added the ability to define requirements for migrations (in case some data or state needs to be loaded for a migration to be able to be performed correctly)
Fixed a bug where the migration would throw because the user config might not have loaded it's state yet
Fixed a bug where the migration would throw if the user didn't exist yet
Commented out some logic in the ConfigSyncJob that could be problemmatic
2 years ago
Morgan Pretty
63be502434
Merge remote-tracking branch 'upstream/dev' into disappearing-message-redesign
...
# Conflicts:
# Session.xcodeproj/project.pbxproj
# Session/Conversations/Settings/ThreadDisappearingMessagesSettingsViewModel.swift
# SessionMessagingKit/Configuration.swift
# SessionMessagingKit/Sending & Receiving/MessageSender.swift
# SessionSnodeKit/Networking/SnodeAPI.swift
# SessionTests/Conversations/Settings/ThreadDisappearingMessagesViewModelSpec.swift
# SessionUtilitiesKit/General/Dictionary+Utilities.swift
# SessionUtilitiesKit/JobRunner/JobRunner.swift
2 years ago
Morgan Pretty
50bc2f9a5c
Removed YapDatabase and the migrations
...
Removed the YapDatabase CocoaPod
Removed logic to migrate from YapDatabase to GRDB
Removed the logic to check for legacy config messages during onboarding
Added a database error for when a migration is no longer supported
2 years ago
Ryan Zhao
dbd5cc4f86
Merge branch 'dev' into message-detail-screen
2 years ago
Morgan Pretty
0e952b40bb
Removed 'useSharedUtilForUserConfig' flag and most legacy config logic
2 years ago
Morgan Pretty
18ee9d34fa
Merge remote-tracking branch 'upstream/dev' into feature/updated-push-server
...
# Conflicts:
# Session.xcodeproj/project.pbxproj
# SessionMessagingKit/Open Groups/Types/SodiumProtocols.swift
# SessionMessagingKit/Sending & Receiving/Message Handling/MessageSender+ClosedGroups.swift
# SessionMessagingKitTests/_TestUtilities/MockAeadXChaCha20Poly1305Ietf.swift
# SessionUtilitiesKit/JobRunner/JobRunner.swift
2 years ago
Morgan Pretty
66b94778e0
Fixed the build issues and a bug where a new legacy group wasn't subscribile
2 years ago
Morgan Pretty
1b0fda56ad
Merge remote-tracking branch 'upstream/dev' into feature/updated-push-server
...
# Conflicts:
# Session.xcodeproj/project.pbxproj
# Session/Meta/AppDelegate.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/Notifications/SyncPushTokensJob.swift
# SessionMessagingKit/Sending & Receiving/Message Handling/MessageReceiver+ClosedGroups.swift
# SessionMessagingKit/Sending & Receiving/Message Handling/MessageSender+ClosedGroups.swift
# SessionShareExtension/ShareNavController.swift
2 years ago
Morgan Pretty
b471a32209
Merge remote-tracking branch 'upstream/dev' into feature/job-runner-unit-tests
...
# Conflicts:
# Session/Conversations/ConversationVC+Interaction.swift
# SessionMessagingKit/Open Groups/OpenGroupAPI.swift
# SessionMessagingKit/Open Groups/OpenGroupManager.swift
2 years ago
Morgan Pretty
a41f1c1366
Fixed the broken tests
...
Cleaned up the Dependencies so that tests can run synchronously without having to custom set queues as much
Sorted out the crypto and network dependencies to avoid needing weird dependency inheritance
Fixed the flaky tests so they are no longer flaky
Fixed some unexpected JobRunner behaviours
Updated the CI config to use a local build directory for derivedData (now works with build tweaks)
2 years ago
Ryan Zhao
ae2a17a527
add message failing status
2 years ago
Ryan Zhao
1805b16fc4
Merge branch 'dev' into message-detail-screen
2 years ago
Ryan Zhao
cbc8a7806d
Merge branch 'dev' into disappearing-message-redesign
2 years ago
Ryan Zhao
2851e167ff
WIP: add message failing status
2 years ago
ryanzhao
18d3ab0e0e
Merge branch 'dev' into disappearing-message-redesign
2 years ago
Morgan Pretty
f373a989a8
Fixes for user config crashes
...
Added a method to determine if the database is suspended
Updated the code to show the "Failed" state if sending a message fails due to a suspended database
Prevented a crash which could occur in rare cases when accessing the Seed via the home screen prompt (direct user to share logs with session - db locked or device in an invalid state)
Prevented a crash which could occur when trying to send a message due to failing to retrieve the mnemonic (db locked or device in an invalid state)
Fixed a bug where optimistic messages could end up appearing multiple times
Fixed a crash with the QRCode scanner
Fixed a crash when trying to take a video attachment
Fixed a crash where the image picker grid could go out of bounds when selecting elements
Fixed a crash which could occur when a user provides a recovery password with a word that contains less than 3 characters
Fixed a potential issue where the dependency injection could result in a stale date being used in some places (removing the DI here, proper fix requires larger changes in another branch)
2 years ago
Morgan Pretty
e768bebe6d
Merge remote-tracking branch 'upstream/dev' into feature/job-runner-unit-tests
...
# Conflicts:
# Session.xcodeproj/project.pbxproj
# Session/Meta/Session-Prefix.pch
# Session/Notifications/SyncPushTokensJob.swift
# Session/Utilities/BackgroundPoller.swift
# SessionMessagingKit/Configuration.swift
# SessionMessagingKit/Database/Models/Profile.swift
# SessionMessagingKit/Jobs/Types/AttachmentDownloadJob.swift
# SessionMessagingKit/Jobs/Types/AttachmentUploadJob.swift
# SessionMessagingKit/Jobs/Types/DisappearingMessagesJob.swift
# SessionMessagingKit/Jobs/Types/FailedAttachmentDownloadsJob.swift
# SessionMessagingKit/Jobs/Types/FailedMessageSendsJob.swift
# SessionMessagingKit/Jobs/Types/GroupLeavingJob.swift
# SessionMessagingKit/Jobs/Types/MessageReceiveJob.swift
# SessionMessagingKit/Jobs/Types/MessageSendJob.swift
# SessionMessagingKit/Jobs/Types/NotifyPushServerJob.swift
# SessionMessagingKit/Jobs/Types/RetrieveDefaultOpenGroupRoomsJob.swift
# SessionMessagingKit/Jobs/Types/SendReadReceiptsJob.swift
# SessionMessagingKit/Jobs/Types/UpdateProfilePictureJob.swift
# SessionMessagingKit/Sending & Receiving/MessageSender.swift
# SessionMessagingKit/Sending & Receiving/Pollers/ClosedGroupPoller.swift
# SessionMessagingKit/Utilities/AppReadiness.m
# SessionMessagingKitTests/Open Groups/OpenGroupManagerSpec.swift
# SessionMessagingKitTests/_TestUtilities/TestOnionRequestAPI.swift
# SessionShareExtension/ShareNavController.swift
# SessionSnodeKit/Jobs/GetSnodePoolJob.swift
# SessionUtilitiesKit/Configuration.swift
# SessionUtilitiesKit/Database/Utilities/Database+Utilities.swift
# SessionUtilitiesKit/JobRunner/JobRunner.swift
# SignalUtilitiesKit/Meta/SignalUtilitiesKit.h
# SignalUtilitiesKit/Utilities/SSKAsserts.h
2 years ago
Morgan Pretty
bc5d8d0931
Cleaning up final things before release
...
Added basic support for the '25' blinded prefix
Fixed a unit test CI issue
2 years ago