Mikunj
42d74208ff
Refactor
2020-04-15 16:38:53 +10:00
Mikunj
361dab24d6
Replaced signal ContactSelection things with loki ones.
...
Fixed sharing in session (we can only share to one user at a time).
2020-04-15 12:52:23 +10: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
Mikunj
a57bf0cd98
Remove un-used permissions.
2020-02-27 15:44:57 +11:00
Niels Andriesse
079779f15a
Rename Loki Messenger Updates → Session Updates
2020-02-04 13:07:54 +11:00
Niels Andriesse
8aa214bd7d
WIP
2020-01-15 16:13:28 +11:00
Niels Andriesse
15b4c6aacc
Implement profile picture editing
2020-01-07 14:51:11 +11:00
Mikunj
f6b039ee77
Disabled unused permissions
2019-10-31 16:09:29 +11:00
Niels Andriesse
1822e87f7c
Merge Signal 4.41.0
2019-08-07 16:48:54 +10:00
Niels Andriesse
0ef0140b0d
Update package
2019-07-24 12:30:23 +10:00
Niels Andriesse
fe16a90741
Clean up splash screen
2019-07-24 10:09:02 +10:00
Alan Evans
9445555d66
Code analysis - address @NotNull/@Nullable issues.
2019-05-22 13:51:56 -03:00
Alan Evans
0cb2404735
Lint error fixes.
...
* Old Gingerbread code removed.
* Add missing super call.
2019-03-18 11:14:18 -03:00
Greyson Parrelli
c2a86fcc74
Sync self-sends to desktop.
...
Updated UI to show self-conversations as "Note to Self".
2019-02-14 20:19:07 -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
f164ac90db
Disallow punctuation in icon initials.
2018-10-24 09:57:48 -07:00
Greyson Parrelli
1d7f7b6c38
Do not auto-assign Steel as a color for contacts/groups.
...
Should be reserved for non-contacts, but selectable in the color picker.
Fixes #8247
2018-10-04 09:22:24 -07:00
Greyson Parrelli
547b7a3c6f
Migrate legacy color palette.
...
We don't store non-user-selected colors in the database. That means that
when we update the palette, we still have to hash based off of the legacy
palette when generating a color if we want to migrate to a
similar-looking color.
Unfortunately, because the new palette is smaller, some colors are
"overloaded", meaning that when we hash based off of the legacy palette,
some colors will be more/less common than others. To fix this, we simply
persist all current colors in the database, then switch our hashing list
to what we really want.
2018-10-03 14:25:17 -07:00
Greyson Parrelli
f725dd5a7e
Show profile avatar in toolbar.
2018-10-03 14:24:00 -07:00
Greyson Parrelli
a3cba66450
Update fallback avatars.
2018-10-03 14:24:00 -07:00
Greyson Parrelli
127505af0b
Implement new color palette.
2018-10-03 14:23:59 -07: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
39b27a9d7a
Properly map hashed legacy colors to the new color palette.
...
Fixes #8021
2018-07-24 12:53:36 -04:00
Greyson Parrelli
d813275f42
Increase number of recent conversations shown when sharing.
...
Intended to reduce the pain of #7202 .
2018-05-24 10:25:58 -04:00
Greyson Parrelli
0449647cf9
Implemented full-text search.
...
You can now use the search bar on the conversation list to find
conversations, messages, and contacts.
2018-05-21 16:36:59 -04:00
Greyson Parrelli
54dbffaf30
Added ability to share contacts.
...
The "contact" option in the attachments tray now brings you through an
optimized contact sharing flow, allowing you to select specific fields
to share. The contact is then presented as a special message type,
allowing you to interact with the card to add the contact to your system
contacts, invite them to signal, initiate a signal message, etc.
2018-05-21 15:45:22 -04:00
Moxie Marlinspike
2c405d1769
Delete raw contacts that are marked for deletion
...
Fixes #7628
2018-04-16 17:33:26 -07:00
Greyson Parrelli
18039bc3f4
Show groups when searching for contacts.
...
Currently, if you're searching for a contact to start a conversation
with or send a share to (via the Android sharing system), groups do not
appear. With this change, groups will now appear when searching, located
under their own heading.
Fixes #7202 .
Closes #7577
2018-03-31 02:14:02 -07:00
Moxie Marlinspike
f36b296e2e
Migrate from SQLite and ciphertext blobs to SQLCipher + KeyStore
2018-01-30 17:27:05 -08:00
Moxie Marlinspike
7a5846a6d4
Move more system contact info into recipient database
...
1) Move contact URI, contact photo URI, and custom label
into recipient database, so there are no longer any
contact DB queries during Recipient object loading.
2) Use a SoftHashMap so that any referenced Recipient objects
can't get kicked out of the cache.
3) Don't load Recipient objects through the provider during sync.
This was a super expensive thing to do, and blew up the cache.
4) Only apply changes to Recipient objects during sync if they
are in the cache. Otherwise, there should be no outstanding
references, and the changes are fine going exclusively to
the DB.
2017-11-30 10:26:41 -08:00
Moxie Marlinspike
64c8b4b2ef
Support for selective permissions
2017-11-30 10:26:41 -08:00
Moxie Marlinspike
f855e161d9
Ensure notifications for new users won't be generated first fetch
2017-11-30 10:26:41 -08:00
Moxie Marlinspike
66e1be1aeb
Don't invalidate entire recipient cache when contact data changes
2017-11-30 10:26:41 -08:00
Moxie Marlinspike
08c72ed874
Don't show group ID in recent contact selection list
...
Fixes #7201
2017-11-19 16:46:12 -08:00
Moxie Marlinspike
cf81815bf6
Add recent chats to top of share list
2017-11-16 15:21:46 -08:00
Moxie Marlinspike
b80408bcb4
Use Glide for all contact photo caching
...
// FREEBIE
2017-10-11 17:47:12 -07:00
Moxie Marlinspike
10f224ede5
Update to glide 4.x
...
// FREEBIE
2017-10-11 17:47:12 -07:00
Moxie Marlinspike
d40fea9423
Catch Glide exception when loading avatar image
...
Workaround for #7016
// FREEIBE
2017-10-10 09:18:00 -07:00
Moxie Marlinspike
12020a3f86
Fix vector drawable problems < Android 5.0
...
Fixes #7056
// FREEBIE
2017-10-08 17:42:45 -07:00
Moxie Marlinspike
ac282ccf70
Display contact color in background for generated avatars
...
Fixes #7028
// FREEBIE
2017-10-04 15:24:04 -07:00
Moxie Marlinspike
99b2149deb
Fixed avatar icons not rendering in contact selection view
...
// FREEBIE
2017-10-04 14:47:29 -07:00
Moxie Marlinspike
b34eb08088
Fix look of default group photo in conversation preferences view
...
Fixes #7022
// FREEBIE
2017-10-03 14:01:02 -07:00
Moxie Marlinspike
962944a974
Add some annotations
...
// FREEBIE
2017-09-10 11:21:51 -07:00
Moxie Marlinspike
f335a65d32
Stop Thread.interrupt() from being called
...
// FREEBIE
2017-09-08 11:48:44 -07:00
Moxie Marlinspike
beed9d8034
Add length limit feedback when setting profile name
...
// FREEBIE
2017-08-28 10:30:50 -07:00
Moxie Marlinspike
f17af19d09
Access all RecipientDatabase settings directly from Recipient
...
// FREEBIE
2017-08-28 10:30:50 -07:00
Moxie Marlinspike
d1790dfe17
Rename RecipientPreferences -> RecipientSettings
...
// FREEBIE
2017-08-28 10:30:50 -07:00