Commit Graph

238 Commits

Author SHA1 Message Date
adel-signal
ebe117754b
Update to v73.0.0
Some checks failed
Security audit / audit (push) Has been cancelled
2024-01-25 12:50:40 -08:00
Richard Russo
18d4c107c4
Added metrics for delay between scheduled and actual dequeue. 2024-01-24 13:33:18 -08:00
adel-signal
c57e7dcaa7 Fix backend deletes serialization, docker bootstrap, add more info to error messages 2024-01-23 15:24:31 -08:00
Richard Russo
ffe499284d
Update h2 2024-01-22 15:01:40 -08:00
Adel Lahlou
744340a77d Fix formatting issues. 2024-01-22 10:50:41 -08:00
Adel Lahlou
31b5706c2c Added logs for backend initiated delete 2024-01-18 18:02:44 -08:00
adel-signal
0b25b14917
Add backend initiated delete of call records. 2024-01-16 09:58:28 -08:00
Adel Lahlou
6d8495c59f Add storage.update_call_link test. 2024-01-11 14:27:49 -08:00
adel-signal
95d7956469
Update call links to delete Dynamo record some time after expiration. 2024-01-11 14:04:23 -08:00
Jim Gustafson
7af1f49837
Change the cleaner to work concurrently 2023-12-19 14:55:32 -08:00
Jim Gustafson
84e9f0d699
Switch to proper ngrok for testing 2023-12-18 17:51:46 -08:00
Richard Russo
6a1a9ab2fe Bump version for deployment 72
Some checks failed
Security audit / audit (push) Has been cancelled
2023-12-15 09:12:07 -08:00
Richard Russo
944022a1a0 backend: Use random demux_ids for testing http_server
Allow for the same user to join from different clients.
2023-12-13 10:12:43 -08:00
Jim Gustafson
c2b8425ee2 Update to Rust 1.74.1 2023-12-13 09:01:45 -08:00
Rashad Sookram
df746f3a21
Update dependencies 2023-12-11 12:31:58 -05:00
Jim Gustafson
afc931a214
Update aws crate to 1.0 2023-12-06 14:29:45 -08:00
Jim Gustafson
892b42c8b3 Update to Rust 1.74.0 2023-12-06 13:54:09 -08:00
adel-signal
bdf905d1f9 Add remove_batch_call_records to frontend storage.
Batch deletes to improve cleaner and backend initiated deletes.
2023-11-30 01:06:26 -08:00
adel-signal
74558e5302 Enable all storage tests by starting Dynamodb local.
Hide behind Rust feature `storage-tests`.
2023-11-30 01:06:19 -08:00
Rashad Sookram
57a019eaca
Update clap to 4.4.6 2023-10-19 13:10:51 -04:00
Rashad Sookram
2e1ce5d14d
Update rustix to 0.38.19 2023-10-19 12:13:24 -04:00
Rashad Sookram
1ba40b0944
Bump version for deployment 69
Some checks failed
Security audit / audit (push) Has been cancelled
2023-10-17 16:12:39 -04:00
Rashad Sookram
f6f1c267d6
Update aes-gcm to 0.10.3 2023-10-17 15:21:10 -04:00
Iñaqui
f2399950d0
Bump version for deployment 68
Some checks failed
Security audit / audit (push) Has been cancelled
2023-10-12 15:26:13 -05:00
Iñaqui
55ce2eb536
Raise Hand 2023-10-12 15:03:07 -05:00
Jim Gustafson
8bf12cc6c4
Fix storage settings for local testing 2023-10-04 10:03:25 -07:00
Jim Gustafson
0df168d816
Update to Rust 1.72.1 2023-10-02 09:39:13 -07:00
Richard Russo
8a575ca33a Only run the workflow if repository variables are set 2023-09-26 14:53:51 -07:00
Richard Russo
782599b42a Fix tag pattern for automatic builds 2023-09-19 11:39:32 -07:00
Richard Russo
e635e473fa Rebump version for deployment 67
Some checks failed
Security audit / audit (push) Has been cancelled
2023-09-18 12:55:32 -07:00
Richard Russo
d0b5f5408d Update deps 2023-09-18 12:53:24 -07:00
Richard Russo
563de45b7b Bump version for deployment 67 2023-09-18 11:49:35 -07:00
Richard Russo
f8446aa2ba adjust audit start time
This should send me the notifications
2023-09-18 10:49:34 -07:00
Richard Russo
ae51663767
add workflow to build and push docker containers 2023-09-14 16:56:11 -07:00
Richard Russo
949e6a1e84
Reduce number of call time buckets 2023-09-05 10:35:36 -07:00
Richard Russo
ba3f8f7e9c
Improvement to packet queueing
Add retransmissions to the pacer queues, with a separate, prioritized queue.
Add a packet deadline: packets that are queued for longer than 1 second, will be dropped rather than sent. Packets without a deadline can't be queued or re-transmitted; this prevents padding from being retransmitted.
Add data rates by content type to the periodic statistic logging.
2023-08-31 13:14:38 -07:00
Iñaqui
48ef628dc9
Update more deps 2023-08-28 15:15:44 -05:00
Iñaqui
6fc81940e5
Update deps 2023-08-24 10:29:43 -05:00
Jordan Rose
155c74f481 Bump version for deployment 66
Some checks failed
Security audit / audit (push) Has been cancelled
2023-08-16 16:17:29 -07:00
Richard Russo
fad35c24d0
Persistance of approved users
Adds a new field to CallLinkState for previously approved users.
Updates the frontend to pass this field to the backend on call creation.
Updates the backend to report newly approved users to the frontend, to update the database.
Calls will not be cleaned up until this reporting succeeds (or fails after multiple tries).

