Commit Graph
39175 Commits
Author SHA1 Message Date
Conrad Irwin 58950c1d11 Start writing role to database (#3120)
Scaffolding for guest members in channels

Release notes:
- You can now set channels to "public" which will allow anyone to join
and become a member. In a future release guests joining public channels
will have reduced permissions.
2023-10-17 13:40:58 -06:00
Antonio Scandurra cb95aca042 Checkpoint 2023-10-17 21:40:24 +02:00
Antonio Scandurra 4dbf6aaf5a Checkpoint 2023-10-17 21:37:09 +02:00
Conrad Irwin e81e9c9538 Fix lint errors 2023-10-17 13:32:08 -06:00
Conrad Irwin 5240eb08f9 update sidebar for public channels 2023-10-17 13:30:09 -06:00
Antonio Scandurra 0c5fb7f1e6 Checkpoint 2023-10-17 21:11:52 +02:00
Kyle Caverly bbbab1c92e Introduce Context Retrieval in Inline Assistant (#3097)
This PR introduces a new Inline Assistant feature "Retrieve Context", to
dynamically fill the content in your generation prompt based on relevant
results returned from the Semantic Search for the Prompt.

Release Notes:

- Introduce "Retrieve Context" button in Inline Assistant
2023-10-17 15:04:36 -04:00
Kirill Bulatov 44626a64a2 Cap every language server logs (#3134)
* on opening a language server's logs, a new editor for server logs is
now created from `\n`-joined `VecDeque` elements instead of a buffer, as
before
* every `VecDeque` entry is a log line we receiver out of stderr or LSP
server, and their general amount is capped with `let
MAX_STORED_LOG_ENTRIES: usize = 2000;`
* currently opened editor with logs (`Editor::multi_line`) keeps getting
log lines appended and may get over this cap, but only last stored 2000
entries will be restored on reopen
* similarly, cap rpc message logs

Release Notes:

- Improved memory usage by storing less language LSP server and rpc logs
2023-10-17 21:51:21 +03:00
Kirill Bulatov b1f5894b56 Reduce max log lines, clean log buffers better 2023-10-17 21:47:21 +03:00
Kirill Bulatov 3dc40711b6 Do not create buffers for rpc logs 2023-10-17 21:43:34 +03:00
Kirill Bulatov a1c88cee98 Remove another needless log buffer 2023-10-17 21:43:34 +03:00
Kirill Bulatov f3334199db Update editor with current buffer logs 2023-10-17 21:43:34 +03:00
Kirill Bulatov f73e3636a3 Do not detach subscriptions 2023-10-17 21:43:34 +03:00
Kirill Bulatov eccf64d21a Add a rough prototype 2023-10-17 21:43:34 +03:00
Max Brunsfeld 9ed0e5fdd9 Add notifications integration test 2023-10-17 11:21:38 -07:00
Nate Butler ea92a0aec5 Add link & public icons 2023-10-17 13:34:51 -04:00
Max Brunsfeld c618af92cd Generalize notifications' actor id to entity id
This way, we can retrieve channel invite notifications when
responding to the invites.
2023-10-17 10:34:50 -07:00
Piotr Osiewicz 0113bca5ce workspace: Do not scan for .gitignore files if a .git directory is encountered along the way (#3135)
Partially fixes zed-industries/community#575

This PR will see one more fix to the case I've spotted while working on
this: namely, if a project has several nested repositories, e.g for a
structure:
/a
/a/.git/
/a/.gitignore
/a/b/
/a/b/.git/
/a/b/.gitignore

/b/ should not account for a's .gitignore at all - which is sort of
similar to the fix in commit #c416fbb, but for the paths in the project.

The release note is kinda bad, I'll try to reword it too.
- [ ] Improve release note.
- [x] Address the same bug for project files.

Release Notes:
- Fixed .gitignore files beyond the first .git directory being respected
by the worktree (zed-industries/community#575).
2023-10-17 18:56:03 +02:00
Antonio Scandurra 6446425359 WIP 2023-10-17 18:45:01 +02:00
Antonio Scandurra 6ab9a8cf9b WIP 2023-10-17 18:37:53 +02:00
Conrad Irwin 29b1d0ad13 Temporarily join public channels as a member 2023-10-17 10:29:43 -06:00
Antonio Scandurra ad948cf8b7 WIP 2023-10-17 18:28:58 +02:00
Conrad Irwin cab542114e Fix some tests 2023-10-17 10:15:20 -06:00
Max Brunsfeld f8e8340b84 Display invite response buttons inline in notification panel 2023-10-17 09:12:55 -07:00
Conrad Irwin 2da5b3d15e Fix channel test ordering 2023-10-17 10:01:31 -06:00
KCaverly 88254283cc implement initial concept of prompt chain 2023-10-17 11:58:45 -04:00
Conrad Irwin 9029a2807b Merge branch 'main' into guests 2023-10-17 09:54:17 -06:00
Conrad Irwin 7d67bc51fb Fix get_most_public_ancestor 2023-10-17 09:41:34 -06:00
Antonio Scandurra b492f9d4dc WIP 2023-10-17 13:32:49 +02:00
Antonio Scandurra 8d3e9b22f2 WIP 2023-10-17 12:46:50 +02:00
Mikayla dce496da2e Minor adjustments 2023-10-17 03:05:01 -07:00
Antonio Scandurra b4b5aa0296 Checkpoint 2023-10-17 11:35:48 +02:00
Antonio Scandurra d4a1940a56 Checkpoint 2023-10-17 11:31:13 +02:00
Mikayla Maki d39fa728ba Update IDs on interactive elements in LSP log viewer (#3133)
This PR fixes a panic in the LSP log viewer when rendering the popover
UI. This did not ship to preview or stable, and so does not require a
release note.

Release Notes:

- N/A
2023-10-17 02:27:37 -07:00
Mikayla Maki 17108d8c5b Adjust chat to allow channel admins to delete all messages (#3132)
As it says on the tin

Release Notes:

- Changed chat permissions so that admins of a channel can delete any
message in a channel.
2023-10-17 02:24:14 -07:00
Mikayla 4c91261cab Update IDs on interactive elements in LSP log viewer 2023-10-17 02:22:34 -07:00
Antonio Scandurra c684b8754d Checkpoint 2023-10-17 11:21:02 +02:00
Antonio Scandurra 5f8c949407 Checkpoint 2023-10-17 11:20:11 +02:00
Mikayla 942f910aee Adjust chat permisisons to allow deletion for channel admins 2023-10-17 02:16:17 -07:00
Antonio Scandurra 33d8caf69f Checkpoint 2023-10-17 11:08:48 +02:00
Antonio Scandurra 11511f9e5b Checkpoint 2023-10-17 10:14:22 +02:00
Antonio Scandurra f3e85df701 Merge branch 'gpui2-text-wrap' into gpui2 2023-10-17 09:03:16 +02:00
Antonio Scandurra 07dcf4ef24 Checkpoint 2023-10-17 09:03:01 +02:00
Antonio Scandurra b01dd45781 Checkpoint 2023-10-17 08:57:20 +02:00
Antonio Scandurra e87b18ea3e Checkpoint 2023-10-17 08:52:26 +02:00
Antonio Scandurra adf5ff1e0c Checkpoint 2023-10-17 08:32:33 +02:00
Nathan Sobo 1901b8552f Checkpoint 2023-10-17 08:26:12 +02:00
Conrad Irwin 968aa29b0c New entitlements: (#3118)
Release Notes:

- Support Universal Links for Channel links
- Share credentials between Stable and Preview
2023-10-16 22:10:14 -06:00
Nathan Sobo 8bad9a330e Checkpoint 2023-10-17 06:09:03 +02:00
Nathan Sobo 724f42a671 Include length in run to not use tuples 2023-10-17 05:15:00 +02:00