Commit Graph
7111 Commits
Author SHA1 Message Date
Antonio Scandurra a8cf47ea2a Delete stray debug statement 2022-12-13 11:36:40 +01:00
Antonio Scandurra d96ef3d256 Delete stale rooms/participants after RECONNECT_TIMEOUT 2022-12-13 11:32:37 +01:00
Antonio Scandurra 21aacbb216 Allow re-joining room after server restarts 2022-12-12 16:03:21 +01:00
Antonio Scandurra 00ea997010 Merge pull request #1950 from zed-industries/reconnect-to-room
Automatically re-join call when client connection drops
2022-12-12 13:40:21 +01:00
Antonio Scandurra ed8737d08d Always cast connection ids to i32
Postgres doesn't support unsigned types. This also adds indices to
support querying `project_collaborators` and `room_participants`
by connection id.
2022-12-12 11:43:08 +01:00
Antonio Scandurra 8071e4abab Rename connection_lost to answering_connection_lost 2022-12-12 11:43:08 +01:00
Antonio Scandurra 0d3bcec64b Delete hosted projects from database when connection is lost 2022-12-12 11:43:08 +01:00
Antonio Scandurra bfec91b3ba Introduce random reconnections in the randomized test 2022-12-12 11:43:08 +01:00
Antonio Scandurra 504f4fa2e8 Fix test_calls_on_multiple_connections after adding room reconnection 2022-12-12 11:43:08 +01:00
Antonio Scandurra 7b91966883 Re-join room when client temporarily loses connection 2022-12-12 11:43:08 +01:00
Antonio Scandurra e567b2338c Remove Executor trait from collab and use an enum instead
This will let us save off the executor and avoid using generics.
2022-12-12 11:43:08 +01:00
Mikayla Maki 634d217350 Merge pull request #1951 from zed-industries/dock-bugfix
Fix infinite loop in dock position when deserializing
2022-12-09 13:19:44 -08:00
Mikayla Maki 3f5f89e89d Updated is_child() to omit self 2022-12-09 12:07:49 -08:00
Mikayla Maki 8048428390 Fix infinite loop in dock position when deserializing 2022-12-09 11:50:24 -08:00
Antonio Scandurra 3e67fbb560 collab 0.3.1 2022-12-09 08:19:41 +01:00
Antonio Scandurra 390fa79f89 Merge pull request #1949 from zed-industries/do-not-drop-unregistered
Don't drop `unregistered` column in reconnection support migration
2022-12-09 08:15:53 +01:00
Antonio Scandurra 1dde768596 Don't drop unregistered column in reconnection support migration
We don't use this column anymore because, when a project is unshared, we
simply remove it from the `projects` table. However, this column is expected
in the stable version of the server and the database is shared between stable
and preview. If we dropped it, stable would start throwing errors.
2022-12-09 08:11:18 +01:00
Mikayla Maki 9635044dd2 Merge pull request #1940 from zed-industries/terminal-collab-kickoff
WIP - move terminal to project as pre-prep for collaboration
2022-12-08 20:30:32 -08:00
Mikayla Maki 76196726d0 Remove terminal container view, switch to notify errors 2022-12-08 20:21:00 -08:00
Mikayla Maki 5ace676783 WIP 2022-12-08 20:21:00 -08:00
Mikayla Maki ee2013b8ec WIP 2022-12-08 20:21:00 -08:00
Mikayla Maki aa6ff9bdb3 Fix bugs resulting from refactoring the terminal into project and workspace halves 2022-12-08 20:21:00 -08:00
Mikayla Maki 33fca2f334 Rearrange the terminal code to not have a cyclic dependency with the project 2022-12-08 20:21:00 -08:00
Mikayla Maki 14efea9aa8 WIP - move terminal to project as pre-prep for collaboration 2022-12-08 20:21:00 -08:00
Max Brunsfeld da93213aee v0.68.x dev 2022-12-08 15:33:02 -08:00
Kay Simmons 62967ade28 Merge pull request #1944 from zed-industries/vim-page-movement
Add scroll commands to vim mode
2022-12-08 14:58:19 -08:00
Kay Simmons 2a890bfbfb remove printline 2022-12-08 14:45:22 -08:00
Kay Simmons 242f038bbd fix final failing tests 2022-12-08 14:39:48 -08:00
Joseph Lyons 545be48e9f collab 0.3.0 2022-12-08 16:35:13 -05:00
Joseph T. Lyons fad9ffead0 Merge pull request #1941 from zed-industries/Allow-overwriting-signup-data
Allow overwriting signup data if a user signs up more than once with the same email address
2022-12-08 16:11:28 -05:00
Kay Simmons 30501f50df Merge pull request #1946 from zed-industries/fix-zombie-tooltips
notify views when hover finishes in tooltip wrapper
2022-12-08 11:37:12 -08:00
Kay Simmons 0a29b85759 notify views when hover finishes in tooltip wrapper 2022-12-08 11:26:46 -08:00
Kay Simmons 712a83a759 Merge pull request #1945 from zed-industries/drag-and-drop-deadzones
Add deadzones to drag and drop
2022-12-08 11:15:42 -08:00
Kay Simmons b715ae962f Add deadzones to drag and drop 2022-12-07 17:46:00 -08:00
Kay Simmons b39cac2c5c fix failing tests from incorrect follow behavior 2022-12-07 17:25:48 -08:00
Kay Simmons acac7d292d Refactor editor scrolling and implement scroll commands from vim mode 2022-12-07 16:39:32 -08:00
Antonio Scandurra 076d3160e4 Merge pull request #1943 from zed-industries/fix-inviting-existing-users-via-different-mail
Fix inviting existing users via a different email address
2022-12-07 14:19:17 +01:00
Joseph Lyons 33bb73561d Ensure that subsequent signup happens after initial
We can't rely on the fact that the test won't run fast enough such that both `created_at`s are the same time.  This ensures the subsequent signup happens after the initial one and that the database doesn't overwrite the initial one.
2022-12-07 08:15:01 -05:00
Antonio Scandurra 4b8d249446 Fix inviting user that had already signed up via a different email 2022-12-07 14:07:01 +01:00
Antonio Scandurra e1ac6969ad Add failing test showcasing inviting existing user via different email 2022-12-07 14:06:59 +01:00
Joseph Lyons 567c5d35a6 Clean up test 2022-12-07 07:12:27 -05:00
Joseph Lyons 88be85b671 Remove comment 2022-12-06 17:18:54 -05:00
Joseph Lyons 7c16866b9d Allow overwriting signup data if a user signs up more than once with the same email address 2022-12-06 17:12:12 -05:00
Antonio Scandurra 9e9a3ffc54 Merge pull request #1938 from zed-industries/fix-metrics
Query project count as `i64` instead of `i32` when gathering metrics
2022-12-06 15:04:27 +01:00
Antonio Scandurra dd6e608acb Query project count as i64 instead of i32 when gathering metrics
Using the latter will cause a type mismatch when performing the query.
2022-12-06 15:00:32 +01:00
Antonio Scandurra bf8bf8f065 Merge pull request #1937 from zed-industries/fix-accepted-contact-busy-status
Fix busy status when accepting a contact request
2022-12-06 10:29:58 +01:00
Antonio Scandurra 65fbf7270d Fix busy status when accepting a contact request
Previously, we would send an contact update when accepting a request
using the same `busy` status for both the requester and the responder.
This was obviously wrong and caused the requester to see their own
busy status as the newly-added responder contact's status.
2022-12-06 10:19:34 +01:00
Antonio Scandurra ba0a0d6d1f Merge pull request #1935 from zed-industries/reconnections-2
Move in-memory server state to the database
2022-12-06 09:22:59 +01:00
Antonio Scandurra 8a6347fb32 Remove unused UserId import from seed script 2022-12-06 09:07:25 +01:00
Max Brunsfeld 53d92b5253 Merge pull request #1936 from zed-industries/c-outline-pointers
Include outline items for c/c++ functions returning pointers
2022-12-05 14:03:49 -08:00