Commit graph

66 commits

Author SHA1 Message Date
Tim Zöller
3ec22c4770 More graphs 2025-12-04 08:24:20 +01:00
Tim Zöller
a399179bf6 More graphs 2025-12-04 08:19:53 +01:00
Tim Zöller
37d0e3132b Follower UI 2025-12-04 08:09:44 +01:00
Tim Zöller
8545a3f43b Follower UI 2025-12-03 23:05:37 +01:00
Tim Zöller
a0d6518cd3 Moar federation 2025-12-03 21:34:21 +01:00
Tim Zöller
09413bc7f3 Moar federation 2025-12-03 20:33:09 +01:00
Tim Zöller
fe1b5f8be0 Remove registration page and redirect home to timeline
Remove the registration UI page completely and use the public timeline as the default start page.

Changes:
- Delete auth/register.html template
- Remove /register route from AuthViewController
- Update HomeController to redirect / to /timeline
- Remove /register from public paths list in auth.js

Users will no longer see a registration option in the UI. Registration can only be done via direct API calls if enabled.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 17:41:41 +01:00
Tim Zöller
bc6741a749 Add global registration disable feature
Implement configurable registration control to allow administrators to disable new user signups.

Backend changes:
- Add fitpub.registration.enabled configuration property (defaults to true)
- Update AuthController to check registration status and return 403 Forbidden when disabled
- Create GET /api/auth/registration-status endpoint to expose registration status to frontend
- Add RegistrationStatusResponse DTO

Configuration changes:
- Add REGISTRATION_ENABLED environment variable to application.yml
- Add REGISTRATION_ENABLED to Dockerfile with default value of true
- Update .env.example with REGISTRATION_ENABLED documentation

Frontend changes:
- Update registration page to check status and hide form when disabled
- Add checkRegistrationStatus() to auth.js to dynamically hide registration links
- Display user-friendly message when registration is disabled

To disable registration, set environment variable: REGISTRATION_ENABLED=false

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 11:27:19 +01:00
Tim Zöller
a3ff96653a Moar federation 2025-12-03 07:23:53 +01:00
Tim Zöller
45e9030c1d Moar federation 2025-12-03 07:18:43 +01:00
Tim Zöller
4c9bcc718f Moar federation 2025-12-02 22:23:29 +01:00
Tim Zöller
d47daa6dfc Show public activities to everrybody 2025-12-02 22:01:27 +01:00
Tim Zöller
71aa6ffffe Moar federation 2025-12-01 09:52:50 +01:00
Tim Zöller
d42f9b5339 More fixes 2025-11-30 10:33:28 +01:00
Tim Zöller
ac53f04e0a MVP done 2025-11-29 09:56:55 +01:00
Tim Zöller
c1729a629d More vibin 2025-11-28 21:04:38 +01:00