1
0
mirror of https://github.com/spl0k/supysonic.git synced 2024-11-14 22:22:18 +00:00
Commit Graph

775 Commits

Author SHA1 Message Date
spl0k
c947219f59 Web UI user section: validation 2017-11-24 19:19:24 +01:00
spl0k
0353a8a1bc Web UI user section: factoring some usual validation with a decorator 2017-11-22 23:11:58 +01:00
spl0k
b7e9914246 Web UI: split GET and POST handlers 2017-11-22 22:39:54 +01:00
spl0k
b998bb0684 Web UI: reworked how data is passed to templates
Logged user is pushed in request data
No more 'username' session key
Small fixes along the way
2017-11-22 22:07:06 +01:00
spl0k
9a58d067ab Added playlists management tests 2017-11-20 21:33:38 +01:00
spl0k
79613aed84 Increased managers tests coverage 2017-11-20 21:32:35 +01:00
spl0k
1488f29e9f Fixed playlist related errors 2017-11-20 21:31:10 +01:00
spl0k
be47a259a8 Added folder management UI tests 2017-11-19 17:49:31 +01:00
spl0k
2cf6d01489 Test architecture unifying 2017-11-17 23:26:25 +01:00
spl0k
74ce600e03 Updated getMusicFolders test 2017-11-17 20:00:26 +01:00
spl0k
fd52a04535 Media retrieval (minus transcoding) tests 2017-11-17 19:56:14 +01:00
spl0k
aac5ee6936 Small None-formatting / mimetype fix (and (c) dates) 2017-11-17 19:46:35 +01:00
spl0k
1cf44d1d1d star/unstar/rating/scrobble tests
The `scrobble` test is skipped, it passes but causes some weird
error on exit.
2017-11-14 23:19:54 +01:00
spl0k
da857b9ceb Reworked star/unstar error handling
Don't stop at the first error anymore, instead treat all provided ids
Potential errors are aggregated, if there's only one it is returned
as-is, if there are more they are all nested in a top-level error whose
code is 0 if there are different error codes, or their value if all
error codes are the same.
This error-nesting doesn't validate against the XSD, but the Subsonic
API gives absolutely no information on how errors should be handled.
And reverse-engineering is not in my line of work
2017-11-14 23:16:58 +01:00
spl0k
5084c745dc Listing endpoints tests 2017-11-11 00:13:18 +01:00
spl0k
c709fa7e29 Better errors on listings 2017-11-11 00:12:10 +01:00
spl0k
27bd7bce0c Added playlist tests 2017-11-08 23:21:52 +01:00
spl0k
336f556ced Improved playlists error handling 2017-11-08 23:18:41 +01:00
spl0k
6f713e12db Added tests for search and chat 2017-11-03 23:15:48 +01:00
spl0k
0602bed2e8 Fixed error in old search and handled newerThan parameter 2017-11-03 23:14:39 +01:00
spl0k
b20c151765 Prevent server error when browsing on tracks that have been deleted 2017-11-03 23:12:38 +01:00
spl0k
d19886fafa Rewritten and improved existing tests 2017-11-01 20:55:35 +01:00
spl0k
d8c3b9fa88 User management error code tweaks 2017-11-01 20:52:59 +01:00
spl0k
8a14ef496d Added tests on API auth, format and such 2017-10-29 16:08:00 +01:00
spl0k
7de57cb680 Small API content-type and error codes adjustments 2017-10-29 16:00:39 +01:00
spl0k
8f5fcc82f5 Response formatting tests 2017-10-28 21:18:34 +02:00
spl0k
955a678df3 Improved existing managers tests 2017-10-28 15:54:41 +02:00
spl0k
033a86381b Removed password decoding from UserManager
Decode only when passwords are coming from API query parameters
2017-10-28 12:41:34 +02:00
spl0k
7effd3aee5 Untabbify 2017-10-28 12:23:31 +02:00
spl0k
fa4b1eca84 A bit of sorting 2017-10-28 11:42:46 +02:00
spl0k
ea8d2baa14 More data model tests 2017-10-27 21:42:36 +02:00
spl0k
ba70d0aadb Renamed test module 2017-10-26 23:17:37 +02:00
spl0k
b04c23ea77 More tests 2017-10-26 23:16:20 +02:00
spl0k
4c6cb99833 Adding some tests... 2017-10-26 21:52:13 +02:00
spl0k
06ac60a677 Added trove classifiers 2017-10-25 22:15:14 +02:00
spl0k
4eb7386c99 Playlists improvements
They don't mess up the the track order anymore
A same track can now be added more than once to a playlist

Closes #61
2017-10-22 22:05:17 +02:00
spl0k
4d3809a835 Return a correct error when the client parameter isn't supplied 2017-10-16 19:57:09 +02:00
spl0k
534a6de4a0 Slightly improved API responses 2017-10-16 19:49:29 +02:00
spl0k
da4cde77e1 Fix for cache folder set as relative path 2017-10-14 14:25:32 +02:00
spl0k
62bcce331a Dropped python-daemon and its daemon-runner wrapper
This makes the watcher persisting with the terminal, breaking
installs using it as a initd/sysV daemon. The watcher currently
doesn't print anything on standard output or standard error.

Closes #39, #72
2017-10-08 16:22:04 +02:00
spl0k
81609be7ce Untabify watcher 2017-10-08 12:40:49 +02:00
spl0k
68aaf145ad Merge branch 'scanner_daemon' 2017-10-08 12:30:16 +02:00
spl0k
40da0b5b0d Improved command line scanner progress display 2017-09-12 20:02:19 +02:00
Alban
a7d2e28e0c Merge pull request #71 from ogarcia/os_fix
Fix small issue with makedirs import
2017-08-16 23:11:13 +02:00
Óscar García Amor
76b55a7fe7 Fix small issue with makedirs import 2017-08-15 17:35:26 +02:00
spl0k
10ca91bd6f Fixed potential issue when trying to delete a user 2017-08-08 19:19:33 +02:00
spl0k
7f736c240b Merge remote-tracking branch 'ogarcia/config' 2017-08-08 19:04:16 +02:00
Óscar García Amor
7fe88d4670 Set some imports in one line 2017-08-08 10:56:42 +02:00
Óscar García Amor
a1619dd96a Improve config.py to read file only in check 2017-08-08 10:37:22 +02:00
Óscar García Amor
09ce5ae455 Update tests to check UTF-8 passwords 2017-08-07 14:37:05 +02:00