Wykres commitów

1684 Commity (439d4fd6b33cf188d0d13ec1f4d8bec75cf5a0b2)

Autor SHA1 Wiadomość Data
Eliot Berriot 439d4fd6b3
See #574: Implemented getUser view 2018-10-21 20:30:12 +02:00
Eliot Berriot d3e411fa97
See #574: Implemented getAvatar view 2018-10-21 20:30:08 +02:00
Eliot Berriot 6c7ee54dbc Merge branch '573-subsonic-type' into 'develop'
Fix #573: Added "type: funkwhale" and "funkwhale-version" in Subsonic responses

Closes #573

See merge request funkwhale/funkwhale!456
2018-10-21 15:48:57 +00:00
Eliot Berriot c96d182dd7 Merge branch '581-0-tracks-library' into 'develop'
Fixed #581: missing track count on various library cards

Closes #581

See merge request funkwhale/funkwhale!455
2018-10-21 15:44:08 +00:00
Eliot Berriot 941f2f6677
Fix #573: Added "type: funkwhale" and "funkwhale-version" in Subsonic responses 2018-10-21 17:43:22 +02:00
Eliot Berriot 2b70f3ba42
Fix #581: missing track count on various library cards 2018-10-21 17:38:29 +02:00
Eliot Berriot a6264d7deb Merge branch '585-start-radio-immediatly' into 'develop'
Fix #585: Now start radios immediatly, skipping any existing tracks in queue

Closes #585

See merge request funkwhale/funkwhale!454
2018-10-21 14:56:56 +00:00
Eliot Berriot 5c8aff20ed
Fix #585: Now start radios immediatly, skipping any existing tracks in queue 2018-10-21 16:51:53 +02:00
Eliot Berriot 7a5a7208bf Merge branch '576-no-span-button' into 'develop'
Fix #576: Improved keyboard accessibility on player, queue and various controls

Closes #576

See merge request funkwhale/funkwhale!453
2018-10-21 14:03:55 +00:00
Eliot Berriot ae55e6483d
Fix #576: Improved keyboard accessibility on player, queue and various controls 2018-10-21 15:41:31 +02:00
Eliot Berriot fe7bcc2e37 Merge branch '562-import-library-id-doc' into 'develop'
Fix # #562: Document how to find and use library id when importing files in CLI

Closes #562

See merge request funkwhale/funkwhale!452
2018-10-20 14:46:09 +00:00
Eliot Berriot a5e5e547e1
Fix # #562: Document how to find and use library id when importing files in CLI 2018-10-20 16:40:34 +02:00
Eliot Berriot a21db8d96a Merge branch 'use-proper-image-for-ci-cache' into 'develop'
Use most recent image from develop as build cache

See merge request funkwhale/funkwhale!451
2018-10-20 14:33:11 +00:00
Eliot Berriot 1bf8838aa7 Merge branch '422-musicbrainz-button-no-mbid' into 'develop'
Fix #422: Do not display "view on MusicBrainz" button if we miss the mbid

Closes #422

See merge request funkwhale/funkwhale!450
2018-10-20 14:28:34 +00:00
Eliot Berriot f5a3f59f1c
Use most recent image from develop as build cache 2018-10-20 16:24:19 +02:00
Eliot Berriot a30136d26d Merge branch '470-url-encoding' into 'develop'
Fix #470: Properly encode Wikipedia and lyrics search urls

Closes #470

See merge request funkwhale/funkwhale!449
2018-10-20 14:22:06 +00:00
Eliot Berriot 10fff6ea67
Fix #422: Do not display "view on MusicBrainz" button if we miss the mbid 2018-10-20 16:20:29 +02:00
Eliot Berriot a8f7893def
Fix #470: Properly encode Wikipedia and lyrics search urls 2018-10-20 16:14:59 +02:00
Eliot Berriot 3a5a446509 Merge branch 'patch-1' into 'develop'
Fix 0.17 upgrade instructions.

See merge request funkwhale/funkwhale!448
2018-10-13 14:01:46 +00:00
JocelynDelalande b9ad6ca908 Fix 0.17 upgrade instructions.
Make them consistent with general upgrade instructions.
2018-10-12 23:52:55 +00:00
Eliot Berriot 3f392c67c1 Merge branch 'fix-CONTRIBUTING' into 'develop'
fix some links and typo

See merge request funkwhale/funkwhale!447
2018-10-12 16:36:45 +00:00
akhardya 6e41009be6 fix some links and typo 2018-10-12 15:50:16 +02:00
Eliot Berriot 787cad6a0a Merge branch 'patch-2' into 'develop'
Fix some typos and improve language in the federation documentation

See merge request funkwhale/funkwhale!445
2018-10-11 19:12:12 +00:00
Eliot Berriot 5c056cbe50 Merge branch 'patch-1' into 'develop'
Revise discussion of import methods and improve wording

See merge request funkwhale/funkwhale!444
2018-10-11 19:11:26 +00:00
interfect 6812038847 Fix some typos and improve language in the federation documentation 2018-10-11 04:05:43 +00:00
interfect 47114f4032 Revise discussion of import methods and improve wording
youtube-dl has been removed, and in-place import and federation probably deserve mention.
2018-10-11 03:54:46 +00:00
Eliot Berriot f202336529 Merge branch 'patch-3' into 'develop'
Typos

