Wykres commitów

972 Commity (7425a8ea4d4dd5977c03747b5dab130828fd8da2)

Autor SHA1 Wiadomość Data
Eliot Berriot c3e6c4c7ec Merge branch '193-import' into 'develop'
Resolve "ValueError: Cannot assign "(<Artist: Pearl Jam>, False)": "Album.artist" must be a "Artist" instance."

Closes #193

See merge request funkwhale/funkwhale!186
2018-05-07 17:25:05 +00:00
Eliot Berriot 23d21b0fdb
Fix #193: broken federated import 2018-05-07 19:22:09 +02:00
Eliot Berriot e31bed050e Merge branch '132-static-upgrade-docker' into 'develop'
Resolve "Make static upgrade easier on docker setups"

Closes #132

See merge request funkwhale/funkwhale!185
2018-05-06 22:20:00 +00:00
Eliot Berriot a8e436101c
Fix #132: better upgrading instructions for frontend files on docker 2018-05-07 00:17:42 +02:00
Eliot Berriot 0585868545 Merge branch '99-play-now' into 'develop'
Resolve "Make the play icon more explicit"

Closes #99 and #156

See merge request funkwhale/funkwhale!184
2018-05-06 21:54:27 +00:00
Eliot Berriot c70dc9b778
Fix #99 and #156: Play button now play tracks immediately instead of appending them to the queue 2018-05-06 23:51:14 +02:00
Eliot Berriot 60608c0390
See #191: removed docker note on front-end setup part 2018-05-06 22:45:14 +02:00
Eliot Berriot 0232335ad9
Typo 2018-05-06 16:54:01 +02:00
Eliot Berriot f68805e436
Missing date in changelog 2018-05-06 16:41:07 +02:00
Eliot Berriot a92f69d9fc
Merge tag '0.11' into develop
0.11 (unreleased)
-----------------

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

Special thanks for this release go to @renon:matrix.org (@Hazmo on Gitlab)
for bringing Apache2 support to Funkwhale and contributing on other issues.
Thank you!

Features:

- Funkwhale now works behind an Apache2 reverse proxy (!165)
  check out the brand new documentation at https://docs.funkwhale.audio/installation/index.html#apache2
  if you want to try it!
