Merge branch 'stable' into develop

environments/review-docs-devel-1399dq/deployments/12466
Marcos Peña 2022-07-14 13:30:02 +02:00
commit 05b0dded7c
5 zmienionych plików z 44 dodań i 8 usunięć

Wyświetl plik

@ -124,7 +124,12 @@ black:
before_script:
- pip install black
script:
- black --check --diff .
- black --check --diff api/
only:
refs:
- branches
changes:
- api/**/*
flake8:
interruptible: true
@ -140,6 +145,11 @@ flake8:
key: "$CI_PROJECT_ID__flake8_pip_cache"
paths:
- "$PIP_CACHE_DIR"
only:
refs:
- branches
changes:
- api/**/*
eslint:
interruptible: true
@ -155,6 +165,11 @@ eslint:
key: "$CI_PROJECT_ID__eslint_npm_cache"
paths:
- front/node_modules
only:
refs:
- branches
changes:
- front/**/*
test_api:
interruptible: true

Wyświetl plik

@ -10,6 +10,31 @@ This changelog is viewable on the web at https://docs.funkwhale.audio/changelog.
.. towncrier
1.2.7 (2022-07-14)
------------------
Upgrade instructions are available at
https://docs.funkwhale.audio/admin/upgrading.html
Bugfixes:
- Fixed libre.fm plugin not submitting scrobbles (#1817)
Committers:
- Georg Krause
- Marcos Peña
Contributors to our Issues:
- Ciarán Ainsworth
- Marcos Peña
Contributors to our Merge Requests:
- Georg Krause
- Marcos Peña
1.2.6 (2022-07-04)
------------------

Wyświetl plik

@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
__version__ = "1.2.6"
__version__ = "1.2.7"
__version_info__ = tuple(
[
int(num) if num.isdigit() else num

Wyświetl plik

@ -17,7 +17,7 @@ def handshake_v1(session, url, username, password):
params = {
"hs": "true",
"p": "1.2",
"c": PLUGIN["name"],
"c": "fw",
"v": PLUGIN["version"],
"u": username,
"t": timestamp,

Wyświetl plik

@ -67,11 +67,7 @@ def slugify_username(username):
def retrieve_ap_object(
fid,
actor,
serializer_class=None,
queryset=None,
apply_instance_policies=True,
fid, actor, serializer_class=None, queryset=None, apply_instance_policies=True,
):
# we have a duplicate check here because it's less expensive to do those checks
# twice than to trigger a HTTP request