Commit Graph

958 Commits

Author SHA1 Message Date
Jon Chambers
4072dcdda5 Introduce DevicePlatformUtil 2025-04-22 16:55:16 -04:00
Jon Chambers
28a0b9e84e Include a TURN credential TTL for clients in GetCallingRelaysResponse 2025-04-17 10:30:58 -04:00
Chris Eager
7cac6f6f72 Remove extraneous account fetch in POST /v1/donation/redeem-receipt 2025-04-17 09:28:57 -05:00
Jon Chambers
f5e49b6db7 Convert UserAgent to a record 2025-04-15 14:58:09 -04:00
Chris Eager
b236b53dc3 set profile: move updated badge calculation into account updater lambda 2025-04-11 14:03:05 -05:00
Jon Chambers
aa5fd52302 Explicitly pass sync message sender device ID as an argument to sendMessage 2025-04-10 11:40:32 -04:00
Jon Chambers
8d8a2a5583 Extract common message-sending methods into a shared utility class 2025-04-08 17:39:45 -04:00
Jon Chambers
02a5a6b55f Subdivide MessageController's message-sending methods into message-type-specific methods 2025-04-08 10:22:07 -04:00
Jon Chambers
099073356c Make destination service identifiers for spam checks non-optional 2025-04-07 11:12:07 -07:00
Jon Chambers
ffa98e5b34 Reduce and centralize message-sending metrics 2025-04-07 11:08:53 -04:00
Jon Chambers
c03d63acb8 Centralize message size validation in actual message-sending methods 2025-04-07 11:01:01 -04:00
Jon Chambers
c6689ca07a Internalize destination device list/registration ID checks in MessageSender 2025-04-07 09:15:39 -04:00
Jon Chambers
7ea0885474 Accommodate gRPC in the SpamChecker interface 2025-04-02 13:16:55 -04:00
Ravi Khadiwala
2b07a21477 Add some additional backup metrics 2025-04-02 08:48:18 -04:00
Ravi Khadiwala
df188e6f15 Document behavior for deletes of non-existing objects 2025-03-26 16:26:18 -05:00
Jonathan Klabunde Tomer
1a46ac122a add some tags to ProfileController.versionNotFound 2025-03-24 14:57:29 -07:00
Jon Chambers
df56c65b54 Validate device message sizes when distributing PNI keys 2025-03-24 10:58:38 -04:00
Jon Chambers
1346fcb59e Require that incoming messages have content 2025-03-24 10:58:38 -04:00
Jon Chambers
50f681ffe8 Centralize message length validation 2025-03-24 10:58:38 -04:00
Jon Chambers
faef614d80 Parse message content as a byte array in request entities 2025-03-24 10:58:38 -04:00
Jon Chambers
a643a6c0f0 Always record inbound message byte rate limit events 2025-03-20 10:44:10 -05:00
Chris Eager
59d984e25d Add pqKeyAvailable tag to GetKeys metric 2025-03-04 08:02:05 -05:00
Adel Lahlou
886984861f remove performance based turn routing from CallRoutingControllerV2 2025-03-04 08:01:18 -05:00
ravi-signal
8d0d0d61f1 Add reregistration flag to account creation response 2025-02-21 14:13:04 -06:00
Ravi Khadiwala
ec79386306 Only accept backup receipt redemption when account has a backup credential request 2025-02-21 14:06:51 -06:00
Ravi Khadiwala
47c82b42d9 Check push tokens for primary device platform tags 2025-02-18 10:49:49 -06:00
Ravi Khadiwala
e1a3b48c6e Only set X-Signal-Agent if present 2025-02-18 10:49:26 -06:00
Ravi Khadiwala
2356d7c629 Add primary platform tag to transfer archive metrics 2025-02-13 10:25:41 -06:00
Jon Chambers
6032764052 Validate parsed message size, not base64-encoded message size 2025-02-10 14:13:24 -08:00
Jonathan Klabunde Tomer
908a41814b correct some theoretical bugs in unresolved service ID collection 2025-02-10 14:13:11 -08:00
Jon Chambers
3ae145bd60 Add isStory and isSyncMessage dimensions to message size metrics 2025-02-10 09:08:40 -08:00
Jonathan Klabunde Tomer
b086a73353 Return 200 and unregistered recipient list for multi-recipient send with GSEs 2025-02-10 09:08:21 -08:00
Adel Lahlou
09ce79bd43 Remove /v1/calling/relays API endpoint 2025-02-07 13:41:59 -06:00
Jon Chambers
70ce6eff9e Include ephemeral flag in individual messages 2025-01-31 12:57:54 -05:00
Jon Chambers
48ada8e8ca Clarify roles/responsibilities of components in the message-handling pathway 2025-01-31 10:24:50 -05:00
Ravi Khadiwala
282bcf6f34 Add persistent timer utility backed by redis 2025-01-29 11:32:13 -06:00
Ravi Khadiwala
1446d1acf8 Fix blocking call in waitForLinkedDevice 2025-01-29 11:32:13 -06:00
Ravi Khadiwala
aae94ffae3 Add a timer to waitForTransferArchive 2025-01-29 11:32:13 -06:00
adel-signal
7e616a4056 Update calling routing to return urls only, no instance IPs 2025-01-24 13:46:32 -05:00
Chris Eager
47550d48e7 Add collation key to registration service session creation rpc call 2025-01-22 17:43:53 -06:00
Katherine
2f51778421 Use camel casing for entry position field on key transparency monitor requests 2025-01-14 09:45:08 -05:00
Katherine Yen
d3d68c2a60 Enforce one entry position per identifier in monitor request 2025-01-10 10:06:31 -05:00
Ravi Khadiwala
1cae841ed6 Remove deprecated /v1/accounts/turn 2025-01-10 10:04:25 -05:00
Chris Eager
3a4a55c245 Reject old-format Benin numbers, which are now undeliverable 2025-01-07 12:16:44 -06:00
Jonathan Klabunde Tomer
f4a243861c count messages between 8KiB and 256KiB 2025-01-03 10:18:55 -05:00
Jon Chambers
8af939d320 Validate message timestamps 2025-01-03 10:18:24 -05:00
Chris Eager
24ea10c451 Add documentation annotations to /v1/config 2025-01-02 17:07:38 -06:00
Chris Eager
95abda4870 Remove Response wrapper from /v2/directory/auth 2025-01-02 17:07:26 -06:00
Chris Eager
c8993c4da8 Add documentation for /v2/directory/auth 2025-01-02 13:12:38 -06:00
Chris Eager
d096798340 Add documentation to /v1/storage/auth 2025-01-02 13:12:38 -06:00