bump version 2.2.0

This commit is contained in:
Xavier Fiechter 2024-06-02 23:46:29 +02:00
parent b420c121fd
commit 6c69260b89
4 changed files with 2 additions and 155 deletions

View file

@ -54,7 +54,7 @@ sentry_sdk.init(
traces_sample_rate=1.0,
send_default_pii=True, # must be "True" here, will skip or omit in `before_send` callback
)
sentry_sdk.set_tag("version", "2.1.0")
sentry_sdk.set_tag("version", "2.2.0")
LOGGING = {

View file

@ -55,7 +55,7 @@
</ul>
</div>
<div class="my-2 text-center"><small>
<a class="text-600 me-1 termslink" href="JavaScript:void(0);" onclick="window.location='{% url 'privacy_policy' %}';">Privacy Policy</a><a class="text-600 mx-1 termslink" href="JavaScript:void(0);" onclick="window.location='{% url 'terms' %}';">Terms</a><a class="text-600 mx-1 termslink">v2.1.0</a></small>
<a class="text-600 me-1 termslink" href="JavaScript:void(0);" onclick="window.location='{% url 'privacy_policy' %}';">Privacy Policy</a><a class="text-600 mx-1 termslink" href="JavaScript:void(0);" onclick="window.location='{% url 'terms' %}';">Terms</a><a class="text-600 mx-1 termslink">v2.2.0</a></small>
</div>
</div>
</div>

View file

@ -95,11 +95,6 @@
<div class="carousel-item">
<h5>Backups</h5>
<p>Before upgrading to a newer version, backup your data by exporting your labels as a BIP-329 file or an encrypted archive.</p>
</div>
<div class="carousel-item">
<h5>Yellow Screen</h5>
<p>In this new release, you will see a yellow screen in case of an error. Please create a screenshot and share it with us to help improve Labelbase.</p>
</div>
</div>

View file

@ -41,154 +41,6 @@
{% get_attachments_for object.get_label_attachment as my_attachments %}
{% comment %}
<div class="row">
<ul class="nav nav-tabs" style="padding-top: 2rem; ">
<li class="nav-item">
<a class="nav-link {% if action == "update" %}active" aria-current="page" {% else %}"{% endif %} href="{% url 'edit_label' object.id %}">Label Detail</a>
</li>
{% switch object.type %}
{% case "addr" %}
{% case "tx" %}
<li class="nav-item">
<a class="nav-link {% if action == "labeling" %}active" aria-current="page" {% else %}"{% endif %} href="{% url 'edit_label' object.id %}labeling/">Transaction Labeling</a>
</li>
{% case "output" %}
<li class="nav-item">
<a class="nav-link {% if action == "output-details" %}active" aria-current="page" {% else %}"{% endif %} href="{% url 'edit_label' object.id %}output-details/">Output Details</a>
</li>
{% case "xpub" %}
<li class="nav-item">
{% switch object.ref|slice:":4" %}
{% case "xpub" %}
<a class="nav-link {% if action == "derive-addresses" %}active" aria-current="page" {% else %}"{% endif %}
href="{% url 'edit_label' object.id %}derive-addresses/?derivation=m/44&address_count={{address_count}}&offset={{ offset }}">Derive Addresses</a>
{% case "ypub" %}
<a class="nav-link {% if action == "derive-addresses" %}active" aria-current="page" {% else %}"{% endif %}
href="{% url 'edit_label' object.id %}derive-addresses/?derivation=m/49&address_count={{address_count}}&offset={{ offset }}">Derive Addresses</a>
{% case "zpub" %}
<a class="nav-link {% if action == "derive-addresses" %}active" aria-current="page" {% else %}"{% endif %}
href="{% url 'edit_label' object.id %}derive-addresses/?derivation=m/84&address_count={{address_count}}&offset={{ offset }}">Derive Addresses</a>
{% else %}
<a class="nav-link {% if action == "derive-addresses" %}active" aria-current="page" {% else %}"{% endif %}
href="{% url 'edit_label' object.id %}derive-addresses/">Derive Addresses</a>
{% endswitch %}
</li>
{% endswitch %}
{% is_self_hosted as my_labelbase_is_self_hosted %}
{% if object.labelbase.user.profile.use_attachments %}
<li class="nav-item">
{% if my_labelbase_is_self_hosted %}
<a class="nav-link {% if action == "attachments" %}active " aria-current="page" {% else %}"{% endif %}
href="{% url 'edit_label' object.id %}attachments/">
Attachments
{% if my_attachments.count %}
<span class="badge text-bg-secondary top-0 rounded-pill " >{% attachments_count object.get_label_attachment %}</span>
{% endif %}
</a>
{% else %}
<a class="nav-link disabled">Attachments</a>
{% endif %}
</li>
{% endif %}
{% if object.ref == "54e48e5f5c656b26c3bca14a8c95aa583d07ebe84dde3b7dd4a78f4e4186e713" %}
<li class="nav-item">
<a class="nav-link" href="/static/bitcoin.pdf">Bitcoin White Paper</a>
</li>
{% endif %}
</ul>
</div>
{% endcomment %}
{% comment %} <!-- 2 -->
<div class="row">
<ul class="nav nav-tabs" style="padding-top: 2rem;">
<li class="nav-item">
<a class="nav-link {% if action == "update" %}active" aria-current="page" {% else %}"{% endif %} href="{% url 'edit_label' object.id %}">Label Detail</a>
</li>
<!-- object.type: {{ object.type }} -->
{% switch object.type %}
{% case "addr" %}
<!-- object.type: {{ object.type }} (addr) -->
{% case "tx" %}
<!-- object.type: {{ object.type }} (tx) -->
<li class="nav-item">
<a class="nav-link {% if action == "labeling" %}active" aria-current="page" {% else %}"{% endif %} href="{% url 'edit_label' object.id %}labeling/">Transaction Labeling</a>
</li>
{% case "output" %}
<!-- object.type: {{ object.type }} (output) -->
<li class="nav-item">
<a class="nav-link {% if action == "output-details" %}active" aria-current="page" {% else %}"{% endif %} href="{% url 'edit_label' object.id %}output-details/">Output Details</a>
</li>
{% case "xpub" %}
<!-- object.type: {{ object.type }} (xpub) -->
<li class="nav-item">
{% switch object.ref|slice:":4" %}
{% case "xpub" %}
<a class="nav-link {% if action == "derive-addresses" %}active" aria-current="page" {% else %}"{% endif %} href="{% url 'edit_label' object.id %}derive-addresses/?derivation=m/44&address_count={{ address_count }}&offset={{ offset }}">Derive Addresses</a>
{% case "ypub" %}
<a class="nav-link {% if action == "derive-addresses" %}active" aria-current="page" {% else %}"{% endif %} href="{% url 'edit_label' object.id %}derive-addresses/?derivation=m/49&address_count={{ address_count }}&offset={{ offset }}">Derive Addresses</a>
{% case "zpub" %}
<a class="nav-link {% if action == "derive-addresses" %}active" aria-current="page" {% else %}"{% endif %} href="{% url 'edit_label' object.id %}derive-addresses/?derivation=m/84&address_count={{ address_count }}&offset={{ offset }}">Derive Addresses</a>
{% else %}
<a class="nav-link {% if action == "derive-addresses" %}active" aria-current="page" {% else %}"{% endif %} href="{% url 'edit_label' object.id %}derive-addresses/">Derive Addresses</a>
{% endswitch %}
</li>
{% endswitch %}
{% is_self_hosted as my_labelbase_is_self_hosted %}
{% if object.labelbase.user.profile.use_attachments %}
<li class="nav-item">
{% if my_labelbase_is_self_hosted %}
<a class="nav-link {% if action == "attachments" %}active" aria-current="page" {% else %}"{% endif %} href="{% url 'edit_label' object.id %}attachments/">
Attachments
{% if my_attachments.count %}
<span class="badge text-bg-secondary top-0 rounded-pill">{% attachments_count object.get_label_attachment %}</span>
{% endif %}
</a>
{% else %}
<a class="nav-link disabled">Attachments</a>
{% endif %}
</li>
{% endif %}
{% if object.ref == "54e48e5f5c656b26c3bca14a8c95aa583d07ebe84dde3b7dd4a78f4e4186e713" %}
<li class="nav-item">
<a class="nav-link" href="/static/bitcoin.pdf">Bitcoin White Paper</a>
</li>
{% endif %}
</ul>
</div>
{% endcomment %}
<div class="row">
<ul class="nav nav-tabs" style="padding-top: 2rem;">