Commit Graph
31406 Commits
Author SHA1 Message Date
Antonio Scandurra e1ac6969ad Add failing test showcasing inviting existing user via different email 2022-12-07 14:06:59 +01:00
Joseph Lyons 567c5d35a6 Clean up test 2022-12-07 07:12:27 -05:00
Joseph Lyons 88be85b671 Remove comment 2022-12-06 17:18:54 -05:00
Joseph Lyons 7c16866b9d Allow overwriting signup data if a user signs up more than once with the same email address 2022-12-06 17:12:12 -05:00
Antonio Scandurra dd6e608acb Query project count as i64 instead of i32 when gathering metrics
Using the latter will cause a type mismatch when performing the query.
2022-12-06 15:00:32 +01:00
Antonio Scandurra 65fbf7270d Fix busy status when accepting a contact request
Previously, we would send an contact update when accepting a request
using the same `busy` status for both the requester and the responder.
This was obviously wrong and caused the requester to see their own
busy status as the newly-added responder contact's status.
2022-12-06 10:19:34 +01:00
Antonio Scandurra ba0a0d6d1f Merge pull request #1935 from zed-industries/reconnections-2
Move in-memory server state to the database
2022-12-06 09:22:59 +01:00
Antonio Scandurra 8a6347fb32 Remove unused UserId import from seed script 2022-12-06 09:07:25 +01:00
Max BrunsfeldandJulia Risley 84743a8161 Include outline items for c/c++ functions returning pointers-to-pointers, references
Co-authored-by: Julia Risley <julia@zed.dev>
2022-12-05 13:56:21 -08:00
Mikayla Maki 3e1250e04e Got tree sitter integration to a shippable place 2022-12-05 11:31:52 -08:00
Mikayla Maki b8372d8b08 Added experimental support for scheme, racket, and commonlisp 2022-12-05 11:31:49 -08:00
Antonio Scandurra bda5b033a3 Fix warnings 2022-12-05 19:45:56 +01:00
Antonio Scandurra b5ede1d2d9 Merge branch 'main' into reconnections-2 2022-12-05 19:18:40 +01:00
Antonio Scandurra 55447288ed Send diagnostic summaries synchronously 2022-12-05 19:07:06 +01:00
Antonio Scandurra 3b695006dd Return project collaborators and connection IDs in a RoomGuard 2022-12-05 18:37:01 +01:00
Antonio ScandurraandNathan Sobo 10c5d40966 Update sea-orm to fix bug on failure to commit transactions
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2022-12-05 18:36:25 +01:00
Antonio Scandurra b2ce835207 Remove project_id foreign key from room_participants 2022-12-05 15:16:06 +01:00
Antonio Scandurra 24eaca97a8 Upgrade sea-orm 2022-12-05 14:56:01 +01:00
Antonio Scandurra 6c0395255b Remove random pauses to prevent the database from deadlocking 2022-12-05 12:03:45 +01:00
Antonio Scandurra c9171a1e0a Retry transactions if there's a serialization failure during commit 2022-12-05 10:49:53 +01:00
Antonio Scandurra 7baa5da995 Remove duplication between transaction and room_transaction 2022-12-05 09:46:03 +01:00
Julia 46b5e02961 Merge pull request #1924 from zed-industries/simon-says-dont-move
Do not reorder tab opened by follower to end of item list
2022-12-04 13:00:07 -05:00
Mikayla Maki ac9aea668b Fixed and error message and properly initialized the DB 2022-12-03 16:46:35 -08:00
Mikayla Maki 00d65f3b8d Removed old code 2022-12-03 16:27:45 -08:00
Mikayla Maki 363701e157 Found db parallelism problem :( 2022-12-03 16:26:37 -08:00
Mikayla Maki ac539a2a36 And library change 2022-12-03 16:13:02 -08:00
Mikayla Maki 912be7491c Fixed bad rebase 2022-12-03 16:12:07 -08:00
Mikayla Maki fd12a32b34 Added user notifications 2022-12-03 16:06:02 -08:00
Mikayla Maki 8cc8dfacd9 WIP fixing dock problems 2022-12-03 16:06:02 -08:00
Mikayla Makiand d6aaa8aca9 CHANGE LOCK TO NOT BE DROPPED INSTANTLY. DANG U RUST
co-authored-by: kay@zed.dev
2022-12-03 16:06:02 -08:00
Mikayla Makiand ca1166fac9 Reworked thread safe connection be threadsafer,,,, again
Co-Authored-By: kay@zed.dev
2022-12-03 16:06:02 -08:00
Mikayla Maki 64a8a12684 First draft of graceful corruption restoration 2022-12-03 16:06:02 -08:00
Mikayla Maki 9a0cbe00df Added side bar restoration 2022-12-03 16:06:02 -08:00
Kay Simmons c88ac9e771 Reactivate the correct item in each pane when deserializing 2022-12-03 16:06:01 -08:00
Kay Simmons 11c25ee936 Address some issues with the sqlez_macros 2022-12-03 16:06:01 -08:00
Kay Simmons cab1863ba0 fix test failures 2022-12-03 16:06:01 -08:00
Kay SimmonsandMikayla Maki 22f44c8024 make thread safe connection more thread safe
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2022-12-03 16:06:01 -08:00
Mikayla Maki 12ab6ca7fe Added multi-threading problem test 2022-12-03 16:06:01 -08:00
Kay SimmonsandMikayla Maki 18494210e5 Added sql! proc macro which checks syntax errors on sql code and displays them with reasonable underline locations
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2022-12-03 16:06:01 -08:00
Mikayla Maki 6677fe3b14 Added basic syntax checker to sqlez 2022-12-03 16:06:01 -08:00
Kay Simmons 6a3b636633 rename sql_method to query and adjust the syntax to more closely match function definitions 2022-12-03 16:06:01 -08:00
Kay Simmons 3c6dccdfa7 working serialized writes with panics on failure. Everything seems to be working 2022-12-03 16:06:01 -08:00
Mikayla Makiand 16654df419 Made dev tools not break everything about the db
Also improved multi statements to allow out of order parameter binding in statements
Ensured that all statements are run for maybe_row and single, and that of all statements only 1 of them returns only 1 row
Made bind and column calls add useful context to errors

Co-authored-by: kay@zed.dev
2022-12-03 16:06:01 -08:00
Mikayla Maki 049c348db3 Added extra sql methods 2022-12-03 16:06:01 -08:00
Mikayla Maki 28ea35bf9f Touched up sql macro 2022-12-03 16:06:01 -08:00
Mikayla Maki 732ce40a5c Finished terminal working directory restoration 2022-12-03 16:06:01 -08:00
Mikayla Maki 3a5f46ea21 Fixed workspace tests 2022-12-03 16:06:01 -08:00
Mikayla Maki 80df7a3698 WIP: Some bugs switching to database provided IDs, terminal titles don't reload when restored from serialized, workspace tests are no longer passing but should be easy to fix when it isn't 11:44 2022-12-03 16:06:01 -08:00
Mikayla Maki 3ea3593b1a Added UUID based, stable workspace ID for caching on item startup. Completed first sketch of terminal persistence. Still need to debug it though.... 2022-12-03 16:06:01 -08:00
Mikayla Maki 9cd1ea77cb WIP termial implementation. need some way of getting the currently valid workspace ID 2022-12-03 16:06:01 -08:00