Commit graph

10 commits

Author SHA1 Message Date
Matt Baer
4db2cb8986 Templatize OAuth buttons across signup and login pages
This moves fields into the `OAuthButtons` struct and puts the buttons into templates/includes/oauth.tmpl.
2020-08-19 13:31:07 -04:00
Matt Baer
04d404e61f Move text OAuth button styles to login.less 2020-08-19 12:38:44 -04:00
prichier
ab285644a0 Fix: signup methods mutually exclusive 2020-08-16 20:42:55 +02:00
prichier
f6aa99e591 Add disable_password_auth option 2020-06-14 00:27:25 +02:00
Matt Baer
a72ce2ef29 Make landing page dynamic
This enables admins to customize their landing / home page via the Admin
dashboard -- including the text at the top of the page and the section
below it. It keeps the current default text, falling back to it if the
user hasn't overwritten it.

Ref T565
2019-06-27 17:06:37 -04:00
Matt Baer
aedb05080c Support ?landing=1 to always show landing page
This supports admins previewing changes to the landing page.

Ref T565
2019-06-27 16:38:24 -04:00
Matt Baer
238a913ce3 Make WriteFreely spacing consistent 2019-04-11 21:33:33 -04:00
Matt Baer
5614bb448a Show "closed registration" message on landing page 2018-11-09 19:55:07 -05:00
Matt Baer
2ea10939f2 Improve sign up
- Add server-side validation
- Normalize usernames
- Check username existence when signing up
- Tailor UI to whether federation is enabled or not
- Return user to form and show errors on sign up
2018-11-09 14:51:11 -05:00
Matt Baer
af872127c6 Add user-facing templates and pages 2018-11-08 01:13:00 -05:00