Niels Andriesse
b5cca49b54
Background poll for group messages
2020-01-22 11:57:16 +11:00
Mikunj
6b38e5d799
Get group record programatically instead of making user pass in the recipient.
...
This was the original function but i added in recipient to it. This is causing crashes and thus we just get the group record.
2020-01-22 09:30:26 +11:00
Niels Andriesse
a2f1eb67f9
Fix conversation title view
2020-01-17 10:37:06 +11:00
Niels Andriesse
8a5307000b
Update app icon & implement recovery phrase screen
2020-01-09 11:35:43 +11:00
Mikunj
23a5fa7580
Let user know when members have been removed from the group.
2019-12-13 09:05:18 +11:00
Mikunj
33788189dd
Distinguish public chat and rss feed from regular groups
2019-12-12 13:01:56 +11:00
Mikunj
97ffea040f
Move session restore prompt from message level to conversation level.
2019-12-09 09:15:25 +11:00
Mikunj
ba93fdd649
Only show one session reset prompt at a time
2019-12-05 13:18:33 +11:00
Mikunj
e285ede03d
Ignore friend request messages before restoration,
2019-12-05 12:10:29 +11:00
Mikunj
5038dec3d1
Fix up profile picture display.
2019-11-27 13:17:31 +11:00
ryanzhao
5a4b619c9d
try to store avatar url locally
2019-11-27 13:17:31 +11:00
Mikunj
733ab06e70
Clear database on unpair.
2019-11-22 10:02:02 +11:00
Mikunj
f753dd1ea9
Added a way to clear database.
2019-11-21 16:31:01 +11:00
gmbnt
4f1beeaa88
Merge pull request #39 from loki-project/multi-device-stage-2
...
[Stage 2] Multi device
2019-11-15 16:25:56 +11:00
Mikunj
d1289ec7bd
Refactoring.
2019-11-14 12:00:46 +11:00
Mikunj
31ad7a40de
Stop main thread from being blocked.
...
Refactoring.
2019-10-31 11:36:52 +11:00
Mikunj
94a9303d7a
Fix multi-device ui
2019-10-24 13:35:14 +11:00
Niels Andriesse
9fc43cb16d
Enable incognito keyboard by default
2019-10-24 10:38:51 +11:00
Mikunj
e438d09a62
Update attachments for public group chats.
2019-10-21 13:49:38 +11:00
Mikunj
c8238df8ff
Update checks to isFromUnkownContact.
2019-10-16 14:32:10 +11:00
Niels Andriesse
bf958fffe1
Partially disable settings for slave devices
2019-10-08 12:17:25 +11:00
Mikunj
72059328b3
Show toast if message sending failed.
...
Added resetting
2019-10-02 13:15:25 +10:00
Mikunj
90ee676a53
Hookup receiving logic.
2019-09-23 15:38:00 +10:00
Mikunj
842be4378a
Show correct names on public chats.
2019-09-09 13:01:54 +10:00
Niels Andriesse
85373e7643
Implement RSS feeds
2019-08-28 14:19:08 +10:00
Niels Andriesse
1822e87f7c
Merge Signal 4.41.0
2019-08-07 16:48:54 +10:00
Niels Andriesse
787b74ad1f
Set up public chat as needed
2019-08-05 13:26:30 +10:00
Niels Andriesse
0ef0140b0d
Update package
2019-07-24 12:30:23 +10:00
Niels Andriesse
1da6f20f18
Further Lokify UI
2019-07-22 13:08:56 +10:00
Niels Andriesse
d6cf9b573e
Use Signal's job framework for background polling
2019-07-22 11:22:42 +10:00
Niels Andriesse
4b1c5dfce2
Quick fix compilation issues
2019-06-04 11:45:29 +10:00
Alan Evans
5ad02f724c
Enable 64-bit.
...
* Multiply version codes by 10 and add a code for each abi in order to generate different version codes for the play store.
2019-05-30 01:08:01 -04:00
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.
2019-05-30 01:08:01 -04:00
Alan Evans
350d1f47d3
Give conversation a standard navigate up button.
...
* Prevent a failing IDE preview.
2019-05-28 17:36:07 -03:00
Alan Evans
e5f70bdbda
End RTC call on incoming PSTN call.
...
* Hangs up when new device call is answered.
* Ensure not on a device call when starting a Signal call.
2019-05-23 16:56:05 -03:00
Alan Evans
156fe37a60
Get SubscriptionManager by name due to ContextCompat bug for API 22.
...
Fixes #8826
2019-05-23 11:38:24 -03:00
Alan Evans
9445555d66
Code analysis - address @NotNull/@Nullable issues.
2019-05-22 13:51:56 -03:00
Alan Evans
10ad3fbf82
Lint - Use easily identifiable wake lock tags.
2019-05-20 13:24:34 -03: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
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
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
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
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
Alan Evans
c77daa8226
Display carrier or number if any SIM descriptions clash.
...
Fixes #8725
2019-04-30 12:51:58 -07:00
Alan Evans
48efcaa785
Do not list SIMs that are not ready.
...
Fixes #8426
2019-04-30 12:51:58 -07:00
Greyson Parrelli
4a3c173adb
Migrated to new JobManager.
2019-04-15 10:56:26 -04:00
Alan Evans
ce6d2d9c69
MMS image quality.
...
Fixes #8590
- Scale image larger within the dimensions.
- Apply a minimum dimension of 1024.
2019-03-28 15:14:06 -03:00
Alan Evans
a7aa980e58
New dynamic locale system.
...
- Fixes #7619
2019-03-26 17:08:05 -03:00
Greyson Parrelli
ccfcfa71df
Enable the sending of long messages.
2019-03-22 12:28:41 -07:00
Greyson Parrelli
8caaf057e8
Remove unnecessary pre-19 code branches.
...
Now that our minSdk is 19, we can remove a lot of old code paths that
only ran pre-19.
2019-03-21 11:19:06 -07:00
Moxie Marlinspike
a52c295a38
Simplify access to SecureRandom
...
This shouldn't matter at all, but it's more "correct," and shows
my age less.
2019-03-21 11:19:06 -07:00
Greyson Parrelli
975a121c55
Show a warning for users on API < 19.
...
We'll be updating minSdk to 19 in 4.37. This lets these users continue
to use the app, but they'll be warned with a persistent banner saying
that they can't receive updates.
2019-03-18 15:09:56 -07:00
Alan Evans
2c28fa6a57
Make GIF search layout option sticky.
...
Fixes #7843
2019-03-12 11:41:54 -03:00
Greyson Parrelli
a122bb4899
Created new BlobProvider.
...
One unified place to create blobs for different lifespans.
2019-03-10 15:18:39 -07:00
Greyson Parrelli
55699e27bc
Added ability to receive long messages.
...
Send support is in here too. We'll enable it in a future release after
enough people have updated.
2019-03-01 14:15:08 -08:00
Greyson Parrelli
bf28e109d3
Update registration UI.
2019-03-01 14:15:01 -08:00
Greyson Parrelli
7fd6f5b3ff
Fix search highlight in multi-whitespace bodies.
...
The way the highlight was done could get screwed up if you had multiple
whitespaces in a row. This particularly came up with messages with
multiple newlines.
2019-03-01 13:44:32 -08:00
Greyson Parrelli
a6564f8f84
FCM improvements.
2019-02-15 14:21:23 -08:00
Greyson Parrelli
2cfa431cad
Supply a reason for CDS error reporting.
2019-02-14 20:19:07 -08:00
Greyson Parrelli
a3768c7d74
Fix StickyHeader measuring.
...
It didn't re-measure when pulling an item from the cache, screwing stuff
up after a phone rotation. Had a workaround for it for specific screens,
but this fixes the problem at the source.
Fixes #8583
2019-02-14 20:19:06 -08:00
Greyson Parrelli
c9a0a66f18
Migrate backup passphrase to be keystore-encrypted when available.
2019-02-14 20:19:06 -08:00
Greyson Parrelli
9f04c28bfd
Implemented conversation search.
...
You can now search for messages within a specific conversation.
2019-02-14 20:19:01 -08:00
Greyson Parrelli
cfff10622a
Move conversation classes to their own package.
2019-02-14 14:29:12 -08:00
Greyson Parrelli
b769c7d9b6
Properly batch contact inserts.
...
Fixes #8580
2019-02-14 14:29:12 -08:00
Greyson Parrelli
3683e6a9e2
Revert "Apply contact updates in batches of 50."
...
This reverts commit 5d9d6ac12b
.
2019-02-06 00:54:03 -08:00
Greyson Parrelli
5d9d6ac12b
Apply contact updates in batches of 50.
...
If batch sizes are too large, we'll get a Binder exception.
Fixes #8580
2019-02-01 12:47:34 -08:00
Greyson Parrelli
d482c60a98
Switch from GCM to FCM.
2019-01-30 16:10:47 -08:00
Greyson Parrelli
c76081d99c
Added support for link previews.
2019-01-30 16:10:43 -08:00
Greyson Parrelli
e6b4249cf3
Deprecate usage of the signaling key.
2019-01-17 15:37:53 -08:00
Greyson Parrelli
4952b4470d
Fix bug related to gallery selection state.
...
TreeSets are annoying. contains() is calculated with the comparator,
which can lead to some weird bugs. Made sure the comparator didn't think
two items with the same date were identical.
Also fixed stableId generation to avoid any potential weirdness there.
2019-01-14 15:40:38 -08:00
Greyson Parrelli
6fa7eca60b
Implement new media send flow.
...
Update our media send flow to allow users to send multiple images/videos
at once. This change includes:
- New in-app media picker flow.
- Ability to caption images and videos.
- Image editing tools are made more prominent in the flow.
- Some fixes to the image editing tools.
2019-01-14 11:25:06 -08:00
Greyson Parrelli
40f9b32a75
Fix tap-to-upgrade on website releases.
...
Tested on Android 9.0, 7.0, and 5.1.
Fixes #7936
2019-01-13 19:08:33 -08:00
Greyson Parrelli
bfdad2f47c
Updated logging.
2018-12-06 12:43:45 -08:00
Greyson Parrelli
776b0e23ae
Add support for typing indicators.
2018-11-21 01:55:25 -08:00
Greyson Parrelli
2acab563d9
Support for sealed sender - Part 2
2018-10-30 08:48:08 -07:00
Moxie Marlinspike
5f31762220
Support for sealed sender - Part 1
2018-10-30 08:48:08 -07:00
Greyson Parrelli
7e485b8095
Post startService() in onResume() as a possible fix to an Android P bug.
...
Got confirmation that the crash we're seeing is a bug, and this might be
a possible workaround.
2018-10-16 11:47:58 -07:00
Greyson Parrelli
ead323c1af
Don't unnecessarily stack GCM message processing.
...
If we already have two active processing GCM messages, there's no
benefit to a third. In fact, enqueuing additional ones will likely only
end up showing the foreground notification unnecessariliy.
2018-10-15 10:37:30 -07:00
Greyson Parrelli
1b736e9e04
Ensure notifications are processed after receiving GCM message.
...
It's unreliable to run these tasks on WorkManager, as there's no
scheduling guarantees.
2018-10-08 10:00:15 -07:00
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.
2018-10-02 09:16:37 -07:00
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.
2018-10-01 12:12:12 -07:00
Greyson Parrelli
12d9d7741b
Clean up batch saving.
...
- Post a better string for when batch saving completes successfully
- Exit multi-select after saving
2018-09-27 10:35:56 -07:00
Greyson Parrelli
a0ab252bc9
Add preliminary contact discovery service support.
2018-09-27 10:35:56 -07:00
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.
2018-09-27 10:35:56 -07:00
Greyson Parrelli
bcebf58b76
Added a new Stopwatch class to easily log timings.
2018-09-27 10:35:56 -07:00
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
2018-09-18 15:26:50 -07:00
Greyson Parrelli
741b775d3e
Ensure external camera blob is deleted.
2018-09-17 20:29:21 -07:00
Greyson Parrelli
e840dc6687
Move notification preferences back in-app for O+.
...
Fixes #8147
2018-08-31 11:10:54 -07:00
Greyson Parrelli
5d91a94252
Fix shortcut images being too large.
...
We were hitting the transaction limit size. This change scales down
shortcut icons to be at most 300x300, which comes out to ~360kb, which
should be safely under the limit of 1mb.
Fixes #8139
2018-08-25 10:40:58 -07:00
Greyson Parrelli
e9b85a10a6
Add per-contact notification channels.
...
Fixes #8119
Fixes #8121
Fixes #8122
2018-08-17 15:51:01 -07:00
Greyson Parrelli
2acbea014b
Fix videos losing their extension after forwarding.
...
Special thanks to @signalien
Fixes #7783
2018-08-13 18:38:59 -04:00
Greyson Parrelli
5cdf5499d0
Clean up shortcut code.
2018-08-13 18:38:59 -04:00
Greyson Parrelli
43068e0613
Reduce usage of Log.w()
2018-08-06 10:50:06 -04:00
Greyson Parrelli
a498176043
Switch logs to use new Log class.
2018-08-06 10:50:06 -04:00
Greyson Parrelli
acb40c6133
Added new logger.
...
Added a new logger that persists logs for a longer duration to the
user's cache directory. Logs are encrypted. The new logs are sent
in addition to the user's logcat output.
2018-08-06 10:50:06 -04:00
Greyson Parrelli
c8571d7bc7
Use correct timestamp for footer collapse.
...
Fixes #8071
2018-08-06 10:34:02 -04:00
Greyson Parrelli
c5014f9471
Fix quote crash when we decode an image of 0 length.
...
Fixes #7983
2018-08-02 15:57:30 -04:00
art1fa
faea8fd2ec
Apply message bubble paddings to both top and bottom
...
Batch selecting messages now feels better. Fixes #8035 .
2018-07-27 16:15:37 -04:00