Wykres commitów

1152 Commity (f13a1d2445294b271601fdc45bd4ead165a90081)

Autor SHA1 Wiadomość Data
David Magnus Henriques 06a5ee939a Changed ID3Tag for Track-Number to TRCK
Until now the ID3Tag for the Track-Number was read from TPOS.
The Problem is, that TPOS is the part of the set (eg disc number)
and not the track-number. TRCK is the correct tag for the track
number.

Fixes #220
2018-05-26 13:06:40 +02:00
Eliot Berriot e9fc220e19
Fix #236: changelog 2018-05-26 12:47:09 +02:00
Eliot Berriot 67aef15aca
See #236: front-end to manage users default permissions 2018-05-26 12:46:28 +02:00
Eliot Berriot 7ad19a3fbb
Ensure 403 errors are probably handled on the front-end 2018-05-26 12:46:13 +02:00
Eliot Berriot a9799e66d7
See #236: backend for users default permissions 2018-05-26 12:45:55 +02:00
Eliot Berriot 2ef36928c6
See #236: added a basic string list preference 2018-05-26 12:45:16 +02:00
Eliot Berriot c6cd3abf9d Merge branch '229-anonymous-access' into 'develop'
Resolve "Ensure anonymous users can listen to music if instance is configured accordingly"

Closes #229

See merge request funkwhale/funkwhale!211
2018-05-24 20:52:40 +00:00
Eliot Berriot 79844c6a7e Merge branch '230-upload-permission' into 'develop'
Resolve "Split library management and upload permission"

Closes #230

See merge request funkwhale/funkwhale!212
2018-05-24 20:50:55 +00:00
Eliot Berriot 0314f786ea
Fix #230: changelog 2018-05-24 22:47:01 +02:00
Eliot Berriot 8d55040e9e
See #230: users with upload permission can now launch import and manage their own imports 2018-05-24 22:39:43 +02:00
Eliot Berriot dfb4f5f62a
See #230: can now use "or" operator to check permissions 2018-05-24 22:38:26 +02:00
Eliot Berriot ed6c1a9a5b
See #230: added an upload permission on user model 2018-05-24 22:37:41 +02:00
Eliot Berriot 2586444db2
Fix #229: removed last hardcoded settings to protect audio files 2018-05-24 21:34:59 +02:00
Eliot Berriot 9c02954e46 Merge branch 'action-tables' into 'develop'
Action table component / implementation on federation library tracks

Closes #164 and #228

See merge request funkwhale/funkwhale!210
2018-05-24 19:11:33 +00:00
Eliot Berriot c547c7e14b
Fix #164 and #228: new action table component on federated tracks pages 2018-05-24 20:11:53 +02:00
Eliot Berriot 6586b2b73d
See #228: smarter action table with shift-click select 2018-05-24 20:07:14 +02:00
Eliot Berriot eded32c2e8
See #228: more performante federation import launch via API 2018-05-24 18:53:12 +02:00
Eliot Berriot 4f8db661fa
See #228: now expose library track status in API 2018-05-24 18:33:40 +02:00
Eliot Berriot c36bdf8da5 Merge branch '216-oggtheora-support' into 'develop'
Resolve "Unsupported format OggTheora"

Closes #216

See merge request funkwhale/funkwhale!209
2018-05-24 15:41:07 +00:00
Eliot Berriot f12fe0047f
See #228: use action table component for federation library tracks 2018-05-24 00:05:14 +02:00
Eliot Berriot fc88f72a71
See #228: generic action table component 2018-05-24 00:05:00 +02:00
David Magnus Henriques 7ae90305e3 Added test for OggTheora Import 2018-05-23 23:33:19 +02:00
David Magnus Henriques 83738e4e04 Reading the musicBrainz-Id-Fields from correct field 2018-05-23 23:32:28 +02:00
Eliot Berriot c6b5c71d26
Upgraded to latest vue to benefit from slot scope 2018-05-23 22:55:33 +02:00
EorlBruder 04e6d302d1 Added Information to Changelog 2018-05-23 22:29:03 +02:00
EorlBruder dc76283ebb Added OggTheora Metadata
OggTheora wasn't support up until now. Now the config is there and the
import works

fixes #216
2018-05-23 22:23:59 +02:00
Eliot Berriot ba4b6f6ba6
See #228: now use our new action logic for library track import 2018-05-23 21:50:23 +02:00
Eliot Berriot f1a1b93ee5
See #228: serializer logic 2018-05-23 19:52:47 +02:00
Eliot Berriot b36ed8a699 Merge branch '214-flac-no-mbid' into 'develop'
Resolve "Flac import fails if no MusicBrainz-ID present"

Closes #214

See merge request funkwhale/funkwhale!208
2018-05-22 21:57:44 +00:00
Eliot Berriot 01ea6562a6
Fix #214: Do not crash on flac import if musicbrainz tags are missing 2018-05-22 23:53:45 +02:00
Eliot Berriot bcef31c18e Merge branch '227-broken-translations' into 'develop'
Resolve "Fix broken i18n translations"

Closes #227

See merge request funkwhale/funkwhale!207
2018-05-22 21:41:58 +00:00
Eliot Berriot e3d2c010ee
Fix #227: fixed a few broken translation strings 2018-05-22 23:38:18 +02:00
Eliot Berriot 2b474f354a Merge branch '179-ordering' into 'develop'
Resolve "Cannot order by ascending"

Closes #179

