Eliot Berriot
0bc9bb65b0
Model, view and serializer for instance-level policies
2019-01-07 09:45:53 +01:00
Eliot Berriot
b6902009ac
Use cache session engine to reduce load on DB
2019-01-04 14:15:07 +01:00
Eliot Berriot
67de32ccc2
Removed 2 DB queries per request when user is authenticated
2019-01-04 13:52:36 +01:00
Eliot Berriot
7657db4212
Fix #648 : Improved test suite speed by reducing / disabling expensive operations
2019-01-04 11:47:23 +01:00
Eliot Berriot
7ac3bb98da
Moved actor domain to a dedicated table
2018-12-27 20:33:11 +01:00
Eliot Berriot
d27ea30b26
Fix #640 : support connecting with to a password protected redis server
2018-12-20 17:36:32 +01:00
Eliot Berriot
9220b2f0f1
See #578 : added opengraph and oembed data on artist / album / track urls
2018-12-19 15:04:33 +01:00
Eliot Berriot
8679edb160
Fix #626 : Load env file in config/.env automatically to avoid sourcing it by hand
2018-11-28 19:56:56 +01:00
Eliot Berriot
409b076c23
Removed the need to specify the DJANGO_ALLOWED_HOSTS variable
2018-11-25 18:40:56 +01:00
Eliot Berriot
8489c79c89
See #272 : clean transcoding files task
2018-10-24 19:44:31 +02:00
Eliot Berriot
f5373a9dbf
Cleanup unused code
2018-09-28 22:49:59 +02:00
Eliot Berriot
e49a460203
Audio federation
2018-09-22 12:29:30 +00:00
Eliot Berriot
2ea21994ee
Resolve "Per-user libraries" (use !368 instead)
2018-09-06 18:35:02 +00:00
Toke Høiland-Jørgensen
cb5b3be844
Add support for setting the musicbrainz hostname
...
Useful for using a local musicbrainz mirror.
Fixes #471 .
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2018-08-31 22:36:12 +02:00
Joshua M. Boniface
4ce46ff2a0
Implement LDAP authentication
2018-08-22 18:10:39 +00:00
Eliot Berriot
13a1c6daac
Fixed #487 : typos in scheduled tasks configuration
2018-08-19 16:25:42 +02:00
Eliot Berriot
ba76fe9f49
Apply restrictions to username characters during signup
2018-07-22 13:05:43 +02:00
Eliot Berriot
3a94462bd6
Removed django-cacheops dependency
2018-07-21 12:57:48 +02:00
Eliot Berriot
27d54ee971
Merge branch 'playlist-perfs' into 'develop'
...
Use smaller images when possible to increase performance on client-side
See merge request funkwhale/funkwhale!328
2018-07-20 17:24:53 +00:00
Eliot Berriot
979c554b4a
Use cropped covers/avatars to reduce bandwidth use
2018-07-20 19:17:39 +02:00
Eliot Berriot
ba5c3bfc90
Update common.py with more blacklisted usernames
2018-07-19 10:49:01 +00:00
Eliot Berriot
af270f4abd
Resolve "An avatar for users"
2018-07-13 12:10:39 +00:00
Eliot Berriot
789bef38cb
See #248 : model / migration
2018-06-21 19:28:59 +02:00
Eliot Berriot
2e4f862387
See #212 : record user last activity date
2018-06-17 17:53:40 +02:00
Eliot Berriot
d17ceec1f0
See #297 : linting of various, uncommon errors
2018-06-10 12:06:46 +02:00
Eliot Berriot
ab80dffeea
See #297 : sorted config imports
2018-06-10 11:29:24 +02:00
Eliot Berriot
62ca3bd736
Blacked the code
2018-06-09 15:36:16 +02:00
Eliot Berriot
14c8073e26
Ensure we can serve images securely locally
2018-06-02 09:17:32 +02:00
Eliot Berriot
2569f136b7
Fix #241 : autoremove media files on model instance deletion
2018-05-28 22:17:36 +02:00
Eliot Berriot
2586444db2
Fix #229 : removed last hardcoded settings to protect audio files
2018-05-24 21:34:59 +02:00
Eliot Berriot
155a40e296
Fixed #205 : Disabled browsable HTML API in production
2018-05-15 19:06:08 +02:00
Eliot Berriot
7595936260
See #75 : added a preference do enable/disable the subsonic API on the instance level
2018-05-09 22:13:04 +02:00
Eliot Berriot
82f5dc20f3
Documentation for missing DEFAULT_FROM_EMAIL setting
2018-05-06 16:23:23 +02:00
Eliot Berriot
4a7105ae7e
Fix #187 : documentation and changelog for email configuration
2018-05-06 13:48:23 +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
4325b1be4f
Removed radios and listening recording for anonymous users as it was buggy
2018-05-06 11:18:28 +02:00
Eliot Berriot
a3b2125d2a
See #186 : moved api authentication required setting to preference
2018-04-28 06:11:50 +02:00
Eliot Berriot
7222f7b710
See #186 : moved PLAYLISTS_MAX_TRACKS to playlists__max_tracks
2018-04-28 05:30:23 +02:00
Eliot Berriot
6dcde77b1e
Avoid fetching Actor object on every request authentication
2018-04-28 00:25:47 +02:00
Eliot Berriot
d2c2fb837e
Now support Bearer auth in complement of JWT
2018-04-26 15:17:51 +02:00
banana
0f7de68f0d
Update common.py to add USE_APACHE_HEADERS set to false
...
Update views.py to modify headers depending on Nginx or Apache
Update common.py with future proof REVERSE_PROXY_TYPE setting
Update views.py to adapt headers based on REVERSE_PROXY_TYPE
Update views.py, typo on apache
2018-04-22 15:11:04 +02:00
Eliot Berriot
a8bf44a494
Added dedicated settings to manage in-place import
2018-04-21 18:15:29 +02:00
Eliot Berriot
a37183f57e
Additional celery beat systemd unit file
2018-04-17 21:26:35 +02:00
Eliot Berriot
6c0a43a0ea
We can now work on federation locally thank to traefik
2018-04-15 11:25:31 +02:00
Eliot Berriot
b5ff339efa
We now use a proper user agent including instance version and url during outgoing requests
2018-04-07 16:20:34 +02:00
Eliot Berriot
393110a7f0
Serializers for paginated collections
2018-04-06 17:58:43 +02:00
Eliot Berriot
a81c92dbf5
Additional setting to control wether music library federation needs approval
2018-04-02 22:43:59 +02:00
Eliot Berriot
3cf1a17087
We are now able to receive a toot and react to it
2018-04-01 22:11:46 +02:00
Eliot Berriot
6c3b7ce154
More reserved usernames
2018-03-31 15:44:46 +02:00
Eliot Berriot
90c1d02919
Added FUNKWHALE_HOSTNAME and FEDERATION_HOSTNAME settings
2018-03-29 00:00:01 +02:00
Eliot Berriot
85ce220f29
Merge branch 'federation-signing-requests' into 'develop'
...
Federation signing requests
See merge request funkwhale/funkwhale!106
2018-03-26 20:14:28 +00:00
Eliot Berriot
f36a9e2ac9
Merge branch '138-import-unicode' into 'develop'
...
Resolve "Importer chokes on files with bad unicode characters"
Closes #138 and #120
See merge request funkwhale/funkwhale!108
2018-03-25 13:46:26 +00:00
Eliot Berriot
f1cf250e29
Fix #138 : Better handling of utf-8 filenames during file import
2018-03-25 15:40:37 +02:00
Eliot Berriot
4b69d64db2
Fix #139 : We now restrict some usernames from being used during signup
2018-03-24 20:31:36 +01:00
Eliot Berriot
aa7365b71f
Basic logic for signing/verifying requests
2018-03-24 15:20:15 +01:00
Eliot Berriot
1729c4f83e
250 is a saner default for playlist size
2018-03-20 19:55:36 +01:00
Eliot Berriot
8821a1bb43
Removed superfluous mptt requirement
2018-03-20 15:34:33 +01:00
Eliot Berriot
944135e752
Capped number of tracks in playlists
2018-03-20 15:34:33 +01:00
Eliot Berriot
a448eaaf17
Fix #117 : Use django-cacheops to cache common ORM requests
2018-03-08 23:21:59 +01:00
Eliot Berriot
88092322d8
Fix #110 : completely removed django cachalot
2018-03-06 20:51:28 +01:00
Eliot Berriot
2167c1731c
Removed duplicate variable
2018-03-06 17:44:53 +01:00
Eliot Berriot
dd5881f2c6
Founndations for real-time event serialization/subscription/broadcasting
2018-03-01 20:38:20 +01:00
Eliot Berriot
93e4a4f123
Added FUNWHALE_URL setting to use in activity stream in representations
2018-03-01 18:38:32 +01:00
Eliot Berriot
498aa1137b
Initial channels integration
2018-03-01 18:38:31 +01:00
Eliot Berriot
62d0381f91
Fixed #81 : Search now unaccent letters for queries
2018-02-27 19:56:02 +01:00
Eliot Berriot
0ed3f68305
Allow login with email or username
2018-02-24 14:28:17 +01:00
Eliot Berriot
d1b5895b78
Removed now useless REGISTRATION_MODE setting
2018-02-24 12:21:02 +01:00
Eliot Berriot
98b62caa24
Import request viewset, serializer and url
2018-02-21 00:09:15 +01:00
Eliot Berriot
2f8a026afa
Can now configure allowed host in all settings
2018-02-18 14:42:17 +01:00
Eliot Berriot
d60804c9db
Added raven on server side
2018-02-17 21:31:33 +01:00
Eliot Berriot
6152b3bb36
Added API endpoint for listing public instance settings
2018-02-17 21:31:32 +01:00
Eliot Berriot
5d2dbbc828
Upgraded celery to 4.1, added endpoint logic for fingerprinting audio files
2017-12-27 17:30:09 +01:00
Eliot Berriot
3c08722e92
Fixed #56 : invalidate tokens on password change, also added change password form
2017-12-26 15:56:04 +01:00
Eliot Berriot
7c0b4b9a8f
New-style middlewares
2017-12-15 23:48:45 +01:00
Eliot Berriot
e90e9dc7aa
Fixed #44 : now bind track file to import job
2017-12-14 23:06:21 +01:00
Eliot Berriot
4c9469ac54
Merge branch 'feature/22-debian-installation' into 'develop'
...
Initial documentation on debian
See merge request funkwhale/funkwhale!15
2017-12-13 21:57:47 +00:00
Eliot Berriot
926db0f366
Fixed #40 : added artist browsing view
2017-12-12 23:41:47 +01:00
Eliot Berriot
c6d408924b
Added artist filtering on API
2017-12-12 23:27:17 +01:00
Eliot Berriot
d63e7677e4
WIP: Debian installation instructions
2017-07-20 23:30:25 +02:00
Eliot Berriot
da4c76ace8
Now return media files with absolute URL
2017-07-11 09:14:54 +02:00
Eliot Berriot
6172c0beac
upgrade to latest dynamic_preferences and use redis as cache even locally
2017-07-09 13:27:15 +02:00
Eliot Berriot
aa80bd15fa
Fixed #4 : can now import artists and releases with a clean interface :party:
2017-07-09 11:33:33 +02:00
Eliot Berriot
3ccb70d0a8
Fixed #15 again, now check authorization also using query param
2017-06-29 02:27:35 +02:00
Eliot Berriot
bab3981d25
Fixed #15 : Ensure we check for authorization for serving audio files, meaning we don't leak the absolute URL anymore
2017-06-28 23:31:43 +02:00
Eliot Berriot
80cfd7180a
Fixed #20 : added admin serving under /api/, minor tweaks to production nginx and env file
2017-06-26 19:18:31 +02:00
Eliot Berriot
76f98b74dd
Initial commit that merge both the front end and the API in the same repository
2017-06-23 23:00:42 +02:00