Pierre Mazière
1b3c8a8aeb
[core + bridges] add BridgeAbstract::$inputs and BridgeAbstract::getInput()
...
Inputs are not stored in BridgeAbstract::$parameters anymore to separate
static data from dynamic data.
The getInput method allows for more readable code.
Also fix an "undefined index 'global'" notice
Probability of breaking bridges: high !
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-28 13:05:03 +02:00
Pierre Mazière
de1b39c8e5
[core + bridges] get rid of loadMetadata
...
if a bridge needs to modify some of the data that were initialized
there, ::__construct() should be used instead.
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-28 13:05:03 +02:00
Pierre Mazière
05001f6b2e
[SoundcloudBridge] remove useless code
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-28 13:00:55 +02:00
Pierre Mazière
117031bf0f
[core] store parameters values in BridgeAbstract::parameters
...
This way, any BridgeAbstract method can now have access to these values,
no only collectData
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-25 01:24:53 +02:00
Pierre Mazière
4a1f360d39
[bridges] use BridgeAbstract::getContents instead of file_get_contents
...
use of the proxy feature when enabled
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-22 23:39:40 +02:00
logmanoriginal
bf0a9d754e
[bridges] Change all occurrences of the Item object to array
2016-08-22 18:55:59 +02:00
Pierre Mazière
f0e502ce37
[bridges] migrate all bridges to an array based definition of parameters
...
see github issue 356
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-22 01:25:56 +02:00
Pierre Mazière
8adcc7d26a
[SoundCloudBridge] fix parameter 'u' requirement status
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-21 23:45:08 +02:00
Pierre Mazière
bba216073c
[bridges] remove useless 'update' property from all bridges
...
That's the source code manager job to keep this information
consistent
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-21 00:21:41 +02:00
logmanoriginal
74f0572d91
bridges: Replace returnError function with more specific
...
Replacements depend on original error code:
400: returnClientError
404: returnServerError
500: returnServerError
501: returnServerError
2016-08-17 14:45:08 +02:00
logmanoriginal
e329a4c1b6
bridges: Change ->name to ->author
2016-08-09 14:54:44 +02:00
logmanoriginal
0ddf664d89
bridges: Remove obsolete getName() and getURI()
2016-08-06 18:45:02 +02:00
Damien Calesse
834f959b76
Update SoundCloud Bridge - Display username in title
2016-02-16 12:33:35 +01:00
teromene
80008f01f8
Updating a few bridges.
...
Adding everybody to the contributors in README.md
Signed-off-by: teromene <teromene@teromene.fr>
2015-12-06 15:56:39 +01:00
teromene
78c9dcc705
Last batch of bridges, all implemented !
...
Signed-off-by: teromene <teromene@teromene.fr>
2015-12-06 15:56:39 +01:00
teromene
2d526f4e0a
Correction de quelques bugs dans les bridges, qui apparaissent à cause du fait qu'ils sont tous instanciés lors du chargement de tout les bridges.
...
Ré-ajout et ré-utilisation de getName et getURI, qui permettent d'avoir des élements dynamiques.
Changement en public de certaines valeurs.
Changement du nom de certaines constantes, déja utilisés.
Signed-off-by: teromene <teromene@teromene.fr>
2015-12-06 15:56:39 +01:00
Damien Calesse
2c18ee2d53
Fix cache duration for soundcloudBridge
2015-09-10 00:00:29 +02:00
Damien Calesse
91b1415e3d
Fix Soundcloud bridge (remove var_dump and reset cache duration)
2015-09-09 00:15:01 +02:00
Damien Calesse
8edddcd97f
Fix Soundcloud bridge (change client key, URI now use HTTPS and change URI according with soundcloud API)
2015-09-09 00:13:56 +02:00
Damien Calesse
c06343128a
SoundcloudBridge & Add icon to Atom Format
2014-07-24 13:51:42 +02:00