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
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
Mikayla
78432d08ca
Add channel visibility columns and protos
2023-10-12 12:21:41 -07: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
Joseph T. Lyons
d6fa06b3be
collab 0.24.0
2023-10-11 13:51:01 -04:00
Mikayla
d7d027bcf1
Rename release channel to enviroment
2023-10-10 13:23:03 -07:00
Mikayla
40430cf01b
Update channel rooms to be ephemeral
...
Remove redundant live kit initialization code
Fix bug in recent channel links changes where channel rooms would have the incorrect release set
co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
co-authored-by: Max <max@zed.dev>
2023-10-10 12:39:16 -07:00
Conrad Irwin
d4ef764305
Merge branch 'main' into links
2023-10-09 20:08:48 -06:00
Max Brunsfeld
af90077a6a
Add failing test for switching leaders in a pane
2023-10-09 13:30:14 -07:00
Conrad Irwin
162cb19cff
Only allow one release channel in a call
2023-10-09 12:59:18 -06:00
Max Brunsfeld
f8ca86c6a7
Remove workspace -> channel dependency
2023-10-06 14:19:25 -07:00
Max Brunsfeld
9f32a6e209
collab 0.23.3
2023-10-06 11:25:46 -07:00
Max Brunsfeld
663649a100
Fix error in query for last N channel messages
2023-10-06 10:58:34 -07:00
Max Brunsfeld
b3c9473bc8
collab 0.23.2
2023-10-05 16:06:28 -07:00
Max Brunsfeld
438dd42f7d
Fix bugs in handling mutual following
...
* Propagate all of leader's views to a new follower, even if those views
were originally created by that follower.
* Propagate active view changes to followers, even if the active view is
following that follower.
* Avoid redundant active view updates on the client.
2023-10-05 13:28:46 -07:00
Max Brunsfeld
df2fa87e6b
collab 0.23.1
2023-10-04 15:12:17 -07:00
Max Brunsfeld
d09767a90b
Ensure chat messages are retrieved in order of id
2023-10-04 14:43:53 -07:00
Joseph T. Lyons
6cb674a0aa
collab 0.23.0
2023-10-04 15:01:38 -04:00
Mikayla
4d61d01943
Add an RPC handler for channel buffer acks
...
co-authored-by: max <max@zed.dev>
2023-10-04 11:47:13 -07:00
Mikayla
e548572f12
Fix channel messages test
2023-10-04 10:13:02 -07:00
Mikayla
db8096ccdc
Fix most tests for new chat changes
2023-10-03 20:50:17 -07:00
Mikayla
3bc7024f8b
Fix unit test
...
co-authored-by: Conrad <conrad.irwin@gmail.com>
2023-10-03 20:03:57 -07:00
Max Brunsfeld
95342c8c33
Merge branch 'main' into channel-changes
2023-10-03 17:52:28 -07:00
Max Brunsfeld
61e0289014
Acknowledge channel notes and chat changes when views are active
...
Co-authored-by: Mikayla <mikayla@zed.dev>
2023-10-03 17:40:10 -07:00
Max Brunsfeld
af09861f5c
Specify uuid crate in the root Cargo.toml
...
Co-authored-by: Mikayla <mikayla@zed.dev>
2023-10-03 17:39:24 -07:00
Mikayla
6007c8705c
Upgrade SeaORM to latest version, also upgrade sqlite bindings, rustqlite, and remove SeaQuery
...
co-authored-by: Max <max@zed.dev>
2023-10-03 12:16:53 -07:00
Mikayla
32c4138758
Added db message and edit operation observation
...
Co-authored-by: Max <max@zed.dev>
2023-10-03 11:39:59 -07:00
Max Brunsfeld
0db4b29452
Avoid N+1 query for channels with new messages
...
Co-authored-by: Mikayla <mikayla@zed.dev>
2023-10-02 16:22:28 -07:00
Max Brunsfeld
d9d997b218
Avoid N+1 query for channels with notes changes
...
Also, start work on new timing for recording observed notes edits.
Co-authored-by: Mikayla <mikayla@zed.dev>
2023-10-02 15:58:34 -07: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
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
Mikayla
1d5b665f13
Implement channel changes for messages
2023-10-01 22:32:11 -07:00
Mikayla
51cf6a5ff3
Add database implementation of channel message change tracking
2023-10-01 22:32:11 -07:00
Mikayla
e0ff7ba180
Add channel note indicator and clear changed status
2023-10-01 22:32:10 -07:00
Mikayla
9ba975d6ad
Channel notifications from the server works
2023-10-01 22:30:21 -07:00
Mikayla
1469c02998
Add observed_channel_notes table and implement note diffing
2023-10-01 22:26:27 -07:00
Conrad Irwin
92bb9a5fdc
Make following more good
...
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2023-09-29 17:59:19 -06:00
Max Brunsfeld
ca0a4bdf8e
Introduce a WorkspaceStore for handling following
2023-09-28 18:58:52 -07:00