Commit Graph

3506 Commits (7951df09ad1df135289e220d7a5e14aa585eec82)
 

Author SHA1 Message Date
Greyson Parrelli ea374735e1 Render images in a conversation true-to-size.
Previously, we were always rendering images as squares. Instead of doing
that, we now render them as close to true-to-size as possible (within
reasonable min/max width/height boundaries).
6 years ago
Moxie Marlinspike 9f8b4cf892 Populate incoming attachments with width and height from message 6 years ago
Moxie Marlinspike 3c30db7edf No longer generate image thumbnails manually
Delete manually calculated image thumbnails
6 years ago
Moxie Marlinspike 95d76638dc Simple encrypted glide disk cache 6 years ago
Greyson Parrelli 7e1e666172 Strip EXIF metadata from all JPEG images.
Strip all EXIF metadata from all JPEGs by re-encoding the JPEG. This
will keep all of the necessary visual effects of the tags (by encoding
them directly in the image data) while stripped the EXIF tags
themselves.
6 years ago
Greyson Parrelli 10e5b24cfd Allow batch deletion of media.
It is now possible to batch-delete media in the "media overview" screen.
You can long press to enter multi-select mode. Then a delete button
appears on the menu bar. After pressing delete, you will get a
confirmation, and if the user confirms, the items will delete while a
progres dialog shows.
6 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.
6 years ago
Joshua Lund a8cf5b8efa Update the issue template.
Closes #7581
6 years ago
Moxie Marlinspike f48f4a8812 Bump version to 4.17.5 6 years ago
Moxie Marlinspike d6610f0dd0 Add profile avatars to backup
Fixes #7450
6 years ago
Moxie Marlinspike 261296e41b Don't crash direct share service if avatar photo is missing
Fixes #7541
6 years ago
Moxie Marlinspike 26a16bf0ca Bump version to 4.17.4 6 years ago
FeuRenard 9c0129c4b0 Allow skipping registration PIN intervals on success
Closes #7517
Closes #7518
6 years ago
Moxie Marlinspike b168e14985 Move salt outside the loop 6 years ago
Moxie Marlinspike 73233c01ba Fix backup NPE
Fixes #7526
6 years ago
Moxie Marlinspike 90006e81db Add salt to backup header 6 years ago
Greyson Parrelli f544b7d7b4 Reduce image stutter by using subsampling more often.
Fixes #7208.
6 years ago
Moxie Marlinspike 5f12696bed Bump version to 4.17.3 6 years ago
Moxie Marlinspike 41d06fc8c2 Simplify reminder interval lookup
Fixes #7513
6 years ago
Moxie Marlinspike aff65abe91 Hide keyboard after backup passphrase entered
Fixes #7508
6 years ago
Moxie Marlinspike 64afce5f66 Switch to parameterized statements for backup
Fixes #7507
6 years ago
Moxie Marlinspike 52ca295131 Bump version to 4.17.2 6 years ago
Moxie Marlinspike 6b5da7f8cf Disable registration lock reminders for <=KK devices
Fixes #7500
6 years ago
Moxie Marlinspike 43d7e99a50 Don't offer backup restore on reregistration
Fixes #7502
6 years ago
平民·寻梦(Pingmin Fenlly Liu) cc288d1e43 Just update to the new repo path "github.com/signalapp"
Closes #7469
6 years ago
FeuRenard 150601c51e Replace '1' with '%d' in plural strings
Fixes #7470
Closes #7471
6 years ago
RiseT 375ebeb661 Update Transifex locales as per 2018-03-01
Remove:
- Kannada

Add (>= 90% of strings translated):
- Burmese
- Galician
- Khmer
- Lithuanian
- Thai

Closes #7490
6 years ago
junitas 7f7aab044c Escape single quotes in SQLite entries for message backups
Fixes #7491
Closes #7497
6 years ago
Moxie Marlinspike fd7a3190f8 Bump version to 4.17.1 6 years ago
Moxie Marlinspike c8dd62cecf Make it possible to set a zero value for screen lock timeout
Fixes #7485
6 years ago
Moxie Marlinspike 11ce4ee807 Actually increment event count 6 years ago
Moxie Marlinspike 40d14698b8 Fix NPE introduced by #6886 6 years ago
Moxie Marlinspike 34ed55d3ac Post backup progress event for every item
Fixes #7483
6 years ago
Moxie Marlinspike 954b2f22f6 Don't immediately prompt for registration lock pin after reregistration
Fixes #7484
6 years ago
Moxie Marlinspike b39820dcb6 Clarify Registration Lock reminder
Fixes #7484
6 years ago
Moxie Marlinspike 1a24885110 Fix issue "home button" issue with screen lock
Fixes #7475
6 years ago
Moxie Marlinspike 29fcce23b1 Prevent double screen lock intent from firing
Fixes #7475
6 years ago
Moxie Marlinspike a2d04f4806 Prevent us from sql injecting ourselves on backup/restore
Fixes #7478
6 years ago
Moxie Marlinspike 9fb67b9f03 Bump version to 4.17.0 6 years ago
Moxie Marlinspike 46e5d64857 Updated language translations 6 years ago
Moxie Marlinspike 9c63c6045d Export string 6 years ago
Moxie Marlinspike 3c0bbfe6f0 s/External Storage/Storage 6 years ago
Andy Staudacher 61a7062030 Remove obsolete workaround for DE/FI/SK shortcodes
libphonenumber supports these since December 2015 / January 2016.
Most of these changes went into libphonenumber-7.2.2 (Dec 15, 2015),
the last changes related to this into libphonenumber-7.2.4 (Jan 28, 2016).
This was about adding EU-wide helplines 116xxx (http://ec.europa.eu/digital-agenda/en/116-helplines).
See: https://github.com/googlei18n/libphonenumber/blob/master/java/release_notes.txt

Closes #6130
6 years ago
Sam Lanning 69f180a5ec Fix some potential integer overflows for expiration time
In a number of locations in the code, there were conversions of message
expiration times from seconds to milliseconds, and then assigned to `long`
contexts. However these conversions were being done as integer multiplication
rather than long multiplication, meaning that there was a potential for
overflows.

Specifically, the maximum value that could be represented before overflowing
was (2^31 / 1000 / 60 / 60 / 24) days = 24.8 days (< 1 month). Luckily the
current allowed timeouts are all less than that value, but this fix would
remove the artificial restriction, effectively allowing values of 1000x greater
(68 years), at least for android.

Related #5775
Closes #7338
6 years ago
Andrew Gaul 10c1ee70e8 Make some inner classes static
Closes #7370
6 years ago
Win Ribeka c5e495bfe5 Adding task affinity to the share activity. Fixes #7312.
Closes #7371
6 years ago
FeuRenard 0efda2df91 Make toast after saving attachment translatable
Closes #7374
6 years ago
art1fa 4bdb2acd29 Batch selection mode improvements
Simplified and now the same for conversation and conversation list.

Added also some styling.

Closes #7410
6 years ago
Moxie Marlinspike 56c95d1d1b Extract string resource 6 years ago
Moxie Marlinspike d44bfc3ce3 s/password/passphrase 6 years ago