Commit Graph
27 Commits
Author SHA1 Message Date
cgalo5758 8e7e0dd04d Harden container, OIDC auth, and error handling
Run Docker runtime stage as non-root user app (UID 65532).

Add styled full-page 404/500 error rendering for navigation requests
while preserving plain-text responses for HTMX partials.

Reuse recent unconsumed OIDC login state to avoid state mismatch on
parallel login hits, and merge resource_access in role extraction.

Re-level template headings, add autocomplete tokens, and resolve
catalog resource display names.

Self-label test-stack secrets and document CSRF secret rotation.
2026-07-31 23:27:15 -05:00
cgalo5758 ef79ea8a22 Gofmt drift cleanup across internal packages 2026-07-24 18:10:23 -05:00
cgalo5758 8514df5b50 Remediate operator UX audit findings
Fix HTMX expired-session handling, CSP-blocked form behaviors, reorder
recovery, billing currency display, plan/checkout guards, FedWiki quota
edge cases, and operator/member empty/error states.

Add entitlement uniqueness migrations, canonical migration source
wiring,
and regression coverage for the remediated flows. Update status docs
with
the audit triage and model inventory.
2026-07-03 11:58:03 -05:00
cgalo5758 7bff4ac603 Validate startup config and retry Temporal
Fail fast with aggregated config errors after resolving secret files,
before services initialize. Add Valkey session config, remove the unused
session-secret, and fix the production CSP env key.

Retry initial Temporal dials with bounded backoff and gate the test
Temporal service on healthy DB and Keycloak dependencies.
2026-07-01 19:04:26 -05:00
cgalo5758 e304712923 Decompression notes. 2025-05-15 15:16:51 -05:00
cgalo5758 0c446e244b Enhance security headers by adding Content-Security-Policy with environment-based upgrade-insecure-requests directive 2025-05-04 22:14:13 -05:00
cgalo5758 300f41630f Add decompression middleware and tests for gzip handling 2025-05-01 01:34:25 -05:00
cgalo5758 1362c2755d Add response compression middleware to enhance performance 2025-04-29 10:33:13 -05:00
cgalo5758 83b38498c8 Refactor CSRF secret handling to validate key length and improve error messaging 2025-04-29 03:34:01 -05:00
cgalo5758 1581fbca4b Refactor CORS and CSRF middleware to use options directly and remove default config functions 2025-04-29 03:19:47 -05:00
cgalo5758 7dbde25bcf Remove unnecessary comments 2025-04-29 02:45:56 -05:00
cgalo5758 b2ead348e5 Implement CSRF protection middleware with configurable secret and cookie options 2025-04-29 01:42:54 -05:00
cgalo5758 8cf7841f20 Add CSRF middleware implementation and update go.mod/go.sum for dependencies 2025-04-28 20:26:17 -05:00
cgalo5758 b0a8ec88b3 Add CORS middleware using rs/cors package for improved handling 2025-04-28 20:16:04 -05:00
cgalo5758 c2265330dd CORS middleware. And fix middleware types for logging and securityheaders. 2025-04-28 02:47:22 -05:00
cgalo5758 c83b0c50a0 Refactor security headers in SecureHeaders middleware for improved caching and CSP 2025-04-27 23:44:34 -05:00
cgalo5758 78caaa1053 Rename timeout middleware 2025-04-27 22:27:24 -05:00
cgalo5758 2e4b2aba45 Implement structured logging and enhance middleware with context-aware logging 2025-04-27 03:03:57 -05:00
cgalo5758 bfdf7bf7d2 Add a timeout middleware to the server 2025-04-22 01:45:21 -05:00
cgalo5758 d53afa4903 Add RequestID middleware for tracing and enhance logging with request IDs 2025-04-21 00:03:00 -05:00
cgalo5758 9fd027fcda Add recovery middleware to handle panics and log errors 2025-04-20 23:45:44 -05:00
cgalo5758 bd455f1782 Add MaxBodySize middleware and update .gitignore for config files 2025-04-20 01:29:13 -05:00
cgalo5758 0ba5eee981 Refactor authentication middleware and enhance security headers 2025-02-25 13:39:24 -06:00
cgalo5758 d587e97dbe redirect-url not same for login and logout 2025-02-24 03:14:36 -06:00
cgalo5758 e7f1e6ae92 Implement OIDC authentication middleware and session management 2025-02-22 02:28:57 -06:00
cgalo5758 7d49e49de0 Logging middleware added. 2025-02-21 18:49:46 -06:00
cgalo5758 0b4cc932b6 Start implementing middleware for logging and authentication in member-console application 2025-02-21 11:22:45 -06:00