Commit graph

12 commits

Author SHA1 Message Date
Thomas Hochstein 08b0235f4e Change author list on author's request.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2018-03-26 23:18:31 +02:00
Thomas Hochstein 2c0798670b Fix function definition. (#68)
The declaration of uninstall() didn't match
serendipity_plugin::uninstall, making PHP
spew warnings to the log.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2017-08-06 14:08:17 +02:00
Thomas Hochstein 23453c0306 Fix HTML of local documentation.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2017-07-11 22:23:49 +02:00
Thomas Hochstein ffaac00d2f Add local documentation to dejure.org plugin.
German language only, as there will be very
little need to link to German law and
decisions in a foreign language blog.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2017-07-09 16:30:55 +02:00
Thomas Hochstein ea1fdf86a2 Add more options, redo config screen. (#59)
* Bump version, add me as author.

Signed-off-by: Thomas Hochstein <thh@inter.net>

* Normalize whitespace.

Replace mix of spaces and tabs by spaces.

Signed-off-by: Thomas Hochstein <thh@inter.net>

* Add option for linking to buzer.de

Signed-off-by: Thomas Hochstein <thh@inter.net>

* Add Changelog.

Signed-off-by: Thomas Hochstein <thh@inter.net>

* Reformat and rephrase plugin configuration screen.

Remove HTML added in 88e58798af05a79543e89aa87705e85a325cc164
as it was not parsed.

Move link style description to info text.

Improve some phrases.

Signed-off-by: Thomas Hochstein <thh@inter.net>

* Add option to exclude headings from linking.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2017-05-30 11:05:35 +02:00
Thomas Hochstein 1a67d98bbb Update dejure-plugin to version 1.6 from upstream. (#58)
* Update dejure-plugin to version 1.6 from upstream.

v1.6 was not yet published.

Improve fsockopen, switch to SSL, add user agent.

Signed-off-by: Thomas Hochstein <thh@inter.net>

* Bugfix: Don't cache results after errors.

djo_vernetzen_ueber_dejure_org() will return FALSE
instead of an output text if the API call fails
or results in any error.

But the "master" function djo_vernetzen() will call
integritaetskontrolle() anyway. The latter function
checks whether input and output texts match after
removing all added links. If the check succeeds, it
will return the output text; if the check fails, the
input text. So the result will always be TRUE.

And only after this will cache the output text if
it's not FALSE - which it can't be, ever. So if the
API call fails, the unmodified input text will be
cached.

But if we don't call integritaetskontrolle() after
API failures - which isn't necessary as the output
text is just FALSE anyway -, the FALSE will carry
through so nothing is cached.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2017-05-27 19:51:08 +02:00
Thomas Hochstein 3f67f1ab30 Update dejure-plugin to version 1.5 from upstream. (#57)
v1.5 taken from <https://dejure.org/vernetzung.html>
with author's consent.

Some minor changes to the database queries, trying
to be more compatible to other database backends,
see <https://board.s9y.org/viewtopic.php?f=10&t=21255>.

Update language files (as far as I speak those
languages).

Signed-off-by: Thomas Hochstein <thh@inter.net>
2017-05-22 20:28:26 +02:00
Vladimír Ajgl 7842af973e czech translations - removed leading slash from first line (introduced erroneously in previous commit) 2013-12-28 21:43:44 +01:00
Vladimír Ajgl c5248f893e czech translations - cvs/snv tags removed 2013-12-27 20:04:36 +01:00
Garvin Hicking 71589a887f Remove $Id$ for CVS compoatibility. Thought I already did this some time ago?!?! 2013-08-12 09:49:28 +02:00
Garvin Hicking ab02bb4af4 Remove $Id$ 2011-12-25 10:07:20 +01:00
Garvin Hicking 516df79a4e Migrate plugins 2011-12-13 12:29:05 +01:00