Pierre Mazière
7e0ac1a6b6
[core] better use of filter_input
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-23 14:42:53 +02:00
Pierre Mazière
0a86d572c2
[core] simplify cache related code and remove misleading comment
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-23 14:41:41 +02:00
Pierre Mazière
581bff166c
[core] makes 'bridge' and 'format' parameters value less verbose
...
remove the requirement for 'Format' and 'Bridge' suffixes:
https://example.com/?action=display&bridge=Twitter&format=Atom&u=user
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-23 14:34:07 +02:00
Pierre Mazière
eb3392db82
[core] simplify dynamic formats discovery
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-23 14:29:53 +02:00
Pierre Mazière
13285f080a
[core] use filter_input() instead of direct access to $_REQUEST
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-23 14:22:02 +02:00
Pierre Mazière
b3af604cc1
[core] remove useless static methods
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-23 13:44:23 +02:00
logmanoriginal
747e54d64a
[IsoHuntBridge] Fix 'latest news' and 'latest hot topics'
2016-08-22 19:37:18 +02:00
logmanoriginal
8283a5a34f
Merge branch 'RefactorItemClass' of https://github.com/logmanoriginal/rss-bridge
2016-08-22 19:14:02 +02:00
logmanoriginal
d9b6477ff6
[FileCache] Fix loading cached data
...
Previously cached data was translated into object data (Item),
this is no longer necessary.
2016-08-22 18:59:23 +02:00
logmanoriginal
d5db4f5859
[RssBridge] Remove require for Item.php
2016-08-22 18:58:22 +02:00
logmanoriginal
7b890da8f2
[Item] Remove file
2016-08-22 18:57:49 +02:00
logmanoriginal
bf0a9d754e
[bridges] Change all occurrences of the Item object to array
2016-08-22 18:55:59 +02:00
logmanoriginal
1f3361c6b4
[formats] Change item to associative array
...
Previously the item class was used to dump literaly any data
into an object. The same can be archived by using an array
with named keys (associative array).
Technically it makes more sense to use an array as we want to
be able to store any parameter into our item.
2016-08-22 18:54:36 +02:00
logmanoriginal
6fd0bdd21e
Merge branch 'JSON2array' of https://framagit.org/peetah/rss-bridge
2016-08-22 16:20:56 +02:00
Pierre Mazière
d5418b3d11
[LeBonCoinBridge] fix typo in values list
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-22 11:15:00 +02:00
Pierre Mazière
dc4f16fbe4
[core] remove JSON based paramter definition related code
...
bye bye JSON
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-22 01:33:14 +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
2f09ae56ad
[core] render two levels 'values' parameter property with optgroup
...
example:
$parameterSet=array(
'feed'=>array(
'name'=>'Feed',
'type'=>'list',
'values'=>array(
'list A'=>array(
'feed A1'=>'fA1',
'feed A2'=>'fA2'
),
'list B'=>array(
'feed B1'=>'fB1',
'feed B2'=>'fB2
)
)
)
);
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-22 01:23:20 +02:00
Pierre Mazière
4717de9d08
[core] allow BridgeCard to be build from parameters stored in an array
...
The array structure is as follow:
$parameterSet=array(
'identifier'=>array(
'property'=>'property_value'
…
)
);
'values' property is stored as an associative array where
the key is the displayed string and the value is the value (sic)
attached to this string.
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-22 01:16:06 +02:00
Pierre Mazière
ee2b9d65ee
[WhydBridge] fix parameter 'u' requirement status
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-22 00:31:17 +02:00
Pierre Mazière
306d50582d
[VkBridge] fix parameter 'u' requirement status
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-22 00:26:53 +02:00
Pierre Mazière
b5cc7b4ded
[VkBridge] use BridgeAbstract::getSimpleHTMLDOM
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-22 00:26:14 +02:00
Pierre Mazière
4aaa921696
[ViadeoCompanyBridge] fix parameter 'c' requirement status
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-22 00:20:02 +02:00
Pierre Mazière
af747af534
[ViadeoCompanyBridge] fix missing quotes
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-22 00:19:32 +02:00
Pierre Mazière
bbf95662c2
[TwitchApiBridge] use BridgeAbstract::getSimpleHTMLDOM
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-22 00:04:15 +02:00
Pierre Mazière
c54462d2f0
[TwitchApiBridge] fix parameter channel requirement status
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-22 00:03:17 +02:00
Pierre Mazière
f9b5cac1b7
[TagBoardBridge] fix parameter 'u' requirement status
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-21 23:53:12 +02:00
Pierre Mazière
bdb1871474
[T411Bridge] fix parameter 'search' requirement status
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-21 23:50:15 +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
f29d51510b
[ScoopItBridge] fix parameter 'u' requirement status
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-21 20:15:17 +02:00
Pierre Mazière
5e52f4d3e6
[bridges] fix typo in getSimpleHTMLDOM call
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-21 20:08:18 +02:00
Pierre Mazière
84238a998d
[NovelUpdatesBridge] fix parameter 'n' requirement status
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-21 19:54:29 +02:00
logmanoriginal
4540645122
[CHANGELOG] Rewrite changelog for Alpha 0.2 (CDV)
2016-08-21 19:53:20 +02:00
Pierre Mazière
8e32142ce5
[bridges] fix typo in getSimpleHTMLDOM call
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-21 19:48:23 +02:00
Pierre Mazière
181be164e0
[LinkedInCompany] fix parameter 'c' requirement status
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-21 19:27:44 +02:00
Pierre Mazière
7641fb5266
[LinkedInCompany] fix missing quotes
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-21 19:25:23 +02:00
Pierre Mazière
b97317af2e
[bridges] fix typo in getSimpleHTMLDOM call
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-21 19:23:35 +02:00
Pierre Mazière
09bc211cc6
[GitlabCommits] fix parameters requirement status and default values
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-21 18:07:42 +02:00
Pierre Mazière
be98ad161a
[FuturaSciencesBridge] fix undefined $url variable
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-21 17:23:04 +02:00
Pierre Mazière
5410392968
[EZTVBridge] fix parameter 'i' requirement status
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-21 17:06:51 +02:00
Pierre Mazière
cd088776a8
[DuckDuckGoBridge] fix keyword required status
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-21 17:03:14 +02:00
Pierre Mazière
2466f109b8
[DuckDuckGOBridge] fix missing quotes
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-21 16:59:28 +02:00
Pierre Mazière
dd1474f154
[bridges] extract nested functions
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-21 11:46:23 +02:00
Pierre Mazière
fd5c8ea658
[AllocineFRBridge] fix typo in getSimpleHTMLDOM call
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-21 01:41:04 +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
d0461f3643
Merge branch 'Twitter' of http://framagit.org/peetah/rss-bridge
2016-08-20 22:23:36 +02:00
Pierre Mazière
6e66c228f8
[TwitterBridge] rename 'pic' parameter to more consistent 'nopic'
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-20 12:32:05 +02:00
Pierre Mazière
71d8f4c465
[TwitterBridge] add 'Without replies' parameter
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-20 11:18:06 +02:00
logmanoriginal
7761d1b70a
Merge branch 'ElsevierBridge' of https://framagit.org/peetah/rss-bridge
2016-08-19 19:12:57 +02:00
Pierre Mazière
490c5094f5
[ElsevierBridge] fix time extraction
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-19 18:50:50 +02:00