Commit Graph

57 Commits (93b54a3b7d1a518feea33ab7f7e6a26e08d3f52f)

Author SHA1 Message Date
Morgan Pretty 26c7a5022a Added a simple migration progress indicator and animation (need timing tweaks)
Cleaned up the creation of the GRDBStorage instance
Fixed an issue where the launch screen wasn't setting it's background colour based on the system setting
Renamed the GRDBStorageError to StorageError (in preparation of legacy 'Storage' relocation)
Consolidated the two Environment classes (in Swift)
Refactored the AppSetup class to Swift
3 years ago
Morgan Pretty 5bcc124388 Updated the SessionShareExtension to work with GRDB
Updated to the latest version of GRDB
Fixed an issue with db reentrant behaviour with the Attachment upload function
Finished up the updated 'sendNonDurability' functions
3 years ago
Morgan Pretty 8f120c4380 Started re-adding media gallery interactions (in progress)
Fixed up quote attachment sending and retrieval
Validated attachment sending and retrieving is working correctly
Re-added the AttachmentUploadJob migration
3 years ago
Morgan Pretty 5432f5582e Fixed a number of minor bugs, started re-connecting chat bubble interactions
Fixed an issue where if you left a closed group on one device you wouldn't leave it on another
Renamed a few types to clean up the namespacing and code jumping
Fixed a stack overflow issue which could occur in the JobRunner
Fixed an issue where the DeletedMessageView could randomly have the wrong height
Fixed an issue where you could interact with the hidden reply button on a cell
Fixed an issue where tapping anywhere horizontally would trigger the cell tap (need to tap within the bubble)
Disabled the ability to select text in messages (only works sometimes and is buggy)
3 years ago
Morgan Pretty 06eef99766 Cleared out some legacy code, fixed a few bugs, got typing indicators and mentions working
Got mentions working again
Got typing indicators working again
Got the notification sound and preview preferences working
Fixed a few issues with attachment image loading
Fixed an issue where enum settings weren't getting stored correctly
3 years ago
Morgan Pretty b541666ef0 Got the ability to send message working again and other tweaks
Tested and fixed a couple of issues with the disappearingMessages job
Added a simple dependency system for jobs (primarily for the AttachmentUploadJob, but will likely be others later)
Setup the AttachmentUploadJob again (looks like there are cases which use it)
Prevented a possible infinite job deferral loop from causing the app to crash (the loop is still technically possible but the app will continue to run now)
Updated the interactions unique constraints based on testing and discussions around how the serverHash works
Deleted the legacy ReadReceipt handling (now managed via the 'interaction.wasRead' flag and 'SendReadReceiptsJob')
Deleted the unused SSKIncrementingIdFinder
3 years ago
Morgan Pretty ed9f4ea6c6 Fixed a few closed group and job issues
Fixed a few job migration issues
Fixed an issue with the closed group key pair management (wasn't storing keys correctly)
Refactored the OWSSound (now Preferences.Sound)
Added the logic for the AttachmentDownloadJob and enabled jobs to be cascade deleted via interactions
Optimised the HomeViewModel database observation query (fetch specific columns so changes outside those don't trigger updates)
Updated to the latest GRDB (ran into a deadlock which should be fixed in a newer version)
3 years ago
Morgan Pretty 11231599db Further work on migrations and message pipeline refactoring
Refactored the AppDelegate from Objective C to Swift
Updated the HomeVC to use GRDB
Refactored a number of the Job types to be driven via GRDB and the new JobRunner
Fixed a bug where the LinkPreviewView wouldn't render correctly in dark mode
3 years ago
Morgan Pretty cf66edb723 Further work on SessionMessagingKit migrations
Added migrations for contacts and started working through thread migration (have contact and closed group threads migrating)
Deprecated usage of ECKeyPair in the migrations (want to be able to remove Curve25519Kit in the future)
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
Niels Andriesse 7bb7edd3c0 Further cleanup 4 years ago
Niels Andriesse b090227a2d Fix potential crash & apply code convention 4 years ago
Brice-W 1f9cd92bce set expiration timer for new group members 4 years ago
nielsandriesse 17688a66e6 Make closed group polling variable rate 4 years ago
nielsandriesse 955e3abdad Clean up group update handling 4 years ago
nielsandriesse 49f3b9f7db Rename contactIdentifier → contactSessionID 4 years ago
Niels Andriesse bd895dbf29 Fix group member adding bug 4 years ago
Niels Andriesse 35bd22f542 Clean 4 years ago
Niels Andriesse 3f1358ac4d Debug 4 years ago
Niels Andriesse beabf0c9c0 Implement closed group logic changes 4 years ago
Niels Andriesse e5216ffe7c Add documentation 4 years ago
Niels Andriesse f6c7e2264d Add documentation 4 years ago
Niels Andriesse f2f5dcdfc2 Implement closed group logic changes 4 years ago
Niels Andriesse 54fc54e7b9 Minor refactoring 4 years ago
Niels Andriesse 08015f570f Create DataExtractionNotificationInfoMessage 4 years ago
Niels Andriesse e30ab4d29b Merge branch 'dev' into ui 4 years ago
Niels Andriesse 37c652c0d0 Make admins send latest closed group key pair when members are added 4 years ago
nielsandriesse 1924e01edc Merge branch 'multi-device' into ui 4 years ago
nielsandriesse dd56da7619 Merge branch 'closed-groups' into multi-device 4 years ago
nielsandriesse ece564988e Allow self-sending of closed group control messages 4 years ago
Niels Andriesse 90e53e5cef Redesign conversation screen part 1 4 years ago
Niels Andriesse 1fda8e4249 Add encryption key pair request message 4 years ago
Niels Andriesse 7acb6c9ac3 Merge branch 'dev' into multi-device 4 years ago
Niels Andriesse 922aa17df7 Fix logs 4 years ago
Niels Andriesse fcb8e467d2 Add missing bit of logic 4 years ago
Niels Andriesse 6ab8570b11 Clean 4 years ago
Niels Andriesse 37f0dbd5b8 Merge branch 'closed-groups' into multi-device 4 years ago
Niels Andriesse f1eba0ea7b Debug 4 years ago
Niels Andriesse cf333d5e3d Merge branch 'closed-groups' into multi-device 4 years ago
Niels Andriesse 9cd0c421bc Debug 4 years ago
Niels Andriesse 017e4f7d50 Hook up the new system 4 years ago
Niels Andriesse 0dd63229ef Implement sending logic for explicit closed group updates 4 years ago
Niels Andriesse c9c83da3dc Rename ClosedGroupUpdateV2 → ClosedGroupControlMessage 4 years ago
Niels Andriesse 9ea1ccd0c2 Update ClosedGroupUpdate for new message types 4 years ago
Niels Andriesse 74fd3eb812 Partially implement message syncing 4 years ago
nielsandriesse b8d9334d19 Force sync upon creating a closed group or joining an open group 4 years ago
nielsandriesse 8ae5db3141 Update protos & create ConfigurationMessage 4 years ago
Niels Andriesse a6e44ca0f0 Clean 4 years ago
nielsandriesse d5e1237b0c Allow admins to leave & fix remaining issues 4 years ago
nielsandriesse aa6238b69c Clean 4 years ago