Commit Graph
9 Commits
Author SHA1 Message Date
Claude dfd2e5a1e5 refactor: consolidate legacy config migration into migration.go
Move fromLegacyConfig out of model.go and merge it with LoadLegacyConfig
(formerly legacy_config.go) into a single migration.go file, so the
one-time legacy config migration is kept separate from the app config
model and its business logic.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YZ6SoJpmnLggZqactXxrak
2026-07-20 01:04:18 +00:00
Claude 0e0187dbc6 refactor: pass app config as explicit argument instead of request context
Remove the AppConfigMiddleware that stored an app-config resolver in the
request context and the FromCtx helper that read it back downstream.
Handlers now load the app config from AppConfigService and pass it as an
explicit argument to the service methods that need it, which then forward
it further down the call chain.

The webauthn and usersignup modules gain an AppConfigResolver dependency so
their handlers can load the config the same way. The email SendEmail and
LDAP SyncAll helpers drop their context-based variants in favor of the
explicit-config versions.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YZ6SoJpmnLggZqactXxrak
2026-07-19 21:33:10 +00:00
ItalyPaleAle 3ecda60f3b Completed code updates 2026-07-18 09:42:59 -07:00
ItalyPaleAle 4caaa079ca Actor is done 2026-07-17 19:12:51 -07:00
ItalyPaleAle b7c2c562c7 More WIP 2026-07-17 08:58:32 -07:00
ItalyPaleAle 2b11164532 More WIP 2026-07-14 08:57:47 -07:00
ItalyPaleAle 1d2f991be5 More WIP 2026-07-13 07:13:00 -07:00
ItalyPaleAle 0f6ff76165 Add Replace and Update funtions to model 2026-07-11 16:00:16 -07:00
ItalyPaleAle e4d0cbefbe WIP 2026-07-11 12:19:04 -07:00