Dominik Schmidt
|
6c63b177f9
|
Remove obsolete JSAccount::name() (it's in ScriptAccount already)
|
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
|
0a9811774c
|
Fix scriptcollection showing when resolver isn't enabled
|
2015-02-06 23:00:19 +01:00 |
|
Dominik Schmidt
|
bf3c5d4952
|
Properly handle online state for database and scriptcollections
|
2015-02-06 23:00:19 +01:00 |
|
Dominik Schmidt
|
3b06ff7781
|
Fix regression: Make view mode selectors for database collections show again
|
2015-02-06 23:00:19 +01:00 |
|
Dominik Schmidt
|
34fadd0a0b
|
Cleanup
|
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
|
893a0df845
|
Port ScriptInfoPlugins to ScriptPluginFactory
|
2015-02-06 23:00:19 +01:00 |
|
Dominik Schmidt
|
dfbd7660d0
|
Don't let the InfoSystem take over ownership of info plugins
|
2015-02-06 23:00:19 +01:00 |
|
Dominik Schmidt
|
f7f4901bbe
|
Update collection metadata when reregistering it
|
2015-02-06 23:00:18 +01:00 |
|
Dominik Schmidt
|
40c499303e
|
Fix unregistering plugins from ScriptPluginFactory
|
2015-02-06 23:00:18 +01:00 |
|
Dominik Schmidt
|
551949a07f
|
Create ScriptPluginFactory template and port ScripCollection
|
2015-02-06 23:00:18 +01:00 |
|
Dominik Schmidt
|
25ba94f183
|
Port script collections to new script system
|
2015-02-06 23:00:18 +01:00 |
|
Dominik Schmidt
|
2455d5f12d
|
Remove old way of registering collections
|
2015-02-06 23:00:18 +01:00 |
|
Dominik Schmidt
|
df9a835c81
|
Don't use ScriptCommand queue for Artist, Album and Track scriptcommands
|
2015-02-06 23:00:18 +01:00 |
|
Dominik Schmidt
|
ea42bd1d18
|
Use collection icon interface properly
|
2015-02-06 23:00:18 +01:00 |
|
Dominik Schmidt
|
5de7afd461
|
Ununfnord
|
2015-02-06 23:00:18 +01:00 |
|
Dominik Schmidt
|
8d4a6c814e
|
Make it more obvious that a result can come from a resolver or a collection
|
2015-02-06 23:00:18 +01:00 |
|
Dominik Schmidt
|
5d322c12cb
|
Add ResultProvider baseclass for Collections and Resolvers
|
2015-02-06 23:00:17 +01:00 |
|
Dominik Schmidt
|
55fa633dad
|
Let collections store their shared ptrs
|
2015-02-06 23:00:17 +01:00 |
|
Dominik Schmidt
|
ddb2484ad7
|
Pass around scriptobject_ptr instead of ScriptObject*
|
2015-02-06 23:00:17 +01:00 |
|
Dominik Schmidt
|
e88f57839a
|
Unfnord
|
2015-02-06 23:00:17 +01:00 |
|
Dominik Schmidt
|
343767f03c
|
Make function not found message actually useful
|
2015-02-06 23:00:17 +01:00 |
|
Dominik Schmidt
|
c840dbbf78
|
Remove script objects automatically from ScriptAccount when they are deleted
|
2015-02-06 23:00:17 +01:00 |
|
Dominik Schmidt
|
3c1e1ea35c
|
Remove info plugins automatically from InfoSystemWorker when they are deleted
|
2015-02-06 23:00:17 +01:00 |
|
Dominik Schmidt
|
de3cde4a38
|
Store scriptObject in a QPointer in ScriptPlugin
|
2015-02-06 23:00:17 +01:00 |
|
Dominik Schmidt
|
96a601d16f
|
Delete ScriptInfoPlugin if underlying ScriptObject dies
|
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
|
5e5ff7938a
|
Rename JSInfoPlugin to ScriptInfoPlugin
|
2015-02-06 23:00:16 +01:00 |
|
Dominik Schmidt
|
df4abb1ef1
|
Allow plugins to enforce reloading of the resolver, to invalidate old results
|
2015-02-06 23:00:16 +01:00 |
|
Dominik Schmidt
|
3b2ac21dbf
|
Remove script collections before trying to add a new collection. If latter fails no invalid collections are removed
|
2015-02-06 23:00:16 +01:00 |
|
Dominik Schmidt
|
7d114ea0f3
|
Reset config widget data on Cancel
|
2015-02-06 23:00:16 +01:00 |
|
Dominik Schmidt
|
fffe3cbf1f
|
Allow saving of invalid config on second try
|
2015-02-06 23:00:16 +01:00 |
|
Dominik Schmidt
|
e2fd7e5681
|
Move config data handling into AccountConfigWidget
|
2015-02-06 23:00:16 +01:00 |
|
Dominik Schmidt
|
d5c5eb1e44
|
Show inline error instead of error popup
|
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
|
7550d23431
|
Pass empty QVariantMap as default arguments to ScriptObject::invoke
|
2015-02-06 23:00:16 +01:00 |
|
Dominik Schmidt
|
e2593eddc7
|
Register the resolver as scriptObject
|
2015-02-06 23:00:15 +01:00 |
|
Dominik Schmidt
|
1c0deb7115
|
Pass account to DelegateConfigWrapper
|
2015-02-06 23:00:15 +01:00 |
|
Dominik Schmidt
|
fbc547f882
|
Add JS debug spam, to be removed later
|
2015-02-06 23:00:15 +01:00 |
|
Dominik Schmidt
|
fa832e3a36
|
Move ScriptPlugin initialization to own factory method
|
2015-02-06 23:00:15 +01:00 |
|
Dominik Schmidt
|
2890190c82
|
Remove LinkGeneratorPlugins from LinkGenerator on destruction
|
2015-02-06 23:00:15 +01:00 |
|
Dominik Schmidt
|
f751aa501c
|
Use ScriptPlugin base class in ScriptLinkGeneratorPlugin
|
2015-02-06 23:00:15 +01:00 |
|