719 Commits

Author SHA1 Message Date
4785f07f12
Always assume UTF-8. 2022-02-20 17:14:54 +01:00
f4bd9bc07a
Always use native mb_* functions. 2022-02-20 01:56:52 +01:00
33a98547a7
Fix English language fallback. 2022-02-20 01:36:33 +01:00
694309bec9
Force UTF-8, remove all non-UTF-8 translations. 2022-02-20 01:11:37 +01:00
Markus Birth
2a47e9edb3 CLEANUP: Fix file permissions 2022-02-09 01:31:37 +01:00
surrim
9a60f9a494
Php8 fixes for #766 (#769)
* init empty vars to avoid PHP8 warnings

* removed debug output for serendipity_session_destroy()

* init smarty fixed for PHP8

* removed optional parameters for PHP 8

* 2k11 template fixes, maybe updating smarty will solve everything

* init or test undefined variables for PHP 8

* remove only existing files

* make sure string is not empty before comparing the first letter

* check if SMARTY_DIR was already defined

* use mb_language('uni') for unicode

* fixed image filter bug

* Smarty debug fixed in external lib

* fixed archive bug

* fixed entries bug

* updated plugin versions

Co-authored-by: surrim <surrim@happyhydro.org>
2021-07-18 22:14:23 +02:00
onli
aacf8e7f2f Fix php8 warning when gravatar + shoutbox are active 2021-06-27 21:24:19 +02:00
onli
ef79ef260b PHP 8 compat fixes for the core when trackack plugin is installed 2021-06-06 18:53:48 +02:00
onli
e0d87c88cf Fix: Smarty init check could fail 2021-06-06 18:23:06 +02:00
onli
325c608139 creativecommons: PHP 8 compat fixes (for showing RSS) 2021-06-06 12:30:55 +02:00
onli
91a14c3dc7 textile 1.8.4: php 8 compat fixes 2021-05-30 12:13:54 +02:00
onli
7f1f5729c8 tempaltechooser 1.7.1: php 8 compat fix 2021-05-30 12:05:23 +02:00
onli
50ccdce46c resposniveimage: php 8 compat fix for themes without breakpoints 2021-05-30 12:04:16 +02:00
onli
1fc5076112 gravatar 1.63.1: php 8 compatibility fixes 2021-05-29 19:44:16 +02:00
onli
bb483dcadc creativecommons 1.6.1: PHP 8 compat fixes (missing lang constants) 2021-05-29 18:32:34 +02:00
onli
8dbf85aacd bbcode 2.11.1: php 8 compat fix 2021-05-29 17:22:24 +02:00
onli
bd6c9e79c9 more php 8 compat fixes for receiving trackacks
Also includes a code-cleanup by introducing log_trackback, a less code heavy way to log the trackback flow
2021-05-26 00:08:32 +02:00
onli
42f93ee27a spartacus: php 8 compat fix 2021-05-25 22:48:37 +02:00
onli
ae4e91f095 php 8 compat fix when showing RSS feed 2021-05-18 19:39:14 +02:00
onli
a8e919961b php 8 compat fix for spartacus when plugin upgrades are available 2021-05-18 19:33:19 +02:00
onli
d2fb86fc2f syndication 2.3.0: Drop subtome JS plugin 2021-05-18 19:32:30 +02:00
onli
17786592e7 php 8 compat fixes for plugin installation 2021-05-13 15:33:27 +02:00
onli
25cfb97ece php8 compat fixes to save entries again 2021-05-09 17:17:54 +02:00
onli
b2707b81ae spamblock 1.89.3: php8 compat 2021-05-06 20:45:19 +02:00
onli
f996065a89 spartacus 2.39.2: php8 compat 2021-05-06 20:45:19 +02:00
onli
6909411452 entryproperties 1.41.6: PHP 8 compat fixes 2021-04-19 17:19:44 +02:00
onli
a3253a0d55 syndication 2.2.4: php8 compat 2021-04-19 17:19:44 +02:00
onli
0c84f10b7c responsive 0.5.2: php8 compat 2021-04-19 17:19:44 +02:00
onli
2261e112eb nl2br 2.21.9: php8 compat 2021-04-19 17:19:44 +02:00
onli
a32bb4f2ee emoticate 1.11.1: php 8 compat 2021-04-19 17:19:44 +02:00
onli
21a4448d33 s9ymarkup 1.4.1: s9ymarkup 2021-04-19 17:19:44 +02:00
Stephan Brunker
3d975cd562 syntax fixes, if without brackets 2020-06-06 01:51:25 +02:00
onli
2be8e6ba2a Use original image for srcset when it is small (#474) 2020-05-28 17:50:39 +02:00
Stephan Brunker
9f0af1f275 plugin nl2br: add newlines to improve readability of the output 2020-05-27 21:49:14 +02:00
Stephan Brunker
0cf227f335 Totally resorted the language files, added subscription strings 2020-05-27 21:49:11 +02:00
Stephan Brunker
695055f50c plugin nl2br: add missing 'u' inline element 2020-05-15 13:33:53 +02:00
onli
dd455ae507 Add Gitlab as Spartacus mirror 2020-05-03 13:59:23 +02:00
Hanno Böck
c479e1c9d2 escape filter words for regexp 2020-04-30 10:22:27 +02:00
Stephan Brunker
2b6a1a6a3b [plugin recententries] Fix multilingual issues 2020-04-28 20:18:35 +02:00
Thomas Hochstein
a80a57b780 [plugin_comments] Don't strip HTML unconditionally.
If serendipity_event_unstrip_tags is active, we
don't want to strip HTML tags from comments; we
want to keep and encode them with entities. So
we should do that here, too.

As the frontend_display hook - that is catched by
serendipity_event_unstrip_tags - is called quite
late, we have to skip the strip_tags() call
before truncatin the entry.

(I'm not sure why we first strip _all_ tags and
later on keep _some_ tags (that have already
been removed), but that's maybe because the
frontend_display hook may have re-added some
tags? Be it as it may, we do that for 14
years, so I don't want to change that now.)

Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-04-24 15:24:10 +02:00
stephanbrunker
928f220c5a [event nl2br] fix concatenation and spaces between newlines 2020-04-23 00:05:22 +02:00
Thomas Hochstein
f32be57fb5 Fix accidental deletion of extended properties.
Was mostly fixed by 8b51c37b98 (see #261),
but which missed 03cc73d77e and the other
older code before the foreach() loop.
Later on, 7fe8d91bc2 did the check for
'propertyform' the wrong way around.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-04-18 22:33:20 +02:00
Stephan Brunker
a3f39396c6 [event_spamblock] Don't refresh timeout when displaying preview 2020-04-14 14:07:02 +02:00
Thomas Hochstein
bb021db228 Add note to serendipity_event_spartacus.php.
See #685.

Plugin version not incremented on purpose.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-04-11 12:56:42 +02:00
Thomas Hochstein
4010d57d28 Fix SQL error in plugin_history.
Since merging #665 `serendipity_plugin_history`
breaks with a SQL error message on every archive
page but the first one; see #693 for reason
and context.

Unset `$serendipity['GET']['page']` before
calling `serendipity_fetchEntries(`)` (and
reset afterwards) to fix that. That's the
correct way, I think, as
`serendipity_fetchEntries()` is not called
in page context here.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-04-11 10:52:50 +02:00
Thomas Hochstein
5ca9da9a56 [event_spartacus] Change dashboard upgrade notification to simple link.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-03-28 15:22:58 +01:00
Thomas Hochstein
261bac42f1 Bump event_spartacus version
Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-03-28 13:26:06 +01:00
Thomas Hochstein
ded855f096 [event_spartacus] Simplify count_plugin_upgrades()
Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-03-28 13:21:09 +01:00
Thomas Hochstein
5adf3cda02 One adv_opts_box should be enough for everybody.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-03-27 20:18:46 +01:00
onli
d690a751d3 Up spamblock version, document #683 2020-03-25 22:33:19 +01:00