zed/crates/collab
Marshall Bowers 2980f0508c
Rework loading images from files (#7088)
This PR is a follow-up to #7084, where I noted that I wasn't satisfied
with using `SharedUri` to represent both URIs and paths on the local
filesystem:

> I'm still not entirely happy with this naming, as the file paths that
we can store in here are not _really_ URIs, as they are lacking a
protocol.
>
> I want to explore changing `SharedUri` / `SharedUrl` back to alway
storing a URL and treat local filepaths differently, as it seems we're
conflating two different concerns under the same umbrella, at the
moment.

`SharedUri` has now been reverted to just containing a `SharedString`
with a URI.

`ImageSource` now has a new `File` variant that is used to load an image
from a `PathBuf`.

Release Notes:

- N/A
2024-01-30 11:26:02 -05:00
..
k8s Deploy tweaks 2024-01-05 13:24:29 -07:00
migrations Fix slow query for fetching descendants of channels (#7008) 2024-01-29 13:24:59 -08:00
migrations.sqlite Fix default value of users created_at in sqlite schema 2024-01-23 11:36:35 -08:00
src Rework loading images from files (#7088) 2024-01-30 11:26:02 -05:00
.admins.default.json Make zed-local support opening 5 or 6 zed instances 2024-01-18 12:18:12 -08:00
.env.toml
admin_api.conf
basic.conf
Cargo.toml Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
LICENSE-AGPL chore: Add crate licenses. (#4158) 2024-01-23 16:56:22 +01:00
README.md

Zed Server

This crate is what we run at https://collab.zed.dev.

It contains our back-end logic for collaboration, to which we connect from the Zed client via a websocket after authenticating via https://zed.dev, which is a separate repo running on Vercel.