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>
* 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>
* 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>
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>