codegirl007
573f54afd2
Send reply mail from the post event bus.
CI / test (pull_request) Successful in 6m27s
2026-08-29 06:19:44 -07:00
codegirl007
1acc296541
Add Discord inbound replies.
CI / test (pull_request) Successful in 6m19s
2026-08-29 01:20:40 -07:00
codegirl007
06fcc16c02
Add Discord outbound posting.
CI / test (pull_request) Successful in 6m20s
2026-08-29 01:13:44 -07:00
codegirl007
b8f1d88d6e
Add an in-process post event bus.
CI / test (pull_request) Successful in 6m17s
2026-08-29 01:06:26 -07:00
codegirl007
418ef93da5
Add polished answer notifications ( #1 )
...
Sends a branded Resend email when a question receives its first answer, records accepted and failed sends, and adds collapsed answer editing with cancel behavior.
Co-authored-by: codegirl-007 <s.raide@gmail.com >
2026-08-27 06:55:24 +00:00
codegirl007
29b0536215
Address production-readiness review: clearer errors, safer votes, and ops hardening.
...
Distinguish auth/lookup failures, make votes idempotent on visible questions, bound shutdown, page admin users, LRU throttle, trusted-proxy CIDRs, avatar cleanup, versioned migrations, and session cleanup logging.
2026-08-22 12:16:59 -07:00
codegirl007
59513ab75e
Harden auth: setup secret, throttling, session destroy, secure cookies.
...
Replace username-based admin bootstrap with a one-time setup secret, rate-limit login/register, equalize login bcrypt timing, cap passwords at 72 bytes, destroy sessions on logout, and require Secure cookies when PORT is set.
2026-08-22 11:47:42 -07:00
codegirl007
f4cec32afb
Make web tests database-free and finish review hardening.
...
Introduce a Store interface with Postgres and in-memory backends, cover mutations/CSRF/session rotation without Postgres, bound avatar decode dimensions, add truncate/prepareAvatar unit tests, and run go test -race in CI.
2026-08-22 07:36:13 -07:00
codegirl007
afd2476f3c
Harden sessions, uploads, admin demotion, and HTTP timeouts.
...
Address PR review findings: renew session tokens on auth, sniff/re-encode avatars, serialize last-admin checks, bound server timeouts, rune-safe truncation, and TEST_DATABASE_URL-only integration tests.
2026-08-22 07:24:39 -07:00
codegirl007
c77298411e
Refactor Store into SessionStore; move domain SQL onto User/Question/Answer.
2026-08-22 02:40:51 -07:00
codegirl007
a36bc723cc
Move Spaces FromEnv into blob; Upload takes Object; drop logSpaces.
2026-08-21 23:48:18 -07:00
codegirl007
3eb75cfd80
Split main into openStore, newHandler, and run helpers.
2026-08-21 23:43:01 -07:00
codegirl007
3391cce7bd
Address PR review: graceful shutdown, Role/NewUser, drop SQLite.
2026-08-21 23:40:59 -07:00
codegirl007
d167b9216a
Initial commit: runnable Ask a Plumber First server.
2026-08-21 23:30:15 -07:00