Greyson Parrelli
524f3d6d08
Add support for sgnl:// proxy deep links.
2021-02-03 16:04:01 -05:00
Greyson Parrelli
857b945410
Fix storage sync issue related to duplicate remote contacts.
...
The theory is that if multiple remote keys map to the *same* local
entry, then when we go to update the local contact the second time, we
won't find the entry by StorageID, because we changed it during the
*first* update, which will then lead to a crash.
This change makes it so dupes are considered invalid, so we'll delete
them and upload our own local copy.
2021-02-01 18:06:33 -05:00
Greyson Parrelli
1d83729e6c
Move backoff calculation into jobs.
2021-01-28 18:44:04 -05:00
Alan Evans
e2d297eb8a
Skip native LibSignal tests on unsupported and non-unix OS.
2021-01-22 00:34:41 -04:00
Greyson Parrelli
8ca54bcc7b
Create a new manage profile screen.
2021-01-19 10:39:49 -05:00
Alex Hart
790f8426ac
Fix issue when single user leaves ParticipantCollection.
2021-01-14 06:53:18 -04:00
Alex Hart
0ccc7e3c06
Distinguish between primary and secondary devices in participants list.
2021-01-13 19:43:23 -05:00
Alex Hart
71be388989
Order grid by latest speakers and prevent any unnecessary shifts.
2021-01-13 19:43:23 -05:00
Alan Evans
dfd5b2c225
Ensure consistency and completeness of feature flag remote capable designation.
...
Make CustomVideoMuxer flag remote capable.
2021-01-07 16:07:04 -04:00
Greyson Parrelli
01152ead61
Move the JobDatabase to a separate physical database.
...
Also removes maxInstancesPerFactory from DB, which was only used during job submission and had no need to be persisted.
2021-01-06 17:03:21 -04:00
Alan Evans
64312f9c7f
Fix non-rendered previews when differ by trailing slash.
2021-01-06 17:03:20 -04:00
Greyson Parrelli
4b5f1d64e6
Switch the conversation list to our own paging library.
2021-01-06 17:03:20 -04:00
Greyson Parrelli
21956e400f
Use a new DatabaseObserver system.
2020-12-14 22:43:34 -05:00
Greyson Parrelli
c3d7b88cf6
Add support for setting max instances per job queue.
2020-12-07 17:30:05 -05:00
Cody Henthorne
bdc6c8c65a
Fix a few minor group call UI issues.
2020-12-07 10:05:35 -05:00
Cody Henthorne
2dcc7d284f
Update group membership for a group call when it changes.
2020-12-05 20:55:52 -05:00
Greyson Parrelli
8e93bf9075
Create a core-util module with some common utilities.
2020-12-05 13:44:13 -05:00
Alex Hart
112782ccaf
Add join/leave banner for group calls.
2020-12-05 13:44:13 -05:00
Greyson Parrelli
7868c3094b
Make FastJobStorage synchronous again.
2020-12-05 13:44:13 -05:00
Alan Evans
cce8cdc7bf
fixup! Clean up any invalid group V1 ids in database.
2020-11-30 12:32:01 -04:00
Alan Evans
6cbd68fe9f
Clean up any invalid group V1 ids in database.
2020-11-25 15:53:58 -04:00
Greyson Parrelli
5c3baca055
Add support for a donation megaphone.
2020-11-18 10:33:46 -05:00
Greyson Parrelli
51d47adf57
Fix issue where FeatureFlags were triggering listeners for non-changes.
2020-11-16 11:27:58 -05:00
Greyson Parrelli
554aa1ddf0
Trim message bodies at display time.
2020-11-12 12:18:20 -05:00
Greyson Parrelli
cd58c09be3
Proper handling of GV1->GV2 migrations in storage service.
2020-11-11 15:29:01 -05:00
Cody Henthorne
c3b5323010
Update assets and themes to leverage DayNight system.
2020-11-11 15:29:01 -05:00
Alan Evans
5bc4686eb8
Ignore some more ZKGroup dependent tests on mac.
2020-10-22 16:56:16 -04:00
Greyson Parrelli
9c97cd8816
Improve conversation update message stylings.
2020-10-22 16:56:16 -04:00
Greyson Parrelli
3357475fc4
Move capabilities into a single column.
2020-10-22 15:55:18 -03:00
Alex Hart
ee3d7a9a35
Implement new workflow for scoped storage backup selection.
2020-10-15 16:19:17 -04:00
Greyson Parrelli
84ec6dd458
Improve network reliability during resumable uploads.
2020-10-15 16:19:17 -04:00
Alan Evans
babe1833bb
Derive GV2 master key and group id from GV1.
2020-10-15 16:19:17 -04:00
Alan Evans
284f221a9d
Handle no actual change to group.
2020-10-12 15:11:57 -03:00
Greyson Parrelli
63746bbb47
Add support for syncing forced unread status.
2020-10-07 17:22:05 -04:00
Alan Evans
adf1674877
Support sgnl://signal.group links.
2020-10-07 17:22:05 -04:00
Greyson Parrelli
ab2235fc88
Prefer remote value for profile sharing for groups during storage sync.
2020-10-07 17:22:05 -04:00
Alan Evans
38fa58c0a3
Write previous group state to the database for advanced change messages.
2020-10-06 11:21:56 -03:00
Greyson Parrelli
864a1d5e93
Prefer remote value for profile sharing during storage sync.
2020-09-24 12:41:31 -04:00
Alan Evans
a05f74d302
Do not set color before profile name is known.
2020-09-23 16:54:38 -04:00
Greyson Parrelli
97b7b4a501
Fix crash when receiving SMS before finishing registration.
...
If someone has set Signal as the default SMS but has cleared data or
otherwise reset the app's storage state, it can get into a weird
situation. Notably, it'll crash because SmsReceiveJob.onRun() expects
Recipient.self() to be available.
However, it also makes it impossible to get the registration SMS,
because the app won't post a notification for the code.
This change will post notifications and SmsRetriever broadcasts for
relevant SMS messages.
2020-09-23 16:54:38 -04:00
Cody Henthorne
ca442970a3
Add Research Megaphone.
2020-09-23 16:54:38 -04:00
Greyson Parrelli
d0dfcaaad5
Fix issue with storage key intersections.
...
- When doing the intersection, ignore keys that have type mismatches (same storageId, different types)
- If we detect that scenario, schedule a force push to happen afterwards
- Also schedule a force push afterwards if we detect that there's keys in the manifest that don't have any storage item on the service
2020-09-10 14:01:41 -04:00
Alan Evans
3cffaddc0a
Validate incoming Group lengths and remote delete entries if wrong.
...
Ignore incoming messages with bad V1 group lengths.
2020-09-10 14:39:29 -03:00
Greyson Parrelli
2784285d47
Add support for fetching remote deprecation.
2020-09-08 18:03:56 -04:00
Alan Evans
c797b09228
Set profile sharing based on who added you to the group.
2020-09-08 09:47:57 -04:00
Alan Evans
abd3d4b546
Group link copy changes.
2020-09-03 20:23:26 -04:00
Greyson Parrelli
4fefd14538
Add unit test to prevent shipping forced feature flags.
2020-08-27 11:14:20 -04:00
Greyson Parrelli
b1befbeefc
Add additional LinkPreviewUtil unit tests.
...
Also updated the date format -- funnily enough Android will work with
either Z or X in the format, but the test JVM will fail if it doesn't
use X. X is definitely the correct thing to use based on the Javadoc, I
think Android's implementation is just a little more lenient.
2020-08-27 09:32:33 -04:00
Panagiotis Vasilopoulos
3a9a84a0b1
Do not attempt to create link previews for .i2p links
2020-08-27 10:01:50 -03:00
Alan Evans
860f06ec9e
Join group via invite link.
2020-08-26 12:51:25 -03:00