Stein Magnus Jodal
5484abf3da
docs: Add ncmpcpp library view slowness workaround
...
Based on comments in #727 .
2014-06-19 23:08:39 +02:00
Stein Magnus Jodal
198bd8af6c
js: Use .catch() to simplify error handling
2014-06-17 20:41:35 +02:00
Stein Magnus Jodal
9ed17b222a
js: Test existing call convention
2014-06-17 20:26:45 +02:00
Stein Magnus Jodal
6864cc97ea
docs: Improve Mopidy.js promise usage examples
...
Thanks to @briancavalier for the review!
2014-06-16 23:46:17 +02:00
Stein Magnus Jodal
3cf1973652
docs: Fix typo
2014-06-16 23:45:52 +02:00
Stein Magnus Jodal
d9d8d06ff4
js: Release Mopidy.js v0.3.0
2014-06-16 23:11:39 +02:00
Stein Magnus Jodal
64d39f98d3
js: Update package.json with all recommended fields
2014-06-16 23:11:15 +02:00
Stein Magnus Jodal
785c469ec4
js: Include package version in built files
2014-06-16 23:10:39 +02:00
Thomas Adamcik
af238d5259
Merge pull request #744 from jodal/feature/js-updates
...
Various updates to Mopidy.js
2014-06-16 22:26:29 +02:00
Stein Magnus Jodal
fa8f2652df
docs: Nitpicking
2014-06-16 00:42:21 +02:00
Stein Magnus Jodal
681c2d1560
docs: Improve Mopidy.js Promise usage examples
2014-06-16 00:39:38 +02:00
Stein Magnus Jodal
76d13b6efd
docs: Document Mopidy.js settings ( fixes #702 )
2014-06-16 00:38:40 +02:00
Stein Magnus Jodal
13205bee5f
js: Connect to /mopidy/ws without trailing slash
...
This is the recommended URL since the switch to Tornado as web server.
2014-06-15 23:43:44 +02:00
Stein Magnus Jodal
ee9d19fc6e
js: Fix unhandled promise rejection in test
2014-06-15 23:43:44 +02:00
Stein Magnus Jodal
30471bab74
js: Add ServerError and ConnectionError types
2014-06-15 23:43:43 +02:00
Stein Magnus Jodal
026fdb38a3
js: Reject promises using Error objects
...
This is recommended to get proper stack traces, according to
https://github.com/cujojs/when/blob/master/docs/api.md#a-note-on-javascript-errors .
The new Error objects has the exact same properties as the objects we used to
reject promises previously, thus this should be fully backwards compatible, but
improve debuggability.
2014-06-15 23:43:39 +02:00
Stein Magnus Jodal
4a609ce95d
js: Add TODOs for rejecting promises with Error
...
This is recommended to get proper stack traces, according to
https://github.com/cujojs/when/blob/master/docs/api.md#a-note-on-javascript-errors
2014-06-15 12:31:52 +02:00
Stein Magnus Jodal
cb04b81bf4
js: Simplify _send() rejections
2014-06-15 12:16:39 +02:00
Stein Magnus Jodal
eec51a1e83
js: Upgrade to when.js 3
2014-06-15 12:14:14 +02:00
Stein Magnus Jodal
c40c70a90b
js: Update dev dependencies
2014-06-15 10:16:39 +02:00
Stein Magnus Jodal
0167986b98
js: Pass grunt-browserify errors on
2014-06-15 10:12:23 +02:00
Stein Magnus Jodal
7b71e64553
js: Update test deps
2014-06-12 20:52:53 +02:00
Stein Magnus Jodal
6cbb15bd15
js: Update dev env instructions
2014-06-12 20:47:15 +02:00
Janez Troha
5cd685285b
Add: More detailed icecast example
2014-06-06 14:39:49 +02:00
Stein Magnus Jodal
05f6b424ef
commands: Fix typo
2014-06-05 09:20:41 +02:00
Stein Magnus Jodal
67b88b6992
docs: Add web app section to extensiondev guide
2014-06-04 21:58:03 +02:00
Stein Magnus Jodal
720a403439
http: Remove unused Router class
2014-06-04 21:32:54 +02:00
Stein Magnus Jodal
33228f2528
http: Simplify app registration
2014-06-04 21:32:19 +02:00
Stein Magnus Jodal
b6ab29eed4
http: Remove unused code
2014-06-04 21:02:33 +02:00
Stein Magnus Jodal
d13194dfa4
http: Remove static file serving from the Router
2014-06-04 20:55:28 +02:00
Stein Magnus Jodal
eea6138b3d
http: Simplify static files serving
2014-06-04 20:47:49 +02:00
Stein Magnus Jodal
8e4fa48768
http: Fix reference to old config name
2014-06-03 00:42:35 +02:00
Stein Magnus Jodal
0e7c76db2e
docs: Fix error
2014-06-03 00:42:24 +02:00
Stein Magnus Jodal
325ea976d8
docs: Add examples of using core from Tornado/WSGI
2014-05-30 22:52:46 +02:00
Stein Magnus Jodal
3354750921
docs: Add HTTP router docs
...
These docs reflects the current API usage.
I have plans to simplify the API, but I want to try out my ideas in
documentation first, so I need docs for existing API to have a starting point.
2014-05-30 16:13:13 +02:00
Nick Steel
a396387e10
Capital M for Mopidy
2014-05-26 13:38:24 +01:00
Nick Steel
15f9f78167
Link to Debian system service page in final step
2014-05-26 13:33:03 +01:00
Stein Magnus Jodal
6030807120
docs: New way of toggling the Debian system service
2014-05-25 23:13:44 +02:00
Stein Magnus Jodal
3422bad8db
docs: Support linking to Pykka API docs
2014-05-25 08:46:22 +02:00
Stein Magnus Jodal
5526a500ab
http: Rename variable
2014-05-22 21:03:42 +02:00
Stein Magnus Jodal
d03988e1f5
http: Update docs todos
2014-05-22 21:03:42 +02:00
Stein Magnus Jodal
684a64405d
http: Move MopidyHttpRouter into handlers module
2014-05-22 21:03:42 +02:00
Stein Magnus Jodal
252eb4d735
http: Adjust log level
2014-05-22 20:47:49 +02:00
Stein Magnus Jodal
345bf5b418
http: Fix docs links
2014-05-21 00:43:56 +02:00
Stein Magnus Jodal
1223103e8f
http: Test that routers can mount WSGI apps
2014-05-21 00:38:38 +02:00
Stein Magnus Jodal
fe9a126a2a
http: Enforce router's URL namespace
2014-05-20 23:53:26 +02:00
Stein Magnus Jodal
4b383c1762
http: Move Mopidy request handlers to a MopidyHttpRouter
2014-05-20 23:49:22 +02:00
Stein Magnus Jodal
5d1f8f2203
http: Give routers access to the core API
2014-05-20 23:30:49 +02:00
Stein Magnus Jodal
b1d9e112fe
http: Change registry key to match docs
2014-05-20 23:09:59 +02:00
Stein Magnus Jodal
5897675eab
http: Split tests into three files
2014-05-20 23:07:28 +02:00