Commit Graph

16435 Commits (0f21a1381eb07595649aa00e96de5ae8c14e9c04)
 

Author SHA1 Message Date
Ryan Zhao 0f21a1381e Merge branch 'dev' into ui-media-message 3 years ago
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
3 years ago
Morgan Pretty f2f2083d92 Version number increases 3 years ago
Morgan Pretty d116ac0ebe Fixed an issue where the 2.0.2 migration broke the original _003_ migration 3 years ago
ryanzhao 62cc51e57a Merge branch 'dev' into ui-media-message 3 years ago
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
3 years ago
ryanzhao 1c94dd65d3 Merge branch 'dev' into ui-media-message 3 years ago
Morgan Pretty 362986e73a Fixed a bug where the notification sound "preview" playing wasn't working 3 years ago
Morgan Pretty b53ad0c5ed
Merge pull request #657 from mpretty-cyro/fix/use-yyimageview-only-when-needed
Only use YYImage for Gif/WebP images
3 years ago
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
3 years ago
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
3 years ago
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
3 years ago
Morgan Pretty 9f4d1a678a Fixed a bug where deleted incoming messages could incorrectly be counted as unread 3 years ago
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
3 years ago
Morgan Pretty 0ce96976bf Fixed an issue where the open group seqNo wasn't updated for deletions 3 years ago
Morgan Pretty 6d6d45b283 Updated the ProfilePictureView to only use YYImage for Gif and WebP images
Added support for animated OpenGroup images
3 years ago
Morgan Pretty eca075f717
Merge pull request #653 from mpretty-cyro/version-increase
Increased the version and build numbers
3 years ago
Morgan Pretty d0acaa9c3a Increased the version and build numbers 3 years ago
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
3 years ago
Morgan Pretty e007870c34 Fixed a bug where disappearing messages weren't working for local outgoing messages 3 years ago
ryanzhao 76833c0b9f tweak: fix album view background in visible message cells 3 years ago
ryanzhao 827ecee7b0 tweak: fix the layout of snapshot in context menu view 3 years ago
ryanzhao 85b3015d71 clean 3 years ago
ryanzhao d02b0c90bd Merge branch 'dev' into ui-media-message 3 years ago
Morgan Pretty b40752dc78
Merge pull request #649 from mpretty-cyro/fix/background-fetch-timeout
Fix/background fetch timeout
3 years ago
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)
3 years ago
Ryan Zhao 522d24caf6 Merge branch 'dev' into ui-media-message 3 years ago
Morgan Pretty f2cda62882 Merge remote-tracking branch 'upstream/dev' into dev 3 years ago
Morgan Pretty 7ec48baffa
Merge pull request #612 from mpretty-cyro/feature/database-refactor
Database refactor
3 years ago
Morgan Pretty 09f2b41242 Updated the build number 3 years ago
Ryan Zhao f60f68e150 Merge branch 'database-refactor' into ui-media-message 3 years ago
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
3 years ago
Ryan Zhao 6a1186b556 Merge branch 'database-refactor' into ui-media-message 3 years ago
Morgan Pretty 3f63a44c31 Increased the build number 3 years ago
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
3 years ago
ryanzhao 8f98cb5ca8 Merge branch 'database-refactor' into ui-media-message 3 years ago
Morgan Pretty ecbded3819 Cleaned up the poller logic a bit 3 years ago
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)
3 years ago
ryanzhao 7b63e52314 Merge branch 'database-refactor' into ui-media-message 3 years ago
Morgan Pretty d8103ede12 Updated the build number 3 years ago
Morgan Pretty 5f1039b39e Updated the PushNotificationAPI to use V4 onion requests instead of V2
Fixed a crash which could occur when handling 'loadMedia' edge cases in the MediaView (was running on non-main thread)
3 years ago
ryanzhao 6e144ec9b7 Merge branch 'database-refactor' into ui-media-message 3 years ago
Morgan Pretty 8f3e7fc36a Removed the debug code and added a migration to remove the old YDB
Fixed a typo
3 years ago
Morgan Pretty b468efc33b Updated the GarbageCollectionJob to log the number of files it removes 3 years ago
Morgan Pretty fde19efc13 Fixed a duplicate dependency issue 3 years ago
Morgan Pretty 775cc4f156 Increased build number 3 years ago
Morgan Pretty 4d5ded7557 Fixed a few bugs with media attachment handling, added webp support
Updated the OpenGroupManager to create a BlindedIdLookup for messages within the `inbox` (validating that the sessionId does actually match the blindedId)
Added support for static and animated WebP images
Added basic support for HEIC and HEIF images
Fixed an issue where the file size limit was set to 10,000,000 bytes instead of 10,485,760 bytes (which is actually 10Mb)
Fixed an issue where attachments uploaded by the current user on other devices would always show a loading indicator
Fixed an issue where media attachments that don't contain width/height information in their protos weren't updating the values once the download was completed
Fixed an issue where the media view could download an invalid file and endlessly appear to be downloading
3 years ago
ryanzhao 585e5b3547 Merge branch 'database-refactor' into ui-media-message 3 years ago
Morgan Pretty c022f7cda2 Added an exponential back-off to polling open groups when they fail to poll 3 years ago
Morgan Pretty ae4999c3a7 Fixed a couple of crashes and a couple of other bugs
Fixed a crash due to database re-entrancy
Fixed an issue where interacting with a push notification wouldn't open the conversation in some cases
Added code to prevent a user from being able to start a DM with a blinded id
Updated some open group polling logs to be clearer
3 years ago