Commit graph

1655 commits

Author SHA1 Message Date
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
Pierre Mazière
9cc00cb212 [TwitterBridge] fix HTML entities decoding in title
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-19 17:20:49 +02:00
logmanoriginal
251d7646b7 [index] Fix loading of metadata
Re-introduces commit a1257126bc
2016-08-19 14:46:22 +02:00
logmanoriginal
6a912fba96 Merge branch 'cleanerProxy' of https://framagit.org/peetah/rss-bridge 2016-08-19 14:21:23 +02:00
Pierre Mazière
67d6802161 IsoHuntBridge: rename file_get_html to getSimpleHTMLDOM
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-19 11:06:20 +02:00
Pierre Mazière
be591d19e0 remove bridges already removed upstream
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-19 10:20:27 +02:00
Pierre Mazière
10cd3a61a9 check for PROXY_NAME definition before using it
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-19 10:20:27 +02:00
Pierre Mazière
e754ca52e9 bridges: rename file_get_html to getSimpleHTMLDOM
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-19 10:20:27 +02:00
Pierre Mazière
6e2c7ceaf4 bridges: rename file_get_html to getSimpleHTMLDOM
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-19 10:20:27 +02:00
Pierre Mazière
86515a1560 core: use proxy when defined in RssExpander
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-19 10:20:27 +02:00
Pierre Mazière
226484ba22 core: remove useless HttpCachingBridgeAbstract::download_remote()
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-19 10:20:27 +02:00
Pierre Mazière
fe58d23c17 core: use proxy when defined in HttpCachingBridgeAbstract
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-19 10:20:27 +02:00
Pierre Mazière
d74beb6c6a core: move message() method to parent class BridgeAbstract
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-19 10:20:27 +02:00
Pierre Mazière
3c0d13c1bb bridges: use BridgeAbstract::getSimpleHTMLDOM
instead of BridgeAbstract::file_get_html

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-19 10:20:27 +02:00
Pierre Mazière
f43bbda83e core: split and rename BridgeAbstract::file_get_html
We need to have one method to get the data, potentially
using the proxy if defined, and one method to get the Simple
DOM HTML object from these data, with a more informative name

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-19 10:19:56 +02:00
Pierre Mazière
d71674d2ba proxy settings must be the service provider decision
therefore, the provider decides if the service use a
proxy or not, and if users can have the possibility to
disable it on a bridge basis.

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-19 10:19:56 +02:00
Pierre Mazière
09d4e21bdc possibility to hide proxy address
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-19 10:19:56 +02:00
Pierre Mazière
3dd63ab6fd enable proxy usage for individual bridge
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-19 10:19:56 +02:00
logmanoriginal
b43e8ef689 Merge branch 'LWNprevBridge' of https://framagit.org/peetah/rss-bridge 2016-08-19 09:35:33 +02:00
Pierre Mazière
5986b9f786 follow up on site changes
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-18 10:21:58 +02:00
Pierre Mazière
1e953d3c3e use BridgeAbstract::file_get_html instead of SimpleHTMLDOM one
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-18 10:20:57 +02:00
Pierre Mazière
65c6b08aed fix DOMNode and DOMElement mess
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-17 16:19:51 +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
73a1bcf3d6 [Bridge] Add specialized error handling functions 2016-08-17 13:58:55 +02:00
logmanoriginal
d3cebe9c65 [IsoHunt] Add new bridge 2016-08-16 01:34:25 +02:00
Mitsukarenai
5212b91cca [whitelist] trim content for wildcard (contrib: @Piokaz) 2016-08-16 00:00:33 +02:00
Mitsukarenai
eb419e2595 [README] Add instruction for wildcard in whitelist.txt 2016-08-15 23:40:29 +02:00
logmanoriginal
d3cbf38eb1 [Bridge] Allow '*' wildcard to whitelist all bridges
For this to work the whitelist.txt must only contain '*' (no \n)
2016-08-15 08:46:04 +02:00
logmanoriginal
646ae57326 [HTMLUtils] Change getHelperButtonsFormat to private scope 2016-08-15 08:13:40 +02:00
logmanoriginal
a6da16feb7 [HTMLUtils] Remove getHelperButtonFormat 2016-08-15 08:01:32 +02:00
logmanoriginal
5d66af7a29 [HTMLUtils] Add new attribute 'defaultValue'
Behavior depends on the type:

- text: Allows any text
- number: Allows any numeric
- list: 'defaultValue' must match either name or value of one element
- checkbox: 'defaultValue' must be checked to activate checkbox
2016-08-15 02:47:36 +02:00