ryanzhao
b72048d9a4
add FCM to app for remote push notification
2020-04-15 10:24:30 +10:00
Mikunj
f149065a30
Fix GroupDescriptions updating dynamically.
...
This shouldn't happen, rather it should have the snapshot of the group state per message.
2020-04-09 13:17:00 +10:00
gmbnt
6246fea83b
Further improve threading
2020-03-24 11:31:01 +11:00
Mikunj Varsani
e484a95fcb
Remove DirectoryRefresh.
...
This was causing crashes on some devices and it's used for accessing contacts on a device which we don't need.
2020-03-13 09:46:28 +11:00
Niels Andriesse
fb9567a61b
Merge branch 'dev' into open-group-syncing
2020-02-28 08:56:37 +07:00
Mikunj
3cdaf80c5d
Removed all references to google play and firebase.
...
Removed phone number utils.
Slowly remove signal code.
2020-02-28 09:07:01 +11:00
Mikunj
7b267ee8b7
Fix isSignalGroup boolean check.
...
Set thread deletion delay to 1s for private chats and open groups.
2020-02-25 13:11:06 +11:00
Mikunj
55523b3baf
Added open group syncing.
...
Refactor open group adding code.
2020-02-25 12:46:23 +11:00
Niels Andriesse
b9307d4cb9
Untie profile picture from auth token
2020-02-24 10:57:51 +07:00
Mikunj
1ce7050f1a
Leave group on swiping
2020-02-19 16:19:16 +11:00
Niels Andriesse
07b1ffa77e
Refactor multi device
2020-02-13 14:39:29 +11:00
Niels Andriesse
f38b7a30a0
Implement open group suggestion sheet
2020-02-05 11:29:45 +11:00
Niels Andriesse
155c7f2b12
Merge branch 'dev' of github.com:loki-project/loki-messenger-android into private-group-chat
2020-02-04 13:23:23 +11:00
Niels Andriesse
0b2986a8a9
Add link preview, GIF & open group metadata warnings
2020-02-01 15:12:06 +11:00
Niels Andriesse
e9842b2626
Disable link previews by default
2020-02-01 09:00:29 +11:00
Mikunj
73ec256745
Merge branch 'dev' into private-group-chat
2020-01-31 15:33:59 +11:00
Mikunj
81b4259dab
Merge branch 'dev' into private-group-chat
2020-01-31 15:29:31 +11:00
Mikunj
5fa6e5a75c
Enable sealed sender by default
2020-01-30 10:07:29 +11:00
Niels Andriesse
e3c54c21d1
Merge branch 'dev' into session-restore
2020-01-28 10:36:46 +11:00
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 5d9d6ac12bd002d7c9086e5e29676e3d864ed7fa.
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