Morgan Pretty
72eeb1c796
Updated the Identity type to clear everything instead of just the x25519 pair
3 years ago
Morgan Pretty
410f37f0d5
Updated the SnodeSet table name to match the type
...
Shifted all GRDB Snode convenience methods to be extensions on Snode (instead of SnodeSet) for consistency
3 years ago
Morgan Pretty
63db2a4e3d
Updated the 'SwarmSnode' to use the 'port_https' key instead of the 'port' key (deprecated)
3 years ago
Morgan Pretty
a1b4554cdb
Migrated the SessionSnodeKit from YapDatabase to GRDB
...
Changed the min OS version to iOS 13.0 (support for 'Identifiable')
Removed the alternate approaches to fetching the userKeyPair and userPublicKeyHexString (no consistently routed through the caching method)
Migrated the 'OWSIdentityManager' logic to use the new 'Identity' type
Added the 'Setting' table and got the pattern working fairly nicely (unfortunately there isn't a good way to avoid key collision without proper enums)
Updated the SessionSnodeKit to migration it's data from YDB to GRDB
Updated the SessionSnodeKit to use GRDB throughout it's logic
3 years ago
Morgan Pretty
e65682ae9b
Merge branch 'dev' into feature/database-refactor
...
# Conflicts:
# Session.xcodeproj/project.pbxproj
# Session/Backups/OWSBackup.m
# Session/Backups/OWSBackupImportJob.m
# SessionSnodeKit/SnodeAPI.swift
3 years ago
Morgan Pretty
459502f1c3
Merge remote-tracking branch 'upstream/dev' into dev
3 years ago
Morgan Pretty
529e416dd1
Started work on GRDB logic and migrations
...
Setup a migration pattern
Setup the database configuration and security
Started defining the database schema
Started working on the migrations for SessionSnodeKit
3 years ago
RyanZhao
82606a6244
Merge pull request #602 from mpretty-cyro/feature/remove-OWSBlockingManager
...
Remove the OWSBlockingManager
3 years ago
Morgan Pretty
0e09d4b935
Merge remote-tracking branch 'upstream/dev' into dev
3 years ago
ryanzhao
548aad69a9
update build number
3 years ago
RyanZhao
b281ea528a
Merge pull request #609 from RyanRory/fix-message-requests-reverse
...
Fix approved chats back to message requests inbox
3 years ago
ryanzhao
801f0d68a8
fix an edge case where a config message might get isApproved set to false
3 years ago
Morgan Pretty
21924ee81a
Merge branch 'dev' into feature/remove-OWSBlockingManager
...
# Conflicts:
# Session.xcodeproj/project.pbxproj
3 years ago
Morgan Pretty
1b5eea7b4f
Merge remote-tracking branch 'upstream/dev' into dev
3 years ago
Ryan Zhao
59f112c55f
bump up version & build number
3 years ago
RyanZhao
7cd0079b37
Merge pull request #599 from mpretty-cyro/fix/update-last-message-hash-after-registering-jobs
...
Fix - Update last message hash after registering jobs
3 years ago
RyanZhao
74f1d9a6d4
Merge pull request #596 from mpretty-cyro/feature/improve-open-group-deletion-processing
...
Performance: Improve open group deletion processing
3 years ago
RyanZhao
f05c695756
Merge pull request #588 from mpretty-cyro/fix/message-request-count-bug
...
Performance: Count unread message requests thread-first rather than unread-message-first
3 years ago
Morgan Pretty
7165b9e4f6
Merge branch 'dev' into feature/remove-OWSBlockingManager
...
# Conflicts:
# Session/Conversations/ConversationVC+Interaction.swift
# Session/Meta/AppDelegate.swift
# SessionMessagingKit/Messages/Control Messages/ConfigurationMessage+Convenience.swift
# SessionMessagingKit/Sending & Receiving/MessageReceiver+Handling.swift
3 years ago
Morgan Pretty
2530cb4492
Merge remote-tracking branch 'upstream/dev' into dev
3 years ago
RyanZhao
8daf804fd5
Merge pull request #597 from mpretty-cyro/fix/ui-call-running-on-background-thread
...
Fix for a UI call running on background thread
3 years ago
RyanZhao
7c18609aa8
Merge pull request #601 from mpretty-cyro/fix/double-url-share
...
Fix double url share
3 years ago
RyanZhao
3e20519a6a
Merge pull request #603 from mpretty-cyro/fix/link-preview-crash
...
Fix link preview crash
3 years ago
RyanZhao
0f34972134
Merge pull request #604 from mpretty-cyro/fix/tweaks-to-config-message-generation
...
Tweaks to config message generation
3 years ago
Morgan Pretty
3663e63bc7
Swapped the Config message 'filter' to a 'compactMap' because apparently that doesn't crash
3 years ago
Morgan Pretty
e4def22472
Moved the Storage.write call into the `self.approveMessageRequestIfNeeded` call
3 years ago
Morgan Pretty
212c5e87aa
Re-added the transaction requirement when generating the current config message
3 years ago
Morgan Pretty
29c53223e0
More tweaks to fix crash
...
Wrapped the force sync calls within their own Storage.write blocks to ensure they have the latest data and aren't accessing a transaction completed in a different thread
Reverted a number of the unneeded changes
3 years ago
Morgan Pretty
b815a9f348
Fixed up a potential threading issue with the sync configuration logic
...
Moved all the sync configuration calls to be within the existing 'write' blocks instead of waiting until the completion
3 years ago
Morgan Pretty
1214005c59
Updated the cachedEncodedPublicKey to be Atomic
...
Added the Atomic wrapper for thread safe variables
3 years ago
Morgan Pretty
1a6c34e3b8
Removed the unused legacy OWSBackup code
3 years ago
Morgan Pretty
f8dfbd4244
Reverting change and fixing a force-cast crash
3 years ago
Morgan Pretty
6205e72eab
Change to make the 'getUser(using:)' method more consistent
3 years ago
Morgan Pretty
7aa1221987
Tweaks to the ConfigurationMessage generation logic
...
Removed force unwraps
Updated the closed group storage methods to take a transaction parameter
3 years ago
Morgan Pretty
990edd20df
Swapped a force-unwrap to an optional unwrap
3 years ago
Morgan Pretty
5bb3bd7bc1
Cleaned up some config sync logic and allowed migrations to trigger them
...
Updated the migrations so they can specify whether a configuration sync is required
Moved the config sync logic into a MessageSender extension (makes far more sense than AppDelegate)
Fixed a bug where the ShareVC was triggering the 'versionMigrationsDidComplete' twice
Removed a couple of imports for files that had been deleted
3 years ago
Morgan Pretty
b1cfa4f50a
Updated the Podfile to include the needed libraries
3 years ago
Morgan Pretty
e7e8aba69a
Fixed a bug where sharing a url with LinkPreviews disabled could result in it being duplicated in the message
3 years ago
Morgan Pretty
78c0d000be
Removed the OWSBlockingManager replacing it with the config sync
...
Fixed an issue where the "block" button would appear in the NoteToSelf swipe menu
Removed the OWSBlockingManager and supporting files
Removed a number of unused classes and methods
Refactored the BlockListUIUtils to Swift
3 years ago
Morgan Pretty
b90904ebbd
Updated the code to only update the last message hash once the MessageReceiveJobs have been created
3 years ago
Morgan Pretty
01742af16b
Added an initial call to `isRTL` on the main thread to prevent a background thread calling it first
3 years ago
Morgan Pretty
4e26ece92a
Merge branch 'dev' into feature/improve-open-group-deletion-processing
3 years ago
Morgan Pretty
88f63c1434
Merge remote-tracking branch 'upstream/dev' into dev
3 years ago
Morgan Pretty
1492232224
Made some optimisations to open group deletion handling
...
Added a new OpenGroupServerIdLookup to make it easier to get a database id via an open group server id
Added a migration to generate the above data
Updated the handleCompactBody method to stop early if there are no messages to delete (would previously enumerate all interactions regardless)
Updated the handleCompactBody to fetch the mapping for the deleted message so we can avoid enumerating all interactions
3 years ago
RyanZhao
aa34484174
Merge pull request #595 from mpretty-cyro/fix/open-group-existing-url-matching
...
Fix open group existing url matching
3 years ago
Morgan Pretty
c9edac4ea8
Updated the code to add the port if present...
3 years ago
Ryan Zhao
eb939a746c
bump up version & build number
3 years ago
Morgan Pretty
7ae1342341
Fixed an issue where open groups with no scheme in the url might not match correctly
3 years ago
Morgan Pretty
a7895d6581
Merge remote-tracking branch 'upstream/dev' into dev
3 years ago
RyanZhao
c7bf20dd85
Merge pull request #593 from mpretty-cyro/fix/duplicate-open-groups-from-url-differences
...
Fix duplicate open groups from url differences
3 years ago