- Users can now request password reset by email, assuming a SMTP server was
  correctly configured (#187)

Enhancements:

- Added a fix_track_files command to run checks and fixes against library
  (#183)
- Avoid fetching Actor object on every request authentication
- Can now relaunch errored jobs and batches (#176)
- List pending requests by default, added a status filter for requests (#109)
- More structured menus in sidebar, added labels with notifications
- Sample virtual-host file for Apache2 reverse-proxy (!165)
- Store high-level settings (such as federation or auth-related ones) in
  database (#186)

Bugfixes:

- Ensure in place imported files get a proper mimetype (#183)
- Federation cache suppression is now simpler and also deletes orphaned files
  (#189)
- Fixed small UI glitches/bugs in federation tabs (#184)
- X-sendfile not working with in place import (#182)

Documentation:

- Added a documentation area for third-party projects (#180)
- Added documentation for optimizing Funkwhale and reduce its memory footprint.
- Document that the database should use an utf-8 encoding (#185)
- Foundations for API documentation with Swagger (#178)

Database storage for high-level settings
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Due to the work done in #186, the following environment variables have been
deprecated:

- FEDERATION_ENABLED
- FEDERATION_COLLECTION_PAGE_SIZE
- FEDERATION_MUSIC_NEEDS_APPROVAL
- FEDERATION_ACTOR_FETCH_DELAY
- PLAYLISTS_MAX_TRACKS
- API_AUTHENTICATION_REQUIRED

Configuration for this settings has been moved to database, as it will provide
a better user-experience, by allowing you to edit these values on-the-fly,
without restarting Funkwhale processes.

You can leave those environment variables in your .env file for now, as the
values will be used to populate the database entries. We'll make a proper
announcement when the variables won't be used anymore.

Please browse https://docs.funkwhale.audio/configuration.html#instance-settings
for more information about instance configuration using the web interface.

System emails
^^^^^^^^^^^^^

Starting from this release, Funkwhale will send two types
of emails:

- Email confirmation emails, to ensure a user's email is valid
- Password reset emails, enabling user to reset their password without an admin's intervention

Email sending is disabled by default, as it requires additional configuration.
In this mode, emails are simply outputed on stdout.

If you want to actually send those emails to your users, you should edit your
.env file and tweak the EMAIL_CONFIG variable. See :ref:`setting-EMAIL_CONFIG`
for more details.

.. note::

  As a result of these changes, the DJANGO_EMAIL_BACKEND variable,
  which was not documented, has no effect anymore. You can safely remove it from
  your .env file if it is set.

Proxy headers for non-docker deployments
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

For non-docker deployments, add ``--proxy-headers`` at the end of the ``daphne``
command in :file:`/etc/systemd/system/funkwhale-server.service`.

This will ensure the application receive the correct IP address from the client
and not the proxy's one.
2018-05-06 16:24:52 +02:00
Eliot Berriot 104a247d97
Merge branch 'release/0.11' 2018-05-06 16:24:20 +02:00
Eliot Berriot 7908ae3942
Version bump and changelog 2018-05-06 16:24:12 +02:00
Eliot Berriot 82f5dc20f3
Documentation for missing DEFAULT_FROM_EMAIL setting 2018-05-06 16:23:23 +02:00
Eliot Berriot 72c3c0fd85 Merge branch '189-cache-deletion' into 'develop'
Resolve "Federation cached tracks not cleaned by celery task"

Closes #189

See merge request funkwhale/funkwhale!183
2018-05-06 13:49:50 +00:00
Eliot Berriot 480b6d7fd6
Include link to upgrade instructions in changelog 2018-05-06 15:47:34 +02:00
Eliot Berriot 9130e14fa0
fixed missing changelog and typos 2018-05-06 15:43:26 +02:00
Eliot Berriot bc2c9950e3
Fix #189: federation cache should now delete properly, including orphaned files 2018-05-06 15:36:49 +02:00
Eliot Berriot f343159856
Added an accessed_date field on TrackFile for easier cache deletion (#189) 2018-05-06 15:36:18 +02:00
Eliot Berriot 2649ad88ff Merge branch '187-emails' into 'develop'
Resolve "Add email support"

Closes #187

See merge request funkwhale/funkwhale!182
2018-05-06 11:54:00 +00:00
Eliot Berriot 4a7105ae7e
Fix #187: documentation and changelog for email configuration 2018-05-06 13:48:23 +02:00
Eliot Berriot 44ebb92874
See #187: Front logic for password reset and email confirmation 2018-05-06 12:50:53 +02:00
Eliot Berriot 3b9024129d
See #187: Front logic for password reset 2018-05-06 11:30:52 +02:00
Eliot Berriot 22f0b1a2d8
See #187: API logic for password reset 2018-05-06 11:30:41 +02:00
Eliot Berriot 929b50183a
Now reset cookie on profile fetch, to avoid CSRF bugs 2018-05-06 11:21:36 +02:00
Eliot Berriot cd22601f67
Extracted password input in a dedicated component 2018-05-06 11:19:20 +02:00
Eliot Berriot 4325b1be4f
Removed radios and listening recording for anonymous users as it was buggy 2018-05-06 11:18:28 +02:00
Eliot Berriot a2dcae0bbf
Fixed some blank spaces in sidebar 2018-05-06 10:50:40 +02:00
Eliot Berriot 988940ea36 Merge branch 'readme-logo' into 'develop'
Readme tweaks / logo

See merge request funkwhale/funkwhale!181
2018-05-05 17:32:05 +00:00
Eliot Berriot bb63fcf1e5
Readme tweaks / logo 2018-05-05 19:22:33 +02:00
Eliot Berriot fc352b5e52 Merge branch 'contributing-documentation' into 'develop'
Contributing documentation

See merge request funkwhale/funkwhale!178
2018-05-05 17:11:23 +00:00
Eliot Berriot 3015bd6877 Merge branch 'sidebar-contrast' into 'develop'
Better contrast on new sidebar, added labels with notifications

See merge request funkwhale/funkwhale!179
2018-04-29 21:22:46 +00:00
Eliot Berriot 602382b864
Better contrast on new sidebar, added labels with notifications 2018-04-29 23:19:09 +02:00
Eliot Berriot cd47309dae
Added contribution documentation 2018-04-28 18:39:58 +02:00
Eliot Berriot 9ec47f1ec9
Added dosctrings to fixtures 2018-04-28 18:39:48 +02:00
Eliot Berriot 93cf9be04f
Typo 2018-04-28 16:31:33 +02:00
Eliot Berriot 263966f6f8 Merge branch 'apache-documentation' into 'develop'
Updated documentation with apache2 reverse-proxy instructions

See merge request funkwhale/funkwhale!175
2018-04-28 14:28:52 +00:00
Eliot Berriot 24425ea529
Updated documentation with apache2 reverse-proxy instructions 2018-04-28 16:20:28 +02:00
Eliot Berriot 28b2b1d9c4 Merge branch 'reduce-memory-usage' into 'develop'
Added documentation page on how to reduce memory usage.

See merge request funkwhale/funkwhale!177
2018-04-28 14:20:25 +00:00
Eliot Berriot 29645aab1d
Added documentation page on how to reduce memory usage. 2018-04-28 16:17:29 +02:00
Eliot Berriot f76f8d53cb Merge branch 'structured-sidebar' into 'develop'
More structured menus in sidebar

See merge request funkwhale/funkwhale!176
2018-04-28 13:01:24 +00:00
Eliot Berriot 01e06de812
More structured menus in sidebar 2018-04-28 14:58:25 +02:00
Eliot Berriot 770f9fbda4 Merge branch 'develop' into 'develop'
First version of Apache2 conf (transcoding, auth and ws missing)

See merge request funkwhale/funkwhale!165
2018-04-28 12:05:01 +00:00
Eliot Berriot 9ab20a5b77 Merge branch 'release-rss' into 'develop'
Added links to subscribe to new releases

See merge request funkwhale/funkwhale!174
2018-04-28 12:02:14 +00:00
Eliot Berriot c57d252a95 Merge branch '185-database-encoding' into 'develop'
Resolve "Add a warning about required database encoding"

Closes #185

See merge request funkwhale/funkwhale!167
2018-04-28 11:06:53 +00:00
Eliot Berriot cc5453fd85
Added links to subscribe to new releases 2018-04-28 13:05:55 +02:00
Eliot Berriot 34ce18fff9 Merge branch '186-settings-preferences' into 'develop'
Resolve "Migrate federation settings to preferences"

Closes #186

See merge request funkwhale/funkwhale!173
2018-04-28 10:31:12 +00:00
Eliot Berriot 7ad21b7d25
Fix #186: moved high-level settings to database preferences 2018-04-28 12:28:13 +02:00
Eliot Berriot a3b2125d2a
See #186: moved api authentication required setting to preference 2018-04-28 06:11:50 +02:00
Eliot Berriot 6100b106c0
See #186: moved federation settings to preferences 2018-04-28 05:55:21 +02:00
Eliot Berriot 7222f7b710
See #186: moved PLAYLISTS_MAX_TRACKS to playlists__max_tracks 2018-04-28 05:30:23 +02:00