ghostguild-org/server/api/admin
Jennie Robinson Faber 0981596ea2 feat(admin): PATCH /api/admin/members/:id/slack-status
Endpoint that flips a member's slackInvited flag manually after the
admin has actually sent the Slack invitation through Slack's UI. No
Slack API call is made from this app.

- Body validated via Zod literal-true schema (no undo path for the
  pilot — admins correct mistakes in the database if needed).
- Idempotent: re-marking an already-invited member is a no-op,
  preserving the original slackInvitedAt and not duplicating the
  activity log entry.
- Activity log: slack_invited_manually, actor = admin from
  requireAdmin, subject = the target member.
2026-04-29 12:23:07 +01:00
..
alerts feat(admin): add restore dismissed alerts flow 2026-04-08 12:22:35 +01:00
board-channels feat(board): redesign classifieds + Slack channel creation 2026-04-14 20:20:17 +01:00
events refactor: extract escapeRegex and validateTagSlugs server utils 2026-04-09 23:51:56 +01:00
members feat(admin): PATCH /api/admin/members/:id/slack-status 2026-04-29 12:23:07 +01:00
pre-registrants refactor(env): unify required-env validation through useRuntimeConfig 2026-04-26 14:47:02 +01:00
series Add Zod validation to all API endpoints and remove debug test route 2026-03-01 17:04:26 +00:00
site-content New SiteContent. 2026-04-16 21:11:14 +01:00
wiki Member/Ecology revamp. 2026-04-14 09:25:09 +01:00
board-channels.post.js feat(board): redesign classifieds + Slack channel creation 2026-04-14 20:20:17 +01:00
dashboard.get.js feat(server): rename contributionTier → contributionAmount in routes + utils 2026-04-19 18:44:29 +01:00
events.get.js Implement OWASP ASVS L1 security remediation (Phases 0-2) 2026-03-01 12:53:18 +00:00
events.post.js refactor: extract escapeRegex and validateTagSlugs server utils 2026-04-09 23:51:56 +01:00
members.get.js Implement OWASP ASVS L1 security remediation (Phases 0-2) 2026-03-01 12:53:18 +00:00
members.post.js feat(server): rename contributionTier → contributionAmount in routes + utils 2026-04-19 18:44:29 +01:00
series.get.js Implement OWASP ASVS L1 security remediation (Phases 0-2) 2026-03-01 12:53:18 +00:00
series.post.js Add Zod validation to all API endpoints and remove debug test route 2026-03-01 17:04:26 +00:00
series.put.js Add Zod validation to all API endpoints and remove debug test route 2026-03-01 17:04:26 +00:00