Commit graph

10 commits

Author SHA1 Message Date
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
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
63bb7ef24d bridges: Remove unnecessary functions getName() and getURI() 2016-08-09 20:08:46 +02:00
logmanoriginal
e329a4c1b6 bridges: Change ->name to ->author 2016-08-09 14:54:44 +02:00
logmanoriginal
5ad157d2fd bridges: Remove getCacheDuration if default
BridgeAbstract will return 3600 seconds by default, so the function
can be removed from any bridge implementing getCacheDuration
returning the same value.

Documentation updated accordingly.
2016-08-06 16:23:09 +02:00
Teromene
fa7a053c65 Fix GitlabCommitsBridge. 2016-08-02 13:45:12 +02:00
Pierre Mazière
26a9ffa5eb fix copy/paste
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-06-26 12:23:13 +02:00
Pierre Mazière
ca44ab943a simplify commits detection
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-06-26 12:23:13 +02:00
Pierre Mazière
615df56b19 fix inconsistent use of simple and double quotes
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-06-26 12:23:13 +02:00
Pierre Mazière
c929010f6e new bridge GitlabCommits
some gitlab instances do not enable RSS feed for project commits

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-06-26 12:23:13 +02:00