satreix
873d1fac94
pepx: fix e124 and e125
2016-04-09 00:13:49 -07:00
satreix
72b764cc51
pep: fix e502
2016-02-26 19:25:21 +01:00
Jamie Magee
327585327f
pep8, pyflakes, and pylint suggested fixes
2015-11-27 13:55:11 +01:00
Bas Stottelaar
6f91694d51
Check if pyOpenSSL is installed before enabling HTTPS.
...
Previous, it is only checked if pyOpenSSL is installed when certificates are
generated. Now, it is checked when HTTPS is enabled. In case it is missing,
HTTPS will be disabled.
2014-11-12 22:53:22 +01:00
Jesse Mullan
561b6303bc
Fix spaces after a semicolon
2014-11-01 16:26:16 -07:00
Jesse Mullan
b7abdf1973
Fix E201,E202,E211,E241,E303 whitespace issues
2014-11-01 16:23:38 -07:00
Jesse Mullan
5a4bff5be8
autopep8 E301,E302,E303 too many / too few blank lines
2014-10-27 10:56:43 -07:00
Jesse Mullan
3ff09aeb46
autopep8 E231 whitespace after some punctuation
2014-10-27 10:53:47 -07:00
Jesse Mullan
80d0c6d430
Rename headphones.CFG to headphones CONFIG
2014-10-25 11:40:56 -07:00
Jesse Mullan
d76fce8cbc
Merge remote-tracking branch 'upstream/develop' into feature/refactor_config
...
Conflicts:
headphones/__init__.py
headphones/searcher.py
headphones/webserve.py
2014-10-22 10:02:18 -07:00
Bas Stottelaar
bea7022b4c
Upgrade autoreload setting
2014-10-20 21:48:17 +02:00
Jesse Mullan
8fbef76dc0
Merge remote-tracking branch 'upstream/develop' into feature/refactor_config
2014-10-20 00:13:02 -07:00
andrenam
14c6f68fb7
- upgrade cherrypy to version 3.6.0
...
- dont't pass unicode hostname to cherrypy (see cherrypy-issue #1285 ,
https://bitbucket.org/cherrypy/cherrypy/issue/1285/n-must-be-a-native-str-got-unicode )
2014-10-14 02:43:55 +02:00
Jesse Mullan
0ffbd7824d
Saving the config appears to work again
2014-10-09 10:51:03 -07:00
Bas Stottelaar
8ec1808313
Another batch of improvements:
...
* Prefer 'with' statements for open
* Catch proper exceptions
* Remove ex() method, there was only one use and we catch thousands of exceptions.
2014-09-14 23:14:29 +02:00
Bas Stottelaar
9f92b3b774
Improved Headphones.py
2014-09-03 14:54:30 +02:00
Bas Stottelaar
9d774b4486
Improved webstart.py
...
* Exit with code 1 on port in use
* Log when authentication is enabled
* Cleanup of code
2014-09-03 14:54:30 +02:00
Bas Stottelaar
163e1e3f2e
Removed simplejson since that is Python 2.5
2014-09-03 14:54:30 +02:00
David
0c61eb11f5
Dropping trailing whitespaces
2014-08-06 12:46:26 +02:00
Bas Stottelaar
2add9fa264
First attempt to replace logger methods with lazy evaluating version
...
Forgot to format the message
2014-04-04 15:06:04 +02:00
rembo10
482cb68bd6
Fixed up some bugs/bad imports, added lib/certgen
2013-08-24 09:51:58 +05:30
rembo10
0a000342c1
Turn off basic_auth for /api if using username & password
2012-11-01 11:41:58 -04:00
Patrick Speiser
27d606dbf8
Fix for Issue #533 should have been included in the big merge but i seem to have accidentally reverted it some time ago
2012-10-05 03:16:27 +02:00
Patrick Speiser
1b4669bb2f
Stop cherrypy from complaining about a relative favicon path
2012-09-28 18:03:52 +02:00
rembo10
26a5be9e61
Make proxy tools optional (disabled by default
2012-08-12 19:46:01 +05:30
Ben Graham
8ce64e551e
OK, so that turned out to be easier than I expected
2012-08-02 17:16:28 +10:00
rembo10
9866f8b4ea
Serve cached content up through cherrypy. Images/info files available through 'cache/{artwork,info}/<mbid>.<date>.<ext>'
2012-06-22 17:13:37 +05:30
rembo10
20bd6ae35f
GPL v3
2012-06-19 13:02:12 +05:30
rembo10
a3f6d90f74
CoSome general cleanup. Converted all tabs to spaces for consistency, removed templates.py as it was no longer being used
2012-06-19 12:46:44 +05:30
rembo10
108b732cfe
Basic api structure in place, removed the static api files - moved to a class in api.py'
2012-03-26 23:27:49 +01:00
rembo10
115bbdeb9a
Use single file instead of directory with commands
2012-03-26 15:06:50 +01:00
rembo10
e4a53babc5
Fixed headphones.API variable, added api key generator, added config option
2012-03-26 14:57:49 +01:00
rembo10
128f17c66c
Initial work on the api - backend stuff to allow api as a config option
2012-03-25 13:35:36 +01:00
Remy
ee3326e502
Took out utf-8 encoding in cherrypy webstart, merged pablos changes
2011-08-18 13:31:56 -07:00
Remy
774d7643b7
Fixed some unicode stuff, added SYS_ENCODING, changed log messages on library sync, fixed typo in importer if no matches from MB;
2011-08-17 19:24:03 -07:00
Remy
07ffe8691c
Added interfaces to staticdir in webstart, searcher excludes Various Artists from search (also cleaned up term encoding), default usenet retention in postprocessor/preprocess
2011-08-09 21:02:47 -07:00
Remy
75ba22ebdd
Some more big changes: no more 503 errors, add as many artists as you want at the same time, no more DB is locked errors, no more chinese/japanese results in the searches, version number displayed at the bottom, add artists while importing, some other stuff
2011-07-16 02:25:57 -07:00
Remy
4971a67698
Big Update: Automatic updating, Show what albums/songs you already have, Config fixes, Fixed restart & shutdown buttons
2011-07-13 22:46:43 -07:00