Ryan Zhao
c9b9400e9e
fix a crash caused by database write method reentrance
2 years ago
Morgan Pretty
ff36b3eeab
Resolved a number of TODOs and a couple of crashes
...
Updated the logic to always fetch all config messages (and not de-dupe them)
Updated the onboarding to fallback to fetch the legacy config if the there is no updated user config
Added sorting to config message processing to reduce the turn-around time for certain edge-cases to resolve
Removed some redundant code
Fixed a database re-entrancy crash
Fixed a crash when merging config messages
Fixed an issue which could occur by registering too many 'afterTransaction' closures
2 years ago
Morgan Pretty
742c4a161f
Merge remote-tracking branch 'upstream/dev' into feature/updated-user-config-handling
...
# Conflicts:
# Session.xcodeproj/project.pbxproj
# Session/Conversations/ConversationVC+Interaction.swift
# Session/Conversations/ConversationViewModel.swift
# Session/Media Viewing & Editing/GIFs/GifPickerViewController.swift
# Session/Media Viewing & Editing/GIFs/GiphyAPI.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/AppNotifications.swift
# Session/Notifications/SyncPushTokensJob.swift
# Session/Notifications/UserNotificationsAdaptee.swift
# SessionMessagingKit/Configuration.swift
# SessionMessagingKit/Database/Models/Interaction.swift
# SessionMessagingKit/Database/Models/SessionThread.swift
# SessionMessagingKit/Jobs/Types/MessageReceiveJob.swift
# SessionMessagingKit/Jobs/Types/MessageSendJob.swift
# SessionMessagingKit/Jobs/Types/SendReadReceiptsJob.swift
# SessionMessagingKit/Messages/Message.swift
# SessionMessagingKit/Sending & Receiving/Message Handling/MessageReceiver+ReadReceipts.swift
# SessionMessagingKit/Sending & Receiving/MessageSender+Convenience.swift
# SessionMessagingKit/Sending & Receiving/MessageSender.swift
# SessionMessagingKit/Shared Models/MentionInfo.swift
2 years ago
Morgan Pretty
c8a199a8ba
Fixed the remaining broken tests
2 years ago
Morgan Pretty
f30b383bb8
Updated to the latest version of libSession-util
...
Updated the SharedConfigMessage type to have a TTL of 30 days
Updated the SnodeAPI to have a 'poll' method to be more consistent with the OpenGroupAPI (it also does multiple things now so is cleaner)
Added logic to limit the number of config messages to be retrieved per poll
Added the 'ValidatableResponse' protocol to standardise SnodeAPI response validation
Added the libSession version to the logs
Fixed an issue where the user profile pic wouldn't get synced correctly due to memory going out of scope
Fixed some threading issues
Refactored the thread variants to follow the updated terminology (will think about refactoring other code areas later)
Cleaned up the Combine error handling
Started fixing broken unit tests
2 years ago
Ryan Zhao
a14a99896b
Merge branch 'dev' into switch-video-view
2 years ago
Ryan Zhao
aca587be17
Merge branch 'dev' into fix-quoting-in-community-chats
2 years ago
Morgan Pretty
e0f9be082a
Merge pull request #791 from mpretty-cyro/feature/pin-note-to-self-in-share-extension
...
Update the share extension to always show 'Note to Self' first
2 years ago
Morgan Pretty
e4d6400375
Merge remote-tracking branch 'upstream/dev' into fix/remaining-reachability-oddities
...
# Conflicts:
# 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
2 years ago
Morgan Pretty
507ab9f34f
Merge pull request #787 from mpretty-cyro/fix/warn-first-giphy-use
...
Added a warning prompt the first time someone uses Giphy
2 years ago
Morgan Pretty
08b1e9a131
Started caching pending ReadReceipt messages to resolve an edge-case
...
Fixed an issue where read receipts could be sent for already read messages
Fixed an issue where the read state change might not update the UI
2 years ago
Morgan Pretty
bdddfb35d7
Update the share extension to always show 'Note to Self' first
2 years ago
Morgan Pretty
f68bbc2f0a
Fixed an issue where mentions weren't working in groups
2 years ago
Morgan Pretty
3b8153edd2
Added a warning prompt the first time someone uses Giphy
2 years ago
Morgan Pretty
3344e58716
Cleaned up some logic around sync messages
...
Added logic to indicate when a sync message failed to send (and the ability to retry)
Added the retry/resync button to the long press message menu
Updated sync messages to run via the MessageSendJob
Updated the delivery status to always show on the last outgoing message
Updated the logic to update the delivery status when retrying to send a failed message
Removed the convoluted recursion logic for turning self-send messages into sync messages
2 years ago
Ryan Zhao
62b1470b55
further clean up for message sender
2 years ago
Ryan Zhao
08de65f774
minor refactor
2 years ago
Ryan Zhao
1845340582
WIP: refactor on the call UI to add switching function of caller and callee's video views
2 years ago
Ryan Zhao
b271e9c4c9
update local open group message to save blinded author id
2 years ago
Ryan Zhao
494e12adb6
Merge branch 'dev' into disappearing-message-redesign
2 years ago
Morgan Pretty
d020a7a05f
Fixed a couple of reachability oddities and bugs
...
Updated the PathVC to indicate the network reachability
Updated messages sent to 'Note to Self' to properly indicate whether they were sent to the swarm
Fixed an issue where 'Note to Self' messages weren't actually getting sent to the swarm
2 years ago
ryanzhao
a6fa53aaf0
fix #768
2 years ago
ryanzhao
092864f918
Merge branch 'dev' into message-and-image-info
2 years ago
Morgan Pretty
1b97bb6aa8
Fixed an incorrect size in the FileServerAPI which could result in upload errors
2 years ago
Morgan Pretty
eb3c31d911
Fixed a few more bugs
...
Updated the PathStatusView to take Reachability into account for it's status indicator
Fixed an issue where a user couldn't delete their own messages sent to a community
Fixed an issue where the app didn't require a passcode to be set to use screen lock
Fixed an issue where the delivery status on a sending message might not update when on the conversation screen
Fixed an issue where read receipts weren't working
2 years ago
ryanzhao
d322c38458
WIP: show media full screen
2 years ago
Morgan Pretty
345b693225
Fixed build issues, bugs, added unit tests and added the ConvoInfoVolatile handling
...
Added the unit tests for the ConvoInfoVolatile
Added icons to the swipe actions
Updated jobs to be able to be prioritised (and added priorities to the launch jobs to avoid some odd behaviours)
Fixed some build issues resulting from merging
Fixed an issue with the open group pubkey encoding
Fixed an issue where an imageView could get it's image set on a background thread
Fixed a bug where the swipe actions weren't getting theming applied when the theme changed
Fixed a bug where scheduling code after the next db transaction completes couldn't be nested (resulting in code not running)
Fixed a bug where the PagedDataObserver might not notify of unobserved changes if they reverted previous unobserved changes
Fixed a couple of incorrect SQL ordering use cases (was overriding instead of appending ordering)
Fixed an issue where the app would re-upload the avatar every launch (only affected this branch)
Fixed an issue where the home screen wouldn't update group avatars when their profile data changed
2 years ago
Ryan Zhao
d1aacf24c2
Merge branch 'dev' into message-and-image-info
2 years ago
Morgan Pretty
07046db4b6
Updated to the latest libSession, fixed a few bugs
...
Added the logic to sync the last read state for a conversation
Added the legacyClosedGroup thread variant
Updated the config handling to be able to update the 'mergeResult' and require a dump/push due to local changes
Fixed an issue where the name on the CallVC could go off the screen
Fixed an issue where OpenGroup info could sometimes incorrectly get deleted
Fixed an issue where the ConfirmationModal on a SessionTableViewController wouldn't trigger it's action
Fixed an issue where the config handling could incorrectly trigger a contacts update when there were no changes
2 years ago
Morgan Pretty
4f8fb63f2c
Merge remote-tracking branch 'upstream/dev' into feature/updated-user-config-handling
...
# Conflicts:
# Session/Media Viewing & Editing/PhotoCapture.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/AppNotifications.swift
# Session/Onboarding/RestoreVC.swift
# Session/Shared/SessionTableViewController.swift
# Session/Shared/SessionTableViewModel.swift
# SessionMessagingKit/Calls/WebRTCSession.swift
# SessionMessagingKit/Database/Models/Attachment.swift
# SessionMessagingKit/Database/Models/DisappearingMessageConfiguration.swift
# SessionMessagingKit/File Server/FileServerAPI.swift
# SessionMessagingKit/Jobs/Types/AttachmentDownloadJob.swift
# SessionMessagingKit/Open Groups/OpenGroupAPI.swift
# SessionMessagingKit/Sending & Receiving/Message Handling/MessageSender+ClosedGroups.swift
# SessionMessagingKit/Sending & Receiving/MessageReceiver.swift
# SessionMessagingKit/Sending & Receiving/MessageSender.swift
# SessionSnodeKit/OnionRequestAPI.swift
# SessionSnodeKit/SnodeAPI.swift
# SessionUtilitiesKit/Database/Models/Identity.swift
# SessionUtilitiesKit/JobRunner/JobRunner.swift
2 years ago
RyanZhao
a5cc813dd5
Merge pull request #769 from mpretty-cyro/feature/read-status-updates
...
Added the updated delivery status UI
2 years ago
Morgan Pretty
5659b55eae
Fixed a bug where a stale flag was used to determine how to send a push notification
2 years ago
Ryan Zhao
d5343ac236
fix get_expiries endpoints & clean up
2 years ago
ryanzhao
33c239eae2
WIP: debug new endpoints
2 years ago
Ryan Zhao
ef662b2152
fix a threading issue
2 years ago
Ryan Zhao
1fc8261944
fix update expiries testing on testnet
2 years ago
Morgan Pretty
0abb09c0cf
Fixed a few small issues found when testing
...
Fixed a couple of issues with the ConfigurationSyncJob logic
Moved the proto parsing out of the MessageReceiveJob write block (to reduce time blocking writes)
Removed difficulty from the SendMessageResponse (deprecated and removed)
2 years ago
ryanzhao
f185ccf506
add info message view in context menu vc
2 years ago
Ryan Zhao
d97730ab63
WIP: add receivedAtTimestampMs to MessageViewModel
2 years ago
Morgan Pretty
5c05fbbbb6
Added the updated delivery status UI
...
Updated the create closed group screen to cancel the search field when tapping outside of it (previously required tapping the cancel button)
2 years ago
Ryan Zhao
73e05ec19e
use new endpoint to shorten messages' TTL
2 years ago
Morgan Pretty
af9a135c08
Fixed an issue where open group info could incorrectly get removed
2 years ago
ryanzhao
1f3bfde5b2
WIP: make new property lastChangeTimestampsMs optional
2 years ago
ryanzhao
4c366dedc2
clean up SyncedExpiries
2 years ago
ryanzhao
0bfc337bcc
add index & clean
2 years ago
ryanzhao
071d23c0df
update comments
2 years ago
ryanzhao
a50af6702e
make expiresInSeconds & expiresStartedAtMs private(set)
2 years ago
ryanzhao
87dda2aa20
clean
2 years ago
ryanzhao
9954cddc2a
Merge branch 'dev' into disappearing-message-redesign
2 years ago
RyanZhao
8d8028da13
Merge pull request #754 from RyanRory/bug-fixes
...
Bug fixes
2 years ago
RyanZhao
1f9e58956c
Merge pull request #761 from mpretty-cyro/fix/use-offset-time
...
Use service node offset time where possible
2 years ago
Ryan Zhao
f105c1d7bc
clean
2 years ago
Ryan Zhao
3712893bdc
clean
2 years ago
Ryan Zhao
9c39945c89
clean
2 years ago
Ryan Zhao
3a3be0ca7b
resolve a TODO
2 years ago
Ryan Zhao
a3f8d9e81a
clean
2 years ago
Ryan Zhao
71449c22b1
feat: remove previous disappearing messages change info message when adding a new one
2 years ago
Morgan Pretty
29ba25916c
Fixed a few issues uncovered when testing the shared util feature flag
...
Added code to handle an edge-case where an account could exist without a display name if crashing at the right time when onboarding/linking (now request a display name on start up)
Fixed a crash which could occur when downloading new avatars
Fixed a minor layout issue with the seed reminder view
2 years ago
Morgan Pretty
4d487f2686
Fixed the broken unit tests
2 years ago
Morgan Pretty
e3a080dd5b
Updated to the latest version of the libSession-utl (contacts size)
...
Fixed some broken unit tests (still some broken ones)
2 years ago
Morgan Pretty
a3da087352
Fixed a few build errors and cases where the offset wasn't taken into account
2 years ago
Morgan Pretty
f7199b4c44
Updated the code to take the service node offset into account when setting timestamps
2 years ago
Morgan Pretty
c78409a2d6
Increased the file upload size to 10Mb
...
Removed the 'fileSizeORMultiplier' that was dealing with the b64 encoding (no longer exists)
Increased the request timeout for file upload/download to 30 seconds (up from 10 seconds)
2 years ago
Morgan Pretty
14174e3fbd
Fixed the build errors caused by removing the old 'syncConfiguration' function
2 years ago
Morgan Pretty
8f3dcbc6be
Sorted out a bunch of the config syncing logic
...
Updated the onboarding to attempt to retrieve the current user profile config and skip display name collection if it already exists
Updated the logic to get the snode pool and build paths immediately on launch even if the user hasn't been created yet (faster onboarding)
Removed the iOS-specific concurrent dual snode '/store' behaviour
Cleaned up the profile updating logic
Fixed an issue where the pollers could end up deadlocking the main thread if too many tried to start concurrently
2 years ago
Ryan Zhao
751eb8ce66
fix an issue where linking a device will remove the username on main device
2 years ago
Ryan Zhao
a14b2c0960
fix an issue where open group messages over 6 months old won't actually be trimmed
2 years ago
ryanzhao
c4e6f3fe47
clear open group inbox when clear account data
2 years ago
ryanzhao
123c458c32
update disappearing messages off config info message's expiration
2 years ago
Ryan Zhao
e93c83b9f2
wip: update disappearing messages config off info message's expiration
2 years ago
Ryan Zhao
4cc6d24404
fix sync expiries jobs
2 years ago
Ryan Zhao
3368f184de
fix sync expiries job
2 years ago
Ryan Zhao
f736e4709b
refactor: make sync expiries to a job & only save sync message server hash for outgoing messages
2 years ago
Morgan Pretty
893967e380
Updated to the latest config lib and added it's unit tests
2 years ago
Morgan Pretty
174725c7fd
Removed unneeded imports of libraries to understand usage
...
Refactored some 3rd-part standard encryption to use CryptoKit
Removed the PromiseKit pod
Fixed the broken tests
2 years ago
Ryan Zhao
4c5bfe258d
fix an issue where sync expiry will falsely start disappearing messages according to current config
2 years ago
Ryan Zhao
a33958ae7b
add server hash to disappearing messages info message
2 years ago
Morgan Pretty
f1e9412c7a
Added in missing code changes unrelated to closed groups rebuild
2 years ago
Ryan Zhao
3b1bc3615e
clean
2 years ago
Ryan Zhao
5542f0e389
fix an issue where linked device will remove current username
2 years ago
Morgan Pretty
70ff2b49f0
Fixed the broken tests and resolved some warnings
...
Stopped migration logs from appearing in unit tests
# Conflicts:
# Session/Settings/RemoveUsersModal.swift
# SessionMessagingKitTests/Open Groups/OpenGroupManagerSpec.swift
# SessionTests/Conversations/Settings/ThreadDisappearingMessagesViewModelSpec.swift
# SessionTests/Conversations/Settings/ThreadSettingsViewModelSpec.swift
2 years ago
Morgan Pretty
ca4ce52402
Fixing the broken unit tests, resolved the remaining TODOs
...
# Conflicts:
# Session.xcodeproj/project.pbxproj
# SessionMessagingKitTests/Open Groups/Models/BatchRequestInfoSpec.swift
# SessionMessagingKitTests/Open Groups/OpenGroupAPISpec.swift
# SessionMessagingKitTests/Open Groups/OpenGroupManagerSpec.swift
# SessionMessagingKitTests/_TestUtilities/TestOnionRequestAPI.swift
# SessionTests/Conversations/Settings/ThreadSettingsViewModelSpec.swift
# SessionUtilitiesKit/Networking/BatchResponse.swift
# SessionUtilitiesKitTests/Networking/BatchResponseSpec.swift
2 years ago
Morgan Pretty
5033738994
Fixed a few issues caused by the PromiseKit refactor
...
Started cleaning up the TODOs
Fixed a couple of merge conflict issues
Fixed a bug with the state of attachments which failed to download
# Conflicts:
# SessionMessagingKit/Database/Models/Attachment.swift
2 years ago
Morgan Pretty
6970ff22cc
Refactored the remaining references to PromiseKit
...
# Conflicts:
# Session.xcodeproj/project.pbxproj
# Session/Media Viewing & Editing/PhotoCapture.swift
# SessionMessagingKit/Jobs/Types/GarbageCollectionJob.swift
# SessionMessagingKit/Sending & Receiving/MessageSender+Convenience.swift
# SessionMessagingKit/Utilities/Promise+Utilities.swift
# SessionShareExtension/ShareVC.swift
# SessionShareExtension/ThreadPickerVC.swift
# SessionSnodeKit/OnionRequestAPI+Encryption.swift
# SessionSnodeKit/OnionRequestAPI.swift
# SessionUtilitiesKit/Database/Storage.swift
# SessionUtilitiesKit/Networking/HTTP.swift
2 years ago
Morgan Pretty
8b37002d89
Removed some unneeded imports
...
# Conflicts:
# SessionMessagingKit/Jobs/Types/AttachmentUploadJob.swift
# SessionMessagingKit/Jobs/Types/MessageSendJob.swift
# SessionShareExtension/SAEScreenLockViewController.swift
# SessionSnodeKit/Models/SnodeBatchRequest.swift
2 years ago
Morgan Pretty
8ac6b25ced
Further refactoring work
...
Refactored usages and removed AFNetworking
Updated the media screens to use Combine
# Conflicts:
# Session/Closed Groups/GroupMembersViewModel.swift
# Session/Media Viewing & Editing/GIFs/GifPickerCell.swift
# Session/Media Viewing & Editing/GIFs/GiphyAPI.swift
# Session/Media Viewing & Editing/PhotoCapture.swift
2 years ago
Morgan Pretty
c9fdee9f24
Work on the PromiseKit refactor
...
# Conflicts:
# Session.xcodeproj/project.pbxproj
# Session/Conversations/ConversationVC+Interaction.swift
# Session/Home/Message Requests/MessageRequestsViewModel.swift
# Session/Notifications/AppNotifications.swift
# Session/Notifications/PushRegistrationManager.swift
# Session/Notifications/SyncPushTokensJob.swift
# Session/Notifications/UserNotificationsAdaptee.swift
# Session/Settings/BlockedContactsViewModel.swift
# Session/Settings/NukeDataModal.swift
# Session/Settings/SettingsViewModel.swift
# Session/Utilities/BackgroundPoller.swift
# SessionMessagingKit/Database/Models/ClosedGroup.swift
# SessionMessagingKit/File Server/FileServerAPI.swift
# SessionMessagingKit/Open Groups/OpenGroupAPI.swift
# SessionMessagingKit/Sending & Receiving/Message Handling/MessageReceiver+ClosedGroups.swift
# SessionMessagingKit/Sending & Receiving/Message Handling/MessageReceiver+UnsendRequests.swift
# SessionMessagingKit/Sending & Receiving/Message Handling/MessageSender+ClosedGroups.swift
# SessionMessagingKit/Sending & Receiving/MessageSender+Convenience.swift
# SessionMessagingKit/Sending & Receiving/MessageSender.swift
# SessionMessagingKit/Sending & Receiving/Notifications/PushNotificationAPI.swift
# SessionMessagingKit/Sending & Receiving/Pollers/ClosedGroupPoller.swift
# SessionMessagingKit/Sending & Receiving/Pollers/CurrentUserPoller.swift
# SessionMessagingKit/Sending & Receiving/Pollers/Poller.swift
# SessionMessagingKit/Utilities/ProfileManager.swift
# SessionSnodeKit/Networking/SnodeAPI.swift
# SessionSnodeKit/OnionRequestAPI.swift
# SessionUtilitiesKit/Networking/HTTP.swift
2 years ago
Morgan Pretty
f5933bdf75
Updated to the latest version of the shared util library
...
# Conflicts:
# Session/Onboarding/Onboarding.swift
2 years ago
Morgan Pretty
1345e89809
Further config util logic
...
Removed the usage of the OWSAES256Key (using CryptoKit and raw data instead)
Removed the pre-compiled headers to speed up builds with minor changes (explicit imports instead)
# Conflicts:
# Session.xcodeproj/project.pbxproj
# SessionMessagingKit/Database/Models/ClosedGroup.swift
# SessionMessagingKit/Protos/Generated/SNProto.swift
# SessionMessagingKit/Protos/Generated/SessionProtos.pb.swift
# SessionMessagingKit/Protos/SessionProtos.proto
# SessionMessagingKit/Sending & Receiving/MessageSender.swift
# SessionMessagingKit/Sending & Receiving/Pollers/CurrentUserPoller.swift
# SessionMessagingKit/Utilities/ProfileManager.swift
# SessionSnodeKit/Models/DeleteAllMessagesRequest.swift
# SessionSnodeKit/Models/GetMessagesRequest.swift
# SessionSnodeKit/Models/SendMessageRequest.swift
# SessionSnodeKit/Types/SnodeAPINamespace.swift
2 years ago
Morgan Pretty
ba33d2c95e
Added the logic to create the UserProfile data dump in the migration
2 years ago
Morgan Pretty
f721178b49
Added in a migration to create the user profile config and trigger a sync
...
# Conflicts:
# Session.xcodeproj/project.pbxproj
2 years ago
Morgan Pretty
edf3bde573
Started working on the integration
...
# Conflicts:
# Session.xcodeproj/project.pbxproj
# SessionMessagingKit/Configuration.swift
# SessionMessagingKit/Database/Migrations/_012_AddClosedGroupInfo.swift
# SessionMessagingKit/Database/Migrations/_013_AutoDownloadAttachments.swift
# SessionMessagingKit/Open Groups/Models/SOGSBatchRequest.swift
# SessionSnodeKit/OnionRequestAPI.swift
# SessionSnodeKit/SSKDependencies.swift
# SessionTests/Conversations/Settings/ThreadDisappearingMessagesViewModelSpec.swift
# SessionTests/Conversations/Settings/ThreadSettingsViewModelSpec.swift
# SessionTests/Settings/NotificationContentViewModelSpec.swift
# SessionUtilitiesKit/Networking/BatchResponse.swift
2 years ago
ryanzhao
ea44a16f9d
fix expire timer update message
2 years ago
ryanzhao
8caed9dc9c
fix open group trimming & removing unread disappearing messages after 14 days
2 years ago
ryanzhao
491ca58e9d
fix an issue where the info message won't disappearing if it is from expiration timer update message
2 years ago
Ryan Zhao
bdea161aba
feat: bring back legacy disappearing messages info message
2 years ago
Ryan Zhao
49b22ab98e
fix an issue where in some cases the new client will be marked as old ones
2 years ago
Ryan Zhao
3643a96918
clean
2 years ago
Ryan Zhao
c247064fa8
feat: check contacts client version based on protobuf
2 years ago
Ryan Zhao
245682b40d
feat: add database column for version detecting
2 years ago
ryanzhao
3b08339e0b
feat: add column for contact using outdated client in database
3 years ago
Ryan Zhao
8e64cda138
re-enable the handling for expiration timer update messages until the new design is enabled
3 years ago
Ryan Zhao
f4a2d41d34
do not add disappearing messages configuration to content message proto until the new design is enabled
3 years ago
Ryan Zhao
4225ba6a04
feat: do not update messages' ttl until the new design is enabled
3 years ago
Ryan Zhao
f0b3044e89
ui: add legacy option for 1-1 disappearing messages and clean
3 years ago
Ryan Zhao
984aee4aa9
WIP: add legacy disappearing messages
3 years ago
ryanzhao
eeb0f4e47c
Merge branch 'dev' into disappearing-message-redesign
3 years ago
Morgan Pretty
b834dddbe4
Fixed another minor bug, added logging and defensive coding
...
Fixed a bug where you couldn't set animated avatars
Added some defensive coding to prevent the JobRunner queues from adding or starting jobs that don't have id's set
Tweaked the code to be a little more explicit when inserting jobs before other jobs
3 years ago
ryanzhao
a198145fb2
remove padding for sync expiry messages
3 years ago
ryanzhao
afbb60b66d
fix: disappear after read for control messages
3 years ago
ryanzhao
14a853ab07
feat: send expire timer update message
3 years ago
ryanzhao
49c019a9d4
make control message disappears as the settings
3 years ago
ryanzhao
1a4343e6df
update protobuf
3 years ago
ryanzhao
9e80187214
refactor to make disappearing message after send work for control messages
3 years ago
ryanzhao
1c4981cb5d
WIP: disappearing messages for control messages
3 years ago
Ryan Zhao
bfd0fc3c0c
fix closed group member & admin sql statement in convo settings
3 years ago
Ryan Zhao
879c55906e
fix disappear after send
3 years ago
Ryan Zhao
9866e26d03
update disappear after send message receiving
3 years ago
Ryan Zhao
2ad8041b59
feat: allow group admin to set disappearing message config
3 years ago
ryanzhao
5c345174c1
update protobuf
3 years ago
ryanzhao
3da092019b
Merge branch 'dev' into disappearing-message-redesign
3 years ago
RyanZhao
7e161e30a0
Merge pull request #655 from RyanRory/quote-standardise
...
Quote standardise
3 years ago
ryanzhao
723d676d81
sync expiries message handling
3 years ago
ryanzhao
89a5739883
send sync expiries
3 years ago
ryanzhao
ab2dc8deaf
Merge branch 'dev' into quote-standardise
3 years ago
ryanzhao
fd14c50f61
add sync expires message and update protobuf
3 years ago
ryanzhao
d4d7f6c72c
clean
3 years ago
ryanzhao
387b5f953b
apply disappearing message config to sync messages
3 years ago
ryanzhao
f855e71d61
Merge branch 'dev' into disappearing-message-redesign
3 years ago
Morgan Pretty
7cbdca672e
Fixed a bug where copying the open group url wasn't working correctly
3 years ago
Morgan Pretty
9dbab87ba4
Actually setting the 'forceBlinded' flag
3 years ago
Morgan Pretty
f4d4e7d810
Fixed an issue with blinding being switched on
...
Fixed an issue where a user that was part of an open group before blinding was enabled wouldn't be able to access the group once blinding was switched on
Updated the code to better support errors sent from SOGS as bencoded data
3 years ago
Morgan Pretty
c934415355
General bug fixing
...
Fixed an issue where the database could get suspended if the app is launched when the app is doing a background fetch
Fixed an incorrectly localized string
Fixed an issue where the author name on a message didn't have it's width constrained
Fixed a bug where the conversation message list inset wasn't getting updated properly in some cases
Tweaked some logic in the OpenGroupPoller when running from the background to try and close some of the odd cases
3 years ago
Ryan Zhao
03ed90c31d
reverse & clean
3 years ago
Ryan Zhao
31c90162d3
fix sending messages with disappearing messages ttl
3 years ago
Ryan Zhao
3efba397ab
add YOU for disappearing messages info message
3 years ago
Ryan Zhao
e54a37ead0
update ttl after read when disappear after read is set
3 years ago
Ryan Zhao
aa81a907a5
update disappearing messages info message
3 years ago
Ryan Zhao
e4bf474fea
fix disappearing messages configuration sending & receiving
3 years ago
Ryan Zhao
0567a4eb6a
update protobuf
3 years ago
Ryan Zhao
d5c7e3178f
minor fix
3 years ago
Ryan Zhao
6e58a0d967
insert info message for updating disappearing message config
3 years ago
ryanzhao
601cc7b92a
set disappearing messages config info to all kinds of messages
3 years ago
ryanzhao
38594f8dc1
minor refactor
3 years ago
ryanzhao
aaa25c3004
add function to handle disappearing messages configuration
3 years ago
ryanzhao
61647e1c72
fix the migration
3 years ago
ryanzhao
8377da0876
lastChangeTimestamp migration
3 years ago
Ryan Zhao
03b3136316
disappearing message config to proto
3 years ago
Ryan Zhao
95d065f775
update protobuf 1
3 years ago
Ryan Zhao
70ba0bdc13
set ttl as disappearing message config
3 years ago