Daniel Lange
57cbaaa58b
Update spamblock query to work in MySQL 5.7+ with default "strict" mode
...
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.
2020-03-25 22:28:25 +01:00
Thomas Hochstein
04a3d34176
"$cachedtype" was set twice.
...
"$cachedtype" is saved anayway before returning;
no need to set it here.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-03-23 20:50:46 +01:00
Thomas Hochstein
da4985f543
[plugin_comments] Fix wordwrap at wound boundaries.
...
Add ChangeLog.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-03-21 16:08:55 +01:00
Stephan Brunker
9dd182b24c
fix Issue #661 in plugin_recententries
2019-12-30 22:03:06 +01:00
Garvin Hicking
375d96fb36
[TASK] Updates serendipity_event_mailer: Prepend body option, force sending mails, fixed striptag label
2019-12-03 14:25:03 +01:00
Stephan Brunker
a946c80ac1
nl2br: a-elements can now contain everything, content of html comments is ignored
2019-11-25 20:14:55 +01:00
Thomas Hochstein
42a6649474
[nl2br] Document addition of figure/figcaption.
...
Document 8c399f2147 and 92653a1dec.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-11-02 15:03:11 +01:00
Thomas Hochstein
c9e03912ed
[spamblock] Document timeout protection.
...
Document f9d43d20a3 and 0193f8a314.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-11-02 15:03:11 +01:00
Stephan Brunker
92653a1dec
nl2br increase version number
2019-11-02 14:20:18 +01:00
Stephan Brunker
8c399f2147
included figure and figcaption tags in nl2br
2019-11-02 14:20:18 +01:00
Stephan Brunker
0193f8a314
reinserted validation of config logfile string. Was deleted unintentionally.
2019-11-02 14:20:18 +01:00
Stephan Brunker
f9d43d20a3
added timeout protection against spambots into event_spamblock
2019-11-02 14:20:18 +01:00
Garvin Hicking
b4f0b35a5d
Merge pull request #650 from stephanbrunker/master
...
Fix a lot of single issues and overhaul the language settings
2019-10-17 13:46:06 +02:00
Thomas Hochstein
27703c5482
Add changes to NEWS, bump plugin version number.
...
* Document #646 and #649 .
* Bump event_bbcode version number.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-10-16 12:25:48 +02:00
Thomas Hochstein
348f5fbc12
Add "lower/upper roman" ordered list styles.
...
Fixes #647 .
Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-10-15 22:48:28 +02:00
Stephan Brunker
ea371f6a4e
fixed requested changes, array processing of multilingual_stip_langs
2019-10-15 22:45:02 +02:00
Stephan Brunker
502b837dd6
Fix a lot of single issues and overhaul the language settings
...
see docs/NEWS and the plugin/changelog files for details
2019-10-13 22:49:03 +02:00
Garvin Hicking
7ab1cf9091
[BUGFIX] [SECURITY] Fixes only logging to .log and.txt filetype extensions
2019-09-17 10:50:28 +02:00
Garvin Hicking
febbb55371
[CLEANUP] Code formatting
2019-09-17 10:49:37 +02:00
Thomas Hochstein
f85608e3ce
[plugin_categories] Add description constant.
...
Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-08-18 01:14:20 +02:00
Thomas Hochstein
0805014761
[event_spartacus] Fix upgrade counter.
...
The plugin name was derived from its
install path - but bundled sidebar and
event plugins may share a path. So use
the name instead (and strip the instance
hash from it).
Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-08-17 18:14:26 +02:00
Thomas Hochstein
3730e77ddf
Bump version, add Changelog entry.
...
Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-08-17 13:56:43 +02:00
Thomas Hochstein
4327c432a5
event_entryproperties: Add missing language constant.
...
Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-08-17 12:59:54 +02:00
Thomas Hochstein
b2aef47e05
[event_spamblock] Add ChangeLog.
...
Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-08-17 12:59:54 +02:00
Thomas Hochstein
8941fe6563
[event_spamblock] Don't overwrite "moderate" flag.
...
Unconditionally setting $serendipity['csuccess']
to 'true' will override a "moderate" flag set by
another (spamblock) plugin.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-08-17 04:07:30 +02:00
Thomas Hochstein
6cee25afdc
[event_spartacus] Bump version + changelog entry.
...
Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-08-10 23:39:45 +02:00
Thomas Hochstein
074a63b696
[event_spartacus] Add code dashboard notifications.
...
New 'backend_plugins_upgradecount' hook.
Add language constants.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-08-10 23:35:16 +02:00
Thomas Hochstein
7f14a9c78e
[event_spartacus] Show number of possible upgrades.
...
This could use a bit of eye candy.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-08-10 23:33:52 +02:00
Thomas Hochstein
132f161d48
[event_spartacus] Add a plugin upgrade notifier.
...
New function count_plugin_upgrades() to count
upgradeable plugins, sidebar as well as event.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-08-10 23:32:32 +02:00
Thomas Hochstein
ae3f768bb7
[event_spartacus] Don't cache wrong plugin list.
...
Declaring $pluginlist as static will cache the
database query results and always return the same
list of plugins - no matter which type is queried
(sidebar or event).
This cache must be busted if another type of
plugins is queried.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-08-10 22:18:50 +02:00
onli
6cab32aa5a
document spamblock change #614 , bump version
2019-07-29 17:29:16 +02:00
Hanno
a9153e1a2b
Remove curly braces array syntax, avoids warning in PHP 7.4.
2019-07-29 17:29:45 +02:00
onli
b6cbaee339
Disable bodyclone spamblock option by default, disable for comments
...
See https://www.cgarbs.de/blog/archives/1181-Trackbacks-in-Serendipity.html
2019-03-18 21:48:26 +01:00
onli
43f5181b6a
bump nl2br version to 2.21.2
2019-03-08 23:45:28 +01:00
Stephan Brunker
0d60caab07
fixed missing 'strike' tag and fixed tag recognition
2019-03-08 23:44:27 +01:00
onli
acc87400eb
fix nl2br: $textarray could be null on category pages
2019-03-07 21:06:18 +01:00
onli
c87938cd42
Fix: smarty could be null in responsive images, causing 500 error
2019-03-07 18:47:39 +01:00
Stephan Brunker
2fb8017a72
Bump version number for event_spamblock to 1.87
2019-03-05 18:38:22 +01:00
Stephan Brunker
c1908949fc
event_spamblock: Added option for auto-moderate comments depending on age
2019-03-05 18:38:22 +01:00
Stephan Brunker
164fbfd2d5
Fixed: forced comment moderation 0 -> moderate all
2019-03-05 18:38:22 +01:00
onli
a93b232c68
Document nl2br change and bumb version
2019-02-22 16:21:31 +01:00
Stephan Brunker
04cc9d0699
event_nl2br: fixed isolation issue for pre-tags. Updated description.
2019-02-22 16:19:25 +01:00
onli
15adc798e5
Don't activate entryproperties cache by default
2019-02-11 18:23:06 +01:00
onli
1b518e5b46
Rewrite srcset in feeds to absolute urls ( #585 )
2019-02-09 15:10:36 +01:00
Thomas Hochstein
66e6293a92
[spamblock] Remove dead code (Akismet spam toggle)
...
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>
2018-09-30 11:37:12 +02:00
Thomas Hochstein
4568bd892e
Change message for auto-moderation after X days.
...
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>
2018-09-22 13:35:04 +02:00
onli
a462413025
php 7.2: Replace each with foreach ( #556 )
2018-09-13 15:07:57 +02:00
onli
5544b34253
fix: Remove use of undefined constant CATEGORY_PLUGIN_SHOWALL_DESC
2018-09-13 14:43:40 +02:00
onli
b664435ef6
PHP 7.2 compat: session_cache, each ( #564 , #556 )
2018-09-13 14:22:01 +02:00
Thomas Hochstein
17fc123a54
Sync quicksearch in core and Spartacus.
...
Signed-off-by: Thomas Hochstein <thh@inter.net>
2018-09-02 18:10:04 +02:00