Commits

Fix warnings

cd08d289aa • Antonio Scandurra • Dec 5, 2022

Merge branch 'main' into reconnections-2

9a62150dce • Antonio Scandurra • Dec 5, 2022

Send diagnostic summaries synchronously

7bbd97cfb9 • Antonio Scandurra • Dec 5, 2022

Return project collaborators and connection IDs in a `RoomGuard`

5443d9cffe • Antonio Scandurra • Dec 5, 2022

Update sea-orm to fix bug on failure to commit transactions

be3fb1e985 • Antonio Scandurra • Dec 5, 2022

Remove project_id foreign key from `room_participants`

b97c35a468 • Antonio Scandurra • Dec 5, 2022

Upgrade sea-orm

eec3df09be • Antonio Scandurra • Dec 5, 2022

Remove random pauses to prevent the database from deadlocking

d3c411677a • Antonio Scandurra • Dec 5, 2022

Retry transactions if there's a serialization failure during commit

d97a8364ad • Antonio Scandurra • Dec 5, 2022

Remove duplication between `transaction` and `room_transaction`

0ed731780a • Antonio Scandurra • Dec 5, 2022

WIP: Manually rollback transactions to avoid spurious savepoint failure

d96f524fb6 • Antonio Scandurra • Dec 2, 2022

Remove stale `Error` variant

1c30767592 • Antonio Scandurra • Dec 2, 2022

Merge branch 'main' into reconnections-2

969c314315 • Antonio Scandurra • Dec 2, 2022

Delete empty rooms

568de814aa • Antonio Scandurra • Dec 2, 2022

Clear stale data on startup

27f6ae945d • Antonio Scandurra • Dec 2, 2022

Move modules into `collab` library as opposed to using the binary

1b46b7a7d6 • Antonio Scandurra • Dec 2, 2022

Make all tests pass again after migration to sea-orm

7502558631 • Antonio Scandurra • Dec 2, 2022

Use i32 to represent Postgres `INTEGER` types in Rust

48b6ee313f • Antonio Scandurra • Dec 2, 2022

Finish porting remaining db methods to sea-orm

dec5f37e4e • Antonio Scandurra • Dec 2, 2022

WIP

585ac3e1be • Antonio Scandurra • Dec 1, 2022

Replace i32 with u32 for database columns

29a4baf346 • Antonio Scandurra • Dec 1, 2022

Implement `Database::update_project`

cfdf0a57b8 • Antonio Scandurra • Dec 1, 2022

Implement `Database::unshare_project`

944d6554de • Antonio Scandurra • Dec 1, 2022

Implement `Database::project_guest_connection_ids`

e3ac67784a • Antonio Scandurra • Dec 1, 2022

Avoid using `col_expr` whenever possible

62624b81d8 • Antonio Scandurra • Dec 1, 2022

Get basic calls working again with sea-orm

256e3e8e0f • Antonio Scandurra • Dec 1, 2022

Implement `Database::create_room`

aebc6326a9 • Antonio Scandurra • Dec 1, 2022

Go back to a compiling state, panicking on unimplemented db methods

db1d93576f • Antonio Scandurra • Dec 1, 2022

Start using the new sea-orm backed database

d2385bd6a0 • Antonio Scandurra • Dec 1, 2022

Implement signups using sea-orm

19d14737bf • Antonio Scandurra • Dec 1, 2022

Implement invite codes using sea-orm

4f864a20a7 • Antonio Scandurra • Dec 1, 2022

Implement `db2::Database::fuzzy_search_users`

2375741bdf • Antonio Scandurra • Dec 1, 2022

Implement `db2::Database::remove_contact`

4c04d512db • Antonio Scandurra • Nov 30, 2022

Implement contacts using sea-orm

d1a44b889e • Antonio Scandurra • Nov 30, 2022

Implement `db2::Database::get_user_metrics_id`

04d553d4d3 • Antonio Scandurra • Nov 30, 2022

Implement access tokens using sea-orm

2e24d128db • Antonio Scandurra • Nov 30, 2022

Implement `db2::Database::get_user_by_github_account`

9e59056e7f • Antonio Scandurra • Nov 30, 2022

Make some db tests pass against the new sea-orm implementation

d9a892a423 • Antonio Scandurra • Nov 30, 2022

WIP: move to a non-generic test database struct

b7294887c7 • Antonio Scandurra • Nov 29, 2022

Start on a new `db2` module that uses SeaORM

11a39226e8 • Antonio Scandurra • Nov 29, 2022

Start moving towards using sea-query to construct queries

ac24600a40 • Antonio Scandurra • Nov 29, 2022

Increase probability of creating new files in randomized test

d525cfd697 • Antonio Scandurra • Nov 29, 2022

Capture runnable backtraces only when detecting nondeterminism

cd2a8579b9 • Antonio Scandurra • Nov 28, 2022

Error if project is disconnected after getting completions response

d0709e7bfa • Antonio Scandurra • Nov 28, 2022

Introduce a new `detect_nondeterminism = true` attribute to `gpui::test`

fa3f100eff • Antonio Scandurra • Nov 28, 2022

Remove non-determinism caused by random entropy when reconnecting

f0a721032d • Antonio Scandurra • Nov 28, 2022

:lipstick:

0a565c6bae • Antonio Scandurra • Nov 28, 2022

Return error when waiting on a worktree snapshot after disconnecting

af2a2d2494 • Antonio Scandurra • Nov 28, 2022

Introduce per-room lock acquired before committing a transaction

cd0b663f62 • Antonio Scandurra • Nov 28, 2022

Error if project is disconnected after getting code actions response

