diff --git a/README.md b/README.md index 3722f82..f5b384d 100644 --- a/README.md +++ b/README.md @@ -78,14 +78,6 @@ Create a superuser account ``` -### Repository Quota Updates - -The repository quotas in the UI are updated after each backup. -To update the quota during an operation the `update_used_quota` management command can be executed on a regular basis. - -There are example configs for systemd-timers in `contrib/communitybackup-quota-update.service` and `contrib/communitybackup-quota-update.timer`. Adjust the paths and the timers to your needs. - - ## Custom pages Some pages are specific to your installation. E.g. an imprint. @@ -142,37 +134,3 @@ Django debug setting. ### MARKDOWN_PAGE_DIR `MARKDOWN_PAGE_DIR` is the directory where customized markdown files are put. This directory is required. - -### BACKUP_MANAGE_PY - -`BACKUP_MANAGE_PY` is the command to run the `manage.py` file, including e.g. a Python interpreter, venv, etc. This must be a `pathlib.Path` - -### ADDITIONAL_FOOTER_NAV_ITEMS - -`ADDITIONAL_FOOTER_NAV_ITEMS` allows you to add additional links to the footer. This is a `list[str]`. Each item gets rendered as is into a ` - {% if ADDITIONAL_FOOTER_NAV_ITEMS %} -
- -
- {% endif %} diff --git a/community_backup/webui/templates/borg_list.html b/community_backup/webui/templates/borg_list.html index 2f6e7c7..b193fcd 100644 --- a/community_backup/webui/templates/borg_list.html +++ b/community_backup/webui/templates/borg_list.html @@ -18,16 +18,14 @@ Name Key Repo-URL - Quota (used/total) {% for repo in object_list %} {{ repo.name }} - {{ repo.truncated_key }} - {{ repo.repo_url }} - {% if repo.used_quota < 0 %}not initialized{% else %}{{ repo.used_quota }}/{{ repo.quota }} GB{% endif %} + {{ repo.key | truncatechars:40 }} + {{ repo.repo_url}}
Edit Delete @@ -35,21 +33,6 @@ -{% if BORG_SERVER_PUBKEYS %} -
-
-

Borg Server Public Keys

-
- -
-{% endif %} diff --git a/community_backup/webui/templates/landing.html b/community_backup/webui/templates/landing.html index a9960f9..b7a8141 100644 --- a/community_backup/webui/templates/landing.html +++ b/community_backup/webui/templates/landing.html @@ -6,7 +6,7 @@ -

This is a service offering space for backups free of charge. This is a hobby project. It comes with no guarantees for anything, especially availability of the service. This service is in a testing phase at the moment. It might be unavailable at times and features might change quickly.

+

This is a service offering space for backups free of charge. This is a hobby project. It comes with no garantees for anything, especially availability of the service. This service is in a testing phase at the moment. It might be unavailable at times and features might change quickly.

Currently this service offers only backups via Borg Backup.

To access this service you need an account. To register for an account you need a voucher. Vouchers are required to control the amount of users, so that there is enough space available for everyone.

diff --git a/pyproject.toml b/pyproject.toml index 2412b09..526d5d5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "community_backup" -version = "0.12" +version = "0.6" description = "Add your description here" readme = "README.md" requires-python = ">=3.13" @@ -10,5 +10,4 @@ dependencies = [ "django-crispy-forms>=2.6", "gunicorn>=25.3.0", "markdown2>=2.5.5", - "msgpack>=1.1.2", ]