Commit graph

15828 commits

Author SHA1 Message Date
Morgan Pretty
7aa1221987 Tweaks to the ConfigurationMessage generation logic
Removed force unwraps
Updated the closed group storage methods to take a transaction parameter
2022-03-24 14:13:35 +11:00
Morgan Pretty
990edd20df Swapped a force-unwrap to an optional unwrap 2022-03-24 13:42:49 +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
b1cfa4f50a Updated the Podfile to include the needed libraries 2022-03-23 14:55:02 +11:00
Morgan Pretty
e7e8aba69a Fixed a bug where sharing a url with LinkPreviews disabled could result in it being duplicated in the message 2022-03-23 10:00:49 +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
01742af16b Added an initial call to isRTL on the main thread to prevent a background thread calling it first 2022-03-21 17:18:12 +11:00
Morgan Pretty
4e26ece92a Merge branch 'dev' into feature/improve-open-group-deletion-processing 2022-03-21 16:56:35 +11:00
Morgan Pretty
88f63c1434 Merge remote-tracking branch 'upstream/dev' into dev 2022-03-21 16:56:21 +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
RyanZhao
aa34484174
Merge pull request #595 from mpretty-cyro/fix/open-group-existing-url-matching
Fix open group existing url matching
2022-03-21 14:44:57 +11:00
Morgan Pretty
c9edac4ea8 Updated the code to add the port if present... 2022-03-21 14:42:11 +11:00
Ryan Zhao
eb939a746c bump up version & build number 2022-03-21 14:39:04 +11:00
Morgan Pretty
7ae1342341 Fixed an issue where open groups with no scheme in the url might not match correctly 2022-03-21 14:32:48 +11:00
Morgan Pretty
a7895d6581 Merge remote-tracking branch 'upstream/dev' into dev 2022-03-21 14:31:58 +11:00
RyanZhao
c7bf20dd85
Merge pull request #593 from mpretty-cyro/fix/duplicate-open-groups-from-url-differences
Fix duplicate open groups from url differences
2022-03-21 14:16:40 +11:00
RyanZhao
9e020948d6
Merge pull request #594 from RyanRory/bug-fixes-1.11.23
Bug fixes for 1.11.22
2022-03-21 14:11:42 +11:00
RyanZhao
34bc0e54d6
Merge pull request #590 from mpretty-cyro/fix/open-group-url-parsing
Fix for parsing open group urls with no scheme
2022-03-21 13:59:27 +11:00
RyanZhao
c1632bee36
Merge pull request #589 from mpretty-cyro/fix/ensure-contacts-blocked-state-syncs-correctly
Fix to ensure contacts blocked state syncs correctly
2022-03-21 13:58:59 +11:00
Morgan Pretty
83fa679574 Fixed some incorrect logic (previously prevented joining other rooms in a server) 2022-03-21 13:57:06 +11:00
RyanZhao
9eeec36cc6
Merge pull request #586 from mpretty-cyro/feature/conversation-menu-font-weight
Increased the conversation menu label font weights
2022-03-21 13:57:02 +11:00
RyanZhao
1b21951335
Merge pull request #585 from mpretty-cyro/feature/image-tinting-optimisations
Performance: Image tinting optimisations
2022-03-21 13:56:51 +11:00
RyanZhao
05352daecb
Merge pull request #584 from mpretty-cyro/feature/cache-public-key-retrieval
Performance: Cache public key retrieval
2022-03-21 13:56:39 +11:00
Ryan Zhao
8652268557 add logs & fix PN 2022-03-21 13:55:51 +11:00
Morgan Pretty
d3b54b84d0 Prevent the user from joining duplicate open groups due to url differences
Updated the OpenGroupManagerV2 to handle HTTP scheme variants and official host variants when checking if the user is already in an open group
2022-03-21 13:52:18 +11:00
Morgan Pretty
452614d190 Fixed a bug where the OpenGroup url parsing wasn't working for a certain URL structure 2022-03-18 10:20:59 +11:00
Ryan Zhao
7fb6726d43 refactor on media+text message cell 2022-03-17 16:08:45 +11:00
Ryan Zhao
81317db165 fix message with two links and a link preview, second link uses address of first 2022-03-17 15:48:33 +11:00
Morgan Pretty
d4c0acb2a7 Updated the configuration message to sync the blocked state correctly 2022-03-17 14:17:33 +11:00
Morgan Pretty
1ed3328aac Updated how the HomeVC counts unread message request threads
Updated the HomeVC to count the threads with unread messages using the TSMessageRequestGroup instead of using the UnreadDatabaseView
Removed the OWSMessageUtils 'unreadMessageRequestCount' method
2022-03-17 13:40:32 +11:00
Ryan Zhao
95797d427c fix link preview text colour 2022-03-17 10:43:11 +11:00
Ryan Zhao
6bc0177bd4 fix path building crash 2022-03-17 10:13:00 +11:00
Morgan Pretty
07658b8893 Changed the labels on the conversation menu items to be bold 2022-03-16 11:41:30 +11:00
Morgan Pretty
22e5352983 Swapped a number of areas to use the built-in tintColor instead of the custom asTintedImage 2022-03-15 16:35:38 +11:00
Morgan Pretty
2e10ccf99d Updated the code to cache the retrieval of the user public key 2022-03-15 16:06:53 +11:00
Morgan Pretty
d3e9fff893 Merge remote-tracking branch 'upstream/dev' into dev 2022-03-15 15:19:54 +11:00
Ryan Zhao
e73fe4fe31 bump up build number 2022-03-15 14:34:22 +11:00
RyanZhao
79d148a8d6
Merge pull request #582 from RyanRory/message-replication-fix
Further message replication fix
2022-03-15 14:33:19 +11:00
Ryan Zhao
6f927a5003 minor refactor 2022-03-15 14:27:11 +11:00
Ryan Zhao
a1e47419c8 minor refactor 2022-03-15 14:03:17 +11:00
Ryan Zhao
b920dbcc10 check if the incoming message is already in database before persisting 2022-03-15 14:00:36 +11:00
Morgan Pretty
a9f4e984af Merge remote-tracking branch 'upstream/dev' into dev 2022-03-11 16:57:56 +11:00
Ryan Zhao
c9b9104e8a bump up build number 2022-03-11 15:56:37 +11:00
RyanZhao
b7b988b449
Merge pull request #580 from RyanRory/unread-metion-fix
Fix unread mention indicator
2022-03-11 15:52:10 +11:00
Ryan Zhao
48c74d9476 refactor to apply this logic to unread message count 2022-03-11 15:48:12 +11:00
Ryan Zhao
06958babcb fix unread mention indicator showing after the message is deleted 2022-03-11 11:43:21 +11:00
Morgan Pretty
3e711811c3 Merge remote-tracking branch 'upstream/dev' into dev 2022-03-11 09:41:23 +11:00
Ryan Zhao
30e1f34782 fix configuration message may include contacts that shouldn't be visible 2022-03-10 17:22:39 +11:00
RyanZhao
a31cfd2142
Merge pull request #578 from mpretty-cyro/feature/two-character-initials
Update the fallback avatar to be two characters
2022-03-10 17:04:20 +11:00