Commit Graph
46 Commits
Author SHA1 Message Date
Max Brunsfeld b41c6148e8 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 791081ebff For impersonating access tokens, store impersonatee in the new column
This way, we don't need an index on both columns
2024-01-17 18:06:16 -08:00
Mikayla Maki 607f2a7ba5 Add typo detection to CI (#4107)
Adding the typos crate to our CI will take some doing, as we have
several tests which rely on typos in various ways (e.g. checking state
as the user types), but I thought I'd take a first stab at fixing what
it finds.

Release Notes:

- N/A
2024-01-17 17:13:47 -08:00
Max Brunsfeld cdfb3f57df Update local development workflow to not involve zed.dev (#4103)
When testing Zed locally, it's rarely necessary to log in the real with,
via Zed.dev and GitHub. We usually use `zed-local`. Since zed.dev is not
going to be open source (at least right away), this PR removes it from
our local development workflow.

* Remove zed.dev from the Procfile
* Change the `seed` script to not create an admin user for your
signed-in github user
* Instead have both `zed-local` and the `seed` script read from an
`.admins.json` file, which the user can create in order to customize who
they sign in as when running `zed-local`.
* Update all of the docs for building and developing zed.
2024-01-17 15:07:20 -08:00
Mikayla c9dff553af Fix a few more typos 2024-01-17 14:58:58 -08:00
Mikayla Maki 325d7f44b1 Merge branch 'main' into fix-typos 2024-01-17 14:36:03 -08:00
Mikayla 0b43bd7c14 Fix typos detected by crate-ci/typos 2024-01-17 14:31:21 -08:00
Mikayla Maki a705b1c123 Add migration information to release docs and fix scripts (#4026)
Release Notes:

- N/A
2024-01-17 14:10:27 -08:00
Max Brunsfeld ba76f8c214 Update procfile and local development docs, zed.dev is no longer needed 2024-01-17 13:28:58 -08:00
Nate ButlerandJoseph T. Lyons c23983f5b6 Reorganize building zed doc
Co-Authored-By: Joseph T. Lyons <19867440+JosephTLyons@users.noreply.github.com>
2024-01-17 13:20:27 -05:00
Nate ButlerandJoseph T. Lyons 1e522409b5 Update developing zed doc
Co-Authored-By: Joseph T. Lyons <19867440+JosephTLyons@users.noreply.github.com>
2024-01-17 13:09:13 -05:00
Mikayla cf672f9736 Add migration information to release docs and fix scripts 2024-01-11 11:24:17 -08:00
Mikayla 10f7f2c447 enviroment -> environment 2024-01-10 22:57:58 -08:00
Marshall Bowers b3d65a66e2 Fix possessive "its" in docs and comments (#3998)
This PR fixes a number of places where we were incorrectly using "it's"
where we needed to use the possessive "its".

Release Notes:

- N/A
2024-01-10 10:09:48 -05:00
Nate Butler d9befe6e3d Delete generating-theme-types.md 2024-01-04 10:14:58 -05:00
Max BrunsfeldandMikayla 75f0670dd6 Remove 2 suffix from gpui
Co-authored-by: Mikayla <mikayla@zed.dev>
2024-01-03 12:59:39 -08:00
Max BrunsfeldandMikayla 2cbfe91f84 Rename zed2 -> zed
Co-authored-by: Mikayla <mikayla@zed.dev>
2024-01-03 10:14:19 -08:00
Nate Butler 36484a1071 Add note 2023-12-13 10:35:54 -05:00
Nate Butler 0556e5b8a4 Add deploy note 2023-12-13 10:35:03 -05:00
Nate Butler e0cee7ca58 Futher outline 2023-12-12 09:10:12 -05:00
Nate Butler eb814b6f2a WIP 2023-12-11 19:17:13 -05:00
Max Brunsfeld 676c7fae34 Update docs to refer to new zed-local script 2023-10-09 12:49:12 -07:00
Nate Butler 28e38dc74b Remove leftover state doc 2023-09-21 23:51:03 -04:00
Marshall Bowers 5baea3cbd4 Fix some typos in tools.md 2023-09-21 17:21:40 -04:00
Nate Butler 1d063bb765 Checkpoint 2023-09-13 12:40:28 -04:00
Sergey Onufrienko a3eff51821 chore: add theme types docs 2023-07-17 17:54:37 +01:00
Nate ButlerandDerek Briggs b1f7d19410 Update building-zed.md
Co-Authored-By: Derek Briggs <1648941+PixelJanitor@users.noreply.github.com>
2023-07-12 14:09:21 -04:00
Nate Butler 1ca9f64e30 color_scheme -> theme 2023-07-04 01:20:56 -04:00
Nate Butler a5f9c53f03 Update local-collaboration.md
Add missing livekit info
2023-06-27 10:52:38 -04:00
Nate Butler 4fc4ac369e Update local-collaboration.md 2023-06-27 10:05:37 -04:00
Nate Butler efd490810d Create local-collaboration.md
I forget how to do this every single time 😅
2023-06-27 09:51:30 -04:00
Nate Butler 0445ee98ff Add initial syntax highlighting doc 2023-06-21 12:15:24 -04:00
Nate Butler 5580691b1f Fix design tools link 2023-06-15 10:38:15 -04:00
Nate ButlerandPiotr Osiewicz ee0482d2c5 Update docs/index.md
Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>
2023-06-15 10:36:53 -04:00
Nate Butler 993b4fa3cf Expand tools doc further 2023-06-12 09:45:42 -04:00
Nate Butler 48a7b8f847 Add back links 2023-06-12 09:02:49 -04:00
Nate Butler 0c4d41f387 Use simple markdown 2023-06-12 09:00:59 -04:00
Nate Butler 125606c401 Sort & add some docs 2023-05-22 10:03:10 -04:00
Nate Butler 412134a2e6 Add initial internal docs from Meta 2023-05-19 11:02:18 -04:00
Max Brunsfeld 0fc73db7ec Remove stale docs folder 2022-10-27 12:08:55 -07:00
Max Brunsfeld be47d6ded4 Start work on RpcClient 2021-06-11 14:47:13 -07:00
Max Brunsfeld d6535e0650 Update collaboration doc
Add some diagrams
2021-06-10 14:27:05 -07:00
Max Brunsfeld c5253d54f0 Fix markdown formatting 2021-06-06 22:06:00 -07:00
Max Brunsfeld ad3be9a60b Add login notes to the collaboration plans doc 2021-06-04 18:24:26 -07:00
Nathan Sobo 9204d55dda Add RPC implementation details to the collaboration plan 2021-05-31 17:40:39 -06:00
Max BrunsfeldandNathan Sobo f34127ad1b Add document outlining plans for collaboration
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-05-31 15:31:57 -07:00