Wykres commitów

630 Commity (fba9a5c97e5b2a777d083dec83700c6a2daffb0e)

Autor SHA1 Wiadomość Data
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
Eliot Berriot 37b6dd406f
Merge branch 'release/0.6' 2018-03-04 15:16:55 +01:00
Eliot Berriot 6011cf2098
Version bump and changelog 2018-03-04 15:16:35 +01:00
Eliot Berriot 1bbfa8f70b Merge branch 'channels' into 'develop'
Channels and instance timeline

See merge request funkwhale/funkwhale!74
2018-03-04 14:05:22 +00:00
Eliot Berriot c0ff34e8b3
Fixed failing tests 2018-03-03 23:23:42 +01:00
Eliot Berriot 120dda2c75
Sample updates, changelog and documentation for channels and activity 2018-03-03 23:18:33 +01:00
Eliot Berriot 26b2d3b0b2
Added setting form to manage privacy level 2018-03-03 12:40:01 +01:00
Eliot Berriot 2c79418d81
Moved backend error handling in axios 2018-03-03 12:38:11 +01:00
Eliot Berriot f9786d4b45
Remove batch refresh logic when not on batch detail 2018-03-03 12:37:50 +01:00
Eliot Berriot 1800f7ad17
API endpoint for updating privacy 2018-03-03 11:20:21 +01:00
Eliot Berriot 7f7a62cfa2
Replaced gunicorn with daphne 2018-03-03 10:52:48 +01:00
Eliot Berriot 8dea9130af
Smaller docker image 2018-03-03 10:05:39 +01:00
Eliot Berriot ce3af5194f
Minor fixes to docker setup 2018-03-02 00:14:55 +01:00
Eliot Berriot 6e6d874f3a
Websocket opening logic 2018-03-02 00:14:40 +01:00
Eliot Berriot 88e6808155
Activity components for timeline 2018-03-02 00:14:23 +01:00
Eliot Berriot e231b71701
Timeline view 2018-03-02 00:14:08 +01:00
Eliot Berriot e319f5933e
Store for instance events 2018-03-02 00:13:45 +01:00
Eliot Berriot 40350f0555
Redraw ago datetime every minute 2018-03-01 23:46:32 +01:00
Eliot Berriot 2d12c56b90
Username component 2018-03-01 23:45:46 +01:00
Eliot Berriot a6da10be41
API refinements for activity stream 2018-03-01 23:41:51 +01:00
Eliot Berriot d509c090d3
Basic working poc with favorites send over websocket 2018-03-01 21:51:20 +01:00
Eliot Berriot e490284511
Use our new event system for track favorites 2018-03-01 20:38:48 +01:00
Eliot Berriot dd5881f2c6
Founndations for real-time event serialization/subscription/broadcasting 2018-03-01 20:38:20 +01:00