Commit graph

459 commits

Author SHA1 Message Date
Ryan Zhao
a3aaef7f78 Merge branch 'dev' into emoji-reacts 2022-06-09 15:43:24 +10:00
Ryan Zhao
a5676a5bfc fix: closed group polling for hf 2022-06-09 15:11:53 +10:00
Ryan Zhao
c36a0187a5 open group batch delete reactions per emoji 2022-06-09 10:37:45 +10:00
ryanzhao
3af692ed01 fix removing reacts 2022-05-31 17:02:52 +10:00
ryanzhao
927f44ac68 sending & receiving 2022-05-31 16:00:36 +10:00
Ryan Zhao
d3675c4fe8 Merge branch 'dev' into emoji-reacts 2022-05-30 12:07:33 +10:00
Ryan Zhao
987db2f7ab fix an edge case which may cause old messages coming back 2022-05-26 13:43:44 +10:00
ryanzhao
692df74af6 wip: emoji reacts message cell ui 2022-05-18 17:19:11 +10:00
Ryan Zhao
2a18c8e9c9 Merge branch 'dev' into authentication-1 2022-05-09 16:58:05 +10:00
ryanzhao
dac3f10dd1 tweaks on closed group polling logic 2022-05-06 10:37:53 +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
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
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
f9bb1517a1 fix an issue where closed groups stop to be updated part 1 2022-04-28 15:38:30 +10:00
Ryan Zhao
9c994ff176 Merge branch 'dev' into bug-fixes-1.11.25 2022-04-26 15:43:29 +10:00
Ryan Zhao
662ec71116 fix a dead lock on receiving message request approval 2022-04-26 13:24:19 +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
ryanzhao
abafffbfe2 potentially fix a issue that the calls won't get connected 2022-04-20 14:22:36 +10:00
Ryan Zhao
b23038087f try to fix a call issue when iOS is on lock screen 2022-04-11 10:36:21 +10:00
ryanzhao
f1445a2191 add missed call notification 2022-04-07 15:10:38 +10:00
ryanzhao
f2cfa29b21 add call related logs to log file 2022-04-05 16:35:09 +10:00
ryanzhao
7d3df3a016 Merge branch 'bug-fixes-1.11.25' into voice-calls-2 2022-04-05 11:36:56 +10:00
Ryan Zhao
43ca54c0a0 refactor to use Atomic wrapper 2022-04-04 14:40:24 +10:00
Ryan Zhao
36094eed7f Merge branch 'remove-unused-code' into voice-calls-2 2022-04-04 11:08:54 +10:00
Morgan Pretty
1633105ce2 Merge branch 'dev' into feature/remove-unused-code
# Conflicts:
#	Session/Backups/OWSBackup.m
#	Session/Backups/OWSBackupImportJob.m
#	SignalUtilitiesKit/Sharing/SelectRecipientViewController.m
#	SignalUtilitiesKit/Sharing/SelectThreadViewController.m
2022-03-31 11:51:59 +11:00
Ryan Zhao
49d6a64194 Merge branch 'remove-OWSBlockingManager' into voice-calls-2 2022-03-31 11:09:09 +11:00
RyanZhao
82606a6244
Merge pull request #602 from mpretty-cyro/feature/remove-OWSBlockingManager
Remove the OWSBlockingManager
2022-03-31 10:56:35 +11:00
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)
2022-03-30 09:46:08 +11:00
ryanzhao
5cbc0b55b3 Merge branch 'fix-message-requests-reverse' into voice-calls-2 2022-03-29 16:10:48 +11:00
ryanzhao
801f0d68a8 fix an edge case where a config message might get isApproved set to false 2022-03-29 13:51:34 +11:00
Morgan Pretty
21924ee81a Merge branch 'dev' into feature/remove-OWSBlockingManager
# Conflicts:
#	Session.xcodeproj/project.pbxproj
2022-03-29 08:45:48 +11:00
Ryan Zhao
8b3d3fffb5 Merge branch 'dev' into voice-calls-2 2022-03-28 14:29:32 +11:00
RyanZhao
7cd0079b37
Merge pull request #599 from mpretty-cyro/fix/update-last-message-hash-after-registering-jobs
Fix - Update last message hash after registering jobs
2022-03-28 14:06:03 +11:00
RyanZhao
74f1d9a6d4
Merge pull request #596 from mpretty-cyro/feature/improve-open-group-deletion-processing
Performance: Improve open group deletion processing
2022-03-28 14:05:46 +11:00
Morgan Pretty
7165b9e4f6 Merge branch 'dev' into feature/remove-OWSBlockingManager
# Conflicts:
#	Session/Conversations/ConversationVC+Interaction.swift
#	Session/Meta/AppDelegate.swift
#	SessionMessagingKit/Messages/Control Messages/ConfigurationMessage+Convenience.swift
#	SessionMessagingKit/Sending & Receiving/MessageReceiver+Handling.swift
2022-03-24 16:51:34 +11:00
Ryan Zhao
fdde7e4fe0 Merge branch 'fix/tweaks-to-config-message-generation' of https://github.com/mpretty-cyro/session-ios into bug-fix-for-call 2022-03-24 16:33:10 +11:00
Morgan Pretty
212c5e87aa Re-added the transaction requirement when generating the current config message 2022-03-24 15:34:46 +11:00
Morgan Pretty
5bb3bd7bc1 Cleaned up some config sync logic and allowed migrations to trigger them
Updated the migrations so they can specify whether a configuration sync is required
Moved the config sync logic into a MessageSender extension (makes far more sense than AppDelegate)
Fixed a bug where the ShareVC was triggering the 'versionMigrationsDidComplete' twice
Removed a couple of imports for files that had been deleted
2022-03-24 10:03:51 +11:00
Morgan Pretty
78c0d000be Removed the OWSBlockingManager replacing it with the config sync
Fixed an issue where the "block" button would appear in the NoteToSelf swipe menu
Removed the OWSBlockingManager and supporting files
Removed a number of unused classes and methods
Refactored the BlockListUIUtils to Swift
2022-03-23 09:59:38 +11:00
Morgan Pretty
b90904ebbd Updated the code to only update the last message hash once the MessageReceiveJobs have been created 2022-03-22 14:09:47 +11:00
Morgan Pretty
1492232224 Made some optimisations to open group deletion handling
Added a new OpenGroupServerIdLookup to make it easier to get a database id via an open group server id
Added a migration to generate the above data
Updated the handleCompactBody method to stop early if there are no messages to delete (would previously enumerate all interactions regardless)
Updated the handleCompactBody to fetch the mapping for the deleted message so we can avoid enumerating all interactions
2022-03-21 16:53:12 +11:00
Ryan Zhao
37614fe3d8 Merge branch 'dev' into voice-calls-2 2022-03-21 14:21:51 +11:00
Ryan Zhao
8652268557 add logs & fix PN 2022-03-21 13:55:51 +11:00
Ryan Zhao
343a3afc0a Merge branch 'message-replication-fix' into voice-calls-2 2022-03-15 14:35:08 +11:00
Ryan Zhao
b920dbcc10 check if the incoming message is already in database before persisting 2022-03-15 14:00:36 +11:00
Ryan Zhao
5f9bc4c55f Merge branch 'unread-metion-fix' into voice-calls-2 2022-03-11 15:55:51 +11:00