Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bumpversion.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.bumpversion]
current_version = "1.0.2+261028"
current_version = "1.0.3+261117"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)\\+(?P<build>\\d+)"
serialize = ["{major}.{minor}.{patch}+{build}"]
search = "{current_version}"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "mumblermapi"
version = "1.0.2+261028"
version = "1.0.3+261117"
description = "Murmur (Mumble server) integration for the OpenDefence platform"
license = { text = "GPL-2.0-only" }
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion src/mumblermapi/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Murmur integration for the OpenDefence platform"""

__version__ = "1.0.2+261028"
__version__ = "1.0.3+261117"
2 changes: 1 addition & 1 deletion src/mumblermapi/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ def _extended(language: str, texts: dict[str, str]) -> ProductDescriptionExtende
return ProductDescriptionExtended(
shortname=SHORTNAME,
title=TITLES[language],
icon=f"{UI_PATH[1:]}/icon.svg",
icon=f"{UI_PATH[1:]}/voicelogo.svg",
description=texts[language],
language=language,
docs=None,
Expand Down
3 changes: 2 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
from cryptography.hazmat.primitives.serialization import Encoding
from cryptography.x509.oid import ExtendedKeyUsageOID, NameOID

NOW = datetime(2026, 10, 10, 12, 0, tzinfo=UTC)
# Today, so certificates the code checks against the real clock are valid when the tests run
NOW = datetime.now(UTC).replace(microsecond=0)


@dataclass(frozen=True)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def test_v2_descriptions(client: TestClient) -> None:
tile = client.get("/api/v2/description/fi").json()
assert tile["title"] == "Puhe"
assert tile["component"] == {"type": "component", "ref": "/ui/mumble/remoteEntry.js"}
assert tile["icon"] == "ui/mumble/icon.svg"
assert tile["icon"] == "ui/mumble/voicelogo.svg"
assert client.get("/api/v2/description/de").json()["language"] == "en"
assert "members" in client.get("/api/v2/admin/description/en").json()["description"]
remote = client.get("/ui/mumble/remoteEntry.js")
Expand Down
3 changes: 2 additions & 1 deletion tests/test_identity.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""Usernames, certificate verification and name binding"""

from datetime import timedelta
from pathlib import Path

import pytest
Expand Down Expand Up @@ -70,7 +71,7 @@ def test_verify_rejects_foreign_ca(pki: Pki) -> None:

def test_verify_rejects_expired(pki: Pki) -> None:
"""Expired certificates are refused"""
expired = issue("ALPHA 1", pki.ca, not_before=NOW.replace(year=2025), not_after=NOW.replace(year=2026, month=1))
expired = issue("ALPHA 1", pki.ca, not_before=NOW - timedelta(days=400), not_after=NOW - timedelta(days=30))
with pytest.raises(IdentityError, match="untrusted"):
_verifier(pki).verify([expired.der], NOW)

Expand Down
1 change: 0 additions & 1 deletion ui/public/icon.svg

This file was deleted.

1 change: 1 addition & 0 deletions ui/public/voicelogo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading