aboutsummaryrefslogtreecommitdiff
path: root/src/hydrilla_website/templates/downloads.html.jinja
diff options
context:
space:
mode:
Diffstat (limited to 'src/hydrilla_website/templates/downloads.html.jinja')
-rw-r--r--src/hydrilla_website/templates/downloads.html.jinja291
1 files changed, 291 insertions, 0 deletions
diff --git a/src/hydrilla_website/templates/downloads.html.jinja b/src/hydrilla_website/templates/downloads.html.jinja
new file mode 100644
index 0000000..ce5dde3
--- /dev/null
+++ b/src/hydrilla_website/templates/downloads.html.jinja
@@ -0,0 +1,291 @@
+{#
+SPDX-License-Identifier: GPL-3.0-or-later OR CC-BY-SA-4.0
+
+Website downloads page.
+
+This file is part of Hydrilla&Haketilo website.
+
+Copyright (C) 2022 Wojtek Kosior
+
+Dual licensed under
+* GNU General Public License v3.0 or later and
+* Creative Commons Attribution Share Alike 4.0 International.
+
+You can choose to use either of these licenses or both.
+
+
+I, Wojtek Kosior, thereby promise not to sue for violation of this
+file's licenses. Although I request that you do not make use of this
+code in a proprietary work, I am not going to enforce this in court.
+#}
+{% extends "website_base.html.jinja" %}
+
+{% block title %} {{ _('downloads.title') }} {% endblock %}
+
+{% block style %}
+ {{ super() }}
+
+ .signify-pubkey {
+ word-break: break-all;
+ }
+{% endblock %}
+
+{% set here_url = url_for('downloads') %}
+
+{%
+ set nav_links_data = [
+ (none, url_for('main') ~ '#', 'Home'),
+ ('', here_url ~ '#', 'Downloads'),
+ ('proxy', here_url ~ '#proxy', 'Haketilo proxy'),
+ ('old-hydrilla', here_url ~ '#old-hydrilla', 'Old Hydrilla versions'),
+ ('webextension', here_url ~ '#webextension', 'Haketilo WebExtension')
+ ]
+%}
+
+{% set downloads_base = 'https://hydrilla.koszko.org/downloads/' %}
+
+{%
+ macro list_files(
+ filenames_comments,
+ label_text = 'Files',
+ filename_suffix = '',
+ include_comments = true
+ )
+%}
+ {{ label(label_text) }}
+
+ {% call unordered_list() %}
+ {% for base_filename, comment in filenames_comments %}
+ {% set filename = base_filename ~ filename_suffix %}
+ {% set href = downloads_base ~ filename %}
+ {% call list_entry() %}
+ <a href="{{ href }}">{{ filename }}</a>
+ {% if include_comments and comment %}
+ ({{ comment }})
+ {% endif %}
+ {% endcall %}
+ {% endfor %}
+ {% endcall %}
+{% endmacro %}
+
+{% macro files_and_sigs_lists(filenames_comments) %}
+ {{ list_files(filenames_comments) }}
+ {{ list_files(filenames_comments, 'Signify signatures', '.sig', false) }}
+ {{ list_files(filenames_comments, 'PGP signatures', '.asc', false) }}
+{% endmacro %}
+
+{% block body %}
+ {% call subpage('') %}
+ <h3>
+ {{ _('index.h_big.haketilo_downloads') }}
+ </h3>
+
+ <p>
+ This page lists releases of Haketilo proxy, Haketilo browser extension
+ (now in maintenance mode) and Hydrilla repository server. Starting with
+ version 3, Haketilo proxy and Hydrilla are distributed together.
+ </p>
+
+ <p>
+ All files are cryptographically signed by project maintainer, Wojciech
+ Kosior. Public keys for verification of signatures are the ones from
+ <a href="https://koszko.org">koszko.org</a>.
+ You might want to read the
+ <a href="https://hydrillabugs.koszko.org/projects/haketilo/wiki/Verifying_signatures">instructions</a>
+ on signature verification.
+ </p>
+
+ {{ label('PGP key fingerprint') }}
+ <p class="bold">
+ E972 7060 E3C5 637C 8A4F 4B42 4BC5 221C 5A79 FD1A
+ </p>
+
+ {% call label() %}
+ <span>
+ <a href="https://man.openbsd.org/signify">Signify</a> public key
+ </span>
+ {% endcall %}
+ <p class="bold signify-pubkey">
+ RWQSf2wUdpjAtrmt7D3t9iHrHFL/GpqXOF+NxECx8ck7swrx6tNzDkM9
+ </p>
+ {% endcall %}
+
+ {% call subpage('proxy') %}
+ <h3>Haketilo proxy and Hydrilla releases</h3>
+
+ <p>
+ Tool releases from version 3 upwards are listed below. Both Haketilo proxy
+ and Hydrilla are included inside.
+ </p>
+
+ <p>
+ If you're a programmer, you might also want to check the
+ <a href="https://git.koszko.org/pydrilla">git repository of Hydrilla and Haketilo</a>.
+ </p>
+
+ <h4>Version 3.0-beta1 (pre-release version)</h4>
+
+ <p>
+ The binary release was made with
+ <a href="https://guix.gnu.org/">GNU Guix</a> version
+ <span class="bold">1.3.0-26.fd00ac7</span>.
+ </p>
+
+ {{
+ files_and_sigs_lists([
+ ('haketilo-and-hydrilla-bin-3.0b1-x86_64.tar.gz',
+ 'relocatable standalone binary release for x86-64 GNU/Linux computers'),
+ ('hydrilla-3.0b1-py3-none-any.whl',
+ 'Python wheel for use with pip'),
+ ('haketilo-and-hydrilla-3.0b1.tar.gz',
+ 'source code')
+ ])
+ }}
+ {% endcall %}
+
+ {% call subpage('old-hydrilla') %}
+ <h3>Old Hydrilla releases</h3>
+
+ <p>
+ Hydrilla releases before version 3 are listed below. Those old versions
+ do not yet include the Haketilo proxy. The functionality is split between
+ separate Hydrilla <span class="bold">builder</span> and
+ <span class="bold">server</span> packages. The latter depends on the
+ former.
+ </p>
+
+ <p>
+ If you're a programmer, you might also want to check the git repositories
+ of <a href="https://git.koszko.org/pydrilla">Hydrilla</a> and
+ <a href="https://git.koszko.org/hydrilla-builder">Hydrilla builder</a>.
+ </p>
+
+ <h4>Version 1.1-beta1 (pre-release version)</h4>
+
+ {{
+ files_and_sigs_lists([
+ ('hydrilla.builder-1.1b1.tar.gz', ''),
+ ('hydrilla.builder-1.1b1-py3-none-any.whl', ''),
+ ('hydrilla-1.1b1.tar.gz', ''),
+ ('hydrilla-1.1b1-py3-none-any.whl', '')
+ ])
+ }}
+
+ <h4>Version 1.0</h4>
+
+ {{
+ files_and_sigs_lists([
+ ('hydrilla.builder-1.0.tar.gz', ''),
+ ('hydrilla.builder-1.0-py3-none-any.whl', ''),
+ ('hydrilla-1.0.tar.gz', ''),
+ ('hydrilla-1.0-py3-none-any.whl', '')
+ ])
+ }}
+
+ <h4>Version - 1.0-beta2 (pre-release version)</h4>
+
+ {{
+ files_and_sigs_lists([
+ ('hydrilla.builder-1.0b2.tar.gz', ''),
+ ('hydrilla.builder-1.0b2-py3-none-any.whl', ''),
+ ('hydrilla-1.0b2.tar.gz', ''),
+ ('hydrilla-1.0b2-py3-none-any.whl', '')
+ ])
+ }}
+
+ <h4>Version - 1.0-beta1 (pre-release version)</h4>
+
+ {{
+ files_and_sigs_lists([
+ ('hydrilla.builder-1.0b1.tar.gz', ''),
+ ('hydrilla.builder-1.0b1-py3-none-any.whl', ''),
+ ('hydrilla-1.0b1.tar.gz', ''),
+ ('hydrilla-1.0b1-py3-none-any.whl', '')
+ ])
+ }}
+ {% endcall %}
+
+ {% call subpage('webextension') %}
+ <h3>Haketilo WebExtension</h3>
+
+ <p>
+ Browser extension releases are listed below. The extension is currently in
+ maintenance mode and is not going to receive new functionalities.
+ </p>
+
+ <p>
+ If you're a programmer, you might also want to check the
+ <a href="https://git.koszko.org/browser-extension/">git repository of Haketilo browser extension</a>.
+ </p>
+
+ <h4>Version 2.0.1</h4>
+
+ {{
+ files_and_sigs_lists([
+ ('haketilo-2.0.1.zip', 'Chromium build'),
+ ('haketilo-2.0.1.xpi', 'Mozilla build'),
+ ('haketilo-2.0.1.tar.gz', 'source code')
+ ])
+ }}
+
+ <h4>Version 2.0</h4>
+
+ {{
+ files_and_sigs_lists([
+ ('haketilo-2.0.zip', 'Chromium build'),
+ ('haketilo-2.0.xpi', 'Mozilla build'),
+ ('haketilo-2.0.tar.gz', 'source code')
+ ])
+ }}
+
+ <h4>Version 2.0-beta1 (pre-release version)</h4>
+
+ {{
+ files_and_sigs_lists([
+ ('haketilo-2.0b1.zip', 'Chromium build'),
+ ('haketilo-2.0b1.xpi', 'Mozilla build'),
+ ('haketilo-2.0b1.tar.gz', 'source code')
+ ])
+ }}
+
+ <h4>Version 1.0</h4>
+
+ {{
+ files_and_sigs_lists([
+ ('haketilo-1.0.zip', 'Chromium build'),
+ ('haketilo-1.0.mozilla-signed.xpi', 'Mozilla build'),
+ ('haketilo-1.0.tar.gz', 'source code')
+ ])
+ }}
+
+ <h4>Version 1.0-beta3 (pre-release version)</h4>
+
+ {{
+ files_and_sigs_lists([
+ ('haketilo-1.0b3.zip', 'Chromium build'),
+ ('haketilo-1.0b3.xpi', 'Mozilla build'),
+ ('haketilo-1.0b3.tar.gz', 'source code')
+ ])
+ }}
+
+ <h4>Version 1.0-beta2 (pre-release version)</h4>
+
+ {{
+ files_and_sigs_lists([
+ ('haketilo-1.0b2.zip', 'Chromium build'),
+ ('haketilo-1.0b2.xpi', 'Mozilla build'),
+ ('haketilo-1.0b2.tar.gz', 'source code')
+ ])
+ }}
+
+ <h4>Version 1.0-beta1 (pre-release version)</h4>
+
+ {{
+ files_and_sigs_lists([
+ ('haketilo-1.0b1.zip', 'Chromium build'),
+ ('haketilo-1.0b1.xpi', 'Mozilla build'),
+ ('haketilo-1.0b1.tar.gz', 'source code')
+ ])
+ }}
+ {% endcall %}
+{% endblock %}