Stein Magnus Jodal
cbb68f9cbe
docs: Bind console functions in JS examples
...
For e.g. ``console.log`` to be used as a callback, it must be bound to the
``console`` object first: ``console.log.bind(console)``. If not, this will
cause "Illegal invocation" errors in WebKit browsers.
This change updates all our Mopidy.js examples to bind ``console`` functions
before they are used as callbacks.
Fixes #298 .
2013-01-03 23:18:56 +01:00
Stein Magnus Jodal
a084105898
docs: Use requirement files as single source of dependencies
2012-12-15 23:07:29 +01:00
Stein Magnus Jodal
0c6de005a0
docs: Fix typo
2012-12-13 02:07:24 +01:00
Stein Magnus Jodal
daa56e6567
docs: Fix typo
2012-12-13 02:06:05 +01:00
Stein Magnus Jodal
fe2adfae73
docs: Fix syntax error in example
2012-12-13 02:02:16 +01:00
Stein Magnus Jodal
b14c89dbf1
js: Make connect() public, and document autoConnect/connect()
2012-12-04 13:23:43 +01:00
Stein Magnus Jodal
68a6f2f8aa
js: Doc how to clean up after Mopidy.js
2012-12-04 09:23:32 +01:00
Stein Magnus Jodal
8d3fd46808
js: Add close() method to close WebSocket without reconnecting
2012-12-04 09:18:34 +01:00
Stein Magnus Jodal
b807c38b01
js: Upgrade BANE to 0.4
2012-12-04 09:04:16 +01:00
Stein Magnus Jodal
126b7815d0
js: Document parameter handling
2012-12-03 23:08:40 +01:00
Stein Magnus Jodal
ddd3d6ba98
js: 'params' and 'description' is from the Python API
2012-12-03 23:05:25 +01:00
Stein Magnus Jodal
d860ab0ae0
js: Document behavior on calls when we're offline
2012-12-03 23:02:24 +01:00
Stein Magnus Jodal
b5c5bcd645
js: Fix grammatical error
2012-12-03 22:59:01 +01:00
Stein Magnus Jodal
dd9f0497ea
js: Document Mopidy.js usage
2012-12-03 00:06:44 +01:00
Stein Magnus Jodal
accf018ae8
js: Add concatenated and minified versions of mopidy.js
2012-12-03 00:06:34 +01: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
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
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
c1bf69f732
http: Expose core API using JSON-RPC over WebSocket
2012-11-25 08:53:04 +01:00
Stein Magnus Jodal
db5c671bd4
http: Remove the REST API
2012-11-21 02:10:32 +01:00
Stein Magnus Jodal
968de84b93
http: Broadcast all events over the WebSocket
2012-11-18 19:02:36 +01:00
Stein Magnus Jodal
d8a1a1205b
http: Log content of incoming WebSocket messages
2012-11-18 18:36:05 +01:00
Stein Magnus Jodal
fd47d19ff4
http: Bundle jQuery
2012-11-18 18:31:49 +01:00
Stein Magnus Jodal
02360ae9c0
http: Move static files to its own dir
2012-11-18 18:27:50 +01:00
Stein Magnus Jodal
97ca863c5d
http: Pass core to WebSocket handler
2012-11-16 22:35:00 +01:00
Stein Magnus Jodal
df4d7cd4c9
http: Update to use unicode literals and not cause warnings with flake8
2012-11-16 22:34:36 +01:00
Stein Magnus Jodal
e1ef73f517
Merge branch 'develop' into feature/http-frontend
2012-11-14 09:35:19 +01:00
Stein Magnus Jodal
1d14740a66
http: Show incoming WebSocket messages on the placeholder page
2012-11-11 20:13:20 +01:00
Stein Magnus Jodal
0fc0b4b1ef
http: Don't build almost the same dict twice
2012-11-11 19:13:15 +01:00
Stein Magnus Jodal
86e0eff21d
http: Extend player resource, add tracklist and playlists resources
2012-11-10 20:57:18 +01:00
Stein Magnus Jodal
5458c1271f
http: Switch to HTTP method dispatcher for /api
2012-11-09 14:52:46 +01:00
Stein Magnus Jodal
9d2732703d
http: Serve placeholder index.html when no STATIC_DIR set
2012-11-09 14:52:28 +01:00
Stein Magnus Jodal
a2259fad57
http: Add static files hosting
2012-11-09 14:23:26 +01:00
Stein Magnus Jodal
256c5a8179
http: Document existence of the new frontend
2012-11-09 14:23:26 +01:00
Stein Magnus Jodal
9b90e64dfb
http: Move frontend actor to new module
2012-11-09 14:23:26 +01:00
Stein Magnus Jodal
92dc974028
http: Move web service code to new module
2012-11-09 14:23:26 +01:00
Stein Magnus Jodal
37ab7c766d
http: Move web socket code to new module
2012-11-09 14:23:26 +01:00
Stein Magnus Jodal
5b8f391bc7
http: Exit CherryPy engine properly
2012-11-09 14:23:26 +01:00
Stein Magnus Jodal
e41f9e3871
http: Working WebSockets which emits playback state changes
2012-11-09 14:23:26 +01:00