214 Commits

Author SHA1 Message Date
77c256a9c2 test(jwt): assert arrays are invalid for SpaceDelimited scope
Scope must be a space-delimited string per RFC 6749 §3.3, not a JSON
array. Adds [] and ["openid","profile"] cases to the existing invalid
sub-test with a comment explaining the likely root cause: an issuer
using []string instead of SpaceDelimited in its claims struct.
2026-03-30 17:25:49 -06:00
23ddc5b0ea chore(cmd/sql-migrate): add .goreleaser.yaml 2026-03-30 17:25:49 -06:00
2e4cf881f9 chore(tools/monorel): re-init .goreleaser.yaml 2026-03-30 17:25:49 -06:00
92fd9b9900 feat(monorel): separate Windows builds and full goamd64 v1-v4 matrix
Go 1.23+ changed Windows target naming so x86_64 builds now carry a
micro-architecture suffix (e.g. _v2).  Update the goreleaser YAML
generator and monorel's own .goreleaser.yaml to match:

- Remove windows from defaultGoos/almostAllGoos; emit a dedicated
  <name>-windows build entry per binary.  Windows is kept in a separate
  build because it does not support ARM v6/v7, so it cannot share the
  same goarch matrix as non-Windows builds.
- Add defaultWindowsGoarch [amd64, arm64] and almostAllWindowsGoarch
  [386, amd64, arm64] for the Windows-specific architecture lists.
- Promote defaultGoamd64 from [v1, v2] to [v1, v2, v3, v4] so the
  full amd64 micro-architecture matrix is always generated.
- Update the archive name_template to include
  {{ if .Amd64 }}_{{ .Amd64 }}{{ end }} after x86_64.
- Include both <name> and <name>-windows in archive ids.
- Regenerate tools/monorel/.goreleaser.yaml and
  cmd/sql-migrate/.goreleaser.yaml with the new format.
2026-03-30 17:25:49 -06:00
7aabe2d1d1 chore(cmd/sql-migrate): add .goreleaser.yaml 2026-03-30 17:25:49 -06:00
a7e43778db feat(sql-migrate): add sync subcommand
Adds `sql-migrate sync` which outputs a shell script that refreshes
the local migrations.log from the DB by running _migrations.sql.
Uses `|| true` so a fresh DB with no _migrations table yields an
empty log (all migrations pending) rather than an error.

Usage:
  sql-migrate -d ./db/migrations sync | sh
  sql-migrate -d ./db/migrations up | sh
