Commit Graph
2567 Commits
Author SHA1 Message Date
Max Brunsfeld 07e0674f68 Fix compile error in db seed executable 2023-10-18 18:05:51 -07:00
Max Brunsfeld f0434bfebc Fix possibility of extra mention insertion on nonce collision 2023-10-18 18:04:56 -07: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
Conrad Irwin 8d9c9c16d4 Fix notifications on channel changes 2023-10-18 15:56:33 -06:00
Joseph T. Lyons b4911dcea8 collab 0.25.0 2023-10-18 13:17:17 -04: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
Conrad Irwin c339356343 Allow guests to chat 2023-10-17 19:03:02 -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
Conrad Irwin 9cbc8b8095 Make sure guests join as guests 2023-10-17 15:40:23 -06:00
Conrad Irwin 5240eb08f9 update sidebar for public channels 2023-10-17 13:30:09 -06:00
Max Brunsfeld 9ed0e5fdd9 Add notifications integration test 2023-10-17 11:21:38 -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
Conrad Irwin 29b1d0ad13 Temporarily join public channels as a member 2023-10-17 10:29:43 -06: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
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
Mikayla dce496da2e Minor adjustments 2023-10-17 03:05:01 -07:00
Mikayla 942f910aee Adjust chat permisisons to allow deletion for channel admins 2023-10-17 02:16:17 -07:00
Conrad Irwin 61d349956e Allow pasting ZED urls in the command palette in development 2023-10-16 20:03:44 -06:00
Conrad Irwin 74ffac5519 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 2899a628c7 Make joining a channel as a guest always succeed 2023-10-16 15:14:13 -06:00
Max Brunsfeld e495ff0de9 Reduce duplication in notification queries 2023-10-13 17:10:46 -07:00
Max Brunsfeld 36181653c3 Avoid creating duplicate invite notifications 2023-10-13 16:57:28 -07: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
Conrad Irwin 7194bee9c3 fix migration 2023-10-13 15:08:09 -06:00
Conrad Irwin d870433378 Add some sanity checks for new user channel graph 2023-10-13 14:30:20 -06:00
Conrad Irwin b932ca9f2a Ignore old admin column 2023-10-13 14:08:40 -06:00
Conrad Irwin 6ddcc6689a Delete some old code, reame ChannelMembers -> Members 2023-10-13 13:39:46 -06:00
Conrad Irwin 9116ab1f14 Use new get_channel_descendants for delete 2023-10-13 13:17:19 -06:00
Max Brunsfeld b7207c5533 Merge branch 'main' into notifications 2023-10-13 11:31:53 -07:00
Max Brunsfeld fb4b3bb4c1 Connect notification panel to notification toasts 2023-10-13 11:21:45 -07:00
Conrad Irwin 2fab720906 Rewrite get_user_channels with new permissions 2023-10-13 11:46:03 -06:00
Julia e3e012b4b4 Autocomplete docs (#3126)
Release Notes:

- Added documentation display for autocomplete items.
- Fixed autocomplete filtering blocking the Zed UI, causing hitches and
input delays with large completion lists.
- Fixed hover popup link not firing if the mouse moved a slight amount
while clicking.
- Added support for absolute path file links in hover popup and
autocomplete docs.
2023-10-13 13:26:45 -04:00
Conrad Irwin 19446801b3 Update get_channel_participant_details to include guests 2023-10-12 21:36:21 -06:00
Conrad Irwin d21a3f1fdd Rename members to participants in db crate 2023-10-12 20:42:42 -06: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 2eb3c45b7f Set up notification store for integration tests 2023-10-12 17:42:30 -07:00
Max Brunsfeld 7d663b7290 Start work on notification panel 2023-10-12 17:41:09 -07:00
Max Brunsfeld a033f0ac42 Add notification doc comments 2023-10-12 17:41:09 -07:00
Max Brunsfeld 3fd65b596a Start work on storing notifications in the database 2023-10-12 17:41:07 -07:00
Mikayla 76321cddd4 Add channel visibility columns and protos 2023-10-12 12:21:41 -07:00