Stein Magnus Jodal
225f41f999
js: Add by-position-or-by-name calling convention
...
Fixes #699
2014-06-18 23:27:07 +02:00
Stein Magnus Jodal
149287c06a
js: Don't include params if method is called without arguments
2014-06-18 22:22:42 +02:00
Stein Magnus Jodal
858a6977df
js: Add callingConvention setting
...
For now it defaults to the existing behavior "by-position-only" and changing it
has no effect.
2014-06-17 20:57:55 +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
ca7d269dd6
docs: New way of toggling the Debian system service
...
(cherry picked from commit 6030807120 )
2014-05-25 23:13:58 +02:00
Stein Magnus Jodal
6030807120
docs: New way of toggling the Debian system service
2014-05-25 23:13:44 +02:00
dz0ny
26fbcff2f0
Fix: Screenshot size
...
(cherry picked from commit d6ddd4a1bd )
2014-05-25 22:57:35 +02:00
dz0ny
5860b9bf83
Update screenshot for Lux
...
(cherry picked from commit 40aaa915cb )
2014-05-25 22:57:27 +02:00
Stein Magnus Jodal
f2625c2181
docs: Fix typo
...
(cherry picked from commit 0bb83d79a5 )
2014-05-25 22:56:57 +02:00
Stein Magnus Jodal
4785bdceb9
docs: Prefer echo ... | sudo tee ... over su -c ...
...
(cherry picked from commit b5c6af8d96 )
2014-05-25 22:56:32 +02:00
Stein Magnus Jodal
5febe8f2e8
docs: Document proxy/{schema,port}
...
(cherry picked from commit 902064de73 )
2014-05-25 22:56:22 +02:00
Stein Magnus Jodal
26343434c7
docs: Update pip command for installing dev version
...
(cherry picked from commit 211c4e9248 )
2014-05-25 22:56:05 +02:00
Stein Magnus Jodal
98689037d8
docs: Fix typo
...
(cherry picked from commit e323afb427 )
2014-05-25 22:55:55 +02:00
Stein Magnus Jodal
7c05161fd4
docs: Remove link to outdated Vagrant image
...
(cherry picked from commit 25e1aeb417 )
2014-05-25 22:55:36 +02:00
Stein Magnus Jodal
ce2f3786a2
docs: Remove client screenshot to not grow packages with 3.5MB
...
(cherry picked from commit b587b47e86 )
2014-05-25 22:55:01 +02:00