Dominik Schmidt
16df4d958e
Use complete RSVP instead of ES6Promise
2015-03-03 22:09:39 +01:00
Thierry Goeckel
d7517d8f6d
Fix typos.
2015-02-06 23:00:20 +01:00
Dominik Schmidt
61ad535909
[tomahawk.js] Don't override all settings passed to Tomahawk.ajax/post if url is passed as first parameter
...
Thanks to Will Stott (@willstott101) for catching the actual bug and finding a typo in
the first version of this commit.
2015-02-06 23:00:20 +01:00
Dominik Schmidt
178f13acba
[tomahawk.js] Make Tomahawk.log suck less in non-Tomahawk envs
2015-02-06 23:00:20 +01:00
Dominik Schmidt
ae4fe0d62a
[tomahawk.js] Add support for serializing GET parameters in Tomahawk.ajax
2015-02-06 23:00:20 +01:00
Dominik Schmidt
78279dc268
[tomahawk.js] Add support for xml responses in Tomahawk.ajax
2015-02-06 23:00:20 +01:00
Dominik Schmidt
940b1044e9
[tomahawk.js] Add Promise resolver adapter
2015-02-06 23:00:20 +01:00
Dominik Schmidt
0ec9823308
Add Tomahawk.ajax as Promise based wrapper around Tomahawk.asyncRequest
2015-02-06 23:00:20 +01:00
Dominik Schmidt
af26750164
Delete promises used in javascript collection comp layer
2015-02-06 23:00:19 +01:00
Dominik Schmidt
1cbae9b957
Add album and tracks view to script collections
2015-02-06 23:00:19 +01:00
Dominik Schmidt
8ac87615c9
Support legacy collection api
2015-02-06 23:00:19 +01:00
Dominik Schmidt
25ba94f183
Port script collections to new script system
2015-02-06 23:00:18 +01:00
Dominik Schmidt
343767f03c
Make function not found message actually useful
2015-02-06 23:00:17 +01:00
Dominik Schmidt
07838afaa6
Port ScriptInfoPlugin to new generic script plugin infrastructure
2015-02-06 23:00:16 +01:00
Dominik Schmidt
132c7d4cd2
Add configTest to ResolverAccounts
2015-02-06 23:00:16 +01:00
Dominik Schmidt
fbc547f882
Add JS debug spam, to be removed later
2015-02-06 23:00:15 +01:00
Dominik Schmidt
b2c3ab8532
Use integers as object ids
2015-02-06 23:00:14 +01:00
Dominik Schmidt
8d15e12973
Handle scripts not returning promises
2015-02-06 23:00:14 +01:00
Dominik Schmidt
507df5317e
Make sure the ScriptJob fails if script does not return an object for a request
2015-02-06 23:00:14 +01:00
Dominik Schmidt
3d4cfa0161
Address simple issues raised in PR
2015-02-06 23:00:13 +01:00
Dominik Schmidt
a59cdbe19f
Implement request / script uuids
2015-02-06 23:00:13 +01:00
Dominik Schmidt
ec3f40718e
Allow registering C++-plugins from JS, make them usable and use the new api in ScriptLinkGeneratorPlugin
2015-02-06 23:00:13 +01:00
Enno Gottschalk
7125ba758f
Added noop Tomahawk.localStorage methods to tomahawk.js
2014-12-17 00:02:55 +01:00
Enno Gottschalk
4fdd86f3bb
Merged changes made to tomahawk.js in tomahawk-android
2014-12-16 19:11:01 +01:00
Dominik Schmidt
91af16fc18
Style and debug spam cleanup
2014-11-17 21:46:40 +01:00
Dominik Schmidt
f8ce2c9108
Add Tomahawk.assert to JS bindings
2014-11-17 21:46:39 +01:00
Dominik Schmidt
d5fab40884
Add JavaScript InfoPlugins
2014-11-17 21:46:38 +01:00
Uwe L. Korn
c64891e3f7
Merge pull request #263 from lorenzhs/js-remove-diacritics
...
JS Resolver API: Add diacritic removal function
2014-09-28 17:48:01 +02:00
Lorenz Hübschle-Schneider
7afaa13698
tomahawk.js: Add missing semicolons and fix indentation
2014-09-28 17:32:14 +02:00
Lorenz Hübschle-Schneider
57f8fd245d
JS Resolver API: Add diacritic removal function
2014-09-28 17:30:24 +02:00
Lorenz Hübschle-Schneider
69b703d8a4
JS Resolver API: Wrap base64 functions
...
Otherwise, we get TypeErrors
2014-08-21 17:41:23 +01:00
Uwe L. Korn
705050aee8
Only call callback if really defined
2014-06-10 16:12:05 +01:00
Uwe L. Korn
fff437d7a3
Add basic metadata scanning for JS Resolvers
2014-06-10 16:01:49 +01:00
Uwe L. Korn
655e63f261
Do a native (Qt) request if the 'Referer' header was supplied
2014-06-06 00:32:32 +01:00
Uwe L. Korn
4e9a088af4
Remove follow redirects hack
...
If we really reach a 302 code in (a)syncRequest this is due not being
given a Location header by the server. This is not an expected behaviour
but an actual error state.
2014-06-05 21:54:07 +01:00
Uwe L. Korn
c0b6785bde
Follow all the redirects
2014-06-02 23:04:48 +01:00
Uwe L. Korn
1fd6b1bc21
Use HTML5 base64 functions2
2014-05-31 14:11:47 +01:00
Uwe L. Korn
f0ea99fc71
Remove QCA usage in JSResolver
2014-05-28 10:57:29 +01:00
Enno Gottschalk
90556ffb1a
Fixed versionCompare and atLeastVersion functions in tomahawk.js
2014-05-04 19:16:31 +02:00
Uwe L. Korn
70085e97f5
Remove unused cryptojs-sha1.js
2014-03-26 22:00:17 +00:00
Uwe L. Korn
f773653c3f
Show correct method in asyncRequest
2014-03-12 22:58:30 +00:00
Uwe L. Korn
282b01092c
Send POST body on asyncRequest
2014-01-26 15:52:36 +00:00
Uwe L. Korn
781f773e1d
Add whole CryptoJS instead of only one part.
2014-01-26 15:52:36 +00:00
Uwe L. Korn
ee9d6e03ad
Add some comments to tomahawk.js
2013-08-25 12:00:54 +02:00
Uwe L. Korn
c0b54f0410
Make tomahawk.js more portable
2013-07-17 18:21:48 +02:00
Uwe L. Korn
12709a47ea
Add API version, add functionality to Tomahawk.*Request
2013-07-16 20:32:23 +02:00
Uwe L. Korn
65e1c530cf
Add TomahawkUrlType
2013-07-08 15:51:44 +02:00
Uwe L. Korn
89a851194e
Consistent coding style (jslint)
2013-07-04 17:22:43 +02:00
Uwe L. Korn
a9bd4e82b4
Correctly load CryptoJS
2013-07-04 17:22:42 +02:00
Uwe L. Korn
0c343a8ad7
Change license from GPL to MIT-style after agreement from all authors
2013-07-04 17:22:42 +02:00