Commit Graph

3851 Commits (638012f3d08089ee86209eb8e22621458a88d65f)
 

Author SHA1 Message Date
Greyson Parrelli 5eec3c9541 Add hairline border to avatars. 6 years ago
Greyson Parrelli f725dd5a7e Show profile avatar in toolbar. 6 years ago
Greyson Parrelli a3cba66450 Update fallback avatars. 6 years ago
Greyson Parrelli bab92fca7b Move unread indicator to be above the avatar. 6 years ago
Greyson Parrelli c37c1dffd4 Allow setting the color for a group. 6 years ago
Greyson Parrelli 127505af0b Implement new color palette. 6 years ago
Greyson Parrelli cfd20d23e8 Fix double onClick() notifications in preferences.
Fixes #8241
6 years ago
Greyson Parrelli e4b56d4e40 Show foreground notification for jobs when network is restricted.
Occasionally a job may be run when the app is in a network-restricted
mode, like a form of doze. When this happens, jobs can timeout due to
lack of network access, causing a cascade of job delays. This is
particularly bad in the case of message retrieval.

To prevent this, if a job that normally requires network detects that no
network is available when running, then we start a foreground
notification.
6 years ago
Greyson Parrelli c86c2c51bb Bump version to 4.27.3 6 years ago
Greyson Parrelli 5a623810cb Broaden exception handling around Camera#startPreview().
Some devices will randomly throw RuntimeExceptions here due to hardware
issues. We were already doing broader catch statement in CameraView, so
I moved it here as well.
6 years ago
Greyson Parrelli 444e01deae Improve key presence checking in SafeData.
This isn't a perfect check either, but it should be safer and more
consistent than using static "invalid values".
6 years ago
Greyson Parrelli d25ebdc818 Fix indentation in preference fragments.
Unfortunately, while there does exist an XML property to disable the
indentation, it's bugged for category headings, so we have to do this
silly thing where we strip the padding in the adapter. Hopefully they'll
fix the bug and we can move to use the sanctioned property.

See: https://issuetracker.google.com/issues/111662669

Fixes #8233
6 years ago
Greyson Parrelli 24e82abf80 Don't report contact discovery accuracy if it encountered an error.
Otherwise we're double-reporting. Also made the sanitize method more
accurate.
6 years ago
Greyson Parrelli cfa13867e5 Allow null for profileAvatar in RetrieveProfileAvatarJob. 6 years ago
Greyson Parrelli 34770a2333 Fixed Camera capture crash on API <= 19.
On older versions of Android, TextureView#getBitmap() needs to be called
on the main thread. On mid range phones, this is ~50ms. Normally that'd
be bad, but the UI isn't doing anything at that point anyway.

Fixes #8232
6 years ago
Greyson Parrelli 2c5fa155ae Fix re-enabling tab switching in MediaOverview.
We were being inconsistent in how we were handling exiting multiselect,
and it wasn't behaving properly when you left by clicking the 'x'. Now
it's all handled centrally.

Fixes #8234
6 years ago
Greyson Parrelli bc6941589c Bump version to 4.27.2 6 years ago
Greyson Parrelli 12afdad291 Log Job retryable exceptions. 6 years ago
Greyson Parrelli 4799d30077 Update the Dockerfile.
We updated our build tools and stuff, so we have to update the
Dockerfile. Took this opportunity to also update the version of
Ubuntu we were using as the base.
6 years ago
Greyson Parrelli fafad0d555 Fix the command line build. 6 years ago
Greyson Parrelli 3f4133b163 Bump version to 4.27.1 6 years ago
Greyson Parrelli 68746bcecb Move targetSdk back to 25.
It was accidentally bumped to 26.
6 years ago
Greyson Parrelli 0fbb4ac333 Bump version to 4.27.0 6 years ago
Greyson Parrelli f2e4f626c1 Updated language translations. 6 years ago
Greyson Parrelli 2f530dc970 Remove CameraView usage of JobManager.
WorkManager flat-out can't handle anonymous implementations of Worker
classes due to it using reflection to instantiate them.
6 years ago
Greyson Parrelli 87e6aa48bb Schedule jobs with WorkManager.
Should help solve most of our pressing targetSdk=26 migration issues.
6 years ago
Greyson Parrelli d10a44f8eb Suppress some noisy logs. 6 years ago
Greyson Parrelli 6359961a82 Ensure numbers are properly formatted before giving them to contact discovery service.
We were sending "Unknown" addresses, which would cause the service to
choke.
6 years ago
Greyson Parrelli 946f76a442 Fix layout problems in conversation item footer. 6 years ago
Greyson Parrelli 616912d85f Prefer local state in dial click listener. 6 years ago
Greyson Parrelli bd38b96095 Long-press timestamps in message details to copy. 6 years ago
Greyson Parrelli 12d9d7741b Clean up batch saving.
- Post a better string for when batch saving completes successfully
- Exit multi-select after saving
6 years ago
FeuRenard 91a119393c Allow batch saving in media overview 6 years ago
FeuRenard c82afd8944 Allow selecting all media in overview 6 years ago
Greyson Parrelli 84c71fce16 Disable tab switching in media overview during multiselect.
Multiselect only applies to items in the "media" tab, so people
shouldn't be able to switch tabs during multiselect.
6 years ago
Greyson Parrelli a0ab252bc9 Add preliminary contact discovery service support. 6 years ago
Greyson Parrelli 08ace15f95 Implemented new camera capture flow.
A new, fullscreen camera capture flow that easily allows you to capture
and edit a photo before sending it. Replaces the current half-screen
camera button.
6 years ago
Greyson Parrelli e9a38bab1e Turned SingleUseBlobProvider into MemoryBlobProvider.
Keep the single-use behavior, but allow the creation of multi-use memory
blobs that can be deleted when we're done with them. Will help out with
having URI's for temporary images during the camera capture flow.
6 years ago
Greyson Parrelli e63773e5c8 Added OrderEnforcer class to schedule ordered tasks. 6 years ago
Greyson Parrelli bcebf58b76 Added a new Stopwatch class to easily log timings. 6 years ago
Unknown 2209e68ae0 Changed URL of the user forum. 6 years ago
Greyson Parrelli 6a0b89feaa Bump version to 4.26.2 6 years ago
Greyson Parrelli 6eb8693546 Don't block messages from unknown groups.
We were incorrectly considering unknown groups to have been "left".
6 years ago
Greyson Parrelli c5f53b23fa Bump version to 4.26.1 6 years ago
Greyson Parrelli 11127c0d97 Clear external cache upon upgrade. 6 years ago
Greyson Parrelli 1af930437a Bump version to 4.26.0 6 years ago
Greyson Parrelli 94bfebeef1 Updated language translations. 6 years ago
Greyson Parrelli 45c4eafbd7 Add the ability to block groups.
This also fixes the situation where we block group-leave messages,
preventing blocked contacts from leaving groups.

Fixes #7970

Also, this forced us to upgrade libsignal-service, which fixes the
websocket timeout issues. Thanks to @dpapavas!

Fixes #6644
6 years ago
Greyson Parrelli 741b775d3e Ensure external camera blob is deleted. 6 years ago
Greyson Parrelli e09c99102e Clear Glide disk cache after image deletion. 6 years ago