Commit graph

16550 commits

Author SHA1 Message Date
ryanzhao afc862d1c1 resume ans suspend database properly in extensions 2022-09-02 13:43:16 +10:00
Ryan Zhao 3cfee13768 minor refactor to prevent fake calls 2022-09-01 16:27:21 +10:00
Morgan Pretty aa9019e0b3
Merge pull request #684 from mpretty-cyro/fix/home-typing-indicator
Fixed a bug where the typing indicator wasn't working on the home screen
2022-08-31 14:52:00 +10:00
Morgan Pretty 1afdfa8bcb Fixed a bug where the typing indicator wasn't working on the home screen 2022-08-31 12:01:21 +10:00
Morgan Pretty 3aa231360d
Merge pull request #681 from mpretty-cyro/fix/multithreading-crash
Added fixes and defensive coding for a number of crashes
2022-08-30 11:22:58 +10:00
Morgan Pretty fc860e3957 Added fixes and defensive coding for a number of crashes
Fixed a crash which could occur due to multithreaded dependency access
Fixed a crash which could occur if the 'keyWindow' wasn't set on the LandingVC in time since we were force-unwrapping
Fixed a crash which could occur due to multithreaded swarm cache access
Fixed the broken unit tests
2022-08-30 09:45:40 +10:00
Morgan Pretty 7c7193f198
Merge pull request #679 from mpretty-cyro/fix/migration-crash
Fixed an issue which could cause the DB migration to fail for users with closed groups
2022-08-29 17:34:37 +10:00
Morgan Pretty 08a52f9497 Fixed an issue which could cause the DB migration to fail for users with closed groups 2022-08-29 13:11:45 +10:00
ryanzhao a9b084f322 update build number 2022-08-26 14:41:03 +10:00
RyanZhao d5a1c310f1
Merge pull request #676 from RyanRory/emoji-reacts-tweaks
Emoji reacts open group poll & update conflict handling
2022-08-26 14:32:08 +10:00
ryanzhao 395e585ea0 Merge branch 'dev' into emoji-reacts-tweaks 2022-08-26 14:24:16 +10:00
ryanzhao 29dd85ebe7 minor refactor 2022-08-26 14:22:31 +10:00
Morgan Pretty d2b2aa9f50
Merge pull request #677 from mpretty-cyro/fix/moved-previous-fix-from-wrong-location
Moved the code for a previous fix to the correct location and fixed a build issue
2022-08-26 14:03:18 +10:00
Morgan Pretty 8f1a03db88 Moved the code for a previous fix to the correct location and fixed a build issue 2022-08-26 13:33:49 +10:00
ryanzhao ae639b2474 minor fix 2022-08-26 10:53:48 +10:00
ryanzhao 287fabb390 Merge branch 'dev' into emoji-reacts-tweaks 2022-08-26 10:24:29 +10:00
Ryan Zhao 81ef5a744a fix count logic 2022-08-25 17:28:48 +10:00
Ryan Zhao 543f729247 feat: add local cache and deal with merging for reaction changes 2022-08-25 17:24:43 +10:00
Morgan Pretty a0e43875e7
Merge pull request #674 from mpretty-cyro/fix/data-extraction-timestamp
Fixed a bug where the "DataExtractionNotification" messages weren't correctly setting their tmestamps
2022-08-25 15:03:05 +10:00
Morgan Pretty 64189b0bf0
Merge pull request #673 from mpretty-cyro/fix/various-bugs
Fixed a few bugs
2022-08-25 15:02:50 +10:00
Morgan Pretty 39bd03e6fa
Merge pull request #670 from mpretty-cyro/fix/use-default-notification-audio
Fixed a bug where the "default" notification sound wouldn't be used in the foreground
2022-08-25 15:02:36 +10:00
Morgan Pretty 84ccb63b35 Fixed a bug where the "DataExtractionNotification" messages weren't correctly setting their tmestamps 2022-08-25 14:16:59 +10:00
Morgan Pretty f0c27db52f Merge branch 'dev' into fix/use-default-notification-audio 2022-08-25 12:57:54 +10:00
Morgan Pretty c73bb43c56 Fixed a few bugs
Fixed a bug where open group message deletion wasn't thread-specific
Fixed a bug where the user couldn't delete pending/failed messages being sent to an open group
Fixed a bug where deleting content from "related" tables wouldn't correctly trigger an update within the PagedDatabaseObserver
Fixed a bug where a user that was an admin/mod of one open group would incorrectly appear to be an admin/mod of all open groups
2022-08-25 12:55:41 +10:00
Ryan Zhao 3a81ffc752 feat: add response for reaction endpoints 2022-08-25 12:01:49 +10:00
Ryan Zhao 128ef747b3 tweak: only fetch and show 5 reactors for open group reactions 2022-08-25 11:51:53 +10:00
Ryan Zhao f9c2a2ce99 tweak: fix an issue where we may delete the wrong open group message and update reactions to wrong open group messages in other threads with the same server id 2022-08-25 11:12:22 +10:00
RyanZhao 6d94866110
Merge pull request #638 from RyanRory/emoji-reacts
Emoji reacts
2022-08-23 12:25:43 +10:00
ryanzhao 851ad6c4c9 minor refactor 2022-08-23 12:25:23 +10:00
ryanzhao 014e8620c4 bump up version & build number 2022-08-23 12:17:23 +10:00
ryanzhao af7d58b90e Merge branch 'dev' into emoji-reacts 2022-08-23 11:58:45 +10:00
RyanZhao f11375952a
Merge pull request #669 from mpretty-cyro/fix/various-bugs-and-optimisations
A few bugs fixes and some optimisations
2022-08-23 11:57:57 +10:00
Morgan Pretty 6a32fbaf83 Fixed a bug where the "default" notification sound wouldn't be used in the foreground 2022-08-23 09:02:56 +10:00
Ryan Zhao 838623171d tweak: always left align emoji reacts 2022-08-22 16:33:25 +10:00
Ryan Zhao c7c92f747c Merge branch 'various-bugs-and-optimisations' into emoji-reacts 2022-08-22 11:30:06 +10:00
Morgan Pretty 7097853d58 A few bugs fixes and some optimisations
Fixed a bug where notifications could incorrectly appear for messages in the current thread
Fixed a bug where swiping left/right on images in the MediaDetailViewController could load images from other threads
Fixed a bug where the unread count wouldn't appear correctly when opening a conversation
Fixed a bug where the unread count on the conversation cell could get truncated
Fixed a bug where notifications weren't working correctly when the app is in the foreground
Fixed a bug where we weren't clearing the 'received X new messages' count when in the foreground
Fixed a bug where outgoing messages could get marked as read in a very specific case
Updated the "group notification" logic to only apply to Open Groups (and always doing it rather than just in the background)
Added a placeholder person icon when you have a closed group with a single member
Added a couple of indexes to improve the HomeVC database query performance (reduce launch time by ~15% in some cases)
Added a background task to give message sending the chance to complete when sending the app to the background
Removed an unneeded query from the HomeViewModel init (reduce launch time by ~10% in some cases)
Optimised one of the queries used to load the data needed for the conversation screen
2022-08-19 16:58:47 +10:00
ryanzhao 3944fe52c1 feat: show unsupported emoji 2022-08-19 10:10:07 +10:00
Ryan Zhao 43b6f0b649 WIP: unsupported emojis 2022-08-18 17:11:08 +10:00
Ryan Zhao 651373234a feat: add capability check for open group emoji reacts 2022-08-18 16:13:20 +10:00
Ryan Zhao f7a4c92d38 Merge branch 'dev' into emoji-reacts 2022-08-18 14:38:01 +10:00
Ryan Zhao 7ca48e9c7b tweak: fix clear all action for open group moderators 2022-08-18 14:37:33 +10:00
Morgan Pretty fc949a9882
Merge pull request #667 from mpretty-cyro/fix/migration-error
Fixed an issue where the 2.0.2 migration broke the original DB migration
2022-08-18 14:21:01 +10:00
Morgan Pretty f2f2083d92 Version number increases 2022-08-18 14:20:44 +10:00
Morgan Pretty d116ac0ebe Fixed an issue where the 2.0.2 migration broke the original _003_ migration 2022-08-18 13:38:02 +10:00
Ryan Zhao 36801e4876 feat: disable emoji reacts for message requests 2022-08-18 11:16:01 +10:00
Ryan Zhao 094c64bb6a tweak: fix context menu screen layout 2022-08-18 10:44:07 +10:00
ryanzhao 95cd516bce tweak: if current user reacts then their username should appear as ‘You’ 2022-08-17 17:01:57 +10:00
ryanzhao 0a9856d49a tweak: fix reaction notifications 2022-08-17 16:41:01 +10:00
ryanzhao 78d8e939f1 tweak: fix search emoji 2022-08-17 15:08:49 +10:00
ryanzhao c26e6f7e9e Merge branch 'dev' into emoji-reacts 2022-08-17 11:00:06 +10:00