Commit Graph

16513 Commits

Author SHA1 Message Date
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
Morgan Pretty c8bcd8fb33
Merge pull request #664 from mpretty-cyro/fix/notification-sounds-not-working
Fixed a bug where the notification sound "preview" playing wasn't working
2022-08-17 10:57:09 +10:00
ryanzhao 93e2e295bc tweak: update default emojis 2022-08-17 10:15:24 +10:00
ryanzhao 131cb9170b Merge branch 'dev' into emoji-reacts 2022-08-17 10:10:27 +10:00
Morgan Pretty 362986e73a Fixed a bug where the notification sound "preview" playing wasn't working 2022-08-17 10:02:23 +10:00
Morgan Pretty b53ad0c5ed
Merge pull request #657 from mpretty-cyro/fix/use-yyimageview-only-when-needed
Only use YYImage for Gif/WebP images
2022-08-16 14:01:07 +10:00
Morgan Pretty d0177c3cee
Merge pull request #662 from mpretty-cyro/fix/hidden-mods-admins-not-recognised
Fixed an issue where hidden mods/admins wouldn't be properly recognised
2022-08-16 14:00:53 +10:00
Morgan Pretty 3ab8bdec77 Fixed an issue where hidden mods/admins wouldn't be properly recognised
Added an isHidden flag to the GroupMember
Reset the OpenGroup 'infoUpdates' value to force a re-fetch of the data and fix users affected by this bug
Fixed the broken unit tests
2022-08-16 13:56:40 +10:00
Morgan Pretty 6c5d138bd6
Merge pull request #661 from mpretty-cyro/fix/deleted-messages-read-state
Fixed a bug where deleted incoming messages could incorrectly be counted as unread
2022-08-16 12:39:11 +10:00
Morgan Pretty 9f4d1a678a Fixed a bug where deleted incoming messages could incorrectly be counted as unread 2022-08-16 11:44:11 +10:00
Morgan Pretty 06dce5708d
Merge pull request #658 from mpretty-cyro/fix/open-group-polling-deletions
Fixed an issue where the open group seqNo wasn't updated for deletions
2022-08-15 16:11:38 +10:00
Morgan Pretty 0ce96976bf Fixed an issue where the open group seqNo wasn't updated for deletions 2022-08-15 16:04:07 +10:00
Morgan Pretty 6d6d45b283 Updated the ProfilePictureView to only use YYImage for Gif and WebP images
Added support for animated OpenGroup images
2022-08-15 10:35:52 +10:00
Morgan Pretty eca075f717
Merge pull request #653 from mpretty-cyro/version-increase
Increased the version and build numbers
2022-08-13 10:31:11 +10:00
Morgan Pretty d0acaa9c3a Increased the version and build numbers 2022-08-13 10:30:15 +10:00
Morgan Pretty 7a6d6fe2aa
Merge pull request #652 from mpretty-cyro/fix/outgoing-disappearing-messages
Fixed a bug where disappearing messages weren't working for local outgoing messages
2022-08-13 10:27:19 +10:00
ryanzhao 9c9f1e3cd3 tweak: encode and sign reaction endpoints with raw emoji 2022-08-12 10:52:35 +10:00
Morgan Pretty e007870c34 Fixed a bug where disappearing messages weren't working for local outgoing messages 2022-08-12 08:32:31 +10:00
Ryan Zhao 88e419aac0 clean 2022-08-11 15:21:19 +10:00
Ryan Zhao 645f8e1d24 tweak: add update types of reaction to query parameter 2022-08-11 14:50:31 +10:00
Ryan Zhao 4a5674f7b3 tweak: keep the old logic of removing open group messsages 2022-08-11 11:51:15 +10:00
Ryan Zhao 4cb2d81670 clean up 2022-08-11 11:32:29 +10:00
ryanzhao ba578fcb3c Merge branch 'dev' into emoji-reacts 2022-08-09 16:00:30 +10:00
Morgan Pretty b40752dc78
Merge pull request #649 from mpretty-cyro/fix/background-fetch-timeout
Fix/background fetch timeout
2022-08-09 15:24:53 +10:00
Morgan Pretty 201c59fd2b Updated the logic for the background fetch timeout
Updated the logic for the background fetch timeout to happen in the AppDelegate and be based on a system property to avoid a few edge-cases
Removed the ID Blinding error handling 'e' suffix (as it's not actually part of the error)
2022-08-09 15:18:57 +10:00
Morgan Pretty f2cda62882 Merge remote-tracking branch 'upstream/dev' into dev 2022-08-08 15:15:38 +10:00
Ryan Zhao 2d510ccfe3 Merge branch 'dev' into emoji-reacts 2022-08-08 15:15:22 +10:00
Morgan Pretty 7ec48baffa
Merge pull request #612 from mpretty-cyro/feature/database-refactor
Database refactor
2022-08-08 15:11:29 +10:00
Morgan Pretty 09f2b41242 Updated the build number 2022-08-08 15:10:33 +10:00
Ryan Zhao aaf91c3327 Merge branch 'database-refactor' into emoji-reacts 2022-08-08 15:00:00 +10:00
Ryan Zhao d98221feb4 fix: minor ui issue on the reaction user list 2022-08-08 14:57:46 +10:00
Morgan Pretty 2025fd2638 Fixed a crash and the SOGS deletion logic to continue to support the deprecated approach for the time being
Fixed an issue where the app could crash when entering the background during migration
Added the old 'messageServerIdsToRemove' code back for the time being to support the deprecated deletion behaviour
2022-08-08 13:56:11 +10:00
Ryan Zhao 7383ddad04 update sortId logic after open group reaction index 2022-08-08 13:07:29 +10:00
Ryan Zhao 91afad99d5 Merge branch 'database-refactor' into emoji-reacts 2022-08-08 10:16:07 +10:00
Morgan Pretty 3f63a44c31 Increased the build number 2022-08-05 17:11:14 +10:00
Morgan Pretty 1224e539ea Reduced unneeded DB write operations and fixed a few minor UI bugs
Updated the database to better support the application getting suspended (0xdead10cc crash)
Updated the SOGS message handling to delete messages based on a new 'deleted' flag instead of 'data' being null
Updated the code to prevent the typing indicator from needing a DB write block as frequently
Updated the code to stop any pending jobs when entering the background (in an attempt to prevent the database suspension from causing issues)
Removed the duplicate 'Capabilities.Capability' type (updated 'Capability.Variant' to work in the same way)
Fixed a bug where a number of icons (inc. the "download document" icon) were the wrong colour in dark mode
Fixed a bug where the '@You' highlight could incorrectly have it's width reduced in some cases (had protection to prevent it being larger than the line, but that is a valid case)
Fixed a bug where the JobRunner was starting the background (which could lead to trying to access the database once it had been suspended)
Updated to the latest version of GRDB
Added some logic to the BackgroundPoller process to try and stop processing if the timeout is triggered (will catch some cases but others will end up logging a bunch of "Database is suspended" errors)
Added in some protection to prevent future deferral loops in the JobRunner
2022-08-05 17:10:01 +10:00
ryanzhao 07a1d10212 fix an issue where reaction updates triggers scrolling 2022-08-05 16:16:39 +10:00
ryanzhao 073516ae78 feat: add sortId for reaction sorting 2022-08-05 14:23:28 +10:00