Eliot Berriot
|
c2985b7dba
|
Merge branch 'coverage' into 'develop'
Compute coverage on API tests
See merge request funkwhale/funkwhale!111
|
2018-03-25 20:50:30 +00:00 |
Eliot Berriot
|
82aa8c4e22
|
Compute coverage on API tests
|
2018-03-25 22:45:37 +02:00 |
Eliot Berriot
|
32e3d82738
|
Switched to psycopg2-binary to avoid warning
|
2018-03-25 22:42:14 +02:00 |
Eliot Berriot
|
a87a2837db
|
Fixed failing tests
|
2018-03-25 22:34:30 +02:00 |
Eliot Berriot
|
d310628cb5
|
refactored tests, no have __init__ everywhere
|
2018-03-25 22:27:38 +02:00 |
Eliot Berriot
|
18d8baae34
|
API Views/serializers/tests for activity (#141)
|
2018-03-25 17:24:08 +02:00 |
Eliot Berriot
|
1f2e14b20e
|
Use anonymous_user fixture in other tests
|
2018-03-25 17:18:44 +02:00 |
Eliot Berriot
|
122c39075a
|
Fixed privacy issue in get_privacy_query utils function
|
2018-03-25 17:18:22 +02:00 |
Eliot Berriot
|
2d4003c8c4
|
anonymoususer test fixture
|
2018-03-25 17:17:51 +02:00 |
Eliot Berriot
|
fce5ee0e7f
|
Renamed listening end_date to creation_date
|
2018-03-25 17:17:33 +02: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
|
e99d757b57
|
Fix #120: Better error handling during file import
|
2018-03-25 15:44:48 +02: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
|
952407d173
|
Merge branch '139-restrict-usernames' into 'develop'
Resolve "Allow restricting allowed usernames"
Closes #139
See merge request funkwhale/funkwhale!107
|
2018-03-24 19:33:38 +00: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
|
4522f5997e
|
More test cases for request signing and added helpers to verify signature
|
2018-03-24 16:24:10 +01:00 |
Eliot Berriot
|
aa7365b71f
|
Basic logic for signing/verifying requests
|
2018-03-24 15:20:15 +01:00 |
Eliot Berriot
|
a890bc490b
|
Ensure we update all requirements when installing from pip/requirements.txt
|
2018-03-23 12:10:18 +01:00 |
Eliot Berriot
|
b780bee874
|
Version bump and changelog
|
2018-03-21 21:05:03 +01:00 |
Eliot Berriot
|
529114c89c
|
Added missing fields in playlist serializer
|
2018-03-21 20:56:26 +01:00 |
Eliot Berriot
|
71d46e4361
|
Simplified playlist serializer and ensure update return same payload as detail
|
2018-03-21 19:03:57 +01:00 |
Eliot Berriot
|
6a9a34d244
|
Can now clear playlist
|
2018-03-21 12:19:07 +01:00 |
Eliot Berriot
|
bf6fe44bed
|
More filters / ordering option on playlist API
|
2018-03-21 11:58:11 +01:00 |
Eliot Berriot
|
16f631af1a
|
Performance optimization on playlisttrack serialization
|
2018-03-20 22:44:28 +01:00 |
Eliot Berriot
|
f8b15a3f48
|
Added API endpoint to insert multiple tracks into playlist
|
2018-03-20 19:56:42 +01:00 |
Eliot Berriot
|
1729c4f83e
|
250 is a saner default for playlist size
|
2018-03-20 19:55:36 +01:00 |
Eliot Berriot
|
497f81e5ab
|
Typo in returned api payload
|
2018-03-20 19:14:45 +01:00 |
Eliot Berriot
|
244ebd7ab1
|
Dropped hard constraint on track indexes and added more tests
|
2018-03-20 19:14:07 +01:00 |
Eliot Berriot
|
f917c5d0c4
|
Playlist filterset
|
2018-03-20 15:34:35 +01:00 |
Eliot Berriot
|
08b28a7d98
|
Added playlist tracks count and modification date in API
|
2018-03-20 15:34:34 +01:00 |
Eliot Berriot
|
15300e255c
|
Removed pytest warning
|
2018-03-20 15:34:34 +01:00 |
Eliot Berriot
|
e87e2654e8
|
Permissions and db state fixes with new index field
|
2018-03-20 15:34:34 +01:00 |
Eliot Berriot
|
257e67b5a6
|
New "index" field on playlist tracks, and .insert() metod to manage playlists
|
2018-03-20 15:34:34 +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
|
d8486beeb0
|
Can now list tracks from within playlist endpoint
|
2018-03-20 15:34:33 +01:00 |
Eliot Berriot
|
9a909798e7
|
Additional permissions checks on playlist views
|
2018-03-20 15:34:33 +01:00 |
Eliot Berriot
|
4f7fa09a78
|
Playlisttrack factory
|
2018-03-20 15:34:33 +01:00 |
Eliot Berriot
|
d7adaf398f
|
Can now use nodb_factory fixtue in tests for faster tests
|
2018-03-20 15:34:33 +01:00 |
Eliot Berriot
|
367014f70e
|
Added owner permission to check user has the right to read/update object
|
2018-03-20 15:34:33 +01:00 |
Eliot Berriot
|
3e277aad4f
|
Added helper to filter queryset by privacy level
|
2018-03-20 15:34:32 +01:00 |
Eliot Berriot
|
2a3f43ecb1
|
Ensure privacy_level is settable/inherited properly
|
2018-03-20 15:34:32 +01:00 |
Eliot Berriot
|
859f8a0570
|
Replaced is_public flag by brand new privacy_level field on playlists
|
2018-03-20 15:34:32 +01:00 |
Eliot Berriot
|
9fdbc7b859
|
factorized privacy_level field
|
2018-03-20 15:34:32 +01:00 |
Eliot Berriot
|
639cd5da5b
|
Moved playlist tests in a dedicated directory
|
2018-03-20 15:34:32 +01:00 |
Eliot Berriot
|
cec0dcfc12
|
Merge branch '119-login-redirection' into 'develop'
Fixed #119: forced redirection to login even with API_AUTHENTICATION_REQUIRED=False
Closes #119
See merge request funkwhale/funkwhale!91
|
2018-03-15 21:58:09 +00:00 |
Eliot Berriot
|
4298c4236e
|
Fixed #119: forced redirection to login even with API_AUTHENTICATION_REQUIRED=False
|
2018-03-15 22:34:20 +01:00 |
Eliot Berriot
|
70cd96f198
|
Removed unused sphinx dependency in requirements now we use a separate container
|
2018-03-13 22:28:18 +01:00 |
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
|
a448eaaf17
|
Fix #117: Use django-cacheops to cache common ORM requests
|
2018-03-08 23:21:59 +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
|
bfeb86865d
|
Fix #114: can now filter artists and albums with no listenable tracks
|
2018-03-07 23:08:28 +01:00 |
Eliot Berriot
|
99a91c1e74
|
Fix #115: broken import request admin
|
2018-03-07 22:36:37 +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
|
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
|
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
|
2167c1731c
|
Removed duplicate variable
|
2018-03-06 17:44:53 +01:00 |
Eliot Berriot
|
20d8daa115
|
More generic entrypoint to work with non-compose setups
|
2018-03-06 13:15:53 +01:00 |
Eliot Berriot
|
e4c044638b
|
Fixed 500 error in authentication
|
2018-03-05 21:43:07 +01: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
|
eef2ff3f9a
|
Fixed broken daphne and removed useless templates
|
2018-03-04 16:05:41 +01:00 |
Eliot Berriot
|
6011cf2098
|
Version bump and changelog
|
2018-03-04 15:16:35 +01: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
|
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
|
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 |
Eliot Berriot
|
fd7c1e5dd8
|
Added privacy level for user
|
2018-03-01 20:36:29 +01:00 |
Eliot Berriot
|
691665e3cf
|
Activity stream representations for user and favorites
|
2018-03-01 18:38:32 +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
|
5c2ddc56c4
|
Basic channels middleware for token auth
|
2018-03-01 18:38:31 +01:00 |
Eliot Berriot
|
498aa1137b
|
Initial channels integration
|
2018-03-01 18:38:31 +01:00 |
Eliot Berriot
|
3b6d474d69
|
Changelog and version bump
|
2018-02-28 19:29:31 +01:00 |
Eliot Berriot
|
41404a5988
|
Version bump and changelog
|
2018-02-27 23:10:23 +01:00 |
Eliot Berriot
|
ce45b252cf
|
Merge branch '80-admins' into 'develop'
Fixed #80: Added admin interface for radios, track files, favorites...
Closes #80
See merge request funkwhale/funkwhale!69
|
2018-02-27 22:03:53 +00:00 |
Eliot Berriot
|
e13ac32370
|
Fixed #80: Added admin interface for radios, track files, favorites...
|
2018-02-27 23:01:55 +01:00 |
Eliot Berriot
|
d875f0d070
|
Fixed #82: Basic instance states are now available on /about
|
2018-02-27 22:38:55 +01:00 |
Eliot Berriot
|
62d0381f91
|
Fixed #81: Search now unaccent letters for queries
|
2018-02-27 19:56:02 +01:00 |
Eliot Berriot
|
db4ae18055
|
Fixed #88: Now exclude tracks without file from radio candidates
|
2018-02-27 19:20:55 +01:00 |
Eliot Berriot
|
b5226367a5
|
Fixed broken import because of missing transaction
|
2018-02-27 18:12:23 +01:00 |
Eliot Berriot
|
84d6e22e67
|
Version bump and changelog
|
2018-02-26 21:39:22 +01:00 |
Eliot Berriot
|
8c7e943013
|
Fixed #73: broken file upload
|
2018-02-26 18:27:41 +01:00 |
Eliot Berriot
|
c415d759e4
|
Version bump and changelog
|
2018-02-24 18:07:51 +01:00 |
Eliot Berriot
|
8a657a0a9f
|
Version bump and changelog
|
2018-02-24 15:37:22 +01:00 |
Eliot Berriot
|
cdabb26989
|
Fix #30: added instance preferences for name and descriptions
|
2018-02-24 15:27:51 +01:00 |
Eliot Berriot
|
0ed3f68305
|
Allow login with email or username
|
2018-02-24 14:28:17 +01:00 |
Eliot Berriot
|
a14e0acbe9
|
Correct path for rest auth urls
|
2018-02-24 14:05:27 +01:00 |
Eliot Berriot
|
d1b5895b78
|
Removed now useless REGISTRATION_MODE setting
|
2018-02-24 12:21:02 +01:00 |
Eliot Berriot
|
3dd1a20b68
|
Fix #58: enabling registrations is now done via a preference
|
2018-02-24 12:20:42 +01:00 |
Eliot Berriot
|
dac47da584
|
Import request filter
|
2018-02-22 23:33:59 +01:00 |
Eliot Berriot
|
dcb1915a7b
|
Can now bind batch to request via API
|
2018-02-22 23:33:44 +01:00 |
Eliot Berriot
|
999198b1c5
|
Serialize user with requests
|
2018-02-22 22:01:51 +01:00 |
Eliot Berriot
|
9d5e07872d
|
Removed dead code
|
2018-02-21 00:09:15 +01:00 |
Eliot Berriot
|
98b62caa24
|
Import request viewset, serializer and url
|
2018-02-21 00:09:15 +01:00 |
Eliot Berriot
|
f3d77ef7d9
|
Update request status based on batch status
|
2018-02-21 00:09:15 +01:00 |
Eliot Berriot
|
b492e133c6
|
Job signal to update batch status
|
2018-02-21 00:08:46 +01:00 |
Eliot Berriot
|
8900f5581b
|
ImportRequest factory
|
2018-02-21 00:03:05 +01:00 |
Eliot Berriot
|
3fa7d0009e
|
Initial import request model
|
2018-02-21 00:02:48 +01:00 |
Eliot Berriot
|
24e2555793
|
Added status field to import batch, it's synced based on jobs
|
2018-02-21 00:02:09 +01:00 |
Eliot Berriot
|
15bdf18705
|
logged in api client
|
2018-02-20 23:59:50 +01:00 |
Eliot Berriot
|
1cfdf31e00
|
Can now stream transcoded version of audio tracks \o/
|
2018-02-18 23:49:42 +01:00 |
Eliot Berriot
|
ddea5f1825
|
Now store track file mimetype in database
|
2018-02-18 23:46:15 +01:00 |
Eliot Berriot
|
937c55fdd5
|
Install ffmpeg and magic
|
2018-02-18 22:06:10 +01:00 |
Eliot Berriot
|
a38ca1ede1
|
Version bump and changelog
|
2018-02-18 14:48:38 +01:00 |
Eliot Berriot
|
50af04345b
|
Use webpack dev proxy to serve api/media
|
2018-02-18 14:42:17 +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
|
bb9a614aa7
|
Added raven front dsn and enabled preference
|
2018-02-17 21:31:32 +01:00 |
Eliot Berriot
|
6152b3bb36
|
Added API endpoint for listing public instance settings
|
2018-02-17 21:31:32 +01:00 |
Eliot Berriot
|
e4edf55c47
|
Replaced vue-resource by axios
|
2018-01-11 21:35:51 +01:00 |
Eliot Berriot
|
03364dd0d0
|
Now use taggit from taggit
|
2018-01-09 21:22:05 +01:00 |
Eliot Berriot
|
b5ba6d6205
|
Version bump and changelog
|
2018-01-07 23:08:02 +01:00 |
Eliot Berriot
|
83f3fdddbb
|
Version bump and changelog
|
2018-01-07 22:51:44 +01:00 |
Eliot Berriot
|
56c220275b
|
Version bump and changelog
|
2018-01-07 22:27:34 +01:00 |
Eliot Berriot
|
e7f0c1b88b
|
Views and logic for custom radios
|
2018-01-07 22:21:01 +01:00 |
Eliot Berriot
|
df63252105
|
Models and migrations for custom radios
|
2018-01-07 22:21:01 +01:00 |
Eliot Berriot
|
c7636c9528
|
Now use postgres in tests
|
2018-01-07 22:21:01 +01:00 |
Eliot Berriot
|
a8f775460c
|
Version bump and changelog
|
2017-12-27 23:43:53 +01:00 |
Eliot Berriot
|
0b8f61b25d
|
Version bump and changelog
|
2017-12-27 23:36:42 +01:00 |
Eliot Berriot
|
1c8f055490
|
Brand new file importer
|
2017-12-27 23:32:02 +01:00 |
Eliot Berriot
|
2e616282fd
|
Now use import job everywhere, even for direct file imports
|
2017-12-27 20:30:50 +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
|
7bbb738793
|
Version bump and changelog
|
2017-12-26 21:28:56 +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
|
f1557ac4b9
|
Fixed #57: now refresh jwt token on page refresh
|
2017-12-26 14:47:27 +01:00 |
Eliot Berriot
|
2879021daa
|
Now force tests paths
|
2017-12-24 19:19:00 +01:00 |
Eliot Berriot
|
099cdfa99c
|
Fixed #54: Now use pytest everywhere \o/
|
2017-12-24 19:15:21 +01:00 |
Eliot Berriot
|
79148c0e03
|
Fixed broken django-taggit install
|
2017-12-24 12:28:39 +01:00 |
Eliot Berriot
|
6ad8b212cf
|
Fixed #50: ordering for favorites
|
2017-12-17 20:07:18 +01:00 |
Eliot Berriot
|
04c70116c3
|
See #50: pagination, search and ordering on artist browsing
|
2017-12-17 19:42:58 +01:00 |
Eliot Berriot
|
89fec1f2cc
|
Version bump and changelog
|
2017-12-16 16:37:45 +01:00 |
Eliot Berriot
|
eaf1dec319
|
Docker syntax issue
|
2017-12-16 16:22:46 +01:00 |
Eliot Berriot
|
5ac9d261c1
|
Version bump and changelog
|
2017-12-16 16:15:33 +01:00 |
Eliot Berriot
|
e2ff2a1e02
|
Broken migrations
|
2017-12-16 15:27:42 +01:00 |
Eliot Berriot
|
1b58965e8c
|
Better cache in dockerfile
|
2017-12-16 15:27:42 +01:00 |
Eliot Berriot
|
3396329c19
|
Fixed reverse import in django.urls
|
2017-12-16 15:19:33 +01:00 |
Eliot Berriot
|
e04c0ef4c0
|
Upgraded packages
|
2017-12-16 15:19:32 +01:00 |