1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-01-18 15:08:03 +01:00

105 Commits

Author SHA1 Message Date
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
Uwe L. Korn
f542631337 Replace CC-BY-UK-2.0 licensed with New BSD licensed sha256 code 2013-07-04 17:22:42 +02:00
Uwe L. Korn
03e4570452 Add UrlLookup functionality to JSResolvers 2013-07-01 11:55:22 +02:00
Teo Mrnjavac
13b5a3c911 Added proper ScriptCollection items, with delegate.
Showing collection info.
2013-02-17 13:27:24 +01:00
Teo Mrnjavac
0077ca5c8d Instead of getting statically defined capabilities at resolver startup,
have resolvers report their actual capabilities as soon as they know
for sure they have them.
2013-02-07 20:35:09 +01:00
Teo Mrnjavac
cb7c646c2f Added artists/albums/tracks support in tomahawk.js 2013-02-04 14:22:33 +01:00
Teo Mrnjavac
43ae736d61 Add capabilities support to ScriptResolver and QtScriptResolver. 2013-02-04 14:22:32 +01:00
Teo Mrnjavac
1ab26bba24 Add license header to Tomahawk.js, attribution from git blame and log. 2013-01-26 10:16:38 +01:00
Leo Franchi
251200d9cd Add extra header support to Tomahawk.asyncRequest 2012-08-27 11:53:55 -04:00
Christian Muehlhaeuser
c3e8420b57 * Removed PhantomJS warning from tomahawk.js. 2011-12-14 17:05:38 +01:00
Leo Franchi
0504bec81d Add a Tomahawk.asyncRequest for async calls, ALL RESOLVERS SHOULD USE THIS 2011-09-14 22:29:05 -04:00
Leo Franchi
8ed476ccf6 Add QCA2 as an optional dep to tomahawk as well for HMAC signature generation for resolvers
Also add a helper JS function
2011-08-29 10:49:52 -04:00
Dominik Schmidt
4f24e9c5f8 Add some aliases to tomahawk.js 2011-08-14 14:37:16 +02:00