Commit graph

1,521 commits

Author SHA1 Message Date
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
Eliot Berriot
44e1bde895
Changelog 2018-08-11 18:52:20 +02:00
Eliot Berriot
a8a609155b
Fixed broken unit tests due to front-end cleanup 2018-08-11 17:59:20 +02:00
Eliot Berriot
e3040de444
Use lighter vue-cli instead of clunky manual webpack config 2018-08-11 16:21:14 +02:00
Eliot Berriot
b04698ee02 Merge branch '476-invitation-code' into 'develop'
Resolve "Invitation code does not appear in registration page"

Closes #476

See merge request funkwhale/funkwhale!374
2018-08-11 12:26:25 +00:00
Eliot Berriot
420e778eb6
Fixed #476: invitation code not prefilled in form when accessing invitation link 2018-08-11 14:20:08 +02:00
Eliot Berriot
1c5268b84e Merge branch 'mistake' into 'develop'
Fix a small mistake in CONTRIBUTING.rst

See merge request funkwhale/funkwhale!373
2018-08-11 11:19:35 +00:00
Philippe Blayo
14cdc49a7f Fix a small mistake in CONTRIBUTING.rst 2018-08-10 22:39:28 +02:00
Eliot Berriot
b4f212dab6 Merge branch 'new-languages' into 'develop'
Added portuguese, spanish and german translations

See merge request funkwhale/funkwhale!371
2018-08-06 21:20:54 +00:00
Eliot Berriot
a27a85e87a
Added portuguese, spanish and german translations 2018-08-06 23:12:41 +02:00
Eliot Berriot
fb8094a3d2 Merge branch 'translations-integration' into 'develop'
Translations integration

See merge request funkwhale/funkwhale!370
2018-08-06 21:11:44 +00:00
Eliot Berriot
4196b3a406 Translations integration 2018-08-06 21:11:44 +00:00