Wykres commitów

1137 Commity (799386c2b6333e318362065533064c979280d5e5)

Autor SHA1 Wiadomość Data
Eliot Berriot 799386c2b6
See #297: removed a lot of unused variables 2018-06-10 11:27:38 +02:00
Eliot Berriot 9bea804f14
See #297: sorted imports 2018-06-10 10:55:16 +02:00
Eliot Berriot 9427f8b56e
See #297: removed unused imports 2018-06-10 10:39:47 +02:00
Eliot Berriot 639882bd34
See #297: removed unused variables 2018-06-09 17:41:59 +02:00
Eliot Berriot 2b1c46317f
See #297: flake8 CI job 2018-06-09 17:14:36 +02:00
Eliot Berriot 630ab896a5
CI job Performance improvements 2018-06-09 17:04:37 +02:00
Eliot Berriot afb9a71fd2
Updated and factorized Docker release CI job 2018-06-09 16:55:08 +02:00
Eliot Berriot aac80177f5
See #297: added black formatting check in CI 2018-06-09 16:04:46 +02:00
Eliot Berriot e953468e69 Merge branch 'black' into 'develop'
Blacked the code

See merge request funkwhale/funkwhale!241
2018-06-09 13:40:33 +00:00
Eliot Berriot 62ca3bd736
Blacked the code 2018-06-09 15:36:16 +02:00
Eliot Berriot 76c94f41a7 Merge branch 'patch-1' into 'develop'
slight fixes to Debian install doc

See merge request funkwhale/funkwhale!240
2018-06-09 11:34:34 +00:00
JocelynDelalande 7fa99750d9 Mention the database name to create psql extension.
Seems that the extensions are per-database.
Without that tweak, the install will fail at django migrations step, yelling for insuficient rights to install the accent extension itself.
2018-06-08 23:44:08 +00:00
JocelynDelalande 938aa2c8f1 Remove constraint on LC_COLLATE and LC_CTYPE
Which will fail if the system does not contains this locale.
2018-06-08 23:09:46 +00:00
JocelynDelalande 7988363352 Fix wrong name in postgresql database 2018-06-08 23:06:05 +00:00
JocelynDelalande 7fec060040 Add missing dependency
Without that, starting from a debian « naked » system,  it will fail at the `pip install wheel` stage.
2018-06-08 22:39:31 +00:00
JocelynDelalande 3bfa19a509 Fix doc: rmdir -> rm -rf
rmdir will fail on that non-empty dir
2018-06-08 22:37:10 +00:00
Eliot Berriot 06a78336a4 Merge branch '291-makemigrations' into 'develop'
Resolve "Document that admins should never, never run makemigrations"

Closes #291

See merge request funkwhale/funkwhale!239
2018-06-07 11:24:54 +00:00
Eliot Berriot 7a2a363df1
Fix #291: Added multiple warnings in the documentation that you should never
run makemigrations yourself
2018-06-07 13:17:48 +02:00
Eliot Berriot fd32d24044 Merge branch 'fixApacheCovers' into 'develop'
XForwardedProto to https & covers granted

See merge request funkwhale/funkwhale!237
2018-06-07 09:02:34 +00:00
RenonDis c353d59d40 Updated changelog 2018-06-07 10:53:07 +02:00
RenonDis 25a0c0e69b XForwardedProto to https & covers granted 2018-06-07 10:15:31 +02:00
Eliot Berriot 0a7c719a46 Merge branch '287-import-size' into 'develop'
Resolve "Display bug in Activity"

Closes #287

See merge request funkwhale/funkwhale!236
2018-06-07 07:05:22 +00:00
Eliot Berriot 16718809f7
Fix #287: Display file size in human format during file upload 2018-06-07 09:02:02 +02:00
Eliot Berriot b6fc0051fa Merge branch '280-agpl3' into 'develop'
Resolve "Relicence Funkwhale to AGPL"

Closes #280

