Greyson Parrelli
d21782696a
Read the new GV1 Migration capability.
2020-10-22 15:55:18 -03:00
Greyson Parrelli
3357475fc4
Move capabilities into a single column.
2020-10-22 15:55:18 -03:00
Greyson Parrelli
ead64d92a5
Rename Recipient.isLocalNumber() to Recipient.isSelf()
2020-10-22 15:55:18 -03:00
Alan Evans
e766b9737e
Do not enable admin approval on group links by default.
2020-10-20 19:39:51 -03:00
Alan Evans
a635f27c68
Hide group link when not enabled.
2020-10-15 16:19:17 -04:00
Greyson Parrelli
7ef57cc0cf
Add support for syncing pinned status with storage service.
2020-10-15 16:19:17 -04:00
Greyson Parrelli
de7f103130
Add support for modern profile sharing.
2020-10-15 16:19:12 -04:00
Alan Evans
ed0be6fc9a
Add dialog transitions to group manager.
2020-10-07 17:22:05 -04:00
Alan Evans
26404ff5d7
More descriptive copy for group link permission errors.
2020-10-07 17:22:05 -04:00
Greyson Parrelli
e00397620a
Simplify storing storage-service-specific recipient values.
...
This gives us the ability to separate things we need for the Recipient
class from things we only need for storage syncing.
Not only does this simplify the storage service model building code
(i.e. we no longer need to pass around a set of archived recipients),
but it also eliminates a join on the Identity table for building regular
recipients, which should help perf.
2020-10-07 17:22:05 -04:00
Alan Evans
fe33ce3413
Various groups V2 dialog copy changes.
2020-09-29 12:03:32 -03:00
Alan Evans
222ba6ee53
Hide admin options on bottom sheet for members not currently in group.
2020-09-28 10:15:29 -03:00
Alan Evans
ce5be2c1be
Share group link via signal to one recipient.
2020-09-25 12:33:14 -03:00
Alan Evans
20fe837022
Enable and disable group link options with first switch.
2020-09-25 12:32:48 -03:00
Greyson Parrelli
f182be2d79
Inline CDS feature flag.
2020-09-23 16:54:38 -04:00
Greyson Parrelli
a2c2ab428a
Fallback to profile fetches for unlisted contacts.
2020-09-23 16:54:38 -04:00
Alan Evans
1ee747f3ef
Always share profile as part of unblocking.
2020-09-03 20:23:26 -04:00
Alan Evans
1a3985d709
Add QR group link share.
2020-08-31 12:35:38 -03:00
Greyson Parrelli
4714895c59
Do not attempt to send to unregistered users when using CDS flag.
...
CDS is slow, and unregistered users will always trigger a CDS lookup on
send (since we can't get their UUID).
This starts skipping sends to unregistered users and shortens the time
window to do a full CDS lookup from every 12 hours to every 6 hours.
2020-08-31 11:33:57 -04:00
Alan Evans
2d2395accf
Hide block options if recipient is not blockable.
2020-08-28 10:13:23 -03:00
Alan Evans
01d7694108
Add reset confirmation dialog and copy to group link management screen.
2020-08-27 12:12:44 -03:00
Alex Hart
1425b651d4
Update username UX and UI.
2020-08-27 12:12:44 -03:00
Alan Evans
bfed03b7b5
Manage group links behind feature flag.
2020-08-26 17:25:54 -03:00
Alan Evans
09d167c16d
Group link preview and info display bottom sheet.
2020-08-19 16:32:01 -04:00
Cody Henthorne
ef6a5b6599
Fix bug causing call requests to not be handled properly.
2020-08-19 15:49:16 -04:00
Cody Henthorne
724f3e872b
Update Mention UI/UX to match latest designs.
2020-08-14 15:54:05 -04:00
Greyson Parrelli
5923fa0cd5
Block sends on CDS lookups.
2020-08-06 20:57:50 -04:00
Cody Henthorne
b2d4c5d14b
Add mentions for v2 group chats.
2020-08-06 20:57:50 -04:00
Christian Ascheberg
4271700046
Do not collapse list to hide only one entry.
2020-08-06 20:57:50 -04:00
Greyson Parrelli
2dcaa21a44
Remove UuidRecipientError.
2020-08-04 19:12:25 -04:00
Greyson Parrelli
33cc8363f9
Add internal setting to see recipient details.
2020-08-04 19:12:25 -04:00
Greyson Parrelli
8ed7fc894e
Improve handling of partially bi-directional text.
2020-07-29 23:19:21 -04:00
Greyson Parrelli
5c110ca359
Remove UUIDs from GV1 membership lists.
2020-07-29 23:19:21 -04:00
Cody Henthorne
1ab61beeb9
Add initial Mentions UI/UX for picker and compose edit.
2020-07-28 15:20:20 -04:00
Greyson Parrelli
870cee5707
Remove uuidOnlyContacts feature flag.
2020-07-21 15:31:53 -04:00
Alan Evans
96ce42ae91
Legacy group learn more badge and info bottom sheet.
2020-07-21 06:05:16 -03:00
Alan Evans
93f587b851
For atomic Groups V2 block and leave, block after leaving group.
2020-07-21 06:04:44 -03:00
Greyson Parrelli
89a940ec81
Fix issue with contact syncing with attachmentsV3.
2020-07-20 17:57:22 -04:00
Alan Evans
a33771b15d
Added progress feedback to leave and block group actions and additional group v2 error handling.
2020-07-20 15:20:56 -03:00
Alan Evans
a59e214317
Show Group V2 invited member dialog explaining invites on new group and add to group.
2020-07-19 09:32:16 -04:00
Greyson Parrelli
bd078fc883
Handle UUID-only recipients and merging.
2020-07-19 09:32:16 -04:00
Alan Evans
644af87782
Groups V2 invite decline.
2020-07-19 09:32:16 -04:00
Cody Henthorne
85d1a3c016
Add system contact indicator to recipient bottom sheet.
2020-07-17 17:32:07 -04:00
Greyson Parrelli
4c04991b70
Refresh recipient after viewing system contact details.
...
They might have changed the name or otherwise edited the contact, so we
want to try to keep things in sync.
2020-07-17 17:32:07 -04:00
Greyson Parrelli
d1b61bfed3
Add indicator for system contacts.
2020-07-14 10:37:09 -04:00
Alan Evans
137cd45497
Hide "Add to a group" if you don't have any groups.
2020-07-10 17:23:50 -04:00
Cody Henthorne
1e250ee95c
Add Calling Requests.
2020-07-08 16:51:30 -04:00
Greyson Parrelli
5a12eedc2c
Prevent possible deadlock with LiveRecipientCache.
...
Thread A: DirectoryHelper#updateContactsDatabase() acquires database lock
Thread B: LiveRecipientCache#getSelf() acquires lock on LiveRecipientCache
Thread A: DirectoryHelper#updateContactsDatabase() calls Recipient.externalContact(), which eventually needs LiveRecipientCache lock
Thread B: Needs to read the database (e.g. line 120) to get information about itself
So A has the DB lock but needs the LiveRecipientCache lock, and B has
the LiveRecipientCache lock but needs the DB lock.
In general, we need to avoid acquiring any new locks in a transaction,
but for now, this specific instance looks like it could be solved by
using a unique lock for LiveRecipientCache#getSelf().
2020-07-08 16:51:30 -04:00
Greyson Parrelli
5605fde777
Rename the UUID flag to be more explicit.
2020-07-08 16:51:30 -04:00
Cody Henthorne
1752972be9
Update delete for everyone functionality to match requirements.
2020-07-08 16:51:30 -04:00