Commit Graph

16398 Commits

Author SHA1 Message Date
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
Morgan Pretty 949b043867 Updated the unit tests to build with a host app (needed due to the x86_64 build requirement...)
Fixed the broken tests
2022-04-26 15:08:41 +10:00
Ryan Zhao 7b33c541a4 minor fix for conversation screen title position 2022-04-26 14:32:07 +10:00
Ryan Zhao 662ec71116 fix a dead lock on receiving message request approval 2022-04-26 13:24:19 +10:00
Morgan Pretty a154b56e22 Merge branch 'dev' into feature/session-id-blinding-part-2 2022-04-26 13:06:51 +10:00
Morgan Pretty cc495bccc1 Merge remote-tracking branch 'upstream/dev' into dev 2022-04-26 13:06:40 +10:00
Morgan Pretty 1c575e520d Merge remote-tracking branch 'upstream/voice-calls-2' into feature/session-id-blinding-part-2
# Conflicts:
#	Podfile.lock
#	Session.xcodeproj/project.pbxproj
#	Session/Conversations/ConversationVC+Interaction.swift
#	Session/Conversations/Views & Modals/JoinOpenGroupModal.swift
#	Session/Home/HomeVC.swift
#	Session/Open Groups/JoinOpenGroupVC.swift
#	Session/Utilities/BackgroundPoller.swift
#	SessionMessagingKit/Jobs/AttachmentUploadJob.swift
#	SessionMessagingKit/Open Groups/OpenGroupAPIV2.swift
#	SessionMessagingKit/Sending & Receiving/MessageReceiver+Handling.swift
#	SessionNotificationServiceExtension/NotificationServiceExtension.swift
2022-04-26 13:06:12 +10:00
Ryan Zhao 102a29b8e3 further fix for input view not scrollable issue 2022-04-26 11:51:55 +10:00
RyanZhao 75d922eb3a
Merge pull request #485 from oxen-io/voice-calls-2
P2P Voice/Video Calls
2022-04-26 11:06:47 +10:00
Ryan Zhao f95fe15d46 add session turn server info 2022-04-26 10:57:01 +10:00
Ryan Zhao 5bb287f258 fix an issue where rejected message requests will come back on linked devices 2022-04-26 10:51:59 +10:00
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)
2022-04-22 18:47:11 +10:00
Ryan Zhao 8db281e42f hide disappearing message settings when current thread is blocked 2022-04-21 17:12:04 +10:00
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
2022-04-21 16:42:35 +10:00
Ryan Zhao d0764adaf3 ask formic permission when enabled call for the first time & update build number 2022-04-21 14:28:36 +10:00
Ryan Zhao ad575f6fb5 fix an issue where incoming call is not showed for non-voip notifications 2022-04-21 13:40:42 +10:00
Ryan Zhao 8821d796dd bump up build number 2022-04-21 12:18:53 +10:00
RyanZhao 5221537e56
Merge pull request #615 from RyanRory/bug-fix-for-calls
Fix for call release
2022-04-21 12:17:58 +10:00
Ryan Zhao 95d120266d show incoming call banner for CallKit disabled cases 2022-04-21 12:17:00 +10:00
Ryan Zhao fba6dbcf9b refactor to make CallKit disabled for China mainland 2022-04-21 12:07:21 +10:00
Ryan Zhao 9542b0e0f9 add CallKit supported filter for NSE 2022-04-21 10:34:50 +10:00
Ryan Zhao e664cb8235 Merge branch 'bug-fixes-1.11.25' into bug-fix-for-calls 2022-04-21 09:39:54 +10:00
ryanzhao 8557604064 clean up 2022-04-20 15:09:33 +10:00
ryanzhao abafffbfe2 potentially fix a issue that the calls won't get connected 2022-04-20 14:22:36 +10:00
Ryan Zhao a92d626c1e fix open group notification spam in NSE 2022-04-19 16:36:40 +10:00
Ryan Zhao 8f1b7c5718 update build number 2022-04-19 14:45:20 +10:00
Ryan Zhao 1d0475b8a0 fix notification spam 2022-04-19 13:39:36 +10:00
Morgan Pretty 28553b218b Updated the migration to handle quotes and link previews 2022-04-11 17:30:42 +10:00
Ryan Zhao 37dc1631b5 fix an issue where the textview is not scrollable after the app goes into background and goes back in foreground. 2022-04-11 16:22:09 +10:00
Ryan Zhao fa9de8c9c3 Merge branch 'dev' into bug-fixes-1.11.25 2022-04-11 15:42:00 +10:00
RyanZhao 2260e76dd5
Merge pull request #613 from mpretty-cyro/fix/linkPreviewDarkModeText
Fix link preview dark mode text
2022-04-11 14:03:07 +10:00