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

Wyświetl plik

@ -10,6 +10,31 @@ This changelog is viewable on the web at https://docs.funkwhale.audio/changelog.
.. towncrier .. 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) 1.2.6 (2022-07-04)
------------------ ------------------

Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

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