Niels Andriesse
eb323e119b
Merge branch 'master' of github.com:loki-project/loki-messenger-android
2019-06-05 10:02:25 +10:00
Niels Andriesse
df2db90495
Fix private key serialization
2019-06-05 10:02:06 +10:00
Mikunj
a0f95c033a
Pass PreKeyBundleStore into message sender.
2019-06-05 09:29:18 +10:00
Niels Andriesse
4148d598f9
Stub key pair screen
2019-06-04 16:37:45 +10:00
Mikunj
384a5ba35d
Update RefreshPreKeysJob.
2019-06-04 15:00:27 +10:00
Niels Andriesse
96efb5d296
Stub account details screen
2019-06-04 14:39:28 +10:00
Niels Andriesse
b77ac07ef5
Rename getBase64Bytes(...) → getBase64EncodedData(...)
2019-06-04 14:16:09 +10:00
Niels Andriesse
3e7759fd07
Merge branch 'master' of github.com:loki-project/loki-messenger-android
2019-06-04 14:07:56 +10:00
Niels Andriesse
59889d0013
Add missing index
2019-06-04 14:05:42 +10:00
Mikunj
bdc62a9645
Added more loki databases.
2019-06-04 14:03:27 +10:00
Mikunj
bccde8baba
Added more loki databases.
2019-06-04 12:12:40 +10:00
Mikunj
4f8af1b4f2
Merge branch 'master' of https://github.com/loki-project/loki-messenger-android
2019-06-04 12:09:52 +10:00
Niels Andriesse
4b1c5dfce2
Quick fix compilation issues
2019-06-04 11:45:29 +10:00
Niels Andriesse
158182baa0
Make swarm cache port specific
...
Last message hash value cache is intentionally not port specific so that if a snode switches to a different port the information about which messages it has stored isn't lost
2019-06-04 11:23:44 +10:00
Niels Andriesse
ab99db6059
Make received message hash values cache user specific
2019-06-04 11:07:20 +10:00
Niels Andriesse
d1e4577132
Implement LokiAPIDatabase
2019-06-04 11:05:03 +10:00
Mikunj
a337c17960
Added loki functions in PreKeyUtils.
2019-06-04 10:10:41 +10:00
Niels Andriesse
8c45a9151f
Stub LokiAPIDatabase
2019-06-04 09:35:18 +10:00
Niels Andriesse
72f95dfff3
Silence Gradle warning
2019-06-03 16:25:02 +10:00
Mikunj
e19a71769f
Added loki message handling.
2019-06-03 16:11:22 +10:00
Mikunj
9d4509d130
Use LokiServiceCipher when decrypting incoming message.
2019-06-03 14:02:29 +10:00
Niels Andriesse
a8caa4afc5
Move MnemonicCodec to core
2019-05-29 15:49:42 +10:00
Niels Andriesse
289cc42a9e
Implement MnemonicCodec
2019-05-29 14:25:19 +10:00
Alan Evans
7f0c998b24
Image Editor - Further crop improvements.
...
* Thumb accuracy improved.
* When out of bounds from drag, try to fix by adjusting translation.
* Update undo state when listener changes.
2019-05-20 12:02:40 -03:00
Alan Evans
456ba5fa02
Image Editor - Replace minimum scale, with minimum pixel count.
...
- Anti alias images.
- Minimum crop ratio of 15:1 or original image ratio.
2019-05-17 19:42:12 -03:00
Alan Evans
9de420fde6
Image Editor - On flip or rotate, ensure undo button visibility is updated.
2019-05-17 19:00:10 -03:00
Alan Evans
401e3687de
Image Editor - when no sticker selected, go back to mode NONE.
2019-05-17 16:22:07 -03:00
Alan Evans
6777b3e0e6
Image Editor - Undo button visibility.
2019-05-17 16:15:27 -03:00
Alan Evans
bf759711ef
Image Editor - Keep image within crop bounds.
...
* 4% of original pixels must be visible.
* The entire crop must be within the image.
* On release, try to scale crop area and image to fit if the crop is invalid.
* Undo to last valid position if that didn't work.
* Additionally, center thumbs now do not respect aspect ratio lock.
2019-05-16 15:52:15 -07:00
Alan Evans
068ffc2167
Image Editor - Allow undoing during croping.
2019-05-16 15:52:03 -07:00
Alan Evans
95304fe001
Image Editor - Remove initial text.
...
- Flashing cursor.
2019-05-16 15:51:56 -07:00
Alan Evans
5b298b4a04
Resize image in attempts to get it to fit into the maxImageSize bytes.
...
Fixes #8803
2019-05-10 12:16:19 -03:00
Alan Evans
cb78684282
Ensure push groups cannot have isForceSmsSelection set.
...
Fixes #8807
2019-05-10 12:13:59 -03:00
Alan Evans
b1057d63a1
Lint.
...
- Check for permissions.
- Fix Welsh positional format.
- Remove UIThread restriction.
- Asynchronous method does not need to be restricted to UIThread and there is no StaticFieldLeak to suppress.
- Fix or Ignore New API errors.
- Reduce severity of some errors from L10N.
2019-05-10 11:57:43 -03:00
Alan Evans
93e6ccb9e4
Replace image editor.
2019-05-10 11:57:43 -03:00
Alan Evans
06ea000f42
Repeat count for format args of plural string.
...
Fixes #8724
2019-05-07 12:26:01 -03:00
Alan Evans
d1b8e77fdc
Always show the SIM on the footer of a multi-SIM device, even if one SIM is disabled.
2019-05-07 12:25:11 -03:00
Alan Evans
8cf2654c5b
Show reply method SMS/Signal and respect sticky.
...
Fixes #8792
2019-05-06 16:45:30 -07:00
Alan Evans
18531146f7
Update the sticky EventBus message to reflect changes in microphone enabled state.
...
Fixes #7827
2019-05-06 16:45:30 -07:00
Jeffrey Griffin
c274c1bb28
Eliminate noisy directory feedback
...
We observed IOExceptions loading the Contact Discovery IAS KeyStore. We will now throw an AssertionError upon any error
creating the IAS KeyStore, matching the behaviour for creation of the TrustStore used for the main Signal Service. NB: If
this assertion is hit, the user will not even be able to refresh their contacts with the old directory service.
2019-05-06 16:45:30 -07:00
Alan Evans
42a8522e98
Manually call the onPageSelected when entering page 0.
...
Fixes #7610
2019-05-06 16:45:30 -07:00
Greyson Parrelli
eab23a9e66
Fixed issue where giphy results weren't loading.
2019-05-06 15:48:43 -07:00
Greyson Parrelli
59f362495a
Add additional checks around link preview domains.
...
We never make requests to non-whitelisted domains, but there were
situations where some links would redirect to non-whitelisted domains,
which would hit a final failsafe that resulted in a crash.
To prevent this, we detect bad redirects earlier and fail more
gracefully.
Fixes #8796
2019-05-06 12:25:53 -07:00
Greyson Parrelli
934a2a67bc
Fix some keyboard issues in landscape.
2019-05-02 14:32:53 -07:00
Greyson Parrelli
05345b8582
Remove some unnecessary logging.
2019-05-02 14:32:53 -07:00
Greyson Parrelli
7b4299d5da
Bring back conscrypt, improve provider initialization ordering.
2019-05-02 14:32:48 -07:00
Alan Evans
ec20b0e0e3
Fallback to SIM index.
...
#8725
2019-05-02 18:16:59 -03:00
Greyson Parrelli
bb90987e7c
Fix potential crash when retrieving SIM list.
2019-05-01 08:36:24 -07:00
Greyson Parrelli
ecea6abeb6
Temporary revert (again) to fix an avatar retrieval issue.
...
This reverts commit 77524ae1f2
.
2019-05-01 08:25:14 -07:00
Greyson Parrelli
1e564b6ad1
Fix exponential backoff retry limits.
2019-04-30 12:51:58 -07:00