Commit Graph

127 Commits

Author SHA1 Message Date
Fedor Indutny 59da9c7ae5
Stop using deprecated PniCredential 2022-09-21 09:18:48 -07:00
Jamie Kyle eb10aafd7c
tsc:allowUnreachableCode, eslint:no-unreachable, assert->assertDev 2022-09-15 13:17:15 -06:00
Scott Nonnenberg 6dd6a64d6c
ErrorBoundary improvements, StickerCreator logging/resiliency 2022-08-19 11:35:40 -07:00
Scott Nonnenberg faf6c41332
Early preparations for PNP Contact Merging 2022-08-09 14:39:00 -07:00
Fedor Indutny a4cf2e0948
Always refetch profile key credential if expired 2022-07-18 13:05:41 -07:00
Scott Nonnenberg bfc56dd175
Introduce new Profile Fetch service, with centralized queueing 2022-07-13 17:46:46 -07:00
Fedor Indutny 07cc399550
Lazily fetch profiles when modifying groups 2022-07-11 11:50:14 -07:00
Fedor Indutny a450e13a99
Fetch PNI group credentials 2022-07-08 13:46:25 -07:00
Fedor Indutny 35e5eb847a
Better logging for expiration timer updates 2022-06-20 15:43:16 -07:00
dependabot[bot] 9ac917849e
Upgrade sharp to v0.30.5 2022-06-17 15:33:46 -07:00
Scott Nonnenberg 924c271b13
Convert js/modules/types/message to Typescript 2022-06-09 18:10:20 -07:00
Scott Nonnenberg fcd0a186e0
If group avatar is the same, but URL changed, capture that new URL 2022-05-31 09:27:03 -07:00
Scott Nonnenberg dfd1190e8b
Groups: Show in left pane more often, proper join message 2022-05-16 07:53:54 -07:00
Scott Nonnenberg 105508c50f
Update unread count when creating important local notifications 2022-05-11 19:45:20 -07:00
Fedor Indutny 6856e246e2
Don't update our own profile key from group state 2022-04-14 15:26:47 -07:00
Fedor Indutny f77175f6b3
Fix spurious assert in groups.ts 2022-04-11 14:31:38 -07:00
Fedor Indutny e4b5b75988
GroupV2: Don't apply last state from the logs if skipped 2022-03-31 11:22:40 -07:00
Fedor Indutny 03173a31da
Don't await profile fetches without changes 2022-03-28 16:05:47 -07:00
Jordan Rose 5a107e1bc3
Update for @signalapp/libsignal-client rename 2022-03-24 14:47:21 -07:00
Fedor Indutny 0f5a01f2b2
Fetch full group state if last epoch is stale 2022-03-24 10:06:39 -07:00
Fedor Indutny c5a3ffddf9
Limit number of GV2 banned members 2022-03-23 15:34:51 -07:00
Fedor Indutny 2eaacac151
Use --force-long with pbjs 2022-03-23 13:49:27 -07:00
Fedor Indutny 926a04d045
getProfile errors shouldn't stop group update 2022-03-22 12:00:31 -07:00
Fedor Indutny e0bccf6a79
Make final state assert more specific 2022-03-18 09:38:17 -07:00
Fedor Indutny 64219f52ac
Request last group state when fetching delta 2022-03-16 17:45:38 -07:00
Scott Nonnenberg 703bb8a3a3
Introduce new 'Block request' button in timeline 2022-03-15 17:11:28 -07:00
Scott Nonnenberg f217730b84
Support for people banned from joining groups via link 2022-03-14 18:32:07 -07:00
Fedor Indutny feef67da5a
Add extra notary signature checks to zkgroup 2022-03-08 13:07:52 -08:00
Evan Hahn effe5aae6f
Assume everyone is GV2-capable 2022-03-04 13:48:44 -06:00
Scott Nonnenberg 0a52318be6
Delete for everyone: Track sends and show failure states 2022-03-04 11:22:31 -08:00
Scott Nonnenberg 1656b61a82
Group Migration: Don't bump to top of list if we're not in group 2022-03-01 16:13:17 -08:00
Scott Nonnenberg dbed3cbd2b
Migrate and add migration/removed events if GV2 migration removed us 2022-02-28 14:32:50 -08:00
Scott Nonnenberg fcb96bf92a
Simplify OutgoingIdentityKeyError, use it in getKeysForIdentifier 2022-02-25 15:39:24 -08:00
Fedor Indutny ebd1ca5895
Always use profile keys from group state 2022-02-24 12:00:30 -08:00
Scott Nonnenberg 3673b6d101
updateGroup: Update group attributes last, after notifications are added 2022-02-23 10:36:44 -08:00
Scott Nonnenberg b33b5d2a30
profileKey: Check length of incoming values, clear on failed send/fetch 2022-02-22 14:34:57 -06:00
Scott Nonnenberg 30783c887c
Introduce new conversationJobQueue 2022-02-16 10:36:21 -08:00
Fedor Indutny bd9483ddee
Fetch profiles for pending members 2022-02-09 10:34:24 -08:00
Fedor Indutny 6de2710841
Use new server params for group log fetch 2022-02-04 13:42:20 -08:00
Fedor Indutny abcfa3cc35
Do not reset active_at after group fetch 2022-02-04 13:23:30 -08:00
Fedor Indutny 53a27d022f
Create contacts during processing of group updates 2022-01-27 13:46:31 -08:00
Fedor Indutny 437ef2d3a7
Fetch joinedAtVersion before change log fetch for new groups 2022-01-26 16:02:23 -08:00
Fedor Indutny 9f0ea1cbf7
Use message.groupV2.revision during first fetch 2022-01-21 14:34:32 -08:00
Scott Nonnenberg 60a53656af
Optimize a few queries 2021-12-20 22:04:02 +01:00
Scott Nonnenberg 161b0e5379
Refactor sender key sends to allow distribution lists 2021-12-09 18:15:59 -08:00
Evan Hahn 5619eeca83
Upgrade Prettier to 2.4.1 2021-11-11 16:43:05 -06:00
Jordan Rose 983713003d
Update to libsignal-client v0.10.1 with zkgroup included 2021-11-11 16:24:28 +01:00
Fedor Indutny 63fcdbe787
Use UUIDs in group database schema 2021-10-26 15:59:08 -07:00
Evan Hahn 74fde10ff5
Prefer `import type` when importing types 2021-10-26 14:15:33 -05:00
Scott Nonnenberg fe49edce8a
updateGroup: Use hasMember instead of 'left' attribute for membership 2021-10-20 16:32:38 -05:00