2026-03-30 17:25:49 -06:00
27630e3016 feat(sql-migrate): skip +-prefixed files in migrations directory (refs #68) 2026-03-30 17:25:49 -06:00
8739074176 fix(sql-migrate): use 6-digit zero-padded number in init migration filename (refs #68) 2026-03-30 17:25:49 -06:00
b05c62ded9 fix(sql-migrate): use portable SQL in _migrations table (closes #37) 2026-03-30 17:25:49 -06:00
9415f92709
feat(auth): add TokenCookies to BasicRequestAuthenticator
Add a TokenCookies []string field checked after query params (step 5).
Each named cookie's value is passed directly to Authenticator.Authenticate
as a token, enabling cookie-based token flows alongside Bearer and query params.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-03-23 11:31:03 -06:00
e78dffc4bd
wip: random half done-junk 2026-03-23 11:31:03 -06:00
e663f924e2
f: feat(cmd/httplog): add proxy and intercept sse 2026-03-23 11:31:02 -06:00
2aa7721eaa
feat: add cmd/envtocsv for converting env files 2026-03-23 11:31:02 -06:00
d3b860ba96
f: cookie-inspect 2026-03-23 11:31:02 -06:00
3d8960b691
feat: add cmd/cookie-inspect for decoding and verifying a cookie 2026-03-23 11:31:02 -06:00
194f248dd6
f: add cmd/ssechat as ServerSentEvents demo 2026-03-23 11:31:02 -06:00
63a08b69c9
f: add cmd/ssechat as ServerSentEvents demo 2026-03-23 11:31:02 -06:00
719fd44b88
feat: add cmd/ssechat as ServerSentEvents demo 2026-03-23 11:31:02 -06:00
e9967c3667
feat: add cmd/cullbak for culling backup directories 2026-03-23 11:31:02 -06:00
8db9ce955f
wip: ipcohort: move atomics to gitdataset 2026-03-23 11:31:02 -06:00
49b8ed470c
wip: feat: add net/gitdataset for data that updates via git 2026-03-23 11:31:02 -06:00
e79bea6adf
f: net/formmailer 2026-03-23 11:31:02 -06:00
447a9a8d62
wip: feat: add net/formmailer for web forms with bot protection 2026-03-23 11:31:02 -06:00
7a1d797aa1
f: ipcohort / blacklist 2026-03-23 11:31:02 -06:00
8de79be2e7
feat: add net/ipcohort (for blacklisting, whitelisting, etc) 2026-03-23 11:31:02 -06:00
6eedfa3ca0
feat: add net/gitshallow (for incremental updates to data repos) 2026-03-23 11:31:02 -06:00
769c9ba1ee
feat: add cmd/smtp-test for debugging smtp auth and delivery 2026-03-23 11:31:02 -06:00
224bd6bbb3
wip: add more middleware examples 2026-03-23 11:31:02 -06:00
b1b270befa
feat(calendar): parse reminder durations 2026-03-23 11:31:02 -06:00
9289a5b4f7
wip(calendar): rework field access 2026-03-23 11:31:02 -06:00
824ae9770a
f: feat(calendar): calculate fixed and floating yearl and monthly events 2026-03-23 11:31:02 -06:00
0cb2db1464
f: feat(calendar): calculate fixed and floating yearl and monthly events 2026-03-23 11:31:02 -06:00
a78c4ed6fb
wip: feat(calendar): calculate fixed and floating yearl and monthly events 2026-03-23 11:31:02 -06:00
a317960911
f(ai): add WithFormat to change format without changing Generate signature 2026-03-23 11:31:02 -06:00
1d1af91862
f(ai): add WithModel to change model on-the-fly 2026-03-23 11:31:02 -06:00
777e5e5048
f(ai): fix interface / add type guard 2026-03-23 11:31:02 -06:00
4d073c2c40
feat(ai): add Ollama and OpenAI helpers 2026-03-23 11:31:02 -06:00
65a017f3ab
feat: add cmd/smbtest for debugging smb connection issues 2026-03-23 11:31:02 -06:00
df7e070b8c
ref(cmd/monorelease): fix tag and version output, start flagset 2026-03-23 11:31:02 -06:00
ca050da283
WIP: feat(cmd/monorelease): fix versioning 2026-03-23 11:31:02 -06:00
f148cececc
WIP: feat(cmd/monorelease): better table 2026-03-23 11:31:02 -06:00
21b3cbff7a
WIP: feat(cmd/monorelease): show table 2026-03-23 11:31:02 -06:00
82e3d65633
WIP: feat(cmd/monorelease): show bins 2026-03-23 11:31:02 -06:00
f3817d93f7
WIP: feat: add cmd/monorelease for checking version info 2026-03-23 11:31:02 -06:00
966c55e1ee
feat: add tools/gitver for monorepo versioning 2026-03-23 11:31:02 -06:00
4b8670f750
feat: add ./scripts/concat-for-context.sh to reduce total file count 2026-03-23 11:31:02 -06:00
489fac6a7d
doc: add PROMPT.md for Ai context 2026-03-23 11:31:02 -06:00
1d4852ab89
feat: add cmd/api-example as server boilerplate 2026-03-23 11:31:02 -06:00
f8f4378e4a
f: cmd/cli-example 2026-03-23 11:31:02 -06:00
5d5ed2d158
feat: add cmd/cli-example for reference, and Ai context 2026-03-23 11:31:02 -06:00