Adds some new testing features:
- The backend can be started with `--persist-approval-for-all-users-who-join`.
  Normally approval is only recorded when an admin explicitly approves a pending user.
- On the frontend, DELETE /v1/call-link/approvals will reset the approval list for a room.
  This is only available in debug builds, or with the `testing` feature enabled.

Co-authored-by: Jordan Rose <jrose@signal.org>
2023-08-16 15:45:56 -07:00
Jordan Rose
85b2fe4507 backend: LoggableCallId looks better with Display rather than Debug 2023-08-14 16:17:19 -07:00
Jordan Rose
e65ec359e5 Move DemuxId into calling_common 2023-08-14 12:30:37 -07:00
Jordan Rose
7679a14f6c Eliminate legacy endpoint ID parsing
This was only being used in tests, so there should be no effect on
actual calls. This concludes the removal of endpoint IDs from the
calling server.
2023-08-09 11:23:12 -07:00
Jordan Rose
de073e6bcc frontend: Remove more path-based call link APIs
Follow-up to c62c654.
2023-08-07 14:55:19 -07:00
Jordan Rose
8a49392035 frontend: Add ignored-by-default storage tests using a local DynamoDB
Thus far we have been unable to unit-test our DynamoDB logic because
it requires an actual DynamoDB server...so okay, let's expect there to
be an actual DynamoDB server.
2023-08-07 11:02:50 -07:00
Jordan Rose
d22fc0e20b frontend: name some constants used when talking to DynamoDB 2023-08-07 11:02:50 -07:00
Jordan Rose
50486a2790 frontend: Simplify UpsertableItem by omitting primary keys from serde
For CallRecord this means marking `room_id` as `skip_serializing`, but
for CallLinkState the room ID is always passed separately anyway, so
we can omit it from the struct altogether.

Any caller already has it; it's used to query for the state. Doing
this makes UpsertableItem simpler; we can just assume the item in
question does not contain any primary keys.
2023-08-07 11:02:50 -07:00
Jordan Rose
c12dd1e1fb Disallow updating call link restrictions during an active call
Without notifying the backend, this leads to confusing behavior.
2023-08-04 12:16:02 -07:00
Jordan Rose
2dfa1a347b Bump version for deployment 65
Some checks failed
Security audit / audit (push) Has been cancelled
2023-08-01 15:36:49 -07:00
Jordan Rose
6f63316a12 frontend: Add missing camelCase rename for communication with backend 2023-08-01 15:32:29 -07:00