Wykres commitów

1532 Commity (14d8224db4f8536e0bc69562bc1600d72f81e4d4)

Autor SHA1 Wiadomość Data
Eliot Berriot 14d8224db4 Merge branch 'develop' into 'develop'
Add support for setting the musicbrainz hostname

Closes #471

See merge request funkwhale/funkwhale!394
2018-08-31 20:46:04 +00:00
Toke Høiland-Jørgensen cb5b3be844 Add support for setting the musicbrainz hostname
Useful for using a local musicbrainz mirror.

Fixes #471.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2018-08-31 22:36:12 +02:00
Eliot Berriot 330d8c21b4 Merge branch 'develop' into 'develop'
Add support for Opus files

Closes #244

See merge request funkwhale/funkwhale!390
2018-08-31 18:58:24 +00:00
Eliot Berriot 093deb1e90 Merge branch 'mr-template' into 'develop'
Added a merge request template and more documentation about the changelog

See merge request funkwhale/funkwhale!393
2018-08-31 17:56:55 +00:00
Eliot Berriot ca751e91e3 Merge branch 'subsonic-fixes' into 'develop'
Subsonic fixes

See merge request funkwhale/funkwhale!391
2018-08-31 17:50:55 +00:00
Eliot Berriot 71beedd3f5
Added a merge request template and more documentation about the changelog 2018-08-31 19:47:50 +02:00
Eliot Berriot e7290acbfe Merge branch 'dockerized-nginx' into 'develop'
Fix #358: dockerized nginx to make deployment easier

Closes #358

See merge request funkwhale/funkwhale!389
2018-08-31 17:21:46 +00:00
Eliot Berriot 0740cc33e5 Fix #358: dockerized nginx to make deployment easier 2018-08-31 17:21:46 +00:00
Toke Høiland-Jørgensen 7d9220ed49 subsonic: Implement getSong API endpoint
The getSong API endpoint is used by, e.g., the subsonic plugin to mopidy.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2018-08-30 14:21:11 +02:00
Toke Høiland-Jørgensen 8193782f68 subsonic: Don't crash when serialising artist with no name
If the name of an artist is not set, the serialiser will crash. Instead,
just skip such an artist when serialising a list of artists.

Also add test for serialising an artist with an empty name.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2018-08-30 14:18:17 +02:00
Toke Høiland-Jørgensen 2f46d83834 subsonic: Catch ValueError when casting input parameters
A failed cast to int will raise ValueError, which is not currently caught
by the error checking code, leading to a crash. Fix this so a proper error
message can be returned.

Also add test for getting artist with non-numeric ID.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2018-08-30 14:18:02 +02:00
Toke Høiland-Jørgensen 3ce3451d35 tests: Add metadata test with opus file
This adds a metadata test case for extracting data from an opus test
file. The added file is just converted from test.ogg and the same
metadata fields are used.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2018-08-29 21:23:50 +02:00
Toke Høiland-Jørgensen 0d128d40d5 Add support for Opus files
This adds support for reading metadata from Opus files. The metadata config
is copied from OggVorbis with just the 'track' field name changed.

Also make sure get_audio_file_data() in music/utils.py doesn't crash if no
bitrate information is set, since mutagen doesn't add a bitrate to Opus
info objects.

Fixes #244.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2018-08-29 21:23:50 +02:00
Eliot Berriot 6940d411d7 Merge branch 'translation-json' into 'develop'
Removed translations.json from repository

See merge request funkwhale/funkwhale!388
2018-08-26 11:52:29 +00:00
Eliot Berriot e0e083c513
Removed translations.json from repository 2018-08-26 13:45:42 +02:00
Eliot Berriot 60ff0a2420 Merge branch 'freebsd' into 'develop'
Freebsd startup scripts

See merge request funkwhale/funkwhale!387
2018-08-24 08:16:01 +00:00
Gérald Niel cba91dd044 Merge branch 'freebsd' of ssh://code.eliotberriot.com:2222/gegeweb/funkwhale into freebsd 2018-08-22 20:28:12 +02:00
Gérald Niel f9778458a2 FreeBSD System V startup scripts. 2018-08-22 20:23:06 +02:00
Eliot Berriot 3f75591779 Merge branch '194-ldap-auth' into 'develop'
Implement LDAP authentication

