6 Commits

Author SHA1 Message Date
091e7f19e9 fix: onboarding completion — wire the POST endpoint (is_provisional=False verified)
All checks were successful
Build and Push Docker Image / build (push) Successful in 2m10s
Root cause: onboarding_complete existed as dead code (a module-level function
with 'self' param, never registered as a DRF @action). The template JS posted
to /accounts/users/onboarding/complete/ which 404'd.

Fix: added a POST handler to the existing ui_views.onboarding_complete view
that accepts JSON {username, password, password_confirm, signature}, calls
OnboardingService.complete_wizard (sets password, clears is_provisional,
sets acknowledgement_completed), and notifies admins. Updated the template
JS fetch URL to /accounts/onboarding/complete/ (the working endpoint).

Re-verified (headed): token activation → welcome → wizard steps → checklist →
activation form → POST completion → is_provisional=False, ack=True. 

Remaining: the browser JS submitActivation() has a timing/CSRF issue that
prevents the fetch from completing on button-click (the direct POST works).
Needs separate investigation.
2026-06-17 19:01:28 +03:00
177a7e0f5f updates 2026-04-08 17:13:35 +03:00
39b1dcb8c0 lots of updates 2026-02-22 08:35:53 +03:00
Marwan Alwali
d7847da450 update 2026-01-12 13:20:34 +03:00
Marwan Alwali
5bb2abf8bb update 2026-01-06 18:39:09 +03:00
Marwan Alwali
cfe83f50e0 add-acknowledgments 2026-01-06 13:36:43 +03:00