Commit Graph
633 Commits
Author SHA1 Message Date
Conrad Irwin 4498a5d50a Try to send typed errors back and forth
TEMP

TEMP

First pass of structured errors

Improved error handling for channel joining failures
2024-01-24 20:32:39 -07:00
Julian Braha d3611483a7 Replace tempdir crate with tempfile 2024-01-24 17:58:09 +00:00
Piotr Osiewicz 5cb6fc5776 chore: Change AGPL-licensed crates to GPL (except for collab) (#4231)
- [x] Fill in GPL license text.
- [x] live_kit_client depends on live_kit_server as non-dev dependency,
even though it seems to only be used for tests. Is that an issue?

Release Notes:
- N/A
2024-01-24 00:26:58 +01:00
Piotr Osiewicz 1e1b434acc Remove license-file from Cargo.toml as it is apparently redundant (#4218)
Release Notes:

- N/A
2024-01-23 17:40:30 +01:00
Piotr OsiewiczandDavid 3fe512e1aa chore: Add crate licenses. (#4158)
- GPUI and all dependencies: Apache 2
- Everything else: AGPL

Here's a script that I've generated for it:
https://gist.github.com/osiewicz/6afdd6626e517da24a2092807e6f0b6e

Release Notes:
- N/A

---------

Co-authored-by: David <david@zed.dev>
2024-01-23 16:56:22 +01:00
Max Brunsfeld 037768f80d Merge branch 'main' into language-api-docs 2024-01-18 15:06:45 -08:00
Max BrunsfeldandAntonio 7ea371a531 Add docs for buffer.rs
Co-authored-by: Antonio <antonio@zed.dev>
2024-01-17 10:08:42 -08:00
Mikayla 4a824521f3 remove more commented code 2024-01-12 20:10:40 -08:00
Conrad Irwin fba7f557d9 Merge branch 'main' into guest-promotion 2024-01-09 16:28:42 -07:00
Piotr Osiewicz 6f97b30b45 chore: cfg(test) a test in rpc. (#3978)
The test in particular should be included in our release binary at
present. :/
Release Notes:

- N/A
2024-01-09 18:00:54 +01:00
Conrad Irwin 71ef720072 Allow adding write access to guests 2024-01-08 22:02:56 -07:00
Max Brunsfeld 86f3d1efa1 Check user is host for host-broadcasted project messages 2024-01-08 12:04:59 -08:00
Conrad Irwin 2cf11423a3 Tidy up branch 2024-01-04 11:55:14 -07:00
Conrad Irwin 5f8ac7c29b Plumbing to pass role for room participants 2024-01-03 19:30:32 -07:00
Conrad Irwin b40a24fd40 TEMP 2024-01-03 19:30:32 -07:00
Max BrunsfeldandMikayla 01b483b367 Remove 2 suffix from gpui_macros, fix compile errors in tests
Co-authored-by: Mikayla <mikayla@zed.dev>
2024-01-03 13:12:21 -08:00
Max BrunsfeldandMikayla 75f0670dd6 Remove 2 suffix from gpui
Co-authored-by: Mikayla <mikayla@zed.dev>
2024-01-03 12:59:39 -08:00
Max BrunsfeldandMikayla 7173f4a82b Remove 2 suffix for fs, db, semantic_index, prettier
Co-authored-by: Mikayla <mikayla@zed.dev>
2024-01-03 12:09:42 -08:00
Kirill Bulatov cea3a29d19 Port to gpui1 2023-12-11 12:28:22 +02:00
Kirill Bulatov 057bf4e440 Ignore excluded files on worktree entry refresh 2023-12-05 12:30:29 +02:00
Kirill Bulatov 7fd7fdeef6 Allow opening buffers without a project entry 2023-12-05 12:30:29 +02:00
Kirill Bulatov b8ad39b42c Pass a new query parameter into the search 2023-11-17 21:40:56 +02:00
Max Brunsfeld 00432b613d Bump RPC version for channels + notifications changes 2023-10-25 17:37:14 +02:00
Max Brunsfeld 7f767a024c Set up UI to allow dragging a channel to the root 2023-10-25 15:39:02 +02:00
e3864cb084 Remove logic for multiple channel parents
Co-authored-by: Conrad <conrad@zed.dev>
Co-authored-by: Kyle <kyle@zed.dev>
Co-authored-by: Joseph <joseph@zed.dev>
2023-10-24 17:29:23 +02:00
Conrad Irwin 416c049767 Merge branch 'main' into guest-exp 2023-10-23 17:47:21 +02:00
Max Brunsfeld ab38098989 Load more notifications when scrolling down 2023-10-22 17:10:21 +02:00
Max Brunsfeld e879c28daf Mark contact acceptance notifications as read automatically 2023-10-22 12:22:47 +02:00
Conrad Irwin ec356978a3 Wire through LiveKit permissions 2023-10-19 23:23:33 -06:00
Max Brunsfeld 5b0fa47a7f Rename NewNotification proto message to AddNotification 2023-10-19 13:29:14 -07:00
Conrad Irwin 331d334bae Refactor to avoid some (mostly hypothetical) races
Tidy up added code to reduce duplicity of X and X_internals.
2023-10-18 21:42:10 -06:00
Max Brunsfeld 256ef99284 Merge branch 'main' into notifications 2023-10-18 17:20:04 -07:00
Max Brunsfeld d286c4441d Persist chat mentions 2023-10-18 16:56:03 -07:00
Mikayla 77da29e4a9 Restrict DAG-related functionality, but retain infrastructure for implementing symlinks 2023-10-18 05:28:05 -07:00
Conrad Irwin 4d5b7e32a1 Sync Role as part of channels
Begin to fix guest notifications
2023-10-17 22:48:44 -06:00
Max Brunsfeld 1b89d99654 Start work on chat mentions 2023-10-17 17:59:42 -07:00
Max Brunsfeld a42661780e Fix more issues with the channels panel
* Put the newest notifications at the top
* Have at most 1 notification toast, which is non-interactive,
  but focuses the notification panel on click, and auto-dismisses
  on a timer.
2023-10-17 15:43:06 -07: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
Max Brunsfeld f8e8340b84 Display invite response buttons inline in notification panel 2023-10-17 09:12:55 -07:00
Conrad Irwin 9029a2807b Merge branch 'main' into guests 2023-10-17 09:54:17 -06:00
Max Brunsfeld c4d8fb39af Simplify notification serialization 2023-10-13 16:09:46 -07:00
Max Brunsfeld 497907ea4c Remove contact notifications when cancelling a contact request 2023-10-13 16:09:46 -07:00
Conrad Irwin a4e960f73a Wire through public access toggle 2023-10-13 16:59:30 -06:00
Max Brunsfeld b7207c5533 Merge branch 'main' into notifications 2023-10-13 11:31:53 -07:00
Max Brunsfeld 66fa04eef9 Bump protocol version 2023-10-13 11:23:39 -07:00
Max Brunsfeld fb4b3bb4c1 Connect notification panel to notification toasts 2023-10-13 11:21:45 -07:00
Conrad Irwin ca7a6064a8 Add check_is_channel_participant
Refactor permission checks to load ancestor permissions into memory
for all checks to make the different logics more explicit.
2023-10-12 19:59:50 -06:00
Max Brunsfeld 6f3ea55c7a Remove old contact request notification mechanism, use notification instead 2023-10-12 17:42:32 -07:00
Max Brunsfeld be1b3b38d5 Make notification db representation more flexible 2023-10-12 17:42:32 -07:00
Max Brunsfeld 1d0710a937 Fix use statement order 2023-10-12 17:41:09 -07:00