~bigbes/core-go

ref: 0ad8eb8e120e58dcf61e8962b6821c84c6cb4094 core-go/server d---------
e28d47cf — Adnan Maolood 4 years ago
go fmt
d5f650da — Simon Ser 4 years ago
Allow AUTH_COOKIE to access @private fields
378fedbc — Drew DeVault 4 years ago
Add @anoninternal support code

This is a slightly better approach to the previous commit.
9f634ce0 — Drew DeVault 4 years ago
server/email: handle errors out of GQL context
d74ae98e — Drew DeVault 4 years ago
server/email: include variables
dea4ef29 — Drew DeVault 4 years ago
server: move auth middlware ahead of RealIP

So that @internal auth can correctly test against internal-ipnet.
f44afb10 — Simon Ser 4 years ago
go fmt
48250772 — Simon Ser 4 years ago
Remove %e formatting verbs

%e is not valid for formatting error values:

> %e	scientific notation, e.g. -1.234456e+78

Instead, use %w when using fmt.Errorf (for error wrapping) and
%v when using log.Printf (%w is not valid in that context).
2d9a547c — Drew DeVault 4 years ago
auth: harden grants structure

This replaces the Access map with a data type whose default value does
not grant any permissions, so that it's more difficult to create an
insecure auth context by mistake.
590c9c42 — Drew DeVault 4 years ago
server: add @private directive glue code
5f76a1f4 — Drew DeVault 4 years ago
Enforce complexity limit on webhook payload
1371ba4b — Drew DeVault 4 years ago
Configure server to manage mail queue

This also sets up the recovery function for webhooks, so we get emailed
when we panic during a webhook query.
67ddd428 — Drew DeVault 5 years ago
server: add server reference to context
8bd6005b — Drew DeVault 5 years ago
webhooks: initial prototype for GQL-native webhooks
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
5de4cd8e — Drew DeVault 5 years ago
Stash remote address in context
606ff2ef — Drew DeVault 5 years ago
Sign outgoing emails
af2afebd — Drew DeVault 5 years ago
Add legacy webhooks worker implementation
Next