Commit Graph

2816 Commits

Author SHA1 Message Date
Jon Chambers
4fd06594a0 Configure fast-regenerating rate limiters to fail open 2025-05-02 10:30:29 -04:00
Jon Chambers
4e175be88f Allow the "inbound message bytes" limiter to fail open 2025-05-02 10:30:29 -04:00
Jon Chambers
771a700acd Configure fail-open policy on individual rate limiters 2025-05-02 10:30:29 -04:00
Jon Chambers
e9bd5da2c3 Allow fail-open behavior for a wider range of exceptions 2025-05-02 10:30:29 -04:00
Jon Chambers
f64244f33a Remove an unused TURN rate limiter 2025-05-02 10:30:29 -04:00
ravi-signal
0398e02690 Add NoiseDirect framing protocol 2025-04-30 15:05:05 -05:00
Jon Chambers
26b3b75054 Only fetch last-resort PQ keys for accounts with linked devices 2025-04-28 16:59:08 -04:00
Jon Chambers
cdb651b68f Add commands for removing devices without PQ keys 2025-04-28 15:45:27 -04:00
Jonathan Klabunde Tomer
21c1d71551 take advantage of list non-nullitude 2025-04-25 10:06:42 -05:00
Jonathan Klabunde Tomer
38befdb260 default lists to empty 2025-04-25 10:06:42 -05:00
Jonathan Klabunde Tomer
63c79173b2 limit prekey uploads to 100 2025-04-25 10:06:42 -05:00
Ameya Lokare
d2ad003891 Remove free memory and OS memory gauges 2025-04-25 10:05:29 -05:00
Chris Eager
eb89773819 Remove unused parameter 2025-04-25 10:05:18 -05:00
Jon Chambers
f62f79c95c Add a counter for cases where clients use both an authenticated identity and UAK when fetching profiles 2025-04-24 11:47:43 -04:00
Jon Chambers
144c4c9223 Add a "sync" dimension to the "sent message" counter 2025-04-24 10:33:39 -05:00
Ravi Khadiwala
ab4fc4f459 Add skip low urgency push experiment 2025-04-24 10:32:46 -05:00
Jonathan Klabunde Tomer
51569ce0a5 Use cached partition topology for metrics/logs 2025-04-24 08:29:58 -07:00
Jon Chambers
f191c68efc Close remote connections only after all active server calls have completed 2025-04-22 17:00:48 -04:00
Jon Chambers
bb8ce6d981 Introduce ClosableEpoch 2025-04-22 17:00:48 -04:00
Katherine
e0ee75e0d0 Fix Daylight Savings bug in recommended notification time calculation 2025-04-22 16:56:10 -04:00
Jon Chambers
1ef3a230a1 Tag queue size distribution with client platform 2025-04-22 16:55:16 -04:00
Jon Chambers
b1805d4bf1 Add a "persisted bytes" counter 2025-04-22 16:55:16 -04:00
Jon Chambers
cac979c7fd Count individual persisted messages 2025-04-22 16:55:16 -04:00
Jon Chambers
4072dcdda5 Introduce DevicePlatformUtil 2025-04-22 16:55:16 -04:00
Jonathan Klabunde Tomer
ed382fff6d log slot number and shard host of message persister failures 2025-04-22 16:55:16 -04:00
Jon Chambers
8099d6465c Clarify guarantees around remote channnel/request attribute presence 2025-04-18 15:44:21 -04:00
Jon Chambers
28a0b9e84e Include a TURN credential TTL for clients in GetCallingRelaysResponse 2025-04-17 10:30:58 -04:00
Chris Eager
9287aaf7ce Add app info to Stripe API calls 2025-04-17 09:30:34 -05:00
Chris Eager
7cac6f6f72 Remove extraneous account fetch in POST /v1/donation/redeem-receipt 2025-04-17 09:28:57 -05:00
Jon Chambers
57be4d798b Add a counter for attempts to send empty message lists 2025-04-17 10:27:46 -04:00
Jon Chambers
05c74f1997 Simplify UserAgentUtil 2025-04-17 10:27:24 -04:00
Jon Chambers
f5e49b6db7 Convert UserAgent to a record 2025-04-15 14:58:09 -04:00
Jon Chambers
3c40e72d27 Fix registration ID map construction when changing numbers 2025-04-15 14:57:28 -04:00
Ravi Khadiwala
2f2ae7cec5 simplify story tag calculation 2025-04-11 14:04:09 -05:00
Chris Eager
b236b53dc3 set profile: move updated badge calculation into account updater lambda 2025-04-11 14:03:05 -05:00
Katherine
eb71e30046 Update to protobuf 4.x 2025-04-10 13:05:23 -04: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
d6bc2765b6 Close gRPC channels from a copied list to avoid concurrent modification issues 2025-04-09 21:54:18 -04:00
Jon Chambers
01258de560 Throw a MismatchedDevicesException for empty message lists to support iOS clients 2025-04-09 21:53:58 -04:00
Jon Chambers
3af2cc5c70 Add tests for spam-reporting token presence 2025-04-09 14:24:34 -04:00
Jon Chambers
2278842531 Add gRPC endpoints for sending messages from identified/authenticated senders 2025-04-09 14:24:34 -04:00
Jon Chambers
1fb6d23500 Allow range validators to accept 64-bit min/max values 2025-04-09 14:24:20 -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
caa81b4885 Implement story sending via gRPC 2025-04-08 17:30:33 -04:00
Jon Chambers
37c4a0451a Simplify returning spam responses from gRPC 2025-04-08 17:30:33 -04:00
Jon Chambers
11df8fcc6c Add gRPC endpoints for sending unauthenticated (i.e. sealed-sender) messages 2025-04-08 17:30:33 -04:00
Jon Chambers
5a7f4d8381 Make the utility method for checking group send credentials blocking 2025-04-08 17:30:33 -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
Chris Eager
37038c4a63 Keep a strong reference to expiration in Gauge 2025-04-07 13:10:41 -05:00