Wykres commitów

755 Commity (74bd0bae8c9a862a4707efbfdaee9337ed957020)

Autor SHA1 Wiadomość Data
Eliot Berriot 74bd0bae8c Merge branch 'fail-graciously-on-empty-media-type' into 'develop'
Fail graciously when AP representation includes a null_value for mediaType

See merge request funkwhale/funkwhale!135
2018-04-17 22:25:40 +00:00
Eliot Berriot c29a96f244
Fail graciously when AP representation includes a null_value for mediaType 2018-04-18 00:08:31 +02:00
Eliot Berriot 410d5f1d28
Merge tag '0.9.1' into develop
0.9.1 (2018-04-17)
------------------

Bugfixes:

- Allow null values for musicbrainz_id in Audio ActivityPub representation
- Fixed broken permission check on library scanning and too aggressive page
  validation
2018-04-17 23:20:50 +02:00
Eliot Berriot 22cc2048ac
Merge branch 'release/0.9.1' 2018-04-17 23:20:40 +02:00
Eliot Berriot eb275b7e08
Version bump and changelog 2018-04-17 23:20:32 +02:00
Eliot Berriot 433eb8db97 Merge branch 'federation-fixes' into 'develop'
Federation fixes

See merge request funkwhale/funkwhale!134
2018-04-17 21:19:14 +00:00
Eliot Berriot f55d2b6c9d
Updated tests 2018-04-17 23:10:46 +02:00
Eliot Berriot c17f7eefde
Ensure follower is approved to access library 2018-04-17 23:08:15 +02:00
Eliot Berriot 899ba31162
Do not fail on library page scan if one item is invalid 2018-04-17 22:58:43 +02:00
Eliot Berriot 852bed6fbb Merge branch 'audio-metadata-musicbrainz-allow-null' into 'develop'
Allow null values for musicbrainz_id in Audio ActivityPub representation

See merge request funkwhale/funkwhale!133
2018-04-17 19:51:56 +00:00
Eliot Berriot 14cadce4a6
Allow null values for musicbrainz_id in Audio ActivityPub representation 2018-04-17 21:49:11 +02:00
Eliot Berriot e5dc918c67
Merge tag '0.9' into develop
0.9 (2018-04-17)
----------------

Features:

