39fbf7d
Avoid verifying access tokens for out-of-date clients
Click to expand commit body
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.
Max Brunsfeld
created
d2192fd
Merge pull request #183 from zed-industries/speed-up-access-token-verification
Click to expand commit body
Speed up login by avoiding unnecessary access token verification
Max Brunsfeld
created
68a3ba5
Clean up styling of pre and code blocks inside prose
82ec1b7
Flush pending selection before performing any action on all selections
Click to expand commit body
Closes #155
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
,
Antonio Scandurra
, and
Nathan Sobo
created
948aa78
Merge pull request #181 from zed-industries/rpc-compression
Click to expand commit body
Compress RPC messages using zstd
Antonio Scandurra
created
d403281
Merge pull request #182 from zed-industries/retry-flaky-wrap-shaped-line-test
Click to expand commit body
Retry `test_wrap_shaped_line` 5 times before reporting a failure
Antonio Scandurra
created
21daddb
Retry `test_wrap_shaped_line` 5 times before reporting a failure
Click to expand commit body
It doesn't seem like there's anything fundamentally broken and it
might just be something weird with CI. Also, there's precedent for
retrying tests depending on fonts, e.g. `test_layout_str`.
742bfe1
Merge pull request #176 from zed-industries/worktree-share-exclude-ignored
Click to expand commit body
Exclude ignored entries when sharing a worktree
Antonio Scandurra
created
6b0ed82
Prevent requests from hanging when shutting down a connection
Click to expand commit body
When closing a connection (either due to an error or simply because the
user wanted to), we will now *take* `response_channels` as opposed to
clearing them. This ensures that `Peer::request` can't succeed in both
adding the oneshot channel in `response_channels` map _and_ submit the
message onto the `outgoing_tx` channel.
This also streamlines how we close a connection by unifying all the exit
code paths of the IO handling future.
Antonio Scandurra
created
c70b4a9
Remove non-determinism from `zrpc::tests::peer::test_io_error`
Antonio Scandurra
created
374b05a
Display warning in titlebar when Zed is out-of-date
Antonio Scandurra
created
511cbaa
Version the zrpc protocol using a `X-ZRPC-VERSION` header
Antonio Scandurra
created
9efd8ce
Exclude ignored entries when sharing a worktree
Click to expand commit body
This commit also adds a randomized test that exercises building and
applying snapshot updates.
Antonio Scandurra
created
d07ff73
Bump `PathEntry::scan_id` when the ignore status of an entry changes
Antonio Scandurra
created
a1ca507
Merge pull request #174 from zed-industries/tweak-word-boundaries
Click to expand commit body
Adjust word-boundary motion, treating whitespace more like other editors
Antonio Scandurra
created
1402f84
Adjust word-boundary motion, treating whitespace more like other editors
Click to expand commit body
Also, fix the behavior of 'delete_to_{prev,next}_word_boundary' commands when
there are non-empty selections.