cc87ba7829
Move LanguageRegistry into buffer
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
Co-Authored-By: Max Brunsfeld <max@zed.dev >
2021-10-04 19:59:03 +02:00
Nathan Sobo
5822c4cf40
Introduce ProjectPath and ProjectEntry structs
...
These replace tuples of (usize, Arc<Path>) and (usize, usize) respectively.
2021-10-02 19:39:04 -06:00
Nathan Sobo
8df24cc1fe
Introduce a File trait object to buffer
...
This will remove the dependency of buffer on `worktree::File`
2021-10-02 19:01:29 -06:00
Antonio Scandurra
549a3e69c4
Merge branch 'main' into project-browser
2021-09-30 10:01:48 +02:00
Max Brunsfeld and Nathan Sobo
acef50fa6e
Add SYS_ADMIN capability to the server container
...
This will let us run perf(1) on the zed-server to debug
any performance problems we encounter in production.
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-09-29 14:53:20 -07:00
Max Brunsfeld and Nathan Sobo
75b160edac
Generalize deploy scripts to work w/ both production and staging
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-09-29 14:10:40 -07:00
Max Brunsfeld and Antonio Scandurra
3c46dba53c
Avoid fetching GH releases in home route
...
Co-Authored-By: Antonio Scandurra <me@as-cii.com >
2021-09-29 14:10:40 -07:00
1ab085e741
Remove session and errors middleware from static route
...
Co-Authored-By: Antonio Scandurra <me@as-cii.com >
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-09-29 14:10:40 -07:00
Nate
5069aa68d5
Revert "Update link hrefs to absolute urls"
...
This reverts commit 933ca9c1da .
2021-09-29 12:12:35 -04:00
Nate
933ca9c1da
Update link hrefs to absolute urls
2021-09-29 12:03:56 -04:00
Nathan Sobo
1f3f20c4c4
Merge branch 'main' into site-v2
2021-09-28 15:33:44 -06:00
Nathan Sobo
1564d08be4
Merge branch 'worktree-cursor' into project-browser
2021-09-28 12:13:47 -06:00
Max Brunsfeld and Nathan Sobo
b67f4b0f93
Allow seeking SumTree cursor by multiple seek types per dimension
...
Also, remove the cursor's sum_dimension. Replace it with a
blanket implementation of Dimension for two-element tuples
of dimensions.
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-09-24 18:23:53 -07:00
Nate
36801c1b1c
update sign out link
2021-09-24 18:19:46 -04:00
Nate
a7b97951de
Edit pass text cleanup + fix mismatched max-w
2021-09-24 18:16:13 -04:00
Nate
371080fef6
Update some styles to improve rendering on mobile
...
* Add active links for nav on mobile
* Smaller page margins for more edge to edge look
2021-09-24 17:37:00 -04:00
Nate
512169922b
Update custom checkbox style
2021-09-24 17:20:33 -04:00
Nate
564864a9e5
Fix type on the community page
2021-09-24 17:09:11 -04:00
Nate
6c9ad73092
Merge the updates and releases pages
...
* Remove unused story page
* Remove updates page
* Remove updates from nav
2021-09-24 17:04:02 -04:00
Nate
3eb172e3a3
Merge branch 'main' into site-v2
2021-09-24 16:52:06 -04:00
Nate
c37f3e7dad
Update content on all major pages
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-09-24 16:50:10 -04:00
Nate
d91932e26e
Clean up some content on home and team
2021-09-24 15:28:23 -04:00
Nate
49b18135a7
Make leading and font-weights more consistent
2021-09-24 15:19:53 -04:00
Nate
cf67ec8355
Style the community form
...
* Add custom checkboxes
* Reorganize form
* Update copy
* Update signup.hbs with new style
2021-09-24 15:11:13 -04:00
Nate
7a409777f6
combine team + story, clean up nav
2021-09-23 20:20:43 -04:00
Max Brunsfeld
3f6f8fa753
Extract from Workspace a Project model that stores a window's worktrees
2021-09-23 16:34:06 -07:00
Nate
20360c9a8c
add home content
2021-09-23 19:31:36 -04:00
Max Brunsfeld
6f7d5c4fca
Avoid verifying access tokens for out-of-date clients
...
Replace the 'VerifyToken' middleware with a 'process_auth_header' function
that we call in the '/rpc' handler after checking that the client's protocol
version matches.
2021-09-23 15:32:23 -07:00
Nate
09c7ae2169
Clean up styling of pre and code blocks inside prose
2021-09-23 16:55:08 -04:00
Nate
50075082bb
favicon + og tags update
2021-09-23 16:45:10 -04:00
Nate
d114552f6a
wip home updates
2021-09-23 16:44:48 -04:00
Max Brunsfeld
2d406a0f3f
Speed up login by avoiding unnecessary access token verification
2021-09-23 13:34:53 -07:00
Nate
6c3b955d2d
update story
2021-09-23 15:48:38 -04:00
Nate
afd3ab9353
favicon + social media assets
2021-09-23 15:43:35 -04:00
Nate
3319adb45a
style updates
2021-09-23 15:43:21 -04:00
Antonio Scandurra and Nathan Sobo
e13fc58c5b
💄
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-09-23 17:32:37 +02:00
Antonio Scandurra
eefda8ac3c
Version the zrpc protocol using a X-ZRPC-VERSION header
2021-09-23 15:35:35 +02:00
Nate
3e0644d58b
update styles
2021-09-22 13:04:14 -04:00
Nate
d676ba93d0
Merge branch 'main' into site-v2
2021-09-22 12:14:58 -04:00
Nate
2009abc12e
update styles
2021-09-22 11:38:14 -04:00
Antonio Scandurra
b1ee558a78
Leave joined worktrees when guest loses connection
2021-09-22 15:33:13 +02:00
Antonio Scandurra
a3b0e59aa4
Maintain connections correctly when leaving or unsharing worktrees
2021-09-22 15:24:11 +02:00
Antonio Scandurra
6143d82ef7
Remove remote worktrees and close their buffers when host unshares
2021-09-22 14:50:32 +02:00
Antonio Scandurra
d6249c7410
Allow leaving worktree while opening a buffer
2021-09-22 12:38:31 +02:00
Max Brunsfeld
104fa0cf04
💄
2021-09-21 13:48:34 -07:00
8dc1f6996d
Allow joining worktrees by clicking them in the people panel
...
Co-Authored-By: Antonio Scandurra <me@as-cii.com >
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-09-21 12:21:03 -07:00
Antonio Scandurra and Nathan Sobo
0d114d8c89
Rename participants to guests in proto
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-09-21 18:30:49 +02:00
Antonio Scandurra
b28ea8c4c5
Merge branch 'main' into people-panel
2021-09-21 17:29:07 +02:00
Antonio Scandurra and Nathan Sobo
c29ca9ff2b
Use more concrete names for Store return values
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-09-21 17:21:30 +02:00
Antonio Scandurra
6489570bf6
Add Server::{state,state_mut} to catch most deadlocks statically
2021-09-21 12:19:52 +02:00