The old query will fail with ONLY_FULL_GROUP_BY set which is default from
MySQL 5.7.5 onwards. This results in the .htaccess file not being updated.
Also adding some fencing to the foreach to prevent php error messages.
Unconditionally setting $serendipity['csuccess']
to 'true' will override a "moderate" flag set by
another (spamblock) plugin.
Signed-off-by: Thomas Hochstein <thh@inter.net>
This code was used to tell Akismet that a comment
is spam or ham. It can't be triggered as there
are no UI buttons, and it shouldn't be used as
it uses GET params. I don't think it will be
missed.
The relevant issue has been open for about two
and a half years without a new implementation,
so let's drop it. We can always re-implement it
later ...
Closes#405.
Signed-off-by: Thomas Hochstein <thh@inter.net>
As "X" is looking like a placeholder that has
not been replaced, rephrase to "Auto-moderation
for old entries".
See https://board.s9y.org/viewtopic.php?f=2&t=24034#p10451071
Done for EN and DE, other languages will have
to be changed, too.
Signed-off-by: Thomas Hochstein <thh@inter.net>
When $use_gd is false, returning $output so that the captcha images that have been generated are actually embedded into the final rendering of the page.
Fixes#536.
Iconfont icons are of no value to screenreader users; in our case,
they get alternative text. By adding 'aria-hidden="true"' to the
<span> holding the iconfont icon, we avoid the screenreader trying
to announce the iconfont icon.
this and followup commits touches:
use load_languiage API
class method parenthesis "\n{\n <code>\n}\n",
case break switches,
consistent boolean usage,
append css to eventData
and other cleanups
[PATCH 1/4] remove serendipity_serverOffsetHour() workaround as this
function is now in core
[PATCH 2/4] remove blogg.de anti-spamlist support as it has been
discontinued
[PATCH 3/4] proper locking of .htaccess file to prevent race
condition and partial file over-writes
[PATCH 4/4] allow multiple Deny From lines in .htaccess so more IPs
can be simultaneously blocked for busy sites
Partial manual revert of 168cb146eaec3c568527bbc5dcf06b4cb6e9bda8.
Please note that this does *not* contain any changes to the UI as
discussed; those will follow later.
References #41