See merge request funkwhale/funkwhale!443
2018-10-09 18:23:45 +00:00
Eliot Berriot bb73022b97 Merge branch 'patch-1' into 'develop'
Fix repo downloading commands spacing and automatic repo selection

See merge request funkwhale/funkwhale!441
2018-10-09 18:23:06 +00:00
Eliot Berriot b681505d46 Merge branch 'patch-2' into 'develop'
Fix duplicate word typo

See merge request funkwhale/funkwhale!442
2018-10-09 18:22:37 +00:00
Andrew Morgan b4a409f80e Typos 2018-10-09 12:39:00 +00:00
Andrew Morgan 0dd64ba813 Fix duplicate word typo 2018-10-09 12:07:13 +00:00
Andrew Morgan 9969f6a055 Fix repo downloading commands spacing and automatic repo selection 2018-10-08 18:00:10 +00:00
Eliot Berriot 510844f31c
Merge tag '0.17' into develop
0.17 (2018-10-07)
-----------------

Per user libraries
^^^^^^^^^^^^^^^^^^

This release contains a big change in music management. This has a lot of impact
on how Funkwhale behaves, and you should have a look at
https://docs.funkwhale.audio/upgrading/0.17.html for information
about what changed and how to migrate.

Features:

- Per user libraries (#463, also fixes #160 and #147)
- Authentication using a LDAP directory (#194)

Enhancements:

- Add configuration option to set Musicbrainz hostname
- Add sign up link in the sidebar (#408)
- Added a library widget to display libraries associated with a track, album
  and artist (#551)
- Ensure from_activity field is not required in django's admin (#546)
- Move setting link from profile page to the sidebar (#406)
- Simplified and less error-prone nginx setup (#358)

Bugfixes:

- Do not restart current song when rordering queue, deleting tracks from queue
  or adding tracks to queue (#464)
- Fix broken icons in playlist editor (#515)
- Fixed a few untranslated strings (#559)
- Fixed splitted album when importing from federation (#346)
- Fixed toggle mute in volume bar does not restore previous volume level (#514)
- Fixed wrong env file URL and display bugs in deployment documentation (#520)
- Fixed wrong title in PlayButton (#435)
- Remove transparency on artist page button (#517)
- Set sane width default for ui cards and center play button (#530)
- Updated wrong icon and copy in play button dropdown (#436)

Documentation:

- Fixed wrong URLs for docker / nginx files in documentation (#537)

Other:

- Added a merge request template and more documentation about the changelog

Using a LDAP directory to authenticate to your Funkwhale instance
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Funkwhale now support LDAP as an authentication source: you can configure
your instance to delegate login to a LDAP directory, which is especially
useful when you have an existing directory and don't want to manage users
manually.

You can use this authentication backend side by side with the classic one.

Have a look at https://docs.funkwhale.audio/installation/ldap.html
for detailed instructions on how to set this up.

Simplified nginx setup [Docker: Manual action required]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

We've received a lot of user feedback regarding our installation process,
and it seems the proxy part is the one which is the most confusing and difficult.
Unfortunately, this is also the one where errors and mistakes can completely break
the application.

To make things easier for everyone, we now offer a simplified deployment
process for the reverse proxy part. This will make upgrade of the proxy configuration
significantly easier on docker deployments.

On non-docker instances, you have nothing to do.

If you have a dockerized instance, here is the upgrade path.

First, tweak your .env file::

    # remove the FUNKWHALE_URL variable
    # and add the next variables
    FUNKWHALE_HOSTNAME=yourdomain.funkwhale
    FUNKWHALE_PROTOCOL=https

    # add the following variable, matching the path your app is deployed
    # leaving the default should work fine if you deployed using the same
    # paths as the documentation
    FUNKWHALE_FRONTEND_PATH=/srv/funkwhale/front/dist

Then, add the following block at the end of your docker-compose.yml file::

    # existing services
    api:
        ...
    celeryworker:
        ...

    # new service
    nginx:
      image: nginx
      env_file:
        - .env
      environment:
        # Override those variables in your .env file if needed
        - "NGINX_MAX_BODY_SIZE=${NGINX_MAX_BODY_SIZE-30M}"
      volumes:
        - "./nginx/funkwhale.template:/etc/nginx/conf.d/funkwhale.template:ro"
        - "./nginx/funkwhale_proxy.conf:/etc/nginx/funkwhale_proxy.conf:ro"
        - "${MUSIC_DIRECTORY_SERVE_PATH-/srv/funkwhale/data/music}:${MUSIC_DIRECTORY_SERVE_PATH-/srv/funkwhale/data/music}:ro"
        - "${MEDIA_ROOT}:${MEDIA_ROOT}:ro"
        - "${STATIC_ROOT}:${STATIC_ROOT}:ro"
        - "${FUNKWHALE_FRONTEND_PATH}:/frontend:ro"
      ports:
        # override those variables in your .env file if needed
        - "${FUNKWHALE_API_IP}:${FUNKWHALE_API_PORT}:80"
      command: >
          sh -c "envsubst \"`env | awk -F = '{printf \" $$%s\", $$1}'`\"
          < /etc/nginx/conf.d/funkwhale.template
          > /etc/nginx/conf.d/default.conf
          && cat /etc/nginx/conf.d/default.conf
          && nginx -g 'daemon off;'"
      links:
        - api

By doing that, you'll enable a dockerized nginx that will automatically be
configured to serve your Funkwhale instance.

Download the required configuration files for the nginx container:

.. parsed-literal::

    cd /srv/funkwhale
    mkdir nginx
    curl -L -o nginx/funkwhale.template "https://code.eliotberriot.com/funkwhale/funkwhale/raw/|version|/deploy/docker.nginx.template"
    curl -L -o nginx/funkwhale_proxy.conf "https://code.eliotberriot.com/funkwhale/funkwhale/raw/|version|/deploy/funkwhale_proxy.conf"

Update the funkwhale.conf configuration of your server's reverse-proxy::

    # the file should match something like that, upgrade all variables
    # between ${} to match the ones in your .env file,
    # and your SSL configuration if you're not using let's encrypt
    # The important thing is that you only have a single location block
    # that proxies everything to your dockerized nginx.

    sudo nano /etc/nginx/sites-enabled/funkwhale.conf
    upstream fw {
        # depending on your setup, you may want to update this
        server ${FUNKWHALE_API_IP}:${FUNKWHALE_API_PORT};
    }
    map $http_upgrade $connection_upgrade {
        default upgrade;
        ''      close;
    }

    server {
        listen 80;
        listen [::]:80;
        server_name ${FUNKWHALE_HOSTNAME};
        location / { return 301 https://$host$request_uri; }
    }
    server {
        listen      443 ssl;
        listen [::]:443 ssl;
        server_name ${FUNKWHALE_HOSTNAME};

        # TLS
        ssl_protocols TLSv1.2;
        ssl_ciphers HIGH:!MEDIUM:!LOW:!aNULL:!NULL:!SHA;
        ssl_prefer_server_ciphers on;
        ssl_session_cache shared:SSL:10m;
        ssl_certificate     /etc/letsencrypt/live/${FUNKWHALE_HOSTNAME}/fullchain.pem;
        ssl_certificate_key /etc/letsencrypt/live/${FUNKWHALE_HOSTNAME}/privkey.pem;

        # HSTS
        add_header Strict-Transport-Security "max-age=31536000";

        location / {
            include /etc/nginx/funkwhale_proxy.conf;
            proxy_pass   http://fw/;
        }
    }

Check that your configuration is valid then reload:

    sudo nginx -t
    sudo systemctl reload nginx
2018-10-07 11:53:52 +02:00
Eliot Berriot 007d1f7f47
Merge branch 'release/0.17' 2018-10-07 11:53:31 +02:00
Eliot Berriot dc1e4fb0c7
Version bump and release for 0.17 2018-10-07 11:53:09 +02:00
Eliot Berriot 1bc9cdd5cf Merge branch 'translations-integration' into 'develop'
Translations integration

See merge request funkwhale/funkwhale!440
2018-10-07 09:20:10 +00:00
Eliot Berriot beed045e59 Translations integration 2018-10-07 09:20:10 +00:00
Eliot Berriot 1029c7ba50 Merge branch '549-music-federation-documentation' into 'develop'
Fix #549: Technical documentation of music federation

Closes #549

See merge request funkwhale/funkwhale!435
2018-10-07 09:06:21 +00:00
Eliot Berriot 92b5586042
Fix #549: Technical documentation of music federation 2018-10-07 11:00:11 +02:00
Eliot Berriot 2d631e871e Update index.rst 2018-10-06 19:25:59 +00:00
Eliot Berriot 4edd594840 Merge branch 'translations-integration' into 'develop'
Translations integration

See merge request funkwhale/funkwhale!439
2018-10-05 18:17:45 +00:00
Eliot Berriot 58e972899f Translations integration 2018-10-05 18:17:44 +00:00
Eliot Berriot b7b3c41cd0 Merge branch '559-i18n' into 'develop'
Resolve "[i18n]Missing localisation"

Closes #559

See merge request funkwhale/funkwhale!438
2018-10-05 18:09:10 +00:00
Eliot Berriot 3a30965fb4
See #559: changelog 2018-10-05 19:56:41 +02:00
Eliot Berriot 32ccea92d2
See #559: Fixed untranslated privacy settings 2018-10-05 19:56:38 +02:00
Eliot Berriot 2845bdd932
See #559: Use translations mixins in filters 2018-10-05 19:56:34 +02:00
Eliot Berriot 14a17de239
See #559: Fixed broken musicbrainz translation 2018-10-05 19:56:30 +02:00
Eliot Berriot 0a22504fb0
See #559: added a mixin to store common translations 2018-10-05 19:56:07 +02:00
Eliot Berriot c4318b4ddd
Added missing icon in sidebar 2018-10-05 19:30:21 +02:00
Eliot Berriot 8ff047365c
Removed unused component 2018-10-05 19:30:11 +02:00