See merge request funkwhale/funkwhale!235
2018-06-07 06:58:32 +00:00
Eliot Berriot c7a0ce3736
Fix #280: AGPL-3 licence 🎉 2018-06-06 22:37:55 +02:00
Eliot Berriot ab43d6d078
Merge tag '0.14.1' into develop
0.14.1 (2018-06-06)
-------------------

Upgrade instructions are available at https://docs.funkwhale.audio/upgrading.html

Enhancements:

- Display server version in the footer (#270)
- fix_track_files will now update files with bad mimetype (and not only the one
  with no mimetype) (#273)
- Huge performance boost (~x5 to x7) during CLI import that queries MusicBrainz
  (#288)
- Removed alpha-state transcoding support (#271)

Bugfixes:

- Broken logging statement during import error (#274)
- Broken search bar on library home (#278)
- Do not crash when importing track with an artist that do not match the
  release artist (#237)
- Do not crash when tag contains multiple uuids with a / separator (#267)
- Ensure we do not store bad mimetypes (such as application/x-empty) (#266)
- Fix broken "play all" button that played only 25 tracks (#281)
- Fixed broken track download modal (overflow and wrong URL) (#239)
- Removed hardcoded size limit in file upload widget (#275)

Documentation:

- Added warning about _protected/music location in nginx configuration (#247)

Removed alpha-state transcoding (#271)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

A few months ago, a basic transcoding feature was implemented. Due to the way
this feature was designed, it was slow, CPU intensive on the server side,
and very tightly coupled to the reverse-proxy configuration, preventing
it to work Apache2, for instance. It was also not compatible with Subsonic clients.

Based on that, we're currently removing support for transcoding
**in its current state**. The work on a better designed transcoding feature
can be tracked in https://code.eliotberriot.com/funkwhale/funkwhale/issues/272.

You don't have to do anything on your side, but you may want to remove
the now obsolete configuration from your reverse proxy file (nginx only)::

    # Remove those blocks:

    # transcode cache
    proxy_cache_path /tmp/funkwhale-transcode levels=1:2 keys_zone=transcode:10m max_size=1g inactive=7d;

    # Transcoding logic and caching
    location = /transcode-auth {
        include /etc/nginx/funkwhale_proxy.conf;
        # needed so we can authenticate transcode requests, but still
        # cache the result
        internal;
        set $query '';
        # ensure we actually pass the jwt to the underlytin auth url
        if ($request_uri ~* "[^\?]+\?(.*)$") {
            set $query $1;
        }
        proxy_pass http://funkwhale-api/api/v1/trackfiles/viewable/?$query;
        proxy_pass_request_body off;
        proxy_set_header        Content-Length "";
    }

    location /api/v1/trackfiles/transcode/ {
        include /etc/nginx/funkwhale_proxy.conf;
        # this block deals with authenticating and caching transcoding
        # requests. Caching is heavily recommended as transcoding
        # is a CPU intensive process.
        auth_request /transcode-auth;
        if ($args ~ (.*)jwt=[^&]*(.*)) {
            set $cleaned_args $1$2;
        }
        proxy_cache_key "$scheme$request_method$host$uri$is_args$cleaned_args";
        proxy_cache transcode;
        proxy_cache_valid 200 7d;
        proxy_ignore_headers "Set-Cookie";
        proxy_hide_header "Set-Cookie";
        add_header X-Cache-Status $upstream_cache_status;
        proxy_pass   http://funkwhale-api;
    }
    # end of transcoding logic
2018-06-06 22:03:46 +02:00
Eliot Berriot 30eaa78ef9
Merge branch 'release/0.14.1' 2018-06-06 22:03:41 +02:00
Eliot Berriot 73785d451c
Version bump and changelog for 0.14.1 2018-06-06 22:03:36 +02:00
Eliot Berriot a4eda7efad Merge branch '288-cli-perf' into 'develop'
Resolve "Improve CLI import performance by removing duplicated MBID queries"

Closes #288 and #237

See merge request funkwhale/funkwhale!234
2018-06-06 19:50:13 +00:00
Eliot Berriot bbae4e323b
Fix #288: Huge performance boost during CLI import that queries MusicBrainz 2018-06-06 21:45:38 +02:00
Eliot Berriot 9d9676aa17
Fix #237: Do not crash when importing track with an artist that do not match the release artist 2018-06-06 21:41:38 +02:00
Eliot Berriot 33ae51fc91 Merge branch '274-logging' into 'develop'
Resolve "Broken logging formatting in import task"

Closes #274 and #278

See merge request funkwhale/funkwhale!233
2018-06-05 18:55:17 +00:00
Eliot Berriot b7295382e7
Fix #274: Broken logging statement during import error 2018-06-05 20:52:03 +02:00
Eliot Berriot 5f5cb2838e
Fix #278: Broken search bar on library home 2018-06-05 20:48:54 +02:00
Eliot Berriot 1a6492ffed Merge branch '247-nginx-warning' into 'develop'
Resolve "Add a warning about the _protected/music bloc in nginx configuration"

Closes #247

See merge request funkwhale/funkwhale!231
2018-06-05 18:38:49 +00:00
Eliot Berriot 589261a03f
Fix #247: Added warning about _protected/music location in nginx configuration 2018-06-05 20:13:02 +02:00
Eliot Berriot 08bca983a7 Merge branch '239-tracks-download' into 'develop'
Resolve "Favorites downloading not working"

Closes #239

See merge request funkwhale/funkwhale!228
2018-06-05 17:48:03 +00:00
Eliot Berriot 83bb68c1af Merge branch '267-split-slash' into 'develop'
Resolve "Split on / when tag fields contains multiple uuids"

Closes #267

See merge request funkwhale/funkwhale!230
2018-06-05 17:47:19 +00:00
Eliot Berriot 7c47348855
Fix #267: Do not crash when tag contains multiple uuids with a / separator 2018-06-05 19:44:00 +02:00
Eliot Berriot bbfc48e630 Merge branch '275-size-error-upload' into 'develop'
Resolve "Uploading a big file via the web up fail without sending anything (Size error)"

Closes #275 and #276

See merge request funkwhale/funkwhale!229
2018-06-05 17:38:08 +00:00
Eliot Berriot d0c7ff77f6
Fix #276: Removed hardcoded size limit in file upload widget 2018-06-05 19:32:50 +02:00
Eliot Berriot 08b6cf371a Merge branch '281-play-25' into 'develop'
Resolve "Play all limited to 25 tracks"

Closes #281

See merge request funkwhale/funkwhale!227
2018-06-05 17:31:19 +00:00
Eliot Berriot 17d5fa6924
Fixed #239: broken track download modal (overflow and wrong URL) 2018-06-05 19:25:38 +02:00
Eliot Berriot 7df783a700
Fix #281: broken "play all" button that played only 25 tracks 2018-06-05 19:11:44 +02:00
Eliot Berriot a16bd2a409 Merge branch '273-fix-mimetypes' into 'develop'
Resolve "Update file_track_files command to handle bad mimetypes"

Closes #273

See merge request funkwhale/funkwhale!226
2018-06-03 17:00:54 +00:00
Eliot Berriot 18ad6cfa78
Fix #273: fix_track_files will now update files with bad mimetype 2018-06-03 18:57:35 +02:00
Eliot Berriot 1098f1b9e8 Merge branch '271-remove-transcoding' into 'develop'
Resolve "Remove transcoding"

Closes #271

See merge request funkwhale/funkwhale!225
2018-06-03 16:37:00 +00:00
Eliot Berriot 36a0a4df4f
Removed transcoding support (#271) 2018-06-03 18:33:28 +02:00
Eliot Berriot 390dcfd06f Merge branch '266-application-empty' into 'develop'
Resolve "Ogg files end up with a application/x-empty mimetype on import"

Closes #266

See merge request funkwhale/funkwhale!224
2018-06-03 16:11:51 +00:00
Eliot Berriot 5afc3e4637
Fix #266: Ensure we do not store bad mimetypes 2018-06-03 18:07:59 +02:00