ghostguild-org/tests/server
Jennie Robinson Faber b1d8cb1966 feat(slack): autoFlagPreExistingSlackAccess helper
Best-effort lookup of an activating member's email in the Slack
workspace. On a hit, flips slackInvited:true and stamps slackInvitedAt
without sending a fresh invite. Races against a 3s timeout and swallows
all errors so activation never blocks on Slack.

- Promotes SlackService.findUserByEmail from private to public so the
  helper can call it without a wrapper.
- New activity-log action: slack_access_auto_detected (actor = subject).
- Idempotent: short-circuits when slackInvited is already true.

Callers wired in next commit.
2026-04-29 12:13:59 +01:00
..
api fix(helcim): read dateBilling on subscription CREATE to populate next-billing cache 2026-04-27 19:44:35 +01:00
config feat(launch): security and correctness fixes for 2026-05-01 launch 2026-04-25 18:42:36 +01:00
helpers Add Vitest security test suite and update security evaluation doc 2026-03-01 12:30:06 +00:00
middleware refactor(rate-limit): delegate auth limiting to handlers, add dev bypass 2026-04-27 19:18:34 +01:00
models feat(slack): autoFlagPreExistingSlackAccess helper 2026-04-29 12:13:59 +01:00
tasks feat(slack): add background job to detect Slack workspace joins 2026-04-09 22:32:48 +01:00
utils feat(slack): autoFlagPreExistingSlackAccess helper 2026-04-29 12:13:59 +01:00
setup.js refactor: extract escapeRegex and validateTagSlugs server utils 2026-04-09 23:51:56 +01:00