~bigbes/core-go

8d15b7e1 — Drew DeVault 5 years ago
auth: authenticate all requests under /query
7ccaeb92 — Drew DeVault 5 years ago
database: panic on errors from Commit/Rollback

The previous change would eat the error from fn(tx); in truth we should
ensure that it is returned to the caller. This panics instead if an
error occurs during Commit or Rollback. I'm not sure of what scenarios
would cause this to occur, but they all probably deserve further
investigation - a panic will raise it to our attention.
a7d80e21 — Drew DeVault 5 years ago
database: handle Commit/Rollback errors
61ab3f08 — Drew DeVault 5 years ago
Update go-bare
c2951537 — Drew DeVault 5 years ago
Add debugging command to decode OAuth tokens
f9731e15 — Drew DeVault 5 years ago
Various bug fixes per pages.sr.ht
07056613 — Drew DeVault 5 years ago
database: expand field map for composite fields

This allows models to fetch multiple SQL columns to obtain the data
necessary to compute a single composite GraphQL field, while still
avoiding unnecessary fetches if those fields are not queried.
900693b8 — Drew DeVault 5 years ago
crypto: harden API surface

Make it explicit that expiration is not being tested with Decrypt, and
test that the expiration is meaningful with DecryptWithExpiration.
12996e4a — Simon Ser 5 years ago
client: add config option to override API origin

If the config file contains an "api-origin" key for a service, prefer it
instead of "origin". This allows users to directly point the Python
frontend to the Go backend for local development, without having to
setup a reverse proxy.

This is the Go port of [1].

While at it, use GetOrigin for symmetry with the Python code.

[1]: https://git.sr.ht/~sircmpwn/meta.sr.ht/commit/6c2ee03923fe65423a2c55e6648f555c08db827a
52d6dc99 — Drew DeVault 5 years ago
Fix bug with internal authentication
7be038e7 — Drew DeVault 5 years ago
Make authorization errors more specific
6bcaea61 — Drew DeVault 5 years ago
server: set max upload size to 1 GiB
906acc05 — Drew DeVault 5 years ago
client: populate NodeID from service name
4cc9b34f — Drew DeVault 5 years ago
database.Apply: add support for non-pointer fields
33562018 — Drew DeVault 5 years ago
database.WithTx: rollback if func returns error

Previously, this only rolled back if the called function panicked. This
updates it to also roll back if the called function returns an error.
31fc9fce — Drew DeVault 5 years ago
Fetch user PGP key for meta.sr.ht
e1acd5a8 — Drew DeVault 5 years ago
Correct TODO for context which is invariant
407afe7d — Drew DeVault 5 years ago
Update dependencies
a30dcb39 — Drew DeVault 5 years ago
Prohibit OAuth client auth for revoked clients
5de4cd8e — Drew DeVault 5 years ago
Stash remote address in context
Next