2a0ddd99d2 • Antonio Scandurra • Nov 28, 2022

After completing LSP request, return an error if guest is disconnected

5581674f8f • Antonio Scandurra • Nov 28, 2022

Fix integration test incorrectly assuming a certain ordering

b0e1d6bc7f • Antonio Scandurra • Nov 28, 2022

Check the correct serialization failure code when retrying transaction

ae11e4f798 • Antonio Scandurra • Nov 28, 2022

Remove version from `Room`

4c1b4953c1 • Antonio Scandurra • Nov 18, 2022

Don't take an `Arc<Server>` in message handlers

c3d556d9bd • Antonio Scandurra • Nov 18, 2022

Rename `Store` to `ConnectionPool`

44bb2ce024 • Antonio Scandurra • Nov 17, 2022

Remove obsolete code from `Store`

6c83be3f89 • Antonio Scandurra • Nov 17, 2022

WIP: Introduce a `db` field to `Session`

0a4517f97e • Antonio Scandurra • Nov 17, 2022

Introduce a new `Session` struct to server message handlers

c34a5f3177 • Antonio Scandurra • Nov 17, 2022

Revert "Don't replace newer diagnostics with older ones"

4f39181c4c • Antonio Scandurra • Nov 17, 2022

Revert "Wait for previous `UpdateFollowers` message ack before sending new ones"

e7e45be6e1 • Antonio Scandurra • Nov 17, 2022

Use int8 for `scan_id` and `inode` in Postgres

8621c88a3c • Antonio Scandurra • Nov 17, 2022

:art:

7dae21cb36 • Antonio Scandurra • Nov 17, 2022

Fix seed script

0f4598a243 • Antonio Scandurra • Nov 17, 2022

Fix errors in Postgres schema

6415809b61 • Antonio Scandurra • Nov 17, 2022

Wait for previous `UpdateFollowers` message ack before sending new ones

fe93263ad4 • Antonio Scandurra • Nov 17, 2022

Remove unwrap from `Server::share_project`

3b34d858b5 • Antonio Scandurra • Nov 17, 2022

Don't replace newer diagnostics with older ones

71eeeedc05 • Antonio Scandurra • Nov 17, 2022

Use `Db::get_guest_connection_ids` in other db methods

532a599239 • Antonio Scandurra • Nov 17, 2022

Fix column name in query

9eee22ff0a • Nathan Sobo • Nov 17, 2022

Move unshare_project to db module

94fe93c6ee • Nathan Sobo • Nov 17, 2022

Move leave_project from Store to db module

e5f05c9f3b • Nathan Sobo • Nov 17, 2022

Fix typo in query

bdb521cb6b • Nathan Sobo • Nov 16, 2022

WIP: Allow subscribing to remote entity before creating a model

c1291a093b • Antonio Scandurra • Nov 16, 2022

Batch some of the new queries in `Db`

adf43c87dd • Antonio Scandurra • Nov 16, 2022

Wait for acknowledgment before sending the next diagnostic summary

faf265328e • Antonio Scandurra • Nov 16, 2022

Move `Store::start_language_server` to `Db`

9bc57c0c61 • Antonio Scandurra • Nov 16, 2022

Move `Store::update_diagnostic_summary` to `Db`

95369f92eb • Antonio Scandurra • Nov 16, 2022

Send worktree updates after project metadata has been sent

117458f4f6 • Antonio Scandurra • Nov 16, 2022

Improve queries for composite primary keys

eeb32fa888 • Antonio Scandurra • Nov 16, 2022

Cascade deletes when project is deleted

f9567ae116 • Antonio Scandurra • Nov 16, 2022

Correctly leave projects when leaving room

c151c87e12 • Antonio Scandurra • Nov 16, 2022

Update worktree entry instead of erroring when it already exists

3190236396 • Antonio Scandurra • Nov 16, 2022

Fix syntax error in schema

0817f905a2 • Antonio Scandurra • Nov 15, 2022

Always use the database to retrieve collaborators for a project

ad67f5e4de • Antonio Scandurra • Nov 15, 2022

Move `Store::update_worktree` to `Db::update_worktree`

e9eadcaa6a • Antonio Scandurra • Nov 15, 2022

Always use strings to represent paths over the wire

4b1dcf2d55 • Antonio Scandurra • Nov 15, 2022

Move `Store::join_project` to `Db::join_project`

974ef967a3 • Antonio Scandurra • Nov 15, 2022

Start reworking `join_project` to use the database

be523617c9 • Antonio Scandurra • Nov 15, 2022

Determine whether a contact is busy via the database

6cbf197226 • Antonio Scandurra • Nov 15, 2022

Finish implementing `Db::update_project`

3e8fcb04f7 • Antonio Scandurra • Nov 15, 2022

Add random delay after returning results from the database

42bb5f0e9f • Antonio Scandurra • Nov 15, 2022

Switch to serializable isolation

b9af2ae66e • Antonio Scandurra • Nov 14, 2022

Skip applying room updates if they're older than the local room state

d7369ace6a • Antonio Scandurra • Nov 14, 2022

Wait for acknowledgment before sending the next project update

40073f6100 • Antonio Scandurra • Nov 14, 2022

Automatically decline call when user drops their last connection

65c5adff05 • Antonio Scandurra • Nov 14, 2022

Implement `Db::cancel_call`

59e8600e4c • Antonio Scandurra • Nov 14, 2022

Fix query errors in `Db::share_project`

0310e27347 • Antonio Scandurra • Nov 14, 2022

Leave room when connection is dropped

9902211af1 • Antonio Scandurra • Nov 14, 2022

WIP

2145965749 • Antonio Scandurra • Nov 11, 2022