Antonio Scandurra
e49debafd4
Ensure proto::UpdateWorktree::removed_entries doesn't exceed chunk size
...
This was causing the database to panic because we were trying to remove too
many entries at once.
2023-01-26 17:26:31 +01:00
Antonio Scandurra
9bccb5bfdf
Bump protocol version
2023-01-17 16:32:54 +01:00
Max Brunsfeld
5ed7caa711
Bump protocol version after reconnect support
2023-01-11 14:00:16 -08:00
Nathan Sobo
94bc34e332
Merge remote-tracking branch 'origin/main' into project-reconnection
2023-01-06 16:52:22 -07:00
Joseph Lyons
d9a7e1fed6
Appease clippy
2023-01-01 23:50:45 -05:00
Antonio Scandurra
7fc0cd4c8b
Respond with an error when client hasn't got a registered handle
2022-12-23 11:53:13 +01:00
Antonio Scandurra
55c5989abc
Synchronize buffers when either the host or a guest reconnects
2022-12-21 14:20:56 +01:00
Max Brunsfeld
8f2c51abec
Merge branch 'main' into project-reconnection
2022-12-20 15:50:09 -08:00
Antonio Scandurra
75346960db
Sketch out project reconnection routine on the server
2022-12-20 12:03:43 +01:00
Max Brunsfeld and Nathan Sobo
c9fa0ff03f
Start work on rejoining rooms, supplying all project info at once
...
Co-authored-by: Nathan Sobo <nathan@zed.dev >
2022-12-19 17:50:43 -08:00
Max Brunsfeld
5dbb5b5a25
Replicate pending selections separately from other selections
...
This fixes a panic that would occur when a leader created
a pending selection that overlapped another selection,
because the follower would attempt to treat that pending
selection as non-pending, which would violate the invariant
that selections are sorted and disjoint.
2022-12-17 14:00:53 -08:00
Antonio Scandurra
e113a04990
Bump protocol version
2022-12-16 11:48:14 +01:00
Antonio Scandurra
d9bedda67f
Remove unnecessary PeerId parsing code
2022-12-16 11:45:42 +01:00
Antonio Scandurra
e65429a22b
💄
2022-12-15 16:34:59 +01:00
Antonio Scandurra
b4a4b40623
Use "id" nomenclature more consistently
2022-12-15 10:15:59 +01:00
Antonio Scandurra
d661abda72
WIP
2022-12-14 18:02:39 +01:00
Antonio Scandurra
f7070792a9
Introduce an epoch to ConnectionId and PeerId
2022-12-14 15:55:56 +01:00
Antonio Scandurra
eb27691bc1
Include room_id in CallCanceled message
...
This ensures we don't accidentally cancel old calls.
2022-12-13 11:43:09 +01:00
Antonio Scandurra
55447288ed
Send diagnostic summaries synchronously
2022-12-05 19:07:06 +01:00
Antonio Scandurra
915b7280d4
Revert "Wait for previous UpdateFollowers message ack before sending new ones"
...
This reverts commit ceb40613bc .
2022-11-17 16:57:32 +01:00
Antonio Scandurra
ceb40613bc
Wait for previous UpdateFollowers message ack before sending new ones
2022-11-17 14:12:00 +01:00
Nathan Sobo
42c0288c9f
Move leave_project from Store to db module
2022-11-16 17:45:47 -07:00
Antonio Scandurra
d054ca68e9
Wait for acknowledgment before sending the next diagnostic summary
2022-11-16 16:03:01 +01:00
Antonio Scandurra
2de5763d4d
Finish implementing Db::update_project
2022-11-15 09:01:51 +01:00
Antonio Scandurra
05b8ba4fd0
Wait for acknowledgment before sending the next project update
2022-11-14 15:32:49 +01:00
Antonio Scandurra
01127d8733
Start moving Store state into the database
2022-11-11 12:06:43 +01:00
Antonio Scandurra and Nathan Sobo
019cc9959b
Bump protocol version
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2022-10-24 17:06:40 +02:00
Antonio Scandurra and Nathan Sobo
05d7ed8c59
Tell clients their peer id on connection in Hello message
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2022-10-18 18:42:55 +02:00
Mikayla Maki
c59df65e85
Merge branch 'main' into breadcrumbs
2022-10-17 16:51:38 -07:00
K Simmons
489f2b1555
increment protocol version
2022-10-17 16:20:51 -07:00
Mikayla Maki
38ea470734
Added absolute path info to remote worktrees (updated protocol version)
2022-10-17 15:27:46 -07:00
Antonio Scandurra
f7de77de3c
Remove unnecessary async from Peer::add_connection
2022-10-12 15:32:39 +02:00
Antonio Scandurra
794bea8dbd
Merge remote-tracking branch 'origin/main' into room
2022-10-10 15:43:38 +02:00
Antonio Scandurra and Nathan Sobo
cf72bc4a14
WIP: Render active call in contacts popover
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2022-10-07 17:01:48 +02:00
Antonio Scandurra
d0fb6b3376
Fix room disconnection problems when creating room and sharing project
2022-10-07 14:39:11 +02:00
Antonio Scandurra
bf30092c63
Implement call cancellation
2022-10-06 15:12:27 +02:00
Antonio Scandurra
396fc03fff
Implement Room::set_location
2022-10-04 11:46:01 +02:00
Julia and Mikayla Maki
0615592f81
Rename head text to indicate that it's not always going to be from head
...
Co-Authored-By: Mikayla Maki <mikayla@zed.dev >
2022-10-03 15:11:06 -04:00
Mikayla Maki
a64bc92bb5
add proto stuff
2022-10-02 18:01:37 -07:00
Julia
3ae3b2a83c
Increment protocol version again for previous commit
2022-10-02 14:11:35 -04:00
Mikayla Maki
bf215cf3c8
Added proto messages for updating the head text
2022-10-01 18:18:35 -07:00
Antonio Scandurra
9d6f15cb60
Rip out project registration and use sharing/unsharing instead
2022-09-30 12:23:57 +02:00
Antonio Scandurra
0b6390b1a2
Remove project join requests
2022-09-30 11:35:50 +02:00
Julia
883465c016
Bump protocol version to be ahead of main
2022-09-29 13:16:02 -04:00
Antonio Scandurra
d45d67a20b
Leave room when Room entity is dropped
2022-09-28 11:33:38 +02:00
Antonio Scandurra
ee8e200dd9
Implement joining a room and sending updates after people join/leave
2022-09-28 11:33:38 +02:00
Antonio Scandurra and Nathan Sobo
6e53365ff0
Introduce call infrastructure
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2022-09-28 11:33:38 +02:00
Antonio Scandurra
1579040207
Introduce the ability of creating rooms on the server
2022-09-28 11:33:38 +02:00
Julia
018a737961
Add editor action to manually invoke buffer format
2022-09-22 18:21:05 -04:00
Antonio Scandurra
9aa646cc86
Simplify proto::Buffer to express its fields in terms of operations
2022-08-23 12:40:20 +02:00