Wykres commitów

1125 Commity (938aa2c8f142cb35fe7180dd1df104fe9138be97)

Autor SHA1 Wiadomość Data
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
Eliot Berriot 0dc9cdabab
Use instance name in SPA page title 2018-05-17 23:38:19 +02:00
Eliot Berriot 6608a3153d Merge branch '200-private-nodeinfo' into 'develop'
Resolve "Add a "private" property on nodeinfo"

Closes #200

See merge request funkwhale/funkwhale!198
2018-05-17 18:21:18 +00:00
Eliot Berriot 1974c17e76
Fix #200: Instances can now indicate on the nodeinfo endpoint if they want to remain private 2018-05-16 22:24:05 +02:00
Eliot Berriot d5872f4416 Merge branch '197-nodeinfo-accept' into 'develop'
Resolve "Nodeinfo endpoint should be queryable with Accept: application/json"

Closes #197

See merge request funkwhale/funkwhale!197
2018-05-16 20:13:09 +00:00
Eliot Berriot e852c84007
Fix #197: .well-known/nodeinfo endpoint can now answer to request with Accept: application/json 2018-05-16 22:10:11 +02:00
Eliot Berriot ceccaa1387 Merge branch '195-bitrate-size' into 'develop'
Resolve "Store file bitrate and size"

Closes #195

See merge request funkwhale/funkwhale!196
2018-05-16 16:58:34 +00:00
Eliot Berriot a28078753b
See #195: no update track information when fetching track from federation 2018-05-16 18:55:09 +02:00
Eliot Berriot 80783f9a68
Fix #195: changelog 2018-05-15 22:46:01 +02:00
Eliot Berriot 3290a15c88
See #195: expose bitrate, size and duration in subsonic API 2018-05-15 22:46:01 +02:00
Eliot Berriot 01cabc705d
See #195: track detail page now includes bitrate, duration and size 2018-05-15 22:24:20 +02:00
Eliot Berriot 417a1b81ae
Disabled cacheops in development 2018-05-15 22:01:54 +02:00
Eliot Berriot 8994326634
See #195: expose bitrate, duration and size in AP audio representations 2018-05-15 22:01:53 +02:00