Closes #194

See merge request funkwhale/funkwhale!382
2018-08-22 18:10:39 +00:00
Joshua M. Boniface 4ce46ff2a0 Implement LDAP authentication 2018-08-22 18:10:39 +00:00
Eliot Berriot 6ed5740f6f
Merge tag '0.16.3' into develop
0.16.3 (2018-08-21)
-------------------

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

Bugfixes:

- Fixed front-end not contacting the proper path on the API (!385)
2018-08-21 20:34:18 +02:00
Eliot Berriot 9d3b92bc7a
Merge branch 'release/0.16.3' 2018-08-21 20:34:14 +02:00
Eliot Berriot 9875e81c76
Version bump and changelog for 0.16.3 2018-08-21 20:34:06 +02:00
Eliot Berriot 192b320be3 Merge branch 'fixed-broken-front' into 'develop'
Fixed broken frontend

See merge request funkwhale/funkwhale!385
2018-08-21 18:31:03 +00:00
Eliot Berriot 73637273dc
Fixed broken frontend 2018-08-21 20:24:35 +02:00
Eliot Berriot e14744000a
Merge tag '0.16.2' into develop
0.16.2 (2018-08-21)
-------------------

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

Bugfixes:

- Ensure we always have a default api url set on first load to avoid displaying
  the instance picker (#490)
- Fixed CLI importer syntax error because of async reserved keyword usage
  (#494)
2018-08-21 19:03:21 +02:00
Eliot Berriot 8a94806d84
Merge branch 'release/0.16.2' 2018-08-21 19:03:05 +02:00
Eliot Berriot 658de6fe84
Version bump and changelog for 0.16.2 2018-08-21 19:03:00 +02:00
Eliot Berriot 15cd5e9c68 Merge branch '494-async-reserved-keyword' into 'develop'
Resolve "CLI music import fails"

Closes #494

See merge request funkwhale/funkwhale!384
2018-08-21 16:55:39 +00:00
Eliot Berriot 19ace8dd40
Fixed #494: CLI importer syntax error because of async reserved keyword usage 2018-08-21 18:30:31 +02:00
Eliot Berriot d8db38167e Merge branch '490-selector-by-default' into 'develop'
Resolve "Instance picker is showing up by default"

Closes #490

See merge request funkwhale/funkwhale!383
2018-08-21 16:27:59 +00:00
Eliot Berriot 5e7985387e
Fix #490: Ensure we always have a default api url set on first load to avoid displaying the instance picker 2018-08-21 18:22:57 +02:00
Eliot Berriot 14774f393c
Merge tag '0.16.1' into develop
0.16.1 (2018-08-19)
-------------------

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

Features:

- Make funkwhale themable by loading external stylesheets (#456)

Enhancements:

- Add link to admin on "Staff member" button (#202)
- Can now add a description to radios and better radio cards (#331)
- Display track duration in track tables (#461)
- More permissive default permissions for front-end files (#388)
- Simpler configuration and toolchain for the front-end using vue-cli (!375)
- Use Howler to manage audio instead of our own dirty/untested code (#392)

Bugfixes:

- Fix alignment issue on top bar in Admin tabs (#395)
- Fix Apache2 permission issue preventing `/media` folder from being served
  correctly (#389)
- Fix loading on browse page lists causing them to go down, and dimming over
  the top bar (#468)
- Fixed (again): administration section not showing up in sidebar after login
  (#245)
- Fixed audio mimetype not showing up on track detail and list (#459)
- Fixed broken audio playback on Chrome and invisible volume control (#390)
- Fixed broken federation import on big imports due to missing transaction
  logic (#397)
- Fixed crash on artist pages when no cover is available (#457)
- Fixed favorited status of tracks not appearing in interface (#398)
- Fixed invitation code not prefilled in form when accessing invitation link
  (#476)
- Fixed typos in scheduled tasks configuration (#487)
- Removed release date error in case of empty date (#478)
- Removed white on white artist button on hover, on Album page (#393)
- Smarter date parsing during import by replacing arrow with pendulum (#376)
- Display public playlists properly for anonymous users (#488)

i18n:

- Added portuguese, spanish and german translations

Custom themes for Funkwhale
^^^^^^^^^^^^^^^^^^^^^^^^^^^

If you ever wanted to give a custom look and feel to your instance, this is now possible.

Check https://docs.funkwhale.audio/configuration.html#theming if you want to know more!

Fix Apache2 configuration file for media block [Manual action required]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

The permission scope on the current Apache2 configuration file is too narrow, preventing thumbnails from being served.

On Apache2 setups, you have to replace the following line::

    <Directory /srv/funkwhale/data/media/albums>

with::

    <Directory /srv/funkwhale/data/media>

You can now restart your server::

    sudo systemctl restart apache2
2018-08-19 19:05:26 +02:00
Eliot Berriot 0913b716e5
Merge branch 'release/0.16.1' 2018-08-19 19:04:59 +02:00
Eliot Berriot 123569b90b
Version bump and changelog for 0.16.1 2018-08-19 19:04:48 +02:00
Eliot Berriot 887d1cfed9 Merge branch '488-playlist-anonymous' into 'develop'
Resolve "Public playlist not available for anonymous users"

Closes #488

See merge request funkwhale/funkwhale!381
2018-08-19 16:32:42 +00:00
Eliot Berriot 86cf7a8984
Fix #488: Display public playlists properly for anonymous users 2018-08-19 18:28:30 +02:00
Eliot Berriot 3f9bf9af39 Merge branch '478-blank-release-date' into 'develop'
Resolve "Investigate "ValidationError {'release_date': ['This field cannot be blank.']}" during import"

Closes #478

See merge request funkwhale/funkwhale!380
2018-08-19 15:56:03 +00:00
Eliot Berriot 71c70cee39
Fixed #478: Removed release date error in case of empty date 2018-08-19 17:52:04 +02:00
Eliot Berriot fe436d47a6 Merge branch '397-transaction-import' into 'develop'
Resolve "Investigate / fix "ImportJob matching query does not exist." On big federation imports"

Closes #397

See merge request funkwhale/funkwhale!379
2018-08-19 15:45:23 +00:00
Eliot Berriot b9761d6436
Fixed #397: broken federation import on big imports due to missing transaction logic 2018-08-19 17:41:19 +02:00
Eliot Berriot 1fe525b248 Merge branch '388-frontend-permissions' into 'develop'
Resolve "Document how to fix permission issues with front-end files"

Closes #388

See merge request funkwhale/funkwhale!378
2018-08-19 15:34:25 +00:00
Eliot Berriot 37174ea3bb
Fix #388: More permissive default permissions for front-end files 2018-08-19 17:30:18 +02:00
Eliot Berriot b3891d3a07 Merge branch '245-admin-menu-bis-repetita' into 'develop'
Resolve "Disappearing admin menu in the sidebar"

Closes #245

See merge request funkwhale/funkwhale!377
2018-08-19 15:03:18 +00:00
Eliot Berriot 80862e350a
Fixed #245 (again): administration section not showing up in sidebar after login 2018-08-19 16:42:41 +02:00
Eliot Berriot 5d17e7f7cd Merge branch 'broken-beat-schedule' into 'develop'
Fixed #487: typos in scheduled tasks configuration

Closes #487

See merge request funkwhale/funkwhale!376
2018-08-19 14:41:12 +00:00
Eliot Berriot 13a1c6daac
Fixed #487: typos in scheduled tasks configuration 2018-08-19 16:25:42 +02:00
Eliot Berriot 861a1e1958 Merge branch 'add-logo-license' into 'develop'
add license to logo

See merge request funkwhale/funkwhale!369
2018-08-11 17:05:05 +00:00
Renon 0283d227b1 add license to logo 2018-08-11 17:05:05 +00:00
Eliot Berriot 44ccd483ca Merge branch 'webpack-experiments' into 'develop'
Switch to vue-cli to have a saner and lighter front-end configuration

See merge request funkwhale/funkwhale!375
2018-08-11 16:56:24 +00:00