Greyson Parrelli
23804046c6
Always use new foreground service utils.
2022-11-30 17:10:36 -05:00
Greyson Parrelli
7949996c5c
Renamed database classes to table classes.
...
Because they're not databases. They're tables.
2022-11-30 17:10:36 -05:00
Cody Henthorne
a8e03e9bf2
Fix backup job background start restricitions with API31+.
2022-10-12 09:48:40 -04:00
Alex Hart
b18542a839
Ensure images sent to stories respect media quality settings.
...
Stories should always use "Standard" quality, not L3 (high quality). This change ensures that we:
1. Always send stories at the appropriate quality
2. Do not corrupt or overwrite pre-existing image attachments
3. Close several streams when done (thanks StrictMode!)
2022-07-21 13:18:19 -04:00
Greyson Parrelli
057231b9c3
Update libsignal-client to 0.14.0
2022-03-17 12:12:56 -04:00
Greyson Parrelli
843ed24bbb
Introduce SignalDatabase as the main database entrypoint.
2021-11-18 12:36:52 -05:00
Alex Hart
3f233ed39f
Use AttachmentsV2 if the resumable upload link from V3 becomes corrupted.
2021-08-26 10:24:20 -03:00
Greyson Parrelli
54f92ae466
Do not send if unregistered.
2021-05-26 00:39:59 -04:00
Alex Hart
c31146e902
Render gifs in gif search as MP4s.
2021-04-19 18:11:56 -04:00
Greyson Parrelli
fcbd594def
Add a system to easily trace jobs.
2021-01-06 17:03:20 -04:00
Greyson Parrelli
8e93bf9075
Create a core-util module with some common utilities.
2020-12-05 13:44:13 -05:00
Greyson Parrelli
9dc33eff3a
Remove thumbnails from the AttachmentDatabase.
...
Glide can do everything for us now, including video thumbnails.
2020-09-23 16:54:38 -04:00
Greyson Parrelli
813c820227
Fix issue with GV1 avatars using attachmentsV3.
2020-07-21 15:31:53 -04:00
Greyson Parrelli
545ba80697
Add support for borderless images.
...
Added support for 'borderless' images. Basically images that we'd like to render
as if they were stickers, even though they're not stickers. On iOS, this will be
stuff like memoji and bitmoji. On Android, in my initial pass, I've just added
support for Giphy stickers. However, we can also detect bitmoji and keyboard
stickers in the future. This is kind of a 'best effort' thing, so as long as we
support receiving, we can just add sending support for more things as we go.
2020-07-08 16:51:30 -04:00
Greyson Parrelli
9d35fb397b
Fix issue with re-using forwarded attachment pointers.
...
We were deleting upload data for incoming attachments when we shouldn't
have.
Fixes #9570
2020-04-30 16:36:06 -04:00
Alex Hart
2afb939ee6
Implement send support for resumable uploads behind a flag.
2020-04-21 16:09:30 -04:00
Greyson Parrelli
d6000af843
Re-use recently-acquired attachment pointers.
2020-04-03 12:19:12 -04:00
Greyson Parrelli
fadcc606f8
Optimize uploads during media composition.
...
By uploading in advance (when on unmetered connections), media messages
can send almost instantly.
2020-01-24 10:54:38 -05:00
Greyson Parrelli
38597aea00
Add support for canceling Jobs.
2020-01-24 10:54:38 -05:00
Alan Evans
9ebe920195
Move all files to natural position.
2020-01-06 11:08:30 -05:00