Commit Graph

38 Commits (wip-site)

Author SHA1 Message Date
Loïc Dachary 705c3a282b
copy/paste the hostea.org home page content
ci/woodpecker/push/woodpecker Pipeline failed Details
So they are consistent with each other.

Fixes: #47

Signed-off-by: Loïc Dachary <loic@dachary.org>
2022-07-10 08:42:38 +02:00
Aravinth Manivannan 5f6c3c459e
chore: mv common static files to common-static 2022-07-07 13:58:53 +05:30
Aravinth Manivannan 22abe08f68
feat: mv static files to dash/static/dash and migrate load static template tags 2022-07-07 10:41:22 +05:30
Aravinth Manivannan 9303ea59ed fix: s/EMAIL_SENDER_ADDRESS/DEFAULT_FROM_EMAIL/ 2022-07-04 12:42:02 -04:00
Aravinth Manivannan 63f4f987a9 feat: verification link email template with polished email body 2022-07-04 12:42:02 -04:00
Aravinth Manivannan e79fb65cdf
fix: rm WIP services from homepage
fixes: https://gitea.hostea.org/Hostea/dashboard/issues/28
2022-07-04 13:44:43 +05:30
Aravinth Manivannan 8be1e02a21
feat: load footer ctx in all templates 2022-06-30 14:37:49 +05:30
Aravinth Manivannan 1bab17193c
fix: sender's email addres typo in send_verification_email 2022-06-29 00:49:35 +05:30
Aravinth Manivannan 19ed720b82
feat: mv redirect if authenticated to decorator and guard other
sigin/signup views
2022-06-22 00:43:10 +05:30
Aravinth Manivannan 96e71d7c32
fix: auto-redirect authenticated user when visiting login page 2022-06-22 00:43:10 +05:30
Aravinth Manivannan f6c89999e9
feat: test account verification email 2022-06-22 00:43:10 +05:30
Aravinth Manivannan 8507129063
feat: create_oidc management command to create SSO integration for
Hostea
2022-06-19 22:25:33 +05:30
Aravinth Manivannan a04cbf0943
feat: password strength validation during registration and migrate tests to cope with it 2022-06-19 21:23:38 +05:30
Aravinth Manivannan faa7e924cc
feat: get_user_id management command
DESCRIPTION
    Gets the DB assigned ID associated with a username
2022-06-19 21:02:38 +05:30
Aravinth Manivannan 627087cf0e
feat: sudo view 2022-06-18 21:54:31 +05:30
Aravinth Manivannan 2ccf3d9679
feat: confirm access decorator
DESCRIPTION
    Some views are privileged and unauthorized execution can have
    irreversible changes. confirm_access decorator checks if the user's
    session is verified for privileged operation execution.

    If not, it will redirect user to "accounts.sudo" vie" vie" vie" view
2022-06-18 21:52:18 +05:30
Aravinth Manivannan 1e7d45d53b
fix: login redirection 2022-06-18 20:02:54 +05:30
Aravinth Manivannan ca8bb56d6c
fix: logout route was being served by wrong handler and tests 2022-06-18 19:53:26 +05:30
Aravinth Manivannan bdf8f6989f
chore: improve coverage 2022-06-18 13:54:03 +05:30
Aravinth Manivannan 92a50b8a7a
fix: duplicate main tag 2022-06-17 15:37:32 +05:30
Aravinth Manivannan 11b6a25878
feat & fix: redirect to dash and show page title for login and register 2022-06-17 14:40:42 +05:30
Aravinth Manivannan bd9155dad1
fix: registration page url in nav bar 2022-06-17 14:39:10 +05:30
Aravinth Manivannan 89a79f45ff
fix: management command runner expects classes named "Command" 2022-06-11 18:30:18 +05:30
Aravinth Manivannan 8bcc6a390b
feat: management command to remove unverified users 2022-06-11 18:18:44 +05:30
Aravinth Manivannan 87039a043b
fix: enable password/confirm password mismatch test 2022-06-11 17:59:47 +05:30
Aravinth Manivannan c9456667f7
feat: add creation time to account confirmation challenge 2022-06-11 16:09:47 +05:30
Aravinth Manivannan 82d14a85a1
feat: registration tests 2022-06-10 23:05:41 +05:30
Aravinth Manivannan cf7e12e33b
feat: def pending_url on AccountConfirmChallenge and migrate views 2022-06-10 23:05:18 +05:30
Aravinth Manivannan 453b115485
feat: registration with email confirmation flows 2022-06-10 22:34:57 +05:30
Aravinth Manivannan 583a65bc18
fix: registration URL 2022-06-10 22:34:46 +05:30
Aravinth Manivannan 2c25eba73a
fix: registration template rm autofill, fix urls 2022-06-10 22:29:26 +05:30
Aravinth Manivannan 1104cb4db2
feat: verification and pending verification templates 2022-06-10 22:28:59 +05:30
Aravinth Manivannan b0bda6bdca
feat: utils for random text generation and verification email sending 2022-06-10 22:28:30 +05:30
Aravinth Manivannan 4608b2d08a
feat: test login view 2022-06-10 19:13:53 +05:30
Aravinth Manivannan 3ead172971
feat: style error components 2022-06-10 19:13:23 +05:30
Aravinth Manivannan 3054fe5e9f
fix & chore: inject CSRF token in login form and refactor login_view 2022-06-10 19:12:50 +05:30
Aravinth Manivannan 542ce0182d
chore: fix linting cmd and apply linting 2022-06-10 17:32:29 +05:30
Aravinth Manivannan 344ffaa4b8
feat: bootstrap authentication pages 2022-06-10 17:24:06 +05:30