646 Commits

Author SHA1 Message Date
Thomas Hochstein
95c71c36c9 [plugin_comments] Fix wordwrap at wound boundaries.
Add ChangeLog.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-03-21 16:18:15 +01:00
Thomas Hochstein
d319ad16f1 Add "lower/upper roman" ordered list styles.
Add NEWS entry, bump version number.

Fixes #647.

Backported from master branch.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-03-20 16:23:26 +01:00
Garvin Hicking
15bc67ce8d [TASK] Updates serendipity_event_mailer: Prepend body option, force sending mails, fixed striptag label 2019-12-03 14:26:43 +01:00
Garvin Hicking
63217ef9c9 [BUGFIX] [SECURITY] Fixes only logging to .log and.txt filetype extensions.
Backported from master branch.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-10-13 18:07:58 +02:00
Garvin Hicking
9a27978179 [CLEANUP] Code formatting.
Backported from master branch.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-10-13 18:07:50 +02:00
Thomas Hochstein
1bc7c4bd0f [event_spamblock] Don't overwrite "moderate" flag.
Unconditionally setting $serendipity['csuccess']
to 'true' will override a "moderate" flag set by
another (spamblock) plugin.

Cherry-picked from master.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-08-17 13:57:54 +02:00
Thomas Hochstein
15f0be45a2 [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.

Backported from master.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-08-11 00:45:39 +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
Thomas Hochstein
0b967cc765 Sync authors in core and Spartacus.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2018-09-02 18:07:26 +02:00
Thomas Hochstein
65c9aa63eb Sync gravatar in core and Spartacus.
Bump version to 1.63.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2018-09-02 17:59:58 +02:00
onli
2a853f44ee
spamblock: bump version 2018-08-09 19:38:47 +02:00
Aaron W. Swenson
2ecd2bdd13 Return output
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.
2018-08-09 19:37:54 +02:00
Thomas Hochstein
2f327ce463 [event_gravatar] Fix paste error in legal info.
Picked from additional plugins.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2018-08-04 03:02:52 +02:00
Stephan Brunker
e09b2600c6 improved nl2br to make it more intelligent
tag clean recognizes quotes in tags and escapes all non-tags
bugfixes in explode along tags
uses now simple <p>-tags normally and only in special cases margin=0
converts double newlines to paragraphs and single newlines to br-tags
but only inside text, not in tags and only where it is allowed by html standards
2018-07-03 17:04:34 +02:00
Garvin Hicking
5f5d809b10 upport 2018-04-03 11:21:25 +02:00
Garvin Hicking
c40aafcd1a Backport 2018-04-03 11:19:25 +02:00
Garvin Hicking
d10aaf8ffd Add new "legal" properties for affected plugins.
Disable subtome by default.
2018-04-03 11:17:22 +02:00
Thomas Hochstein
02b70e2266 Another fix to Spartacus after dropping netmirror.
See #548.

Expands b0fb8d2d126bc8c6e2745c466eb5429c18615738
by adding the necessary fix at another code point.

Fixes a whitespace issue (tabs -> spaces).

Add Changelog entries.

Needs to be backported to 2.1 after tests and review.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2018-03-30 13:17:51 +02:00
onli
b0fb8d2d12 Sync: Drop netmirror from spartacus 2018-03-28 21:09:53 +02:00
Stephan Brunker
7bc9067674 allowed nested lists, svg XML elements and fixed bugs in tag_clean 2018-01-02 14:46:45 +01:00
Stephan Brunker
bac3e5fb41 added iframe to allowed singleton tags 2017-12-20 00:06:57 +01:00
onli
4d30cf3b07 resp imgs: don't insert original image if too small 2017-12-16 22:21:45 +01:00
Stephan Brunker
967935195c Fixed a small bug in isolation feature 2017-12-14 21:25:12 +01:00
Stephan Brunker
43b9f607d3 NL2P operation completely new written, works now from front to back according to tags 2017-12-14 21:25:12 +01:00
Stephan Brunker
b837adde3c Changed behavior between body and extended part of article.
The body part now has never a whiteline at the bottom, the extended part has one at the top if it begins with a newline or the body ends with a newline.
2017-12-14 21:25:12 +01:00
onli
0ee37818f2 Let themes override responsive images breakpoint (#474) 2017-11-01 20:12:18 +01:00
onli
d9db68ac5f minor: remove debugging output when adding image 2017-10-29 03:05:01 +01:00
onli
a920a3aa67 responsive: Fix 0w images and introduce breakpoints
$breakpoints decide at which screen width an image is used, $thumbWidth how wide the thumbnail is. Stepping stone to making t configurable by themes.
2017-06-04 23:24:11 +02:00
onli
bf4f484fe0 responsive: Fix srcset insertion when images are on one line (#474) 2017-06-04 20:19:37 +02:00
Garvin Hicking
efeede599b Allow multiple authorship for entries 2017-06-01 12:25:50 +02:00
Thomas Hochstein
6751bd8d52 Akismet has a POST API, not a GET API. :)
Closes #506.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2017-04-21 13:01:11 +02:00