Wykres commitów

552 Commity (6fbc372f51c05163f620a52620a4d0aabf0cdaf1)

Autor SHA1 Wiadomość Data
Eliot Berriot 89f90d1585
Moved daphne to common requirements 2018-03-12 23:15:39 +01:00
Eliot Berriot c5e28519dd
Removed unused dependencies 2018-03-12 23:15:28 +01:00
Eliot Berriot 99f33dd392
Make api docker image able to run tests 2018-03-12 23:07:08 +01:00
Eliot Berriot 046648ce6c
Moved pytest.ini to setup.cfg 2018-03-12 23:06:32 +01:00
Eliot Berriot 69aacfea51
Deleted unused files 2018-03-12 23:06:21 +01:00
Eliot Berriot 788f89da03 Merge branch '117-cache' into 'develop'
Fix #117: Use django-cacheops to cache common ORM requests

Closes #117

See merge request funkwhale/funkwhale!86
2018-03-12 19:12:57 +00:00
Eliot Berriot a448eaaf17
Fix #117: Use django-cacheops to cache common ORM requests 2018-03-08 23:21:59 +01:00
Eliot Berriot 5db8c950cc
Fix #103: synchronized start/stop radio buttons for all custom radios 2018-03-07 23:19:25 +01:00
Eliot Berriot c70ab72bc0 Merge branch '114-exclude-empty-albums' into 'develop'
Fix #114: can now filter artists and albums with no listenable tracks

Closes #114

See merge request funkwhale/funkwhale!83
2018-03-07 22:19:21 +00:00
Eliot Berriot eca00b9a0a
Hide disable items in pagination 2018-03-07 23:18:24 +01:00
Eliot Berriot bfeb86865d
Fix #114: can now filter artists and albums with no listenable tracks 2018-03-07 23:08:28 +01:00
Eliot Berriot ab91d837bb Merge branch '116-chronological-order' into 'develop'
Resolve "Show albums on the artist's page in chronological order"

Closes #116

See merge request funkwhale/funkwhale!85
2018-03-07 22:05:53 +00:00
Eliot Berriot 1822fdf449
Fix #116: On artist page, albums are not sorted by release date, if any 2018-03-07 23:03:46 +01:00
Eliot Berriot 7e593ad05b
Added year filter 2018-03-07 23:02:33 +01:00
Eliot Berriot 468faffe74 Merge branch '115-broken-import-request-admin' into 'develop'
Fix #115: broken import request admin

Closes #115

See merge request funkwhale/funkwhale!84
2018-03-07 21:39:05 +00:00
Eliot Berriot 99a91c1e74
Fix #115: broken import request admin 2018-03-07 22:36:37 +01:00
Eliot Berriot 0f06c39854
Merge tag '0.6.1' into develop
0.6.1 (unreleased)
------------------

Features:

