Marshall Bowers
60127f2a8d
Fix .env.toml paths ( #15645 )
...
This PR fixes the `.env.toml` paths, since we inadvertently broke them
in https://github.com/zed-industries/zed/pull/15557 .
There's likely a better way we can do this, but I wanted to restore the
previous behavior, for now.
Release Notes:
- N/A
2024-08-01 15:43:29 -04:00
Max Brunsfeld and Marshall
3f1c091b87
Add the ability to store secret dev-only env vars in .env.secret.toml ( #15557 )
...
Release Notes:
- N/A
---------
Co-authored-by: Marshall <marshall@zed.dev >
2024-07-31 12:41:09 -07:00
Conrad Irwin
ac4c6c60f1
Make it (a tiny bit) easier to run your own collab ( #9557 )
...
* Allow creating channels when seeding
* Allow configuring a custom `SEED_PATH`
* Seed the database when creating/migrating it so you don't need a
separate step for this.
Release Notes:
- N/A
2024-03-20 21:00:02 -06:00
Conrad Irwin
77de5689a3
Allow setting a channel for new users to auto-join ( #9291 )
...
Release Notes:
- Automatically add new users to the #zed channel
2024-03-13 11:11:31 -06:00
Marshall Bowers
5fad319cb5
Enable clippy::expect_fun_call ( #8768 )
...
This PR enables the
[`clippy::expect_fun_call`](https://rust-lang.github.io/rust-clippy/master/index.html#/expect_fun_call )
rule and fixes the outstanding violations.
Release Notes:
- N/A
2024-03-03 10:27:37 -05:00
Kirill Bulatov
e27c2fc946
Fix seed-db script by passing it the correct admin file path ( #8022 )
...
Release Notes:
- N/A
2024-02-19 18:53:17 +02:00
Max Brunsfeld and Marshall
25708088b7
Add requires_zed_cla column to channels table
...
Don't allow granting guests write access in a call where the channel
or one of its ancestors requires the zed CLA, until that guest has
signed the Zed CLA.
Co-authored-by: Marshall <marshall@zed.dev >
2024-01-22 16:41:24 -08:00
Max Brunsfeld
b9458fe4ac
Fix call to get_or_create_user in seed binary
2024-01-22 14:15:41 -08:00
Max Brunsfeld
9367f719f2
Rework db-seeding, so that it doesn't depend on a github auth token
...
Instead, admins are specified using a JSON file, 'admins.json'. This file is
gitignored. If it is not present, there is a default list of admins in
'admins.default.json'.
2024-01-17 13:28:58 -08:00
Max Brunsfeld
5257fb8533
Fix compile error in db seed executable
2023-10-18 18:05:51 -07:00
Max Brunsfeld and Mikayla
4d55110452
Restore seeding of random GH users in seed-db
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2023-08-02 15:45:22 -07:00
Max Brunsfeld and Antonio Scandurra
35280f7d80
Introduce a delay before retrying a transaction after a serialization failure
...
Co-authored-by: Antonio Scandurra <antonio@zed.dev >
2023-03-16 13:07:38 -07:00
Antonio Scandurra
0f429243d7
Fix seed binary
2023-03-14 12:37:56 +01:00
Antonio Scandurra
744714b478
Remove unused UserId import from seed script
2022-12-06 09:07:25 +01:00
Antonio Scandurra
969c314315
Merge branch 'main' into reconnections-2
2022-12-02 19:09:33 +01:00
Antonio Scandurra
27f6ae945d
Clear stale data on startup
...
This is a stopgap measure until we introduce reconnection support.
2022-12-02 16:30:00 +01:00
Antonio Scandurra
1b46b7a7d6
Move modules into collab library as opposed to using the binary
...
This ensures that we can use collab's modules from the seed script
as well.
2022-12-02 14:37:52 +01:00
Antonio Scandurra
0f4598a243
Fix seed script
2022-11-17 15:34:35 +01:00
Max Brunsfeld and Nate Butler
6659dac2e5
Fix compile errors in seed script, ensure it is compiled on CI
...
Co-authored-by: Nate Butler <nate@zed.dev >
2022-11-14 11:12:25 -08:00
Antonio Scandurra
d9d99e5e04
Fix seed script
2022-10-10 16:05:22 +02:00
Max Brunsfeld
7a049f1404
Fix error when loading users without github user ids from the db
2022-09-21 14:27:06 -07:00
Max Brunsfeld
776095caf0
Add bootstrap script, avoid hard-coding zed team members
2022-08-15 13:25:31 -07:00
Keith Simmons
125d83b3ec
Fix failing seed bin build and add bin builds to ci pipeline
2022-05-26 15:41:24 -07:00
Antonio Scandurra and Nathan Sobo
d4e6ab4975
Seed first users from GitHub when running script/seed-db --github-users
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2022-05-10 17:19:39 +02:00
Antonio Scandurra
b4ae2b20a0
Remove remaining async-std dependencies from collab
2022-04-26 19:47:40 +02:00
Nathan Sobo
ab8204368c
Rename zed-server to collab
...
Over time, I think we may end up having multiple services, so it seems like a good opportunity to name this one more specifically while the cost is low. It just seems like naming it "zed" and "zed-server" leaves it a bit open ended.
2022-04-09 08:30:42 -06:00