Max Brunsfeld
f2f3a935b9
Store the impersonator id on access tokens created via ZED_IMPERSONATE ( #4108 )
...
* Use the impersonator id to prevent these tokens from counting against
the impersonated user when limiting the users' total of access tokens.
* When connecting using an access token with an impersonator add the
impersonator as a field to the tracing span that wraps the task for that
connection.
* Disallow impersonating users via the admin API token in production,
because when using the admin API token, we aren't able to identify the
impersonator.
2024-01-18 10:26:34 -08:00
Max Brunsfeld and Marshall
ab1bea515c
Store the impersonator id on access tokens created via ZED_IMPERSONATE
...
* Use the impersonator id to prevent these tokens from counting
against the impersonated user when limiting the users' total
of access tokens.
* When connecting using an access token with an impersonator
add the impersonator as a field to the tracing span that wraps
the task for that connection.
* Disallow impersonating users via the admin API token in production,
because when using the admin API token, we aren't able to identify
the impersonator.
Co-authored-by: Marshall <marshall@zed.dev >
2024-01-17 18:06:16 -08:00
Mikayla
e6ca92ffa4
Fix a few more typos
2024-01-17 14:58:58 -08:00
Marshall Bowers and Conrad
cf5dc099fb
Add more documentation to collab ( #4095 )
...
This PR adds more documentation to the `collab` crate.
Release Notes:
- N/A
---------
Co-authored-by: Conrad <conrad@zed.dev >
2024-01-17 13:38:12 -05:00
Conrad Irwin
3c2ebc3d88
Prototype cursor sharing (the inefficient way) ( #3970 )
...
Release Notes:
- Sync guest users' cursor positions
2024-01-09 22:21:24 -07:00
Conrad Irwin
4da9d61a42
Implement live kit promotion/demotion
2024-01-09 16:10:12 -07:00
Conrad Irwin
82f7dd9bbb
Prototype cursor sharing (the inefficient way)
...
I think this will be a key user experience driver, but we do need to
find a way to enable it without widening our vector clocks.
2024-01-08 22:32:30 -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
d7c5d29237
Only allow read-write users to update buffers
2024-01-08 15:39:24 -07:00
Conrad Irwin
aed97f6c29
Use "test" consistently
2024-01-08 14:07:18 -07:00
Conrad Irwin and Max
ed76315387
Fix prevention of cross-channel joins
...
Co-Authored-By: Max <max@zed.dev >
2024-01-08 13:47:27 -07:00
Max Brunsfeld
18b31f1552
Check user is host for host-broadcasted project messages
2024-01-08 12:04:59 -08:00
Conrad Irwin and Max
a3bc48261e
First pass of real access control
...
Co-Authored-By: Max<max@zed.dev >
2024-01-08 12:23:40 -07:00
Max Brunsfeld and Mikayla
0cf65223ce
Remove 2 suffix for collab, rope, settings, menu
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 12:29:16 -08:00
Mikayla Maki
f67f42779b
Rename IIFE to maybe ( #3165 )
...
Too good of an idea to forget
Release Notes:
- N/A
2023-10-25 17:09:12 +02:00
Mikayla
26a3d41dc7
Change from try (reserved keyword) to maybe
2023-10-25 07:10:21 -07:00
Max Brunsfeld
32367eba14
Set up UI to allow dragging a channel to the root
2023-10-25 15:39:02 +02:00
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
Conrad Irwin
aa6990bb6b
Fix set_channel_visibility for public channels
2023-10-24 10:55:10 +02:00
Conrad Irwin
ea4e67fb76
Merge branch 'main' into guest-exp
2023-10-23 17:47:21 +02:00
Max Brunsfeld
59adcc1744
Load more notifications when scrolling down
2023-10-22 17:10:21 +02:00
Max Brunsfeld
4a0358a513
Mark contact acceptance notifications as read automatically
2023-10-22 12:22:47 +02:00
Max Brunsfeld
fce09e8c92
Mark chat mention notifications as read when viewing the message
2023-10-22 11:57:10 +02:00
Conrad Irwin
e03e5364d2
Wire through LiveKit permissions
2023-10-19 23:23:33 -06:00
Conrad Irwin
aa4b8d7246
Fix notifications for membership changes too
2023-10-19 23:05:06 -06:00
Max Brunsfeld
851d7d0bc4
Rename NewNotification proto message to AddNotification
2023-10-19 13:29:14 -07:00
Max Brunsfeld and Piotr
d62f114c02
Create notifications for mentioned users
...
Co-authored-by: Piotr <piotr@zed.dev >
2023-10-19 10:52:40 -07:00
Conrad Irwin
3853009d92
Refactor to avoid some (mostly hypothetical) races
...
Tidy up added code to reduce duplicity of X and X_internals.
2023-10-18 21:42:10 -06:00
Max Brunsfeld
b07f9fe3b5
Merge branch 'main' into notifications
2023-10-18 17:20:04 -07:00
Max Brunsfeld
d05404a4df
Persist chat mentions
2023-10-18 16:56:03 -07:00
Conrad Irwin
2b11463567
Fix notifications on channel changes
2023-10-18 15:56:33 -06:00
Mikayla
0ce1ec5d15
Restrict DAG-related functionality, but retain infrastructure for implementing symlinks
2023-10-18 05:28:05 -07:00
Conrad Irwin
70aed4a605
Sync Role as part of channels
...
Begin to fix guest notifications
2023-10-17 22:48:44 -06:00
Max Brunsfeld
660021f5e5
Fix more issues with the channels panel
...
* Put the newest notifications at the top
* Have at most 1 notification toast, which is non-interactive,
but focuses the notification panel on click, and auto-dismisses
on a timer.
2023-10-17 15:43:06 -07:00
Conrad Irwin
5b39fc8123
Temporarily join public channels as a member
2023-10-17 10:29:43 -06:00
Max Brunsfeld
f225039d36
Display invite response buttons inline in notification panel
2023-10-17 09:12:55 -07:00
Conrad Irwin
9cc55f895c
Merge branch 'main' into guests
2023-10-17 09:54:17 -06:00
Conrad Irwin
2feb091961
Ensure that invitees do not have permissions
...
They have to accept the invite, (which joining the channel will do),
first.
2023-10-16 16:24:10 -06:00
Conrad Irwin
4e7b35c917
Make joining a channel as a guest always succeed
2023-10-16 15:14:13 -06:00
Max Brunsfeld
cb7b011d6b
Avoid creating duplicate invite notifications
2023-10-13 16:57:28 -07:00
Max Brunsfeld
83fb8d20b7
Remove contact notifications when cancelling a contact request
2023-10-13 16:09:46 -07:00
Conrad Irwin
f6f9b5c8cb
Wire through public access toggle
2023-10-13 16:59:30 -06:00
Max Brunsfeld
e590b43545
Merge branch 'main' into notifications
2023-10-13 11:31:53 -07:00
Max Brunsfeld
8db86dcebf
Connect notification panel to notification toasts
2023-10-13 11:21:45 -07:00
Julia
2323fd17b0
Autocomplete docs ( #3126 )
...
Release Notes:
- Added documentation display for autocomplete items.
- Fixed autocomplete filtering blocking the Zed UI, causing hitches and
input delays with large completion lists.
- Fixed hover popup link not firing if the mouse moved a slight amount
while clicking.
- Added support for absolute path file links in hover popup and
autocomplete docs.
2023-10-13 13:26:45 -04:00
Conrad Irwin
da2b8082b3
Rename members to participants in db crate
2023-10-12 20:42:42 -06:00
Max Brunsfeld
034e9935d4
Remove old contact request notification mechanism, use notification instead
2023-10-12 17:42:32 -07:00
Max Brunsfeld
3241128840
Make notification db representation more flexible
2023-10-12 17:42:32 -07:00
Max Brunsfeld
d1756b621f
Start work on notification panel
2023-10-12 17:41:09 -07:00