Stein Magnus Jodal
accf018ae8
js: Add concatenated and minified versions of mopidy.js
2012-12-03 00:06:34 +01:00
Stein Magnus Jodal
7f570de239
js: Polyfill console inside our own namespace
2012-12-01 17:18:06 +01:00
Stein Magnus Jodal
b62d4d5374
js: Add console polyfill
2012-12-01 15:06:20 +01:00
Stein Magnus Jodal
e51fbd19fd
Merge branch 'develop' into feature/mopidy.js
2012-12-01 11:36:19 +01:00
Stein Magnus Jodal
ac6cecd2f8
backends: Add BackendListener.on_event()
2012-12-01 11:21:06 +01:00
Stein Magnus Jodal
959bd6cd84
audio: Add AudioListener.on_event()
2012-12-01 11:20:44 +01:00
Stein Magnus Jodal
ec66cae784
tests: Ignore http tests if cherrypy is missing
2012-12-01 10:48:54 +01:00
Stein Magnus Jodal
5422d85f5b
utils: Include ws4py in --list-deps
2012-12-01 09:58:21 +01:00
Stein Magnus Jodal
9ec53bb3b7
utils: Include cherrypy in --list-deps
2012-12-01 09:56:28 +01:00
Thomas Adamcik
1ee2935867
Merge pull request #235 from jodal/feature/http-frontend
...
HTTP/WebSocket frontend
2012-11-30 19:02:08 -08:00
Stein Magnus Jodal
430d604509
http: Revised the HTTP frontend docs
2012-11-30 23:50:55 +01:00
Stein Magnus Jodal
d6a906a723
http: No need to copy dict
2012-11-30 23:15:13 +01:00
Stein Magnus Jodal
2edc884e76
http: Override CoreListener.on_event() instead of the specific event handlers
2012-11-30 22:41:13 +01:00
Stein Magnus Jodal
6238f55ae2
core: Add CoreListener.on_event()
...
The `on_event()` method is called on all events. By default, it forwards the
event to the specific event handler methods. It's also a convenient method to
override if you want to handle all events in one place.
2012-11-30 22:39:37 +01:00
Stein Magnus Jodal
90859c903b
http: Add favicon
2012-11-30 21:57:35 +01:00
Stein Magnus Jodal
0423d5289b
http: Mark security and API stability sections as warnings
2012-11-30 18:26:25 +01:00
Stein Magnus Jodal
3c56f6cbce
js: Use and all over
2012-11-30 12:04:47 +01:00
Stein Magnus Jodal
0e799c2795
js: Formatting
2012-11-30 11:23:48 +01:00
Stein Magnus Jodal
cb9b0f6ba1
js: Simplify configure function
2012-11-30 11:22:13 +01:00
Stein Magnus Jodal
08dcfd56b1
js: Extract configuration function
2012-11-30 11:16:42 +01:00
Stein Magnus Jodal
3045ac0158
js: Add description and params list to API functions
2012-11-30 02:41:39 +01:00
Stein Magnus Jodal
44ad69d7c4
core: Add missing getter method
2012-11-30 02:27:01 +01:00
Stein Magnus Jodal
fc9ab6053a
js: Make backoff delay limits settings
2012-11-30 02:18:08 +01:00
Stein Magnus Jodal
12f60f3a52
js: Add fully working core API in JavaScript
2012-11-30 02:05:40 +01:00
Stein Magnus Jodal
6face51e52
js: Have 'grunt watch' concat and minify as well
2012-11-30 02:04:28 +01:00
Stein Magnus Jodal
71f26260d3
js: Add header to bane
2012-11-29 00:50:05 +01:00
Stein Magnus Jodal
6a19d379ff
js: Add PhantomJS installation to readme
2012-11-29 00:45:36 +01:00
Stein Magnus Jodal
0a84763526
js: Add readme
2012-11-29 00:41:06 +01:00
Stein Magnus Jodal
defc44b747
js: Add empty source and test files
2012-11-29 00:21:16 +01:00
Stein Magnus Jodal
a539006d8b
js: Add Function.prototype.bind polyfill to make PhantomJS 1.6 happy
2012-11-29 00:20:17 +01:00
Stein Magnus Jodal
ceb71b40a1
js: Add when 1.6.1 for Promise support
2012-11-29 00:19:41 +01:00
Stein Magnus Jodal
2268a347a0
js: Add bane 0.3.0 for event handling
2012-11-29 00:19:21 +01:00
Stein Magnus Jodal
01c972fd85
js: Add Grunt build config
2012-11-29 00:18:40 +01:00
Stein Magnus Jodal
2352dc8a03
js: Add Buster.js test config
2012-11-29 00:18:21 +01:00
Stein Magnus Jodal
924dae4628
js: Ignore node_modules dirs
2012-11-29 00:16:05 +01:00
Stein Magnus Jodal
0b9ee92edb
local: Change log level from error to warning
2012-11-28 21:14:44 +01:00
Stein Magnus Jodal
bc151b32a7
http: Rewrite example to avoid jQuery use
2012-11-28 19:42:34 +01:00
Stein Magnus Jodal
df6df5b46a
http: Minor HTML/CSS tweaks
2012-11-28 19:35:17 +01:00
Stein Magnus Jodal
67c92ceab9
http: Move resource details to /mopidy/ page
2012-11-28 19:19:06 +01:00
Stein Magnus Jodal
c1e60ba378
http: Add /mopidy/ static dir that is always available
2012-11-28 19:18:13 +01:00
Stein Magnus Jodal
96a31adf63
http: Use CSS file from mopidy.com
2012-11-28 19:17:46 +01:00
Stein Magnus Jodal
b4ad0b0830
http: Move WebSocket to /mopidy/ws/
2012-11-28 15:59:08 +01:00
Stein Magnus Jodal
b1fe802473
http: Doc API instability
2012-11-28 15:21:53 +01:00
Stein Magnus Jodal
f7eaa48868
http: Doc WebSocket messaging formats
2012-11-28 15:21:38 +01:00
Stein Magnus Jodal
27291c8fac
http: Doc security considerations
2012-11-28 15:21:13 +01:00
Stein Magnus Jodal
37164c6b04
http: Remove empty test file for the WebSocket
...
All the logic has been moved into mopidy.utils.jsonrpc, and all that remains of
mopidy.frontends.http.ws is simple wiring that isn't worth testing.
2012-11-27 23:25:16 +01:00
Stein Magnus Jodal
6a0e9aa69c
spotify: Playlist refresh hack should not be active after first run
2012-11-26 15:22:31 +01:00
Stein Magnus Jodal
69ede85959
tests: Exception messages on 2.6 and 2.7 differs
2012-11-25 23:24:04 +01:00
Stein Magnus Jodal
961fce13e5
tests: Make it work on Python 2.6 (try 2)
2012-11-25 23:04:09 +01:00
Stein Magnus Jodal
42981b94b6
tests: dict comp. is not supported in Python 2.6
2012-11-25 22:16:46 +01:00