Commit Graph
46 Commits
Author SHA1 Message Date
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 9f04fd9019 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 aa7351041d 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 647b08b101 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 e6ca92ffa4 Fix a few more typos 2024-01-17 14:58:58 -08:00
Mikayla Maki 0711476fd5 Merge branch 'main' into fix-typos 2024-01-17 14:36:03 -08:00
Mikayla 57400e9687 Fix typos detected by crate-ci/typos 2024-01-17 14:31:21 -08:00
Mikayla Maki 9a22327b2a Add migration information to release docs and fix scripts (#4026)
Release Notes:

- N/A
2024-01-17 14:10:27 -08:00
Max Brunsfeld ad2b4f288e Update procfile and local development docs, zed.dev is no longer needed 2024-01-17 13:28:58 -08:00
Nate ButlerandJoseph T. Lyons d0f22df1eb 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 b64ae4df9c 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 5885f03f35 Add migration information to release docs and fix scripts 2024-01-11 11:24:17 -08:00
Mikayla 6503dd51dd enviroment -> environment 2024-01-10 22:57:58 -08:00
Marshall Bowers aff119b80a 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 5da057288d Delete generating-theme-types.md 2024-01-04 10:14:58 -05:00
Max BrunsfeldandMikayla f5ba22659b Remove 2 suffix from gpui
Co-authored-by: Mikayla <mikayla@zed.dev>
2024-01-03 12:59:39 -08:00
Max BrunsfeldandMikayla 7986ee18cd Rename zed2 -> zed
Co-authored-by: Mikayla <mikayla@zed.dev>
2024-01-03 10:14:19 -08:00
Nate Butler 9cd55a8806 Add note 2023-12-13 10:35:54 -05:00
Nate Butler d4e088cb11 Add deploy note 2023-12-13 10:35:03 -05:00
Nate Butler 9f21fe2d50 Futher outline 2023-12-12 09:10:12 -05:00
Nate Butler 9cb6f6689e WIP 2023-12-11 19:17:13 -05:00
Max Brunsfeld 1e4f5145cf Update docs to refer to new zed-local script 2023-10-09 12:49:12 -07:00
Nate Butler 30b105afd5 Remove leftover state doc 2023-09-21 23:51:03 -04:00
Marshall Bowers 92d3115f3d Fix some typos in tools.md 2023-09-21 17:21:40 -04:00
Nate Butler f54f2c52e9 Checkpoint 2023-09-13 12:40:28 -04:00
Sergey Onufrienko cb8762d855 chore: add theme types docs 2023-07-17 17:54:37 +01:00
Nate ButlerandDerek Briggs 6297675055 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 65dbb38926 color_scheme -> theme 2023-07-04 01:20:56 -04:00
Nate Butler 9389b50646 Update local-collaboration.md
Add missing livekit info
2023-06-27 10:52:38 -04:00
Nate Butler 0548df09d9 Update local-collaboration.md 2023-06-27 10:05:37 -04:00
Nate Butler a67eba9fed Create local-collaboration.md
I forget how to do this every single time 😅
2023-06-27 09:51:30 -04:00
Nate Butler f0138a7a87 Add initial syntax highlighting doc 2023-06-21 12:15:24 -04:00
Nate Butler 87c3216236 Fix design tools link 2023-06-15 10:38:15 -04:00
Nate ButlerandPiotr Osiewicz 5149db6acd 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 7f71ee0870 Expand tools doc further 2023-06-12 09:45:42 -04:00
Nate Butler f142449014 Add back links 2023-06-12 09:02:49 -04:00
Nate Butler 57ae64d44a Use simple markdown 2023-06-12 09:00:59 -04:00
Nate Butler 48dcacc7ce Sort & add some docs 2023-05-22 10:03:10 -04:00
Nate Butler 32849d1e43 Add initial internal docs from Meta 2023-05-19 11:02:18 -04:00
Max Brunsfeld 7db176a763 Remove stale docs folder 2022-10-27 12:08:55 -07:00
Max Brunsfeld b2b1ce5e81 Start work on RpcClient 2021-06-11 14:47:13 -07:00
Max Brunsfeld e897d1c98e Update collaboration doc
Add some diagrams
2021-06-10 14:27:05 -07:00
Max Brunsfeld 748c101076 Fix markdown formatting 2021-06-06 22:06:00 -07:00
Max Brunsfeld ad71e2404b Add login notes to the collaboration plans doc 2021-06-04 18:24:26 -07:00
Nathan Sobo 6d83ed2824 Add RPC implementation details to the collaboration plan 2021-05-31 17:40:39 -06:00
Max BrunsfeldandNathan Sobo a4d16e61c8 Add document outlining plans for collaboration
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-05-31 15:31:57 -07:00