Merge branch 'release/0.19.1'

This commit is contained in:
Eliot Berriot 2019-06-28 10:25:32 +02:00
commit b1fdab64da
No known key found for this signature in database
GPG Key ID: DD6965E2476E5C27
24 changed files with 68 additions and 25 deletions

View File

@ -10,6 +10,55 @@ This changelog is viewable on the web at https://docs.funkwhale.audio/changelog.
.. towncrier
0.19.1 (2018-06-28)
-------------------
Upgrade instructions are available at
https://docs.funkwhale.audio/index.html
Enhancements:
- The currently playing track is now highlighted with an orange play icon (#832)
- Support for importing files with no album tag (#122)
- Redirect from / to /library when user is logged in (#864)
- Added a SUBSONIC_DEFAULT_TRANSCODING_FORMAT env var to support clients that don't provide the format parameter (#867)
- Added button to search for objects on Discogs (#368)
- Added copy-to-clipboard button with Subsonic password input (#814)
- Added opus to the list of supported mimetypes and extensions (#868)
- Aligned search headers with search results in the sidebar (#708)
- Clicking on the currently selected playlist in the Playlist popup will now close the popup (#807)
- Favorites radio will not be visible if the user does not have any favorites (#419)
Bugfixes:
- Ensure empty but optional fields in file metadata don't error during import (#850)
- Fix broken upload for specific files when using S3 storage (#857)
- Fixed broken translation on home and track detail page (#833)
- Fixed broken user admin for users with non-digit or letters in their username (#869)
- Fixed invalid file extension for transcoded tracks (#848)
- Fixed issue with French translation for "Start radio" (#849)
- Fixed issue with player changing height when hovering over the volume slider (#838)
- Fixed secondary menus truncated on narrow screens (#855)
- Fixed wrong og:image url when using S3 storage (#851)
- Hide pod statistics on about page if those are disabled (#835)
- Use ASCII filename before upload to S3 to avoid playback issues (#847)
Contributors to this release (commiters and reviewers):
- Ciarán Ainsworth
- Creak
- ealgase
- Eliot Berriot
- Esteban
- Freyja Wildes
- hellekin
- Johannes H.
- Mehdi
- Reg
0.19.0 (2019-05-16)
-------------------

View File

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

View File

@ -1 +0,0 @@
Support for importing files with no album tag (#122)

View File

@ -1 +0,0 @@
Added button to search for objects on Discogs (#368)

View File

@ -1 +0,0 @@
Favorites radio will not be visible if the user does not have any favorites (#419)

View File

@ -1 +0,0 @@
Aligned search headers with search results in the sidebar (#708)

View File

@ -1 +0,0 @@
Clicking on the currently selected playlist in the Playlist popup will now close the popup (#807)

View File

@ -1 +0,0 @@
Added copy-to-clipboard button with Subsonic password input (#814)

View File

@ -1 +0,0 @@
The currently playing track is now highlighted with an orange play icon (#832)

View File

@ -1 +0,0 @@
Fixed broken translation on home and track detail page (#833)

View File

@ -1 +0,0 @@
Hide pod statistics on about page if those are disabled (#835)

View File

@ -1 +0,0 @@
Fixed issue with player changing height when hovering over the volume slider (#838)

View File

@ -1 +0,0 @@
Use ASCII filename before upload to S3 to avoid playback issues (#847)

View File

@ -1 +0,0 @@
Fixed invalid file extension for transcoded tracks (#848)

View File

@ -1 +0,0 @@
Fixed issue with French translation for "Start radio" (#849)

View File

@ -1 +0,0 @@
Ensure empty but optional fields in file metadata don't error during import (#850)

View File

@ -1 +0,0 @@
Fixed wrong og:image url when using S3 storage (#851)

View File

@ -1 +0,0 @@
Fixed secondary menus truncated on narrow screens (#855)

View File

@ -1 +0,0 @@
Fix broken upload for specific files when using S3 storage (#857)

View File

@ -1 +0,0 @@
Redirect from / to /library when user is logged in (#864)

View File

@ -1 +0,0 @@
Added a SUBSONIC_DEFAULT_TRANSCODING_FORMAT env var to support clients that don't provide the format parameter (#867)

View File

@ -1 +0,0 @@
Added opus to the list of supported mimetypes and extensions (#868)

View File

@ -1 +0,0 @@
Fixed broken user admin for users with non-digit or letters in their username (#869)

View File

@ -1,5 +1,6 @@
import argparse
import requests
import os
GITLAB_URL = "https://dev.funkwhale.audio"
GITLAB_PROJECT_ID = 17
@ -82,6 +83,14 @@ def get_translations_stats(translations):
return stats
def get_group_usernames(group):
url = GITLAB_URL + "/api/v4/groups/{}/members".format(group)
response = requests.get(url, headers={"PRIVATE-TOKEN": os.environ["PRIVATE_TOKEN"]})
response.raise_for_status()
data = response.json()
return [r["name"] for r in data]
def main():
parser = argparse.ArgumentParser()
parser.add_argument("ref_name")
@ -90,9 +99,15 @@ def main():
since = get_tag_date(args.last_tag)
commits = get_commits(args.ref_name, since)
commits_stats = get_commit_stats(commits)
groups = [(588, "funkwhale/reviewers-python"), (589, "funkwhale/reviewers-front")]
reviewers = []
for id, _ in groups:
reviewers += get_group_usernames(id)
print("\nReviewers:\n")
for reviewer in reviewers:
print(reviewer)
commiter_names = commits_stats["commiters"].keys()
print("Commiters:")
print("\nCommiters:\n")
for commiter in sorted(commits_stats["commiters"].keys(), key=lambda v: v.upper()):
print(commiter)
translations = get_translations(since)
@ -100,7 +115,7 @@ def main():
translators_ids = sorted(translations_stats["translators"].keys())
# There is no way to query user/author info via weblate API and we need the names…
print(
"Execute the following SQL query on the weblate server to get the translators names:"
"\nExecute the following SQL query on the weblate server to get the translators names:"
)
print("$ weblate dbshell")
print(