Commit graph

16791 commits

Author SHA1 Message Date
Morgan Pretty
2acc32a44b Fixed the broken MediaDetail <-> MediaTile custom transition 2022-08-11 15:01:23 +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
76833c0b9f tweak: fix album view background in visible message cells 2022-08-10 14:19:18 +10:00
ryanzhao
827ecee7b0 tweak: fix the layout of snapshot in context menu view 2022-08-10 14:08:17 +10:00
ryanzhao
85b3015d71 clean 2022-08-10 13:51:48 +10:00
ryanzhao
d02b0c90bd Merge branch 'dev' into ui-media-message 2022-08-10 13:43:57 +10:00
ryanzhao
fa1a67d957 feat: show all media view with media & document sections from tapping All Media nav button 2022-08-10 13:41:24 +10:00
ryanzhao
a162f324b1 feat: add select button and delete function in media title screen 2022-08-10 13:32:53 +10:00
ryanzhao
99989f9944 Merge branch 'dev' into add-documents-section 2022-08-09 16:00:44 +10:00
ryanzhao
ba578fcb3c Merge branch 'dev' into emoji-reacts 2022-08-09 16:00:30 +10:00
ryanzhao
1fa505d1a2 feat: show media detail 2022-08-09 16:00:05 +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
ryanzhao
402bee2d38 feat: add action for document section 2022-08-09 12:39:26 +10:00
Ryan Zhao
ab3bbab656 add one more localised string 2022-08-08 17:11:56 +10:00
Ryan Zhao
8c74ecbe63 add localised strings 2022-08-08 17:07:58 +10:00
Ryan Zhao
bc16e3da4b fix: shift the threadId filter line above the variant and sourceFilename lines 2022-08-08 17:01:36 +10:00
Ryan Zhao
522d24caf6 Merge branch 'dev' into ui-media-message 2022-08-08 15:16:24 +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
Ryan Zhao
d0039e446e Merge branch 'dev' into add-documents-section 2022-08-08 15:15:06 +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
f60f68e150 Merge branch 'database-refactor' into ui-media-message 2022-08-08 14:58:17 +10:00
Ryan Zhao
dc0220accc Merge branch 'database-refactor' into add-documents-section 2022-08-08 14:58:03 +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
Ryan Zhao
6a1186b556 Merge branch 'database-refactor' into ui-media-message 2022-08-08 09:22:36 +10:00
Ryan Zhao
86a5fb7f1f Merge branch 'database-refactor' into add-documents-section 2022-08-08 09:21:51 +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
ryanzhao
ebe422e55c Merge branch 'database-refactor' into add-documents-section 2022-08-05 09:55:44 +10:00
ryanzhao
8f98cb5ca8 Merge branch 'database-refactor' into ui-media-message 2022-08-05 09:55:32 +10:00
ryanzhao
99e4614bf8 Merge branch 'database-refactor' into emoji-reacts 2022-08-05 09:54:13 +10:00
Morgan Pretty
ecbded3819 Cleaned up the poller logic a bit 2022-08-04 18:09:03 +10:00
Ryan Zhao
a2c9bee269 WIP: add sortId 2022-08-04 17:10:24 +10:00
Ryan Zhao
37f876dffd deal with blinded id reactor 2022-08-04 13:43:47 +10:00
Morgan Pretty
f8b2f73f7b Fixed a few issues found during QA
Fixed an issue where quotes containing images wouldn't send
Fixed an issue where a MessageSend job could get stuck in an infinite retry loop if it had an attachment in an invalid state
Fixed an issue where quotes containing non-media files wouldn't contain the correct data
Fixed an issue where the quote thumbnail was getting the wrong content mode set
Fixed an issue where the local disappearing messages config wasn't getting generated correctly
Fixed an issue where the format parameters for the disappearing message info message were the wrong way around in one case
Updated the AttachmentUploadJob to try to support images which haven't completed downloading (untested as it's not supported via the UI)
2022-08-04 13:25:46 +10:00
Ryan Zhao
4d0b47fa7f clean 2022-08-04 11:32:35 +10:00
Ryan Zhao
6e0c812c6d fix a crash where reactors in open group doesn't have a profile 2022-08-04 11:03:58 +10:00
ryanzhao
30e48209e2 feat: persist open group reactions into local database 2022-08-03 16:40:29 +10:00
ryanzhao
cd08c792d3 WIP: include reactions into open group message detail info 2022-08-03 16:08:23 +10:00
ryanzhao
1c9d23eeb5 Merge branch 'database-refactor' into emoji-reacts 2022-08-03 09:59:29 +10:00