See merge request funkwhale/funkwhale!206
2018-05-22 21:34:15 +00:00
Eliot Berriot 47cc2a3920
Fix #179: fixed broken ordering in front-end lists 2018-05-22 23:30:37 +02:00
Eliot Berriot 54008aa37c Merge branch '224-music-api' into 'develop'
Resolve "Better API for artists/album/tracks"

Closes #224 and #226

See merge request funkwhale/funkwhale!205
2018-05-22 21:04:09 +00:00
Eliot Berriot 7b03ddbb28
Fix #224 and #226: changelog and documentation 2018-05-22 22:57:20 +02:00
Eliot Berriot a8baf8fa67
See #224: updated front-end with new music API 2018-05-22 22:22:53 +02:00
Eliot Berriot 857fab526d
See #224: less clutered music API, better serializers 2018-05-22 21:10:48 +02:00
Eliot Berriot 7db01394ec Merge branch '106-web-upload' into 'develop'
Resolve "File import is broken"

Closes #106 and #213

See merge request funkwhale/funkwhale!204
2018-05-21 19:01:13 +00:00
Eliot Berriot 0c1a2b76c1
Fix #106 and #213: better web uploader, that supports Flac files 2018-05-21 20:55:45 +02:00
Eliot Berriot ca104d6450
Increased max body size in dev 2018-05-21 20:55:45 +02:00
Eliot Berriot 7b71463ef8
Removed acoustid support, as the integration was buggy and error-prone (#106) 2018-05-21 20:55:44 +02:00
Eliot Berriot 28236ef7a7 Merge branch '2017-url-migration' into 'develop'
Fix #207: Consistent constraints/checks for URL size

Closes #207

See merge request funkwhale/funkwhale!203
2018-05-21 17:08:10 +00:00
Eliot Berriot ae00cccf14
Fix #207: Consistent constraints/checks for URL size 2018-05-21 19:04:28 +02:00
Eliot Berriot 86211dc515 Merge branch '2018-inactive-login' into 'develop'
218 inactive login

Closes #218

See merge request funkwhale/funkwhale!202
2018-05-21 16:50:40 +00:00
Eliot Berriot f91ec0c810
Upgraded to django-allauth 0.36 2018-05-21 18:46:39 +02:00
Eliot Berriot fc48e16e65
Fix #218: Ensure inactive users cannot get auth tokens 2018-05-21 18:45:39 +02:00
Eliot Berriot 8ee34b8903
Merge tag '0.13' into develop
0.13 (2018-05-19)
-----------------

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

Features:

- Can now import and play flac files (#157)
- Simpler permission system (#152)
- Store file length, size and bitrate (#195)
- We now have a brand new instance settings interface in the front-end (#206)

Enhancements:

- Disabled browsable HTML API in production (#205)
- Instances can now indicate on the nodeinfo endpoint if they want to remain
  private (#200)

Bugfixes:

- .well-known/nodeinfo endpoint can now answer to request with Accept:
  application/json (#197)
- Fixed escaping issue of track name in playlist modal (#201)
- Fixed missing dot when downloading file (#204)
- In-place imported tracks with non-ascii characters don't break reverse-proxy
  serving (#196)
- Removed Python 3.6 dependency (secrets module) (#198)
- Uplayable tracks are now properly disabled in the interface (#199)

Instance settings interface
^^^^^^^^^^^^^^^^^^^^^^^^^^^

Prior to this release, the only way to update instance settings (such as
instance description, signup policy, federation configuration, etc.) was using
the admin interface provided by Django (the back-end framework which power the API).

This interface worked, but was not really-user friendly and intuitive.

Starting from this release, we now offer a dedicated interface directly
in the front-end. You can view and edit all your instance settings from here,
assuming you have the required permissions.

This interface is available at ``/manage/settings` and via link in the sidebar.

Storage of bitrate, size and length in database
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Starting with this release, when importing files, Funkwhale will store
additional information about audio files:

- Bitrate
- Size (in bytes)
- Duration

This change is not retroactive, meaning already imported files will lack those
informations. The interface and API should work as before in such case, however,
we offer a command to deal with legacy files and populate the missing values.

On docker setups:

.. code-block:: shell

    docker-compose run --rm api python manage.py fix_track_files

On non-docker setups:

.. code-block:: shell

    # from your activated virtualenv
    python manage.py fix_track_files

.. note::

    The execution time for this command is proportional to the number of
    audio files stored on your instance. This is because we need to read the
    files from disk to fetch the data. You can run it in the background
    while Funkwhale is up.

    It's also safe to interrupt this command and rerun it at a later point, or run
    it multiple times.

    Use the --dry-run flag to check how many files would be impacted.

Simpler permission system
^^^^^^^^^^^^^^^^^^^^^^^^^

Starting from this release, the permission system is much simpler. Up until now,
we were using Django's built-in permission system, which was working, but also
quite complex to deal with.

The new implementation relies on simpler logic, which will make integration
on the front-end in upcoming releases faster and easier.

If you have manually given permissions to users on your instance,
you can migrate those to the new system.

On docker setups:

.. code-block:: shell

    docker-compose run --rm api python manage.py script django_permissions_to_user_permissions --no-input

On non-docker setups:

.. code-block:: shell

    # in your virtualenv
    python api/manage.py script django_permissions_to_user_permissions --no-input

There is still no dedicated interface to manage user permissions, but you
can use the admin interface at ``/api/admin/users/user/`` for that purpose in
the meantime.
2018-05-19 11:43:42 +02:00
Eliot Berriot 7b18e46fc9
Merge branch 'release/0.13' 2018-05-19 11:43:34 +02:00
Eliot Berriot d299964c99
0.13: Version bump and changelog 2018-05-19 11:43:19 +02:00