Conrad Irwin
cc390ba862
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
Conrad Irwin
04a28fe831
Fix lint errors
2023-10-17 13:32:08 -06:00
Conrad Irwin
1c5e07f4a2
update sidebar for public channels
2023-10-17 13:30:09 -06:00
Conrad Irwin
5b39fc8123
Temporarily join public channels as a member
2023-10-17 10:29:43 -06:00
Conrad Irwin
3412becfc5
Fix some tests
2023-10-17 10:15:20 -06:00
Conrad Irwin
2456c077f6
Fix channel test ordering
2023-10-17 10:01:31 -06:00
Conrad Irwin
9cc55f895c
Merge branch 'main' into guests
2023-10-17 09:54:17 -06:00
Conrad Irwin
851701cb6f
Fix get_most_public_ancestor
2023-10-17 09:41:34 -06:00
Conrad Irwin
b168bded1d
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
Conrad Irwin
c12f0d2697
Provisioning profiles for stable and preview
2023-10-16 20:38:10 -06:00
Conrad Irwin
6ffbc3a0f5
Allow pasting ZED urls in the command palette in development
2023-10-16 20:03:44 -06:00
Conrad Irwin
2feb091961
Ensure that invitees do not have permissions
...
They have to accept the invite, (which joining the channel will do),
first.
2023-10-16 16:24:10 -06:00
Conrad Irwin
4e7b35c917
Make joining a channel as a guest always succeed
2023-10-16 15:14:13 -06:00
Conrad Irwin
f6f9b5c8cb
Wire through public access toggle
2023-10-13 16:59:30 -06:00
Conrad Irwin
f8fd77b83e
fix migration
2023-10-13 15:08:09 -06:00
Conrad Irwin
af11cc6cfd
show warnings by default
2023-10-13 15:07:49 -06:00
Conrad Irwin
e20bc87152
Add some sanity checks for new user channel graph
2023-10-13 14:30:20 -06:00
Conrad Irwin
bb408936e9
Ignore old admin column
2023-10-13 14:08:40 -06:00
Conrad Irwin
e050d168a7
Delete some old code, reame ChannelMembers -> Members
2023-10-13 13:39:46 -06:00
Conrad Irwin
9c6f5de551
Use new get_channel_descendants for delete
2023-10-13 13:17:19 -06:00
Conrad Irwin
a8e352a473
Rewrite get_user_channels with new permissions
2023-10-13 11:46:03 -06:00
Conrad Irwin
65a0ebf975
Update get_channel_participant_details to include guests
2023-10-12 21:36:21 -06:00
Conrad Irwin
da2b8082b3
Rename members to participants in db crate
2023-10-12 20:42:42 -06:00
Conrad Irwin
a7db2aa39d
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
Conrad Irwin
540436a1f9
Push role refactoring through RPC/client
2023-10-12 13:05:54 -06:00
Conrad Irwin
690d9fb971
Add a role column to the database and start using it
...
We cannot yet stop using `admin` because stable will continue writing
it.
2023-10-11 20:05:57 -06:00
Conrad Irwin
be1800884e
Make collaboration warning more useful ( #3119 )
...
Release Notes:
- Fixed the titlebar upgrade UI to restart zed when an update is
available
2023-10-11 15:35:41 -06:00
Conrad Irwin
f6d0934b5d
deep considered harmful
2023-10-11 15:17:46 -06:00
Conrad Irwin
2d6725a41a
Make collaboration warning more useful
2023-10-11 09:50:22 -06:00
Conrad Irwin
7c867b6e54
New entitlements:
...
* Universal links
* Shared keychain group (to make development easier)
2023-10-11 09:36:12 -06:00
Conrad Irwin
821997d372
Revert accidental build change
2023-10-10 19:59:57 -06:00
Conrad Irwin
85b76b1143
Don't wrap on paragraphs ( #3094 )
...
Release Notes:
- vim: `{` and `}` will no longer wrap around end of file
([#2116 ](https://github.com/zed-industries/community/issues/2116 )).
2023-10-10 19:25:40 -06:00
Conrad Irwin
9004254fbf
vim: Add shift-y ( #3117 )
...
Release Notes:
- vim: Add `Y` to copy line-wise (this copies vim's behaviour, which
differs from nvim's)
2023-10-10 19:25:32 -06:00
Conrad Irwin
1de9add304
vim: Add shift-y
2023-10-10 18:46:49 -06:00
Conrad Irwin
66af1707a1
Add channel links ( #3093 )
...
Release notes:
- `mute_on_join` setting now defaults to false.
- Right click on a channel to "Copy Channel Link", these links work to
open Zed and auto-join the channel
Blocked on: https://github.com/zed-industries/zed.dev/pull/388
2023-10-10 08:53:50 -06:00
Conrad Irwin
d4ef764305
Merge branch 'main' into links
2023-10-09 20:08:48 -06:00
Conrad Irwin
8922437fcd
code review
2023-10-09 19:06:55 -06:00
Conrad Irwin
fb57299a1d
re-trigger build with new profile?
2023-10-09 13:40:22 -06:00
Conrad Irwin
162cb19cff
Only allow one release channel in a call
2023-10-09 12:59:18 -06:00
Conrad Irwin
abfb4490d5
Focus the currently active project if there is one
...
(also consider your own projects in "most_active_projects")
2023-10-09 12:05:26 -06:00
Conrad Irwin
6084486dcd
Code quality
2023-10-09 09:44:09 -06:00
Conrad Irwin
8f4d81903c
Add "Copy Link" to channel right click menu
2023-10-09 09:30:00 -06:00
Conrad Irwin
5dbda70235
Fix ./script/bundle to allow passing key
2023-10-09 08:59:25 -06:00
Conrad Irwin
34b7537948
Add universal links support to mac platform
2023-10-06 23:15:37 -06:00
Conrad Irwin
66120fb97a
Try universal link entitlement too
2023-10-06 22:25:00 -06:00
Conrad Irwin
f6bc229d1d
More progress and some debug logs to remove
2023-10-06 16:48:29 -06:00
Conrad Irwin
63a230f92e
Make joining on boot work
2023-10-06 16:11:45 -06:00
Conrad Irwin
4128e2ffcb
Fix panic if the host is not there.
2023-10-06 15:18:25 -06:00
Conrad Irwin
b58c42cd53
TEMP
2023-10-06 13:47:35 -06:00
Conrad Irwin
2d99b327fc
Don't wrap on paragraphs
...
For zed-industries/community#2116
2023-10-06 10:32:15 -06:00
Conrad Irwin
13192fa03c
Code to allow opening zed:/channel/1234
...
Refactored a bit how url arguments are handled to avoid adding too much
extra complexity to main.
2023-10-05 14:57:45 -07:00
Conrad Irwin
b258ee5f77
Fix ./script/bundle -l
2023-10-05 14:55:39 -07:00
Conrad Irwin
a63eccf188
Add url schemes to Zed
2023-10-05 14:55:39 -07:00
Conrad Irwin
78b1231386
Clear SelectionGoal on input ( #3089 )
...
Release Notes:
- `up` and `down` now go to the correct place after inserting
2023-10-05 09:57:36 -06:00
Conrad Irwin
f1c743286d
Clear SelectionGoal on input
2023-10-05 09:02:52 -06:00
Conrad Irwin
427a857e9a
Fix panic in increment ( #3084 )
...
Release Notes:
- Fixes a panic in vim when incrementing a non-number.
2023-10-04 15:39:24 -06:00
Conrad Irwin
e9842091e4
save tweaks ( #3031 )
...
- use SaveAll instead of Save
- TODO: fix where closing a multi-buffer gives a confusing save prompt
2023-10-04 15:38:07 -06:00
Conrad Irwin
f7cd0e84f9
Remove old code from notes icon click handler
2023-10-04 15:18:26 -06:00
Conrad Irwin
a4e77af571
Fix panic in increment
2023-10-04 15:13:01 -06:00
Conrad Irwin
7d94b0325f
Fix renaming ( #3083 )
...
Release Notes:
- Fix bugs arising from saving an untitled buffer
2023-10-04 14:50:31 -06:00
Conrad Irwin and Mikayla Maki
ff1722d307
Fix tracking newly saved buffers
...
Co-Authored-By: Mikayla Maki <mikayla@zed.dev >
2023-10-04 14:44:21 -06:00
Conrad Irwin
55d2b9b3c9
join channels ( #3082 )
...
Release Notes:
- Clicking on a channel in the sidebar will now join the channel and
open the notes
- If you join a channel that already shared projects, you will join the
projects automatically and follow the host.
- Clicking on the current channel in the sidebar will re-open the notes.
- Chat can now be accessed from the right click menu of channels.
- (probably not worth mentioning) Various improvements to hover states
and tooltips in the collab ui; and if you click on a channel while in
another call, confirm before switching.
2023-10-03 13:54:11 -06:00
Conrad Irwin
044fb9e2f5
Confirm on switching channels
2023-10-03 13:45:48 -06:00
Conrad Irwin
d696b394c4
Tooltips for contacts
2023-10-03 12:54:39 -06:00
Conrad Irwin
d8bfe77a3b
Scroll so that collab panel is in good state for calls
2023-10-03 12:00:02 -06:00
Conrad Irwin
66dfa47c66
Update collab ui to join channels again
2023-10-03 11:36:01 -06:00
Conrad Irwin
18e7305b6d
Change channel join behavior
...
- Clicking on a channel name now joins the channel if you are not in it
- (or opens the notes if you are already there).
- When joining a channel, previously shared projects are opened
automatically.
- If there are no previously shared projects, the notes are opened.
2023-10-02 23:20:06 -06:00
Conrad Irwin
d9813a5bec
show host in titlebar ( #3072 )
...
Release Notes:
- show host in the titlebar of shared projects
- clicking on faces in the titlebar will now always follow the person
(it used to toggle)
- clicking on someone in the channel panel will follow that person
- highlight the currently open project in the channel panel
- fixes a bug where sometimes following between workspaces would not
work
2023-10-02 21:02:02 -06:00
Conrad Irwin
d7867cd1e2
Add/fix mouse interactions in current call sidebar
2023-10-02 19:38:45 -06:00
Conrad Irwin
528fa5c57b
Refactor to remove toggle_follow
2023-10-02 16:51:02 -06:00
Conrad Irwin
27d784b23e
Fix bug in following
...
Prior to this change you could only follow across workspaces when you
were heading to the first window.
2023-10-02 16:29:42 -06:00
Conrad Irwin
7f44083a96
Remove unused function
2023-10-02 11:03:55 -06:00
Conrad Irwin
39af2bb0a4
Ensure notifications are dismissed
...
Before this change if you joined a project without clicking on the
notification it would never disappear.
Fix a related bug where if you have more than one monitor, the
notification was only dismissed from one of them.
2023-10-02 11:01:21 -06:00
Conrad Irwin
9dc292772a
Add a screen for gpui tests
...
Allows me to test notifications
2023-10-02 09:53:30 -06:00
Conrad Irwin and Max Brunsfeld
92bb9a5fdc
Make following more good
...
Co-Authored-By: Max Brunsfeld <max@zed.dev >
2023-09-29 17:59:19 -06:00
Conrad Irwin and Max Brunsfeld
1cfc2f0c07
Show host in titlebar
...
Co-Authored-By: Max Brunsfeld <max@zed.dev >
2023-09-29 16:37:00 -06:00
Conrad Irwin
219715449d
More logging on collab by default
2023-09-29 16:37:00 -06:00
Conrad Irwin
d9c1cf9874
vim: Fix accidental visual selection when following ( #3068 )
...
Release Notes:
- vim: Fix a bug where following could put you in visual mode
2023-09-29 13:59:59 -06:00
Conrad Irwin
9b7bd4e9ae
vim: Fix accidental visual selection when following
2023-09-29 12:08:25 -06:00
Conrad Irwin
e7ee8a95f6
vim: Fix some dw edge cases ( #3058 )
...
Release Notes:
- vim: Fix `dw` on the last word of a line, and on empty lines.
2023-09-28 15:32:29 -06:00
Conrad Irwin
91adefedfa
vim keybinding updates ( #3057 )
...
Release Notes:
- vim: Add ctrl-i to go forward
([#1732 ](https://github.com/zed-industries/community/issues/1732 )).
ctrl-o was already supported.
- vim: Add `g <space>` to open the current snippet in its own file.
- vim: Escape will now return to normal mode even if completion menus
are open (use `ctrl-x ctrl-z` to hide menus, as in vim).
- vim: Add key bindings for Zed's various completion mechanisms:
- - `ctrl-x ctrl-o` to open the completion menu,
- - `ctrl-x ctrl-l` to open the LSP action menu,
- - `ctrl-x ctrl-c` to trigger Copilot (requires configuring copilot),
- - `ctrl-x ctrl-a` to trigger the inline Assistant (requires
configuring openAI),
NOTE: we should add these to the docs before shipping 0.107 to stable.
2023-09-28 15:32:21 -06:00
Conrad Irwin
2f5eaa8475
vim increment ( #3054 )
...
- vim: add ctrl-a/ctrl-x for increment/decrement
2023-09-28 15:32:11 -06:00
Conrad Irwin
768c991909
vim: Fix some dw edge cases
2023-09-27 23:09:09 -06:00
Conrad Irwin
51b24bbaf3
Add vim-style completion bindings:
2023-09-27 21:29:18 -06:00
Conrad Irwin
2cb320e246
Escape returns to normal mode even if completion is open
...
For zed-industries/community#1746
2023-09-27 21:28:30 -06:00
Conrad Irwin
73fc1c1c56
Add g space for option-enter
...
vimify all the things
2023-09-27 21:05:58 -06:00
Conrad Irwin
d1baff1743
Add ctrl-i to go forward
...
For zed-industries/community#1732
2023-09-27 21:04:13 -06:00
Conrad Irwin
dd1cf5c3cf
vim: add ctrl-a/ctrl-x
...
For zed-industries/community#1411
For zed-industries/community#619
2023-09-27 19:49:31 -06:00
Conrad Irwin
9246c11c35
Don't prompt to save unchanged files ( #3053 )
...
- don't prompt to save a set of unchanged files when closing
(preview-only)
2023-09-27 19:20:08 -06:00
Conrad Irwin
6cebcac805
fix tests
2023-09-27 17:02:47 -06:00
Conrad Irwin
3573896fe0
Don't prompt to save unchanged files
2023-09-27 16:07:35 -06:00
Conrad Irwin
25429f760c
ctrl-a/x for vim
2023-09-27 12:32:01 -06:00
Conrad Irwin
c63cc78ffd
vim: Fix ctrl-u/ctrl-d ( #3044 )
...
- vim: Fix ctrl-d/ctrl-u to match vim (when :set scrolloff=3)
2023-09-27 07:48:50 -06:00
Conrad Irwin
8e1bbf32be
vim: Fix ctrl-u/ctrl-d
...
They should work by exactly half a screen, and also move the cursor.
2023-09-26 22:28:04 -06:00
Conrad Irwin
30bb3a109e
Add SwapPaneInDirection ( #3043 )
...
- Add cmd-k shift-{left,right,up,down} to swap panes in that direction
- vim: Add ctrl-w shift-{h,j,k,l} to swap panes in that direction
([#278 ](https://github.com/zed-industries/community/issues/278 ))
2023-09-26 22:18:02 -06:00
Conrad Irwin
37b6e1cbb7
Add SwapPaneInDirection
...
Add keybindings for vim (and non-vim)
2023-09-26 22:00:51 -06:00
Conrad Irwin
42df5ef45e
vim: Add multicursor shortcuts ( #3032 )
...
Adding a few bindings to bring first class feeling multiselect to zed's
vim emulation.
gn and gN are similar to similar vim bindings, ga is similar to gA (and
I doubt we need vim's real ga), g> and g< are just made up.
Release Notes:
- vim: `g n` / `g N` to select next/previous
- vim: `g >` / `g <` to skip current selection and select next/previous
- vim: `g a` to select all
2023-09-25 17:18:12 -05:00
Conrad Irwin
b29e295e1b
vim: Add multicursor shortcuts
...
- g n / g N to select next/previous
- g > / g < to select next/previous replacing current
- g a to select all matches
2023-09-25 15:32:03 -06:00
Conrad Irwin
b454f43b6c
Add cmd-+ as an alias for cmd-= ( #3028 )
...
Release Notes:
- Allow cmd-+ in addition to cmd-= for zoom in
([#1021 ](https://github.com/zed-industries/community/issues/1021 )).
Although I had initially thought this was something more to do with
option key handling, it turns out to be a straightforward and reasonable
feature request.
2023-09-25 14:45:46 -05:00
Conrad Irwin
53194ede5e
Use SaveAll instead of Save
...
If we're closing items we should not be writing files that have not
changed (e.g. empty untitled buffers)
2023-09-25 13:14:30 -06:00