Commit Graph

16428 Commits

Author SHA1 Message Date
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
ryanzhao 38523230cb update namespace 2022-05-03 09:18:53 +10:00
Ryan Zhao 9c535dcb1b update namespace number 2022-05-02 16:54:36 +10:00
Ryan Zhao 00c200d284 update translation 2022-05-02 16:41:14 +10:00
Ryan Zhao 034f2ecc22 send messages with authentication 2022-05-02 13:51:50 +10:00
Ryan Zhao 0b0f0a3787 retrieve messages authenticated for 1-1 chats 2022-05-02 11:35:48 +10:00
Ryan Zhao f48cdd02ee fix an issue where current call implementation won't compile for simulators 2022-05-02 10:18:41 +10:00
Morgan Pretty 4eaa8c4d36 Updated Nimble to the latest version
Fixed some flaky OpenGroupManager tests
2022-04-29 11:51:56 +10:00
Ryan Zhao f9bb1517a1 fix an issue where closed groups stop to be updated part 1 2022-04-28 15:38:30 +10:00
ryanzhao a12e86a36b fix an issue where new additions to group not appearing in mentions 2022-04-27 16:36:50 +10:00
ryanzhao eab9cf96ec fix an issue where in dark mode the share button outline is in wrong colour 2022-04-27 11:31:28 +10:00
Morgan Pretty 3baeb981d9 Further work on the JobRunner
Moved the JobRunner into SessionUtilitiesKit so it can be used by SessionSnodeKit
Exposed a 'sharedLokiProject' value on UserDefaults to remove the hard-coded group name used everywhere
Added "blocking" job support for 'OnLaunch' and 'OnActive' jobs to the JobRunner (will retry until it succeeds)
Added the UpdateProfilePicture and RetrieveDefaultOpenGroupRooms jobs
2022-04-27 10:48:54 +10:00
Morgan Pretty 94742c80ec Further work on the JobRunner
Fixed an issue where the hash retrieved when fetching messages from the service node might not be the latest one
Updated the MessageReceiveJob to batch process messages (on failure only the failed messages will retry)
2022-04-26 17:31:50 +10:00
Ryan Zhao bc9ff65659 fix for conversation screen title position with call button 2022-04-26 16:42:03 +10:00
Ryan Zhao 4da0ccdd44 fix an issue where current call implementation won't compile for simulators 2022-04-26 15:59:37 +10:00
Ryan Zhao 9c994ff176 Merge branch 'dev' into bug-fixes-1.11.25 2022-04-26 15:43:29 +10:00