Commit Graph

42 Commits (4dd89ba03f33aab933256918e9144caa7844c15f)

Author SHA1 Message Date
Anton Chekulaev 8ebdbf2af7 Move away from deprecated Environment external file access API. 5 years ago
Anton Chekulaev 7cc67daf80 DB attachment record gets properly updated on upload error.
Individual loading indicators per conversation item thumbnail.
5 years ago
nielsandriesse 96736a8095 Raise deployment target and migrate to AndroidX 5 years ago
Mikunj 8d6094ecd6 Fix crash when viewing media 6 years ago
Mikunj c6f5adb447 Update attachments to use url. 6 years ago
Niels Andriesse bdb950373a Partially implement GIFs 6 years ago
Greyson Parrelli 2a644437fb Add sticker support.
No sticker packs are available for use yet, but we now have the
latent ability to send and receive.
6 years ago
Greyson Parrelli 19d5ba5c0e Upload attachments in a separate job. 6 years ago
Greyson Parrelli 47a10a0288 Added support for multi-image receive. 7 years ago
Greyson Parrelli e09c99102e Clear Glide disk cache after image deletion. 7 years ago
Greyson Parrelli 43068e0613 Reduce usage of Log.w() 7 years ago
Greyson Parrelli a498176043 Switch logs to use new Log class. 7 years ago
Greyson Parrelli 71a34dac5f Fix backup/import issue with expiring messages.
There was an issue where we were backing up group receipts and attachments
that were for expiring messages (which are already excluded from the backup).

This commit excludes these items from the backup, and for backups made
before this change, this commit also deletes these invalid entries at
the end of the restore process.

We also do a little database migration to cleanup any bad state that may
have been imported in the past.
7 years ago
Greyson Parrelli 54dbffaf30 Added ability to share contacts.
The "contact" option in the attachments tray now brings you through an
optimized contact sharing flow, allowing you to select specific fields
to share. The contact is then presented as a special message type,
allowing you to interact with the card to add the contact to your system
contacts, invite them to signal, initiate a signal message, etc.
7 years ago
Greyson Parrelli fa99e8f0d0 Updated reply-to UI.
All UI components are now properly styled and functioning according to
spec.
7 years ago
Moxie Marlinspike d567534609 replies 7 years ago
Moxie Marlinspike 9f8b4cf892 Populate incoming attachments with width and height from message 7 years ago
Moxie Marlinspike 3c30db7edf No longer generate image thumbnails manually
Delete manually calculated image thumbnails
7 years ago
Greyson Parrelli 0c768a24e4 Allow deletion of media through preview.
When viewing a media in the media preview, you can delete it by pressing
a delete button on the action bar. It will then ask you to confirm your
choice. If you confirm, it will delete the attachment from the database
and from disk. If it was the only attachment for that message, the
message itself will also be deleted.
7 years ago
Moxie Marlinspike 24e573e537 Support for full backup/restore to sdcard 7 years ago
Moxie Marlinspike 6239508b39 Clean file names for belt and suspenders 7 years ago
Moxie Marlinspike 028c6edd8a Manually calculate attachment offsets
The CipherInputStream skip() method is pretty non-functional

Fixes #7438
7 years ago
Moxie Marlinspike bdd4b456c4 Have stream generate random value 7 years ago
Moxie Marlinspike f36b296e2e Migrate from SQLite and ciphertext blobs to SQLCipher + KeyStore 7 years ago
Moxie Marlinspike 8bba45f396 Add swipe gestures to media view
Fixes #2355
Closes #6632
7 years ago
Moxie Marlinspike 82b5b35d3b Eliminate MediaNetworkRequirement style attachment job handling
// FREEBIE
8 years ago
Moxie Marlinspike b78c05e70b Keep track of when audio attachments are voice notes
// FREEBIE
8 years ago
Moxie Marlinspike 51d6144591 Significant MMS changes
1) Remove all our PDU code and switch to the PDU code from the
   klinker library

2) Switch to using the system Lollipop MMS library by default,
   and falling back to our own custom library if that fails.

3) Format SMIL differently, using code from klinker instead of
   what we've pieced together.

4) Pull per-carrier MMS media constraints from the XML config
   files in the klinker library, instead of hardcoding it at 280kb.

Hopefully this is an improvement, but given that MMS is involved,
it will probably make things worse instead.
8 years ago
Moxie Marlinspike cb670d6783 Improve UI send latency
// FREEBIE
8 years ago
Moxie Marlinspike 8e7c7a9c54 Improve video thumbnail generation and handling on send side
For direct attach only

// FREEBIE
8 years ago
Moxie Marlinspike f67eb5f9f3 Support for receiving arbitrary attachment types
// FREEBIE
8 years ago
Moxie Marlinspike cbba8c0d76 Update signal-service
// FREEBIE
8 years ago
Moxie Marlinspike 79e925051a Support for attachment digests
// FREEBIE
8 years ago
Niklas Wenzel 770026d4ee Fix the faulty tests in AttachmentDatabaseTest.java
Fixes #5948
Closes #5952
8 years ago
Moxie Marlinspike a4c17e5325 Support for generating video thumbnails
// FREEBIE
9 years ago
Niklas Wenzel 0d493a3af9 Get the automated tests up and running again
* Fix the build.gradle file
* Use the correct VisibleForTesting class
* Fix the Android test setUp() logic
* Enable a test in DeliveryReceiptJobTest.java where the @Test anotation was missing

It should be noted that the tests in AttachmentDatabaseTest.java fail.

Fixes #3474
Closes #5882
9 years ago
Geonu Kang 8269047c88 Update attachment content type when updating attachment data
Fixes #4687
Closes #4688
10 years ago
Jake McGinty 946c43940b add equals/hashCode to glide models
Closes #4737
// FREEBIE
10 years ago
Moxie Marlinspike f6a5f117b8 Generate thumbnails for outgoing pending messages.
Fixes #4307
// FREEBIE
10 years ago
Moxie Marlinspike 5111fe2e95 Display thumbnail previews for images in conversation list.
Closes #4262
// FREEBIE
10 years ago
Moxie Marlinspike d2f44f6584 Join attachments instead of running an asynchronous query.
No more SlideDeck futures, just SlideDecks.

// FREEBIE
10 years ago
Moxie Marlinspike 09e52834a6 Refactor "parts" to contain MMS/PDU madness to MMS code paths.
Closes #4248
// FREEBIE
10 years ago