Commit Graph

216 Commits (0ab82fe0b4188ed1c446e091a4a46163c2573a14)

Author SHA1 Message Date
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 38619babc7
feat: improve view VM styling and show VM configuration 2022-06-19 15:23:50 +05:30
Aravinth Manivannan 429934c795
fix: insert default instance configurations using migrations scripts 2022-06-19 13:36:28 +05:30
Aravinth Manivannan 3f7f9fc1ed
fix: run migrations before testing 2022-06-18 22:20:41 +05:30
Aravinth Manivannan d5dc06be18
feat: views for listing, viewing and deleting specific VMs 2022-06-18 22:12:41 +05:30
Aravinth Manivannan 2fb1a3d0d1
fix: one user can have multiple instances; OneToOneField -> ForeignKey 2022-06-18 21:56:02 +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 ce5694d56a
fix: create VM form styling 2022-06-18 14:07:04 +05:30
Aravinth Manivannan bdf8f6989f
chore: improve coverage 2022-06-18 13:54:03 +05:30
Aravinth Manivannan 39e54df5ef
feat: create default VM configurations on initialization
ref:
    [1] https://gitea.hostea.org/Hostea/july-mvp/issues/10#issuecomment-639
    [2] https://gitea.hostea.org/Hostea/july-mvp/issues/10#issuecomment-642
    [3] https://gitea.hostea.org/Hostea/july-mvp/issues/10#issuecomment-643
2022-06-18 13:52:52 +05:30
Aravinth Manivannan 99a7533a79
feat: test coverage report generation 2022-06-18 00:07:56 +05:30
Aravinth Manivannan 5c8e36ad9d
fix: add rent field to tests 2022-06-18 00:02:18 +05:30
Aravinth Manivannan 391a3502e7
fix: add rent field to instance config 2022-06-17 23:56:19 +05:30
Aravinth Manivannan 67d657e8fd
feat: change instance configuration display styling 2022-06-17 23:55:30 +05:30
Aravinth Manivannan d15eb7ae3d
feat: add instance view 2022-06-17 23:29:11 +05:30
Aravinth Manivannan 3705c64616
feat: add instance configuration form visible only to admins 2022-06-17 20:33:48 +05:30
Aravinth Manivannan 3be96ed131
feat: docs: support platform configuration 2022-06-17 19:19:23 +05:30
Aravinth Manivannan 328b44e729
feat: support app
Summary
    Support app shows links to user to create new issue on the Hostea
    meta repository(configurable via settings.py) and view open issues.

    (auto)Redirection via dashboard to new issue page on Gitea and issue
    tracker repository is setup. In future, a form will be exposed
    within the dashboard itself to streamline support related workflows.
2022-06-17 18:12:02 +05:30
Aravinth Manivannan d2fc48f399
feat: add support links to secondary nav 2022-06-17 17:27:49 +05:30
Aravinth Manivannan 5a10b06e11
feat & chore: list logged in user in nav & linting 2022-06-17 17:02:39 +05:30
Aravinth Manivannan 64b4437acd
feat: bootstrap dashboard templates and dashboard homepage view 2022-06-17 16:03:13 +05:30
Aravinth Manivannan 1a0ca0117a
feat: init dash app 2022-06-17 16:03:05 +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 a197422f6a
feat: docs: rm_unverified_users cronjob 2022-06-11 18:22:04 +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 b6f78e5820
feat: CI: setup test SMTP server 2022-06-10 22:34:08 +05:30
Aravinth Manivannan 417724c731
feat: docs: add instructions to setup local SMTP server 2022-06-10 22:33:35 +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
Aravinth Manivannan 60acc3f202
feat: bootstrap settings, css and favicons 2022-06-10 17:21:58 +05:30
Aravinth Manivannan 12c50be5c4
feat: install accounts app 2022-06-10 17:21:14 +05:30
Aravinth Manivannan e4b17f06d6
chore: rm oauth 2022-06-10 17:20:50 +05:30