- Can now skip acoustid on file import with the --no-acoustid flag (#111)

Bugfixes:

- Added missing batch id in output during import (#112)
- Added some feedback on the play button (#100)
- Smarter pagination which takes a fixed size (#84)

Other:

- Completely removed django-cachalot from the codebase (#110). You can safely
  remove the CACHALOT_ENABLED setting from your .env file
2018-03-06 21:56:25 +01:00
Eliot Berriot 6bf73384d2
Merge branch 'release/0.6.1' 2018-03-06 21:56:11 +01:00
Eliot Berriot ec3e5a4304
Version bump and changelog 2018-03-06 21:56:01 +01:00
Eliot Berriot 20ba6f926a Merge branch '111-skip-acoustid' into 'develop'
Resolve "Allow skip accoustid entirely on music import (CLI)"

Closes #111

See merge request funkwhale/funkwhale!79
2018-03-06 20:54:28 +00:00
Eliot Berriot 1d267593a3 Merge branch 'broken-demo' into 'develop'
Broken demo

Closes #110

See merge request funkwhale/funkwhale!81
2018-03-06 20:35:42 +00:00
Eliot Berriot b1d210aeb2 Merge branch '110-remove-cachalot' into 'develop'
Fix #110: completely removed django cachalot

Closes #110

See merge request funkwhale/funkwhale!82
2018-03-06 20:34:56 +00:00
Eliot Berriot 34f6427f50
Demo is back 2018-03-06 21:33:50 +01:00
Eliot Berriot 88092322d8
Fix #110: completely removed django cachalot 2018-03-06 20:51:28 +01:00
Eliot Berriot 88ea79ab0b Merge branch '112-batch-id' into 'develop'
Fix #112: missing batch ID in import output

Closes #112

See merge request funkwhale/funkwhale!80
2018-03-06 19:48:45 +00:00
Eliot Berriot dd61dd7416
Fix #112: missing batch ID in import output 2018-03-06 20:41:39 +01:00
Eliot Berriot 17bda77efb
Fix #111: allow skipping of acoustid matching 2018-03-06 20:29:32 +01:00
Eliot Berriot 46b39dbf2b
ignore data 2018-03-06 20:26:51 +01:00
Eliot Berriot 55a93c71e3 Merge branch 'fixed-entrypoint' into 'develop'
More generic entrypoint to work with non-compose setups

See merge request funkwhale/funkwhale!78
2018-03-06 18:32:55 +00:00
Eliot Berriot 968423a6f8
Added a new doc page about instance configuration 2018-03-06 18:47:30 +01:00
Eliot Berriot b277b16fad
Fixed wrong virtualenv path in unit file 2018-03-06 18:45:25 +01:00
Eliot Berriot 472aa87838
Added documentation to manually enable required extensions 2018-03-06 17:56:47 +01:00
Eliot Berriot be38dc9b9f
Disable cachalot by default 2018-03-06 17:45:13 +01:00
Eliot Berriot 27e53aba5b
Fixed typo in env file 2018-03-06 17:45:03 +01:00
Eliot Berriot 2167c1731c
Removed duplicate variable 2018-03-06 17:44:53 +01:00
Eliot Berriot 66802d50b8
Updated incorrect celery commands 2018-03-06 13:38:42 +01:00
Eliot Berriot 20d8daa115
More generic entrypoint to work with non-compose setups 2018-03-06 13:15:53 +01:00
Eliot Berriot b7d35c6a8e Merge branch '84-pagination' into 'develop'
Fix #84: smarter pagination with fixed size

Closes #84

See merge request funkwhale/funkwhale!77
2018-03-05 21:47:09 +00:00
Eliot Berriot b188fa7cac
Fix #84: smarter pagination with fixed size 2018-03-05 22:45:01 +01:00
Eliot Berriot 12ca49d1c8 Merge branch 'play-button' into 'develop'
Play button feedback

Closes #100

See merge request funkwhale/funkwhale!76
2018-03-05 20:55:06 +00:00
Eliot Berriot 40e1255199
Fix #100: Added some feedback on the play button 2018-03-05 21:51:40 +01:00
Eliot Berriot d27e09b19f
Upgraded semantic UI to 2.3 2018-03-05 21:43:19 +01:00
Eliot Berriot e4c044638b
Fixed 500 error in authentication 2018-03-05 21:43:07 +01:00
Eliot Berriot 3753193c10
Updated demo script 2018-03-04 18:33:30 +01:00
Eliot Berriot 94bb2938ba Merge branch '29-broken-demo' into 'develop'
Resolve "Better demo detup"

Closes #29

See merge request funkwhale/funkwhale!75
2018-03-04 17:21:11 +00:00
Eliot Berriot d1d06ce760
Bash script to setup / reload the demo, fix #29 2018-03-04 18:18:30 +01:00
Eliot Berriot 2354721cd9
Fixed import crashing when no acoustid found 2018-03-04 18:14:37 +01:00
Eliot Berriot 1955005a4f
Moved commen nginx configuration in a dedicated snippet 2018-03-04 16:58:37 +01:00
Eliot Berriot eef2ff3f9a
Fixed broken daphne and removed useless templates 2018-03-04 16:05:41 +01:00
Eliot Berriot 25e263d474
Merge tag '0.6' into develop
0.6 (2018-03-04)
----------------

Features:

- Basic activity stream for listening and favorites (#23)
- Switched to django-channels and daphne for serving HTTP and websocket (#34)

Upgrades notes
**************

This version contains breaking changes in the way funkwhale is deployed,
please read the notes carefully.

Instance timeline
^^^^^^^^^^^^^^^^^

A new "Activity" page is now available from the sidebar, where you can
browse your instance activity. At the moment, this includes other users
favorites and listening, but more activity types will be implemented in the
future.

Internally, we implemented those events by following the Activity Stream
specification, which will help us to be compatible with other networks
in the long-term.

A new settings page has been added to control the visibility of your activity.
By default, your activity will be browsable by anyone on your instance,
but you can switch to a full private mode where nothing is shared.

The setting form is available in your profile.

Switch from gunicorn to daphne
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

This release include an important change in the way we serve the HTTP API.
To prepare for new realtime features and enable websocket support in Funkwhale,
we are now using django-channels and daphne to serve HTTP and websocket traffic.

This replaces gunicorn and the switch should be easy assuming you
follow the upgrade process described bellow.

If you are using docker, please remove the command instruction inside the
api service, as the up-to-date command is now included directly in the image
as the default entry point:

.. code-block:: yaml

    api:
      restart: unless-stopped
      image: funkwhale/funkwhale:${FUNKWHALE_VERSION:-latest}
      command: ./compose/django/gunicorn.sh  # You can remove this line

On non docker setups, you'll have to update the [Service] block of your
funkwhale-server systemd unit file to launch the application server using daphne instead of gunicorn.

The new configuration should be similar to this:

.. code-block:: ini

    [Service]
    User=funkwhale
    # adapt this depending on the path of your funkwhale installation
    WorkingDirectory=/srv/funkwhale/api
    EnvironmentFile=/srv/funkwhale/config/.env
    ExecStart=/usr/local/bin/daphne -b ${FUNKWHALE_API_IP} -p ${FUNKWHALE_API_PORT} config.asgi:application

Ensure you update funkwhale's dependencies as usual to install the required
packages.

On both docker and non-docker setup, you'll also have to update your nginx
configuration for websocket support. Ensure you have the following blocks
included in your virtualhost file:

.. code-block:: txt

    map $http_upgrade $connection_upgrade {
        default upgrade;
        ''      close;
    }

    server {
        ...
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection $connection_upgrade;
    }

Remember to reload your nginx server after the edit.
2018-03-04 15:17:02 +01:00