Commit Graph

76 Commits (62c886e764e741d229f77fe304c2bbb9d3cee761)

Author SHA1 Message Date
Morgan Pretty 62c886e764 Got paging working on the conversation screen
Fixed a couple of issues where attachment messages would flicker due to thread changing
Fixed a couple of issues with page loading
Connected the global search result select back up
3 years ago
Morgan Pretty 19cd9d13c5 Cleaned up the ConversationVC query and started plugging in paging
Created a generic PagedDatabaseObserver (common logic for conversation & gallery paged database queries and observation)
Updated the MediaGallery to use the PagedDatabaseObserver
Split the interaction and thread data queries for the conversationVC
3 years ago
Morgan Pretty c500d4c6ca Fixed a few bugs, resolved a number of TODOs and deleted more unused code
Fixed a couple of bugs with search term highlighting (updated the logic to make the highlighted content follow similar logic to what terms would have actually matched)
Fixed a bug where info messages in search results weren't rendering correctly
Shifted some duplicate query code for global search into variables
Fixed a small bug where sending attachments could incorrectly result in the mentions UI being visible
Fixed a bug where quote content was appearing incorrectly
Consolidated the ShareExtension Item and the ConversationCell.ViewModel into one type (with a more-limited query) to remove duplicate code
Added back a missing asset (deleted a long time ago)
3 years ago
Morgan Pretty 5de8d9c7a8 Removed a bunch of legacy database types
Removed the old OWSProfileManager and OWSUserProfile (refactored)
Removed all the old TSInteraction/etc. types (replaced with new database types)
Removed the old Quote models (refactored)
Removed the old Attachment models (refactored)
Removed the old recipient identity (unused)
Deleted a number of other unused files
3 years ago
Morgan Pretty aabf656d89 Finished off the MediaGallery logic
Updated the config message generation for GRDB
Migrated more preferences into GRDB
Added paging to the MediaTileViewController and sorted out the various animations/transitions
Fixed an issue where the 'recipientState' for the 'baseQuery' on the ConversationCell.ViewModel wasn't grouping correctly
Fixed an issue where the MediaZoomAnimationController could fail if the contextual info wasn't available
Fixed an issue where the MediaZoomAnimationController bounce looked odd when returning to the detail screen from the tile screen
Fixed an issue where the MediaZoomAnimationController didn't work for videos
Fixed a bug where the YDB to GRDB migration wasn't properly handling video files
Fixed a number of minor UI bugs with the GalleryRailView
Deleted a bunch of legacy code
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 3f062c044c Added back the majority of the ConversationVC interactions
Removed some more legacy code
Added back logic similar to the pre-processing de-duping logic (was resulting in "unsent" messages reappearing)
Added a number of updated view files
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 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 0842dbff1e Removed a bunch of unused code
Removed the legacy Theme code (replaced with SessionUIKit equivalents)
Removed the OWSOrphanDataCleaner (unused)
Removed the OWSReceiptType_Delivery from the OWSOutgoingReceiptManager (unused)
Removed the TSStorageKeys and TSStorageHeaders files (unused)
Removed the LKMessageIDCollection (unused - only had methods for deleting data from the collection)
Removed the OWSPrimaryStorageTrustedKeysCollection and OWSIdentityManager_QueuedVerificationStateSyncMessages (unused)
Removed collections and notifications from OWSProfileManager (unused)
3 years ago
Morgan Pretty 990edd20df Swapped a force-unwrap to an optional unwrap 3 years ago
RyanZhao 9e020948d6
Merge pull request #594 from RyanRory/bug-fixes-1.11.23
Bug fixes for 1.11.22
3 years ago
Ryan Zhao 7fb6726d43 refactor on media+text message cell 3 years ago
Ryan Zhao 81317db165 fix message with two links and a link preview, second link uses address of first 3 years ago
Ryan Zhao 95797d427c fix link preview text colour 3 years ago
Morgan Pretty 22e5352983 Swapped a number of areas to use the built-in tintColor instead of the custom asTintedImage 3 years ago
Ryan Zhao e014fe0367 prevent the message bubble not being wide enough to show the corner radius for very short message 3 years ago
Ryan Zhao 821bd4cadb fix visible message bubble round corner issue 3 years ago
Ryan Zhao 2ae0ae40d4 minor improvements to reduce the database read on UI thread 3 years ago
Ryan Zhao 97bf861809 Merge branch 'dev' of https://github.com/oxen-io/session-ios into preformance-improvement 3 years ago
Ryan Zhao e428333b7b minor update to reduce database read on ui thread 3 years ago
Ryan Zhao 529bc58d05 fix swiping to reply for very short messages 3 years ago
Ryan Zhao ebb7507728 Merge branch 'dev' of https://github.com/oxen-io/session-ios into 1.11.21 3 years ago
Ryan Zhao 166fbff26c improve selected message animation for global search 3 years ago
Ryan Zhao 70a562344c minor issue fix 3 years ago
Ryan Zhao d96d7468a4 fix read more button colour 3 years ago
Ryan Zhao 6ae84d3e37 update outgoing message text colour in light mode 3 years ago
Ryan Zhao d642d8a4ed improve image message ratio 3 years ago
Ryan Zhao 837b2ac157 fix a typo 3 years ago
Ryan Zhao c1c5678056 implement animation for selected search result message flickering 3 years ago
RyanZhao 9521098afa
Merge pull request #537 from RyanRory/open-group-spam-prevention
Do not show user details to prevent spam
3 years ago
Ryan Zhao a356b080d0 Do not show user details to prevent spam 3 years ago
Ryan Zhao 300f6f50cf add size label for file type attachment 3 years ago
Ryan Zhao 5e521a8192 fix the issue where no text will show along with a doc type attachment 3 years ago
ryanzhao b81bdf71a4 Media message text UI improvement 4 years ago
ryanzhao bd73f14915 fix crash when quoted attachment's content type is null 4 years ago
ryanzhao 5f2890a1fc Merge branch 'dev' of https://github.com/oxen-io/session-ios into unsend-message 4 years ago
Mark Feaver f0fb4529c8 Disabled tableview scroll when swiping to reply in a conversation 4 years ago
Ryan Zhao 33bd74338d localisation 4 years ago
Ryan Zhao 9bf31f69ae disable swipe to reply for deleted messages 4 years ago
Ryan Zhao 6e45aed71b Merge branch 'dev' of https://github.com/oxen-io/session-ios into unsend-message 4 years ago
Ryan Zhao eaab6ee22d deleted message UI in conversation screen 4 years ago
Niels Andriesse e311d2878f Fix message status indicator bug 4 years ago
Niels Andriesse dfdffc607c Make profile pictures tappable 4 years ago
Niels Andriesse 28ea914097 Show date break header by hour instead of by day
Also ditch relative timestamps in favor of absolute ones
4 years ago
Niels Andriesse f0b74c31fa Minor refactoring 4 years ago
Niels Andriesse 3fda8daec9 Merge branch 'dev' into cleanup 4 years ago
Niels Andriesse 00300afecb Swap out sent open group invitation icon 4 years ago
Niels Andriesse 2f1e2a141b Localize new string 4 years ago