Commit Graph

16423 Commits

Author SHA1 Message Date
Morgan Pretty 18d833f152 Optimised the home screen query (~50% speed improvement)
Updated to the latest version of GRDB
Renamed some variables for clarity
Updated the "seed viewed" banner on the HomeVC to be driven by a database setting to be consistent with other UI changes
2022-06-01 16:50:21 +10:00
RyanZhao 00c96fc5ed
Merge pull request #631 from oxen-io/dev
1.12.9
2022-06-01 14:03:56 +10:00
Morgan Pretty 8ff542405c Finished of the Conversation screen and JobQueue concurrency
Updated the migrations to indicate progress (Potential to base progress for the "processing" sections on the file size of the legacy database)
Updated the JobRunner to properly support concurrent queues for sending/receiving (other queues are still serial)
Added the typing indicator logic into the ConversationVC
Put code into SUKLegacy for connecting to the YDB database
Fixed a couple of minor UI bugs with the GalleryRailView
Updated the media gallery selection screen to use the appropriate system theme colouring (was painful to randomly swap from dark mode to like for one screen...)
Added an alert for when the database migration fails
Deleted the legacy migrations (manually applying any unapplied changes as part of the YDB to GRDB migration process)
2022-05-31 17:41:02 +10:00
Ryan Zhao 21fbf57aaa update build number 2022-05-30 13:14:43 +10:00
Ryan Zhao 0237df8023 fix notification service extension creates duplicated call info message 2022-05-30 13:14:13 +10:00
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
2022-05-30 13:04:26 +10:00
Ryan Zhao db71664feb bump up version & build number 2022-05-30 10:19:32 +10:00
RyanZhao 51e989e58b
Merge pull request #629 from RyanRory/bug-fixes-on-1.12.8
Bug fixes on 1.12.8
2022-05-30 10:18:22 +10:00
Ryan Zhao fb61092570 clean 2022-05-30 09:43:07 +10:00
Morgan Pretty e2ee0e94ee Finished of the conversation screen and resolved a bug of bugs/TODOs
Fixed a number of scrolling behaviours in the ConversationVC
Fixed a bug with the PagedDataObserver when observing associated data (multiple associations with a single paged result were broken)
Fixed a bug with the PagedDataObserver where it would trigger updates for new entries even if the user is offset from the latest data
Fixed a bug where marking as read wasn't working properly
Fixed a bug where outgoing messages were being considered unread
Added an error state for a failed attachment send
Renamed a few types for clarity
Resolved a bunch of TODOs
2022-05-29 19:26:06 +10:00
Morgan Pretty 3514ed4f50 Updated the JobRunner to have multiple job queues (needs more testing)
Added a backoff to the Poller retry
Updated the "blocking" behaviour of the JobRunner
Tweaked the Job dependency handling to better handle orphaned dependencies
Fixed an issue where the Conversation screen wasn't observing database changes
2022-05-28 17:25:38 +10:00
Morgan Pretty 45d0faee6a Cleaned up the rest of the search functionality
Removed some debug text which appearing in the in-conversation search UI
Fixed a number of small UI glitches
2022-05-27 18:37:59 +10:00
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
2022-05-26 18:13:16 +10:00
Ryan Zhao 987db2f7ab fix an edge case which may cause old messages coming back 2022-05-26 13:43:44 +10:00
Ryan Zhao ab7bd24ad5 change in-conversation search result highlight UI to match with global search 2022-05-26 10:12:23 +10:00
Ryan Zhao 9a2046ea81 Merge branch 'performance-in-conversation-search' into bug-fixes-on-1.12.8 2022-05-26 09:44:26 +10:00
Ryan Zhao 35ef87cfc2 clean 2022-05-26 09:41:16 +10:00
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
2022-05-25 18:48:04 +10:00
ryanzhao 92123df865 fix typing indicator 2022-05-25 16:31:33 +10:00
ryanzhao 113a931645 add access for selected photos permission 2022-05-25 14:57:05 +10:00
ryanzhao b54de30d5c potentially fix path rebuilding issue 2022-05-25 11:04:54 +10:00
ryanzhao 567a9befd4 prevent call info message fires multiple notification 2022-05-25 10:45:21 +10:00
ryanzhao 2edcba3342 fix https://github.com/oxen-io/session-ios/issues/628 2022-05-24 09:36:28 +10:00
RyanZhao dbb9e8112b
Merge pull request #624 from mpretty-cyro/feature/swap-web-rtc-library
Swap WebRTC library
2022-05-24 09:12:54 +10:00
Morgan Pretty cfb8f1615a Migrated a couple more preferences 2022-05-23 17:27:24 +10:00
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)
2022-05-23 17:16:14 +10:00
Morgan Pretty 49dd341b6d Removed some more legacy code which has been refactored 2022-05-23 12:23:43 +10:00
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
2022-05-23 09:49:04 +10:00
Morgan Pretty 9ada8b84e0 Removed a bunch of legacy code
Renamed the 'Legacy' classes to have their library prefix (avoid confusion)
Removed the legacy Objective C Thread code (pulled only the NSCoding stuff into the 'SMKLegacy' type)
2022-05-21 12:25:10 +10:00
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
2022-05-20 17:58:39 +10:00
RyanZhao 0856a66ec3
Merge pull request #626 from oxen-io/dev
Dev 1.12.8
2022-05-18 09:01:04 +10:00
Morgan Pretty a6c7e252a7 Added global search back
Removed the logic for 'oversizedText' (not sent by either iOS or Android and not handled at all by desktop)
Updated the HomeViewModel (and ConversationCell) to use the same query model as Global Search
Added an 'albumIndex' property to the InteractionAttachment so we can enforce a correct order (apparently SQLite doesn't do this by default)
Updated the YDB to GRDB migration to avoid creating GroupMembers if the current user isn't a member of a ClosedGroup (be consistent with the running logic)
Updated the attachment description logic to be consistent throughout
Cleaned up the Interaction preview generation logic
2022-05-17 17:47:56 +10:00
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
2022-05-15 14:39:21 +10:00
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
2022-05-13 18:07:24 +10:00
ryanzhao f92ae4084c bump up build number 2022-05-13 16:28:01 +10:00
RyanZhao 76553a045e
Merge pull request #625 from RyanRory/authentication-2
Message sending & retrieving authentication 2
2022-05-13 16:26:56 +10:00
ryanzhao ecb9140969 send closed group message to default namespace as well during hardfork 19.0 2022-05-13 15:28:17 +10:00
Morgan Pretty 531ddcb079 Replaced the GoogleWebRTC library (deprecated) with WebRTC-lib 2022-05-13 11:54:36 +10:00
Morgan Pretty 4e471aadb0 Merge remote-tracking branch 'upstream/dev' into dev 2022-05-13 11:39:06 +10:00
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
2022-05-12 17:28:27 +10:00
Ryan Zhao 6de645a8bb avoid unnecessary UI refresh 2022-05-12 16:40:59 +10:00
Morgan Pretty 6b1fc0f552 Fixed an issue where I had 'whisperTo' and 'whisperMods' acting in a mutually exclusive way 2022-05-12 13:29:49 +10:00
RyanZhao 0bc8da87ae
Update README.md 2022-05-12 09:32:45 +10:00
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)
2022-05-11 18:20:10 +10:00
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
2022-05-10 17:42:15 +10:00
ryanzhao 6b15db7437 update version & build number 2022-05-10 15:09:45 +10:00
RyanZhao 306a6aa2f1
Merge pull request #622 from RyanRory/authentication-1
Message sending & retrieving authentication
2022-05-10 14:26:27 +10:00
ryanzhao a337123cbb only update the harkfork version when it is increasing 2022-05-10 14:25:14 +10:00
Ryan Zhao 2a18c8e9c9 Merge branch 'dev' into authentication-1 2022-05-09 16:58:05 +10:00
RyanZhao 719248ba7d
Merge pull request #614 from RyanRory/bug-fixes-1.11.25
Bug fixes on 1.12.7
2022-05-09 16:51:40 +10:00