We want to use the Cargo.lock file to use exactly the specified
dependencies. Without this, versions of some (possibly transitive)
dependenencies can advance, and in particular advance past the point
of supporting our currently pinned rust toolchain.
* Remove unused datastore traits
We previously anticipated factoring the database in such a way that
the typed vs untyped distinctions, and the transactional vs not,
semantics would be more visible. We have not used these distinctions
and no longer need to expose these traits.
* Fix recovery of sequences after restart
* Debug
* More debug logs
* Export more tyeps
* More debug info and small changes
* More logs
* Change waiting on messages from client to be async
* Remove some trace lines
* Revert "Fix recovery of sequences after restart"
This reverts commit eef0089b78.
* Remove more trace lines
* cargo fmt
* clippy
---------
Signed-off-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com>
Co-authored-by: George Kulakowski <george@clockworklabs.io>
Co-authored-by: Mario Alejandro Montoya Cortés <mamcx@elmalabarista.com>
Co-authored-by: Tyler Cloutier <cloutiertyler@aol.com>
Co-authored-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com>
* Install from source instructions
* Improved comment
* Separate the global location of files per OS & create a configuration trait to read them
---------
Co-authored-by: Boppy <no-reply@boppygames.gg>
This commit adds a new route to the `/identity` HTTP block,
`/identity/:identity/verify`,
which requires a SpacetimeDB auth header.
If the token in the authorization header is valid
and corresponds to the identity in the path,
it returns `NO_CONTENT`.
If the token in the authorization header is valid
but does not correspond to the identity in the path,
it returns `BAD_REQUEST`.
If the token in the authorization header is invalid or unsupplied,
it returns `UNAUTHORIZED`.
* Added path to `spacetime version`, added version and path to `spacetime
start`
* Removed comment
---------
Co-authored-by: Boppy <no-reply@boppygames.gg>
At the moment when we authenticate with the short-lived token we also
get the short lived token back. In order to not give it back to the
application let's just ignore the identity message token if we already
got one
* Added contributor check
* Bump node version
* Added node-fetch
* Another fix
* Bug fix
* Give action a real name
* Added name for docker build
* Rename
* Fixed name so they match
---------
Co-authored-by: Boppy <no-reply@boppygames.gg>
* Upgrade chef
* Fix for QUIC issue
* Make version consistent
* Don't install rustup its not needed
* Added note
---------
Co-authored-by: Boppy <no-reply@boppygames.gg>
* Fix some insertion and deletion state transitions
This also adds a test reproducing the update-then-iterate bug as
originally reproduced from bitcraft.
* Remove the validation code for now
* Add comments
* Remove unneeded &mut in tests
* Make the corresponding change for delete as well
* Return parsed `DomainName` alongside `Address` when resolving `NameOrAddress`
Helps to avoid repeatedly parsing `DomainName`, and to simplify the
`/database/publish` handler (not included in this patch).
We previously anticipated factoring the database in such a way that
the typed vs untyped distinctions, and the transactional vs not,
semantics would be more visible. We have not used these distinctions
and no longer need to expose these traits.