Wykres commitów

1137 Commity (799386c2b6333e318362065533064c979280d5e5)

Autor SHA1 Wiadomość Data
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
Eliot Berriot 5a2e7dbccd Merge branch '152-permissions' into 'develop'
Resolve "Permission management overhaul"

Closes #152

See merge request funkwhale/funkwhale!201
2018-05-19 09:38:32 +00:00
Eliot Berriot aee792ab47
Fix #152: changelog and documentation 2018-05-18 22:18:03 +02:00
Eliot Berriot ac7db73785
See #152: added management command to execute one-time migration scripts 2018-05-18 22:18:03 +02:00
Eliot Berriot a57d975183
See #152: updated admin interface 2018-05-18 22:18:02 +02:00
Eliot Berriot 4ce6715dc7
See #152: updated front-end to use new permissions 2018-05-18 22:18:02 +02:00
Eliot Berriot 6fc4275b68
See #152: use new user permissions on relevant viewsets 2018-05-18 18:48:46 +02:00
Eliot Berriot ff65a4b935
See #152: added permission fields on user model and corresponding API permission 2018-05-18 18:47:35 +02:00
Eliot Berriot a67e57891f Merge branch 'patch-1' into 'develop'
Change approve instance button from x to check

Closes #210

See merge request funkwhale/funkwhale!200
2018-05-18 14:01:53 +00:00
Thomas Citharel f0a62fbad5 Change approve instance button from x to check
Closes #210
2018-05-18 11:58:32 +00:00
Eliot Berriot 23e27e0dd9 Merge branch '206-settings-admin' into 'develop'
Resolve "Add a dedicated front-end to manage instance preferences"

Closes #206

See merge request funkwhale/funkwhale!199
2018-05-17 23:11:42 +00:00
Eliot Berriot ed9971cf7f
Fix #206: changelog 2018-05-17 23:50:44 +02:00
Eliot Berriot f3ee282fb2
See #206: updated documentation 2018-05-17 23:46:55 +02:00
Eliot Berriot 21b4522688
See #206: added front-end to manage settings 2018-05-17 23:40:41 +02:00
Eliot Berriot e7619fd189
See #206: minor tweaks on settings (wording, input type...) 2018-05-17 23:40:06 +02:00
Eliot Berriot 13c5219d71
See #206: added API endpoint for managing settings 2018-05-17 23:39:34 +02:00