Commit Graph

31 Commits (5160e9af2642d5ad68d7e5ef6674309dec04eb2c)

Author SHA1 Message Date
Aravinth Manivannan faca7286b7
feat: load Dashboard source code repository URL from settings 2022-06-30 14:33:56 +05:30
Aravinth Manivannan fc5a23e60a
feat: configurable VM base domain and customer Gitea and Woodpecker URI generators
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/pr/woodpecker Pipeline failed Details
SUMMARY

    The hostnames are partially generated by the Dashboard and
    enough.community.

    The stuff between angle brackets(`<>`) are substituted and filled-in
    by the Dashboard and the stuff between parenthesis(`{}`) are
    substituted and filled-in by enough.

URI FORMAT

    Gitea URI
	<vm-name>.{{ domain }}

    Woodpecker URI
	<vm-name>-ci.{{ domain }}

    Where domain is agreed to be equal to HOSTEA_DOMAIN

fixes: https://gitea.hostea.org/Hostea/dashboard/issues/11
2022-06-29 11:05:33 +05:30
Aravinth Manivannan 89d8206c34
feat: CI: load deploy key from oenv var 2022-06-27 04:36:23 +05:30
Aravinth Manivannan 6388e4de10
feat: CI local_settings.py loads config from env vars
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-06-27 02:44:49 +05:30
Aravinth Manivannan 3fb756bd12
feat: use local gitea instance for hostea support in dev 2022-06-26 04:19:01 +05:30
Aravinth Manivannan 4542389df8
fix: import vars defined in local_settings.py
ci/woodpecker/push/woodpecker Pipeline failed Details
fixes https://gitea.hostea.org/Hostea/dashboard/issues/5
2022-06-26 04:17:26 +05:30
Aravinth Manivannan 3378e61606
hotfix: use dashboard/local_settings.py instead of env vars
ci/woodpecker/pr/woodpecker Pipeline failed Details
ci/woodpecker/push/woodpecker Pipeline failed Details
My env var loading technique is not allowing local_settings.py to
override settings.py. This hotfix disables env vars in favor of
local_settings.py.

fixes https://gitea.hostea.org/Hostea/dashboard/issues/3
2022-06-26 01:49:32 +05:30
Loïc Dachary adcdd00179
allow overriding STRIPE_* with local_settings.py
ci/woodpecker/pr/woodpecker Pipeline failed Details
Without a default value it will fail before it gets a chance to be
overriden by local_settings.py

Signed-off-by: Loïc Dachary <loic@dachary.org>
2022-06-25 21:29:04 +02:00
Aravinth Manivannan b387e44f49
feat: docs: local_settings.example.py
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-06-25 18:56:54 +05:30
Aravinth Manivannan 0d6968ff0a
feat: custom parameters template
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-06-25 18:42:42 +05:30
Aravinth Manivannan a39bcdb7b8
feat: disable i8ln as it's not implemented yet
> Django’s internationalization hooks are on by default, and that means
there’s a bit of i18n-related overhead in certain places of the
framework. If you don’t use internationalization, you should take the
two seconds to set USE_I18N = False in your settings file. Then Django
will make some optimizations so as not to load the internationalization
machinery. # Please enter the commit message for your changes. Lines
starting

ref: https://docs.djangoproject.com/en/4.0/topics/i18n/translation/
2022-06-25 18:42:41 +05:30
Aravinth Manivannan 26b7ea3ef2
fix & rm: create/rm hostscripts, rm HOSTEA_DOMAIN
ci/woodpecker/push/woodpecker Pipeline failed Details
ci/woodpecker/pr/woodpecker Pipeline failed Details
2022-06-25 18:24:52 +05:30
Aravinth Manivannan 9af5361f63
feat: load local settings 2022-06-25 18:01:39 +05:30
Aravinth Manivannan 80d6664f0d
feat: load VM domain from settings 2022-06-25 17:57:23 +05:30
Aravinth Manivannan 9f55a8ced7
feat: docs: hostea infrastructure config parameters
ci/woodpecker/push/woodpecker Pipeline failed Details
ci/woodpecker/pr/woodpecker Pipeline failed Details
2022-06-24 20:38:37 +05:30
Aravinth Manivannan 04ec4037a9
feat: init gitpython and infrastructure app 2022-06-24 20:33:32 +05:30
Aravinth Manivannan 4908754b0d
feat: init billing app 2022-06-22 00:36:46 +05:30
Aravinth Manivannan cc1ecaf6a0
feat: init django-oauth-toolkit 2022-06-19 22:25:27 +05:30
Aravinth Manivannan 2fb1a3d0d1
fix: one user can have multiple instances; OneToOneField -> ForeignKey 2022-06-18 21:56:02 +05:30
Aravinth Manivannan 391a3502e7
fix: add rent field to instance config
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-06-17 23:56:19 +05:30
Aravinth Manivannan 3be96ed131
feat: docs: support platform configuration 2022-06-17 19:19:23 +05:30
Aravinth Manivannan 328b44e729
feat: support app
ci/woodpecker/push/woodpecker Pipeline was successful Details
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 1a0ca0117a
feat: init dash app 2022-06-17 16:03:05 +05:30
Aravinth Manivannan 8bcc6a390b
feat: management command to remove unverified users 2022-06-11 18:18:44 +05:30
Aravinth Manivannan 453b115485
feat: registration with email confirmation flows 2022-06-10 22:34:57 +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 152603cf9d
feat: optionally restrict create app to admins only
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-06-06 09:31:33 +05:30
Aravinth Manivannan 25937ca6a9
feat: install oauth app and parallelize tests 2022-06-06 04:19:50 +05:30
Aravinth Manivannan 493268c62b
feat: def model for auth grant storage 2022-06-06 01:15:59 +05:30
Aravinth Manivannan 82b57d5c87
init django 2022-04-27 17:09:07 +05:30