Commit Graph

16393 Commits

Author SHA1 Message Date
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
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
Morgan Pretty 333849c32e Logic for interactions with user mentions and closed group tweaks
Added logic to flag interactions that mention the current user
Fixed up closed group member handling
2022-05-09 14:45:14 +10:00
Ryan Zhao 510d7c22a2 fix background poller updating last hash issue. 2022-05-09 14:15:08 +10:00
Ryan Zhao 627aba1650 clean up duplicated code 2022-05-09 10:03:54 +10:00
Morgan Pretty 38bb6e79e2 Combined the Register/Unregister response objects in the PushNotificationAPI (they are identical) 2022-05-09 09:33:23 +10:00
Morgan Pretty 0db74ce1e3 Working on the MediaGallery and ClosedGroup handling
Fixed a couple of issues around the duplicate messages handling
Fixed a few issues with ClosedGroup polling and ClosedGroup control message handling
Started working through updating the MediaGallery
2022-05-08 22:01:39 +10:00
Morgan Pretty f4ca219030 Re-added a bunch of functionality to the home and message requests screens
Cleared out some more legacy code which has been refactored
2022-05-06 18:07:57 +10:00
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
2022-05-06 12:44:26 +10:00
ryanzhao dac3f10dd1 tweaks on closed group polling logic 2022-05-06 10:37:53 +10:00
ryanzhao b8ec4a8c7a exclude namespace in parameters if polling for 0 with no authentication 2022-05-06 09:18:13 +10:00
ryanzhao c46c75e4f0 clean 2022-05-04 17:18:03 +10:00
ryanzhao 86605dce08 update background poller for hardfork closed group message retrieve 2022-05-04 17:17:15 +10:00
ryanzhao 782d51c1d6 minor change on hardfork version check 2022-05-04 16:43:22 +10:00
ryanzhao 372e87e70f minor fix 2022-05-04 16:36:15 +10:00
ryanzhao 7cc887267f fix retrieve from default inbox 2022-05-04 16:12:45 +10:00
ryanzhao fb65173b06 poll closed group messages in both default namespace and closed group namespace 2022-05-04 14:28:29 +10:00
ryanzhao e540497724 update last hash persistence 2022-05-04 11:47:09 +10:00
ryanzhao 4224a1fa3c tweaks for sending message to snode 2022-05-04 10:34:35 +10:00
ryanzhao 15b954dbd6 persist hardfork info 2022-05-04 10:14:15 +10:00
Morgan Pretty 32304ae5dd Cleared out some of the legacy serialisation logic, further UI binding
Refactored the SignalApp class to Swift
Fixed a horizontal alignment issue in the ConversationTitleView
Fixed an issue where expiration timer update messages weren't migrated or rendering correctly
Fixed an issue where expiring messages weren't migrated correctly
Fixed an issue where closed groups which had been left were causing migration failures (due to data incorrectly being assumed to be required)
Shifted the Legacy Attachment types into the 'SMKLegacy' namespace
Moved all of the NSCoding logic for the TSMessage
2022-05-03 17:14:56 +10:00