1
0
Commit Graph

5741 Commits

Author SHA1 Message Date
5d67e35f24 Give plugins a way to skip the stored trackback detection () 2020-05-28 16:17:16 +02:00
cb5e99013e Allow https as trackback url origin 2020-05-28 14:33:47 +02:00
0ad7691634 Show an error message when the sqlite database is readonly () 2020-05-28 14:07:36 +02:00
40bae4f5b2 Remove db charset conversion buttons 2020-05-28 12:33:34 +02:00
0def9e991f MySQL: Set charse tto ut8mb4, needed for some versions () 2020-05-28 11:59:12 +02:00
0409717586 media_upload: check for empty file input 2020-05-27 21:49:14 +02:00
9f0af1f275 plugin nl2br: add newlines to improve readability of the output 2020-05-27 21:49:14 +02:00
8e24108b88 admin/entries.inc.php: strip multilingual from iframe entry 2020-05-27 21:49:14 +02:00
0cf227f335 Totally resorted the language files, added subscription strings 2020-05-27 21:49:11 +02:00
bf8f1aafa5 Disable ckeditor ACF to fix
And to prevent similar issues in the future
2020-05-27 14:41:15 +02:00
6b6f8138f0 Update README.markdown 2020-05-27 13:49:16 +02:00
695055f50c plugin nl2br: add missing 'u' inline element 2020-05-15 13:33:53 +02:00
8b5655ce92 Update README.markdown 2020-05-08 10:43:27 +02:00
1aec803a23 Update README.markdown 2020-05-08 10:43:27 +02:00
3bc302fbcf Fix broken sidebar in bootstrap4 theme 2020-05-03 19:51:43 +02:00
a3007dd5f9 Add PEAR/Exception.php to HTTP/Request2 to evade hoster error
See https://board.s9y.org/viewtopic.php?f=10&t=23815&p=10453266
2020-05-03 18:30:04 +02:00
dd455ae507 Add Gitlab as Spartacus mirror 2020-05-03 13:59:23 +02:00
5ec1754434 Stop appending * to search terms (fixes ) 2020-05-03 13:52:05 +02:00
7e98987b5a Commit changes to bundled-libs after Zend->Laminas rename 2020-05-03 11:11:13 +02:00
e9f0864c8c Switch from Zend to Laminas 2020-05-03 11:11:13 +02:00
24debf1b9e Change locale for Dutch language file.
The "nl" language file should have the
Dutch-Netherlands locale (as "de" has
"de_DE" and not "de_AT"). We could add a
"be" language file, if need be.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-05-02 18:46:10 +02:00
4db384f926 2k11/admin/comments: Stay on the same page after approving 2020-05-02 11:28:07 +02:00
c479e1c9d2 escape filter words for regexp 2020-04-30 10:22:27 +02:00
e1291fb54a Update ckeditor to 4.14.0, replace code wrap button with snippet
See https://board.s9y.org/viewtopic.php?f=10&t=24808 for context
2020-04-29 17:08:01 +02:00
2b6a1a6a3b [plugin recententries] Fix multilingual issues 2020-04-28 20:18:35 +02:00
906239faa1 Set hashtype = 2 when converting from MD5
Otherwise we'd end up with an attempt to authenticate with SHA1 against
BCRYPT that never succeeds, see
https://board.s9y.org/viewtopic.php?t=24720
2020-04-26 22:01:25 +02:00
4df3ca647f Change German for dashboard upgrade notification.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-04-25 10:12:11 +02:00
1032bd9725 Release 2.3.5
Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-04-25 08:37:03 +02:00
7bfa899cc3 Merge pull request from th-h/thh-summary-css
Restrict block display of summary to trackbacks.
2020-04-25 00:13:27 +02:00
c1afdc5a78 Restrict block display of summary to trackbacks.
Summary elements in the entry body should get
a triangle symbol displayed (as we do in the
backend).

Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-04-24 22:10:14 +02:00
7064657783 Change meaning of PLUGIN_DOCUMENTATION.
The "website" property fo the plugin bag used
to contain a link to external documentation,
but there is none left. So in future it may
point to a plugin website (or the website
of the plugin's author, if there is no
special page about the plugin).

Change language and translations accordingly.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-04-24 22:04:06 +02:00
507ede701a Simplify cookie option code and set security flags httponly and samesite=Lax.
Include compatibility code for pre-7.3 PHP versions.
2020-04-24 20:35:52 +02:00
e60dd8dd2d Merge pull request from th-h/thh-plugin-comments
[plugin_comments] Don't strip HTML unconditionally.
2020-04-24 15:25:40 +02:00
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
9cff057209 CK-Editor: allow details and summary.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-04-23 17:56:54 +02:00
928f220c5a [event nl2br] fix concatenation and spaces between newlines 2020-04-23 00:05:22 +02:00
c694fb0f45 Fix regexp to truncate media extensińs to 5 chars.
See 4ee1066b89
and https://gist.github.com/mmitch/5b466e6f89efc6dccd7dce2cf7d72742

Thanks to @mmitch!

Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-04-20 08:44:30 +02:00
b2b1de66b6 Merge pull request from th-h/thh-fixentryprop
Fix accidental deletion of extended properties.
2020-04-18 22:41:26 +02:00
f32be57fb5 Fix accidental deletion of extended properties.
Was mostly fixed by 8b51c37b98 (see ),
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
a3f39396c6 [event_spamblock] Don't refresh timeout when displaying preview 2020-04-14 14:07:02 +02:00
0d7f55e616 fix oddments in admin/users and admin/entries 2020-04-14 13:56:45 +02:00
bb021db228 Add note to serendipity_event_spartacus.php.
See .

Plugin version not incremented on purpose.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-04-11 12:56:42 +02:00
9b65e717c1 Add note to serendipity_fetchEntries().
I think that will help to think about the
context of serendipity_fetchEntries() calls.

Closes .

Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-04-11 12:53:09 +02:00
93ba22c8d4 Don't fallback to last page if $totalPages < 1.
See  for context. That should at least
avoid SQL errors.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-04-11 12:47:55 +02:00
6522f043cf Merge pull request from th-h/master
Fix SQL error in plugin_history.
2020-04-11 10:58:29 +02:00
4010d57d28 Fix SQL error in plugin_history.
Since merging  `serendipity_plugin_history`
breaks with a SQL error message on every archive
page but the first one; see  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
aff7f2ed9c functions_entries: use rewriteURL function for comment submit link 2020-04-06 19:36:10 +02:00
e288d7e43e Fix display of upgrade notification.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-04-03 09:15:33 +02:00
0fc509a50b Add NEWS item.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-03-28 15:22:58 +01:00
c89d7f92f6 Dashboard: Merge s9y and plugin update notifications.
Display either or both in one section.

Set dashboard_widget class to aid formatting.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-03-28 15:22:58 +01:00