Max Brunsfeld
258c2fdad4
Fix routing of leader updates from unshared projects
...
Previously, leader updates in unshared projects would be sent to
all followers regardless of project, as if they were not scoped
to any project.
2024-01-11 13:47:31 -08:00
Conrad Irwin
f418bd907d
Stop following when project is unshared
...
Before this change the views would continue to update in the background
of the "disconnected" dialogue, which was disconcerting.
2024-01-10 23:09:09 -07:00
Mikayla
2a09c6aad5
Restore missing test
2024-01-10 11:26:11 -08:00
Conrad Irwin
8d1bca450f
Remove extra assertion
...
As part of debugging the port of following tests we added an assertion
that the project was dropped. Now that we initialize the editor and
handle focus correctly in tests, the project is retained by
`refresh_document_highlights`. That doesn't affect the meaning of the
tests
2024-01-10 10:18:45 -07:00
Conrad Irwin
5dff458014
Ensure focus_in and focus_out fire on window activation ( #3993 )
...
Also:
- Rename cx.on_blur to cx.on_focus_lost
- Fix a bug where notify calls in focus handlers were ignored
- Fix a bug where vim would get stuck in the wrong mode when switching
windows
Release Notes:
- (preview only) vim: fix switching between multiple windows
2024-01-10 10:00:07 -07:00
Conrad Irwin
5d3f5611e5
guest promotion ( #3969 )
...
Release Notes:
- Adds the ability to promote read-only guests to read-write
participants in calls
2024-01-09 22:21:13 -07:00
Conrad Irwin
2ca462722c
Fix some tests (mostly more run_until_parked's...)
2024-01-09 22:14:11 -07:00
Conrad Irwin
72c022f413
Ensure focus-sensitive tests have active windows
2024-01-09 21:38:06 -07:00
Mikayla
e786e22121
And a few more todos
2024-01-09 16:41:17 -08:00
Conrad Irwin
4da9d61a42
Implement live kit promotion/demotion
2024-01-09 16:10:12 -07:00
Mikayla
80790d921d
Fix / remove small todos
2024-01-09 14:16:46 -08:00
Conrad Irwin
8669b08161
Failing test for unmuting microphone
2024-01-08 22:30:03 -07:00
Conrad Irwin
844d161c40
Allow adding write access to guests
2024-01-08 22:02:56 -07:00
Conrad Irwin
475d91ace0
guest acls ( #3958 )
...
- First pass of real access control
- Check user is host for host-broadcasted project messages
- Only allow read-write users to update buffers
[[PR Description]]
Release Notes:
- (Added|Fixed|Improved) ...
([#<public_issue_number_if_exists>](https://github.com/zed-industries/community/issues/ <public_issue_number_if_exists>)).
2024-01-08 15:45:21 -07:00
Conrad Irwin
59a1648445
Disallow creating files with '..' ( #3156 )
...
Release Notes:
- Fixed a crash that could occur when creating files with '..' in the
path
2024-01-08 15:43:57 -07:00
Conrad Irwin
71149bc7cc
Fix relative path opening from project symbols
...
Co-Authored-By: Max <max@zed.dev>
2024-01-08 15:12:22 -07:00
Conrad Irwin
ed76315387
Fix prevention of cross-channel joins
...
Co-Authored-By: Max <max@zed.dev>
2024-01-08 13:47:27 -07:00
Conrad Irwin
a3bc48261e
First pass of real access control
...
Co-Authored-By: Max<max@zed.dev>
2024-01-08 12:23:40 -07:00
Conrad Irwin
385cbfea2d
Tidy up context usage
...
Co-Authored-By: Max <max@zed.dev>
2024-01-05 16:35:20 -07:00
Conrad Irwin
709682e8bc
Tidy up TestContext lifecycle
...
Co-Authored-By: Max <max@zed.dev>
2024-01-05 16:31:41 -07:00
Conrad Irwin
c7568a7d37
All the following tests
...
Co-Authored-By: Max <max@zed.dev>
2024-01-05 16:18:01 -07:00
Conrad Irwin
204ef451d0
Merge branch 'main' into following-tests
2024-01-05 16:14:12 -07:00
Conrad Irwin
f239a8292e
More following tests
2024-01-05 16:13:40 -07:00
Conrad Irwin
81d707adbc
Port 1.00 following tests
...
Co-Authored-By: Max <max@zed.dev>
2024-01-05 15:55:33 -07:00
Conrad Irwin
3c0052850c
Merge branch 'main' into channel-guests
2024-01-05 10:05:59 -07:00
Conrad Irwin
4a7233f8f0
Fixy fix
2024-01-04 19:43:12 -07:00
Conrad Irwin
931bd687dc
Uncomment editor tests
...
Co-Authored-By: Julia <julia@zed.dev>
2024-01-04 13:58:19 -07:00
Conrad Irwin
1930258d39
Show guests in fewer places
2024-01-03 19:31:43 -07:00
Conrad Irwin
bf304b3fe7
Track room participant role
...
(Also wire that through to project collaboration rules for now)
2024-01-03 19:30:32 -07:00
Max Brunsfeld
28c39aae17
Start work on read-only project access for channel guests
...
Co-authored-by: Conrad <conrad@zed.dev>
Co-authored-by: Mikayla <mikayla@zed.dev>
2024-01-03 19:30:32 -07:00
Max Brunsfeld
0cf65223ce
Remove 2 suffix for collab, rope, settings, menu
...
Co-authored-by: Mikayla <mikayla@zed.dev>
2024-01-03 12:29:16 -08:00
Kirill Bulatov
b43dc480a9
Integration tests for excluded files
2023-12-05 12:45:44 +02:00
Kirill Bulatov
f0ca7141b8
Ignore excluded files on worktree entry refresh
2023-12-05 12:30:29 +02:00
Kirill Bulatov
69bfd47cf9
Exclude gitignored files' diagnostics from project panel and its indicator.
...
The diagnostics are collected and available still, since that might become a settings/UI toggle later.
Also, buffer diagnostics are still updated for gitignored files.
2023-11-30 15:46:30 +02:00
Kirill Bulatov
8180938401
Fix most of the TODOs
2023-11-17 21:40:57 +02:00
Kirill Bulatov
5f468970f0
Fix some of the old tests
2023-11-17 21:40:57 +02:00
Kirill Bulatov
a5c615ceb4
Pass a new query parameter into the search
2023-11-17 21:40:56 +02:00
Mikayla
75a80811b3
WIP
2023-11-06 11:18:56 -08:00
Max Brunsfeld
90f65ec9fe
Remove logic for multiple channel parents ( #3162 )
...
This PR simplifies our state management for channels, and logic for
inheriting channel permissions, by removing the ability for channels to
have multiple parent channels.
2023-10-25 15:57:55 +02:00
Max Brunsfeld
32367eba14
Set up UI to allow dragging a channel to the root
2023-10-25 15:39:02 +02:00
Conrad Irwin
b8bd070a83
Fix panic by disallowing multiple room joins ( #3149 )
...
Release Notes:
- Fixed panic that could occur when switching channels quickly
2023-10-24 23:57:08 +02:00
Conrad Irwin
dfc34e582a
Fix extra race
2023-10-24 18:54:55 +02:00
Max Brunsfeld
5c03b6a610
Remove logic for multiple channel parents
...
Co-authored-by: Conrad <conrad@zed.dev>
Co-authored-by: Kyle <kyle@zed.dev>
Co-authored-by: Joseph <joseph@zed.dev>
2023-10-24 17:29:23 +02:00
Max Brunsfeld
cc9e92857b
Guest roles ( #3140 )
...
Release Notes:
- Added a "guest" role to channels, and made that the default when a new
user joins a public channel.
2023-10-24 17:29:14 +02:00
Kirill Bulatov
e9ce935991
Rework prettier tests
...
Do not infuse `FakeNodeRuntime` with prettier exceptions, rather keep
the default formatter installation method as no-op.
2023-10-24 14:25:46 +02:00
Conrad Irwin
3358420f6a
fix format
2023-10-24 11:17:17 +02:00
Conrad Irwin
aa6990bb6b
Fix set_channel_visibility for public channels
2023-10-24 10:55:10 +02:00
Conrad Irwin
e6087e0ed9
Fix tests
2023-10-24 09:46:46 +02:00
Conrad Irwin
ea4e67fb76
Merge branch 'main' into guest-exp
2023-10-23 17:47:21 +02:00
Max Brunsfeld
234ccbe51f
Merge branch 'main' into notifications
2023-10-22 12:25:30 +02:00