- Add internationalization support (#5)
- Can now follow and import music from remote libraries (#136, #137)

Enhancements:

- Added a i18n-extract yarn script to extract strings to PO files (#162)
- User admin now includes signup and last login dates (#148)
- We now use a proper user agent including instance version and url during
  outgoing requests

Federation is here!
^^^^^^^^^^^^^^^^^^^

This is for real this time, and includes:

- Following other Funkwhale libraries
- Importing tracks from remote libraries (tracks are hotlinked, and only cached for a short amount of time)
- Searching accross federated catalogs

Note that by default, federation is opt-in, on a per-instance basis:
instances will request access to your catalog, and you can accept or refuse
those requests. You can also revoke the access at any time.

Documentation was updated with relevant instructions to use and benefit
from this new feature: https://docs.funkwhale.audio/federation.html

Preparing internationalization
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Funkwhale's front-end as always been english-only, and this is a barrier
to new users. The work make Funkwhale's interface translatable was started
in this release by Baptiste. Although nothing is translated yet,
this release includes behind the stage changes that will make it possible in
the near future.

Many thank to Baptiste for the hard work and for figuring out a proper solution
to this difficult problem.

Upgrade path
^^^^^^^^^^^^

In addition to the usual instructions from
https://docs.funkwhale.audio/upgrading.html, non-docker users will have
to setup an additional systemd unit file for recurrent tasks.

This was forgotten in the deployment documentation, but recurrent tasks,
managed by the celery beat process, will be needed more and more in subsequent
releases. Right now, we'll be using to clear the cache for federated music files
and keep disk usage to a minimum.

In the future, they will also be needed to refetch music metadata or federated
information periodically.

Celery beat can be enabled easily::

    curl -L -o "/etc/systemd/system/funkwhale-beat.service" "https://code.eliotberriot.com/funkwhale/funkwhale/raw/develop/deploy/funkwhale-beat.service"
    # Also edit /etc/systemd/system/funkwhale.target
    # and ensure the Wants= line contains the following:
    # Wants=funkwhale-server.service funkwhale-worker.service funkwhale-beat.service
    nano /etc/systemd/system/funkwhale.target
    # reload configuration
    systemctl daemon-reload

Docker users already have celerybeat enabled.
2018-04-17 21:31:52 +02:00
Eliot Berriot d44b8627c9
Merge branch 'release/0.9' 2018-04-17 21:31:36 +02:00
Eliot Berriot dd97a9b488
Version bump and changelog 2018-04-17 21:26:58 +02:00
Eliot Berriot 6efbb4fb35
More federation documentation 2018-04-17 21:26:49 +02:00
Eliot Berriot a37183f57e
Additional celery beat systemd unit file 2018-04-17 21:26:35 +02:00
Eliot Berriot 6fd77a0a52 Merge branch 'activity-pub-import' into 'develop'
Activity pub import

See merge request funkwhale/funkwhale!132
2018-04-17 18:08:38 +00:00
Eliot Berriot 5fee42f896
Can now filter by import status on library tracks 2018-04-17 20:03:31 +02:00
Eliot Berriot 183bbe3ad6
Added tooltips to explain settings meaning 2018-04-17 19:54:28 +02:00
Eliot Berriot f31874edf5
Implemented followers notification on import and autoimport 2018-04-17 19:35:57 +02:00
Eliot Berriot adcbe8852d
Tmpfile fixture 2018-04-17 19:35:57 +02:00
Eliot Berriot 168b2f03d4
Slightly smarter docker front setup 2018-04-17 19:35:57 +02:00
Eliot Berriot 7c9412f63a
Disabled PO compile script and fixed typo 2018-04-17 19:35:57 +02:00
Eliot Berriot 9544a582ba Merge branch 'po-extract' into 'develop'
Added script to extract translations into PO files

See merge request funkwhale/funkwhale!130
2018-04-17 17:25:14 +00:00
Eliot Berriot 35dda16adb
Compile and bundle translations in CI 2018-04-16 22:54:36 +02:00
Eliot Berriot fd6ab881a7
Fixed broken translations 2018-04-16 22:46:54 +02:00
Eliot Berriot 7d71f92600 Merge branch 'i18n-federation-components' into 'develop'
I18n federation components

See merge request funkwhale/funkwhale!129
2018-04-15 18:06:44 +00:00
Eliot Berriot b8fcbe218e Merge branch 'i18n-library-radios' into 'develop'
I18n: library/radios

See merge request funkwhale/funkwhale!127
2018-04-15 18:06:16 +00:00
Eliot Berriot a57081a4e9
Added script to extract translations into PO files 2018-04-15 20:04:26 +02:00
Bat eb1c4ff1b2 Translate federation components 2018-04-15 15:23:58 +01:00
Bat be3e6d70a3 Merge branch 'i18n-library-radios' into develop 2018-04-15 14:28:23 +01:00
Eliot Berriot 4672c8d52c Merge branch 'i18n-library' into 'develop'
I18n: library

See merge request funkwhale/funkwhale!128
2018-04-15 13:19:27 +00:00
Bat c7b39cf9c9 I18n: library 2018-04-15 11:45:56 +01:00
Bat 2d3ef2a3f5 I18n: library/radios 2018-04-15 11:20:40 +01:00
Eliot Berriot 18e8e4fa3b Merge branch 'remote-scan' into 'develop'
Remote scan/import

Closes #137 and #136

See merge request funkwhale/funkwhale!126
2018-04-15 09:29:05 +00:00
Eliot Berriot 8eba42d4a4
Changelog 2018-04-15 11:25:35 +02:00
Eliot Berriot 5ee1f18089
Fixed failing api test 2018-04-15 11:25:35 +02:00
Eliot Berriot fca707cafc
Minor tweaks 2018-04-15 11:25:35 +02:00
Eliot Berriot fc09a3b320
Can now accept/deny follow requests 2018-04-15 11:25:35 +02:00
Eliot Berriot ca02aca327
Ensure follower is approved for listening 2018-04-15 11:25:35 +02:00
Eliot Berriot 74f5907156
Can now list federated tracks 2018-04-15 11:25:35 +02:00
Eliot Berriot 2e71ddbffc
Pagination now support a compact mode 2018-04-15 11:25:34 +02:00
Eliot Berriot 9b4d7165b7
Added federation libraries list, moved scan to a dedicate view 2018-04-15 11:25:34 +02:00
Eliot Berriot 321b9444f6
Added basic documentation on the federation feature 2018-04-15 11:25:34 +02:00
Eliot Berriot c20e4d7c9a
Added task to delete unused cached files 2018-04-15 11:25:34 +02:00
Eliot Berriot 6a04779125
Will now fetch and cache federated tracks 2018-04-15 11:25:34 +02:00
Eliot Berriot 3a31248a3d
Can now import library tracks from front-end 2018-04-15 11:25:34 +02:00
Eliot Berriot 2cef58e6c1
Can now search in library tracks 2018-04-15 11:25:34 +02:00
Eliot Berriot 57bf43bb96
API Endpoint to list lirary tracks 2018-04-15 11:25:33 +02:00
Eliot Berriot bdf9347917
Fixed serialization error 2018-04-15 11:25:33 +02:00