Commit graph

486 commits

Author SHA1 Message Date
e0d4360d09 feat: BufferNode also From<&str> 2024-02-09 00:59:04 +01:00
47127bbb41 chore: back from transport to proto 2024-02-09 00:39:07 +01:00
45c1106d98 chore: cleanup dependencies and features 2024-02-09 00:35:49 +01:00
c9a36ea8ec fix: cleaned up code, fixed multi-op change issues 2024-02-09 00:35:08 +01:00
99a268185a fix: increase channels buffer size
maybe helps? idk probably not actually
2024-02-07 21:24:31 +01:00
ed1ce45e7f fix: send path received from server 2024-02-07 04:41:13 +01:00
d78362c745 feat: getter for workspace
name doesn't really make sense: it's user-defined because we connect to
workspace contained inside token but store such connection with user
given name
2024-02-07 03:47:37 +01:00
42ae4c0152 fix: proper deps for features 2024-02-07 01:18:24 +01:00
2fabec6e2e docs: added notes about leaking buffer id to client 2024-02-07 01:15:32 +01:00
948a1b4de5 feat: workspace streaming attach and lists
to join a workspace, attach to it. to leave a workspace, close the
channel. on such channel you get workspace events (new buffers, user
leave, ...). must fetch current buffers and users upon join. if
workspace doesn't exist, server should create it on attach
also dashmap everywhere to get/put simple
2024-02-07 01:12:05 +01:00
f61836e4ca chore: we don't need user_id this deep actually
it's stored in our token anyway
2024-02-07 01:11:36 +01:00
1cf17dc151 chore: proto cleanup and simplification
reuse as much as possible, keep rpc messages close with their rpc,
helper struct for uuid with into() and from(). also replaced the simple
things, such as imports and struct fields
2024-02-07 01:09:28 +01:00
3738f7beb4 Cleanup of proto
Co-authored-by: alemi.dev <me@alemi.dev>
2024-02-06 00:09:35 +01:00
Camillo Schenone
d14f004f73 feat: adding an initial proto version for the workspace event stream 2024-02-04 13:37:57 +01:00
4ae31df3ff chore: moved select_buffer under buffer::tools
needed to more appropriately subdivide feature flags
2024-02-01 17:54:56 +01:00
1ee185b5ec feat: add auth service
sneaked in to help with server development
2024-02-01 17:54:36 +01:00
164e9887b8 fix: serialize uuid as string when sending 2024-02-01 03:19:27 +01:00
97061524e7 chore: remove snapshot 2024-02-01 01:58:27 +01:00
bc3df45726 fix: fetch buffers after creating 2024-01-31 23:57:21 +01:00
f7fcf8bd22 feat: implemented snapshot method and some getters 2024-01-27 11:49:05 +01:00
6fe1b213bd feat: snapshots 2024-01-26 21:39:21 +01:00
741a074464 feat: implemented leave workspace and list buffer users, various fixes 2024-01-25 17:05:06 +01:00
6a061ca432 feat: LeaveWorkspace, CreateWorkspace, ListBufferUsers 2024-01-25 16:08:35 +01:00
f7bd5849be fix: removed instance module, fixed prelude 2024-01-25 03:25:45 +01:00
4c738e726c chore: add .cargo to gitignore 2024-01-25 02:31:02 +01:00
94a7786812 feat: workspaces and new library structure
Co-authored-by: alemi <me@alemi.dev>
Co-authored-by: frelodev <frelodev@gmail.com>
2024-01-25 02:13:45 +01:00
1657521356 workspace_service cleanup 2024-01-01 23:34:59 +01:00
85add1ca0d moved some messages from workspace_service to files 2024-01-01 23:29:35 +01:00
6230371020 feat: fixed proto and tonic includes
Co-authored-by: zaaarf <me@zaaarf.foo>
Co-authored-by: alemi <me@alemi.dev>
2023-12-29 01:06:28 +01:00
3b1be930d8 new features 2023-12-29 01:03:08 +01:00
ab982f4882 changed build method for proto and lib proto includes 2023-12-28 22:04:40 +01:00
b78775239f cursor and workspace services 2023-12-28 00:21:41 +01:00
3f49730e7e list of proto files to build 2023-12-28 00:20:45 +01:00
2f1bfab130 new changes to proto 2023-12-18 23:36:15 +01:00
18290d768c features: create buffers from workspaces, list buffers and users 2023-12-03 20:16:43 +01:00
f687fcb1ad updated buffer proto with buffer metadata and buffer struct 2023-12-03 19:58:21 +01:00
a3ed66521c updated cursor.proto 2023-12-03 19:56:52 +01:00
98bab88e01 added user proto 2023-12-03 19:54:55 +01:00
07c0acd85b chore: bump version 2023-11-30 04:00:52 +01:00
2f0875a38f docs: better select_buffer text 2023-11-30 03:50:32 +01:00
7ad1da0f27 chore: updated docs, getter for buf name 2023-11-30 03:41:53 +01:00
5401d837c7 feat: add timeout to select_buffer 2023-11-30 03:30:50 +01:00
9d349e1b1e fix: remove tracing 2023-11-30 03:08:22 +01:00
3197c083bf fix: discard empty textchanges, drain range 2023-11-30 03:04:26 +01:00
3881bb38ea chore: improved seen mechanism
instead of manually handling the mutex leave it to tokio and use a fancy
generic struct with update() and check()
2023-11-30 03:03:09 +01:00
1f50f75eb4 fix: apply() panic when out of bounds 2023-11-30 03:02:13 +01:00
10e4a458ce chore: more tests, imports 2023-11-30 03:01:59 +01:00
da44aff408 feat: added TextChange helper methods and more test 2023-11-30 00:38:24 +01:00
b4b955a39e fix: caught textchange diff bug, added tests 2023-11-30 00:37:57 +01:00
d562e406f2 fix: moved select_buffer out of client
due to instance mutexing it held the lock while awaiting for events,
which is undesirable!
2023-11-28 02:22:21 +01:00