Stephan Brunker
8e24108b88
admin/entries.inc.php: strip multilingual from iframe entry
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
onli
bf8f1aafa5
Disable ckeditor ACF to fix #705
...
And to prevent similar issues in the future
2020-05-27 14:41:15 +02:00
onli
6b6f8138f0
Update README.markdown
2020-05-27 13:49:16 +02:00
Stephan Brunker
695055f50c
plugin nl2br: add missing 'u' inline element
2020-05-15 13:33:53 +02:00
onli
8b5655ce92
Update README.markdown
2020-05-08 10:43:27 +02:00
onli
1aec803a23
Update README.markdown
2020-05-08 10:43:27 +02:00
Matthias Mees
3bc302fbcf
Fix broken sidebar in bootstrap4 theme
2020-05-03 19:51:43 +02:00
onli
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
onli
dd455ae507
Add Gitlab as Spartacus mirror
2020-05-03 13:59:23 +02:00
onli
5ec1754434
Stop appending * to search terms ( fixes #704 )
2020-05-03 13:52:05 +02:00
Soatok Dreamseeker
7e98987b5a
Commit changes to bundled-libs after Zend->Laminas rename
2020-05-03 11:11:13 +02:00
Soatok Dreamseeker
e9f0864c8c
Switch from Zend to Laminas
2020-05-03 11:11:13 +02:00
Thomas Hochstein
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
Stephan Brunker
4db384f926
2k11/admin/comments: Stay on the same page after approving
2020-05-02 11:28:07 +02:00
Hanno Böck
c479e1c9d2
escape filter words for regexp
2020-04-30 10:22:27 +02:00
onli
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
Stephan Brunker
2b6a1a6a3b
[plugin recententries] Fix multilingual issues
2020-04-28 20:18:35 +02:00
Eike Rathke
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
Thomas Hochstein
4df3ca647f
Change German for dashboard upgrade notification.
...
Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-04-25 10:12:11 +02:00
Thomas Hochstein
1032bd9725
Release 2.3.5
...
Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-04-25 08:37:03 +02:00
Thomas Hochstein
7bfa899cc3
Merge pull request #703 from th-h/thh-summary-css
...
Restrict block display of summary to trackbacks.
2020-04-25 00:13:27 +02:00
Thomas Hochstein
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
Thomas Hochstein
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
Hanno Böck
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
Thomas Hochstein
e60dd8dd2d
Merge pull request #702 from th-h/thh-plugin-comments
...
[plugin_comments] Don't strip HTML unconditionally.
2020-04-24 15:25:40 +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
Thomas Hochstein
9cff057209
CK-Editor: allow details and summary.
...
Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-04-23 17:56:54 +02:00
stephanbrunker
928f220c5a
[event nl2br] fix concatenation and spaces between newlines
2020-04-23 00:05:22 +02:00
Thomas Hochstein
c694fb0f45
Fix regexp to truncate media extensińs to 5 chars.
...
See 4ee1066b8996bada7f2e0beea5e8474ccb579ba2
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
Thomas Hochstein
b2b1de66b6
Merge pull request #695 from th-h/thh-fixentryprop
...
Fix accidental deletion of extended properties.
2020-04-18 22:41:26 +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
Stephan Brunker
0d7f55e616
fix oddments in admin/users and admin/entries
2020-04-14 13:56:45 +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
9b65e717c1
Add note to serendipity_fetchEntries().
...
I think that will help to think about the
context of serendipity_fetchEntries() calls.
Closes #693 .
Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-04-11 12:53:09 +02:00
Thomas Hochstein
93ba22c8d4
Don't fallback to last page if $totalPages < 1.
...
See #693 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
Thomas Hochstein
6522f043cf
Merge pull request #694 from th-h/master
...
Fix SQL error in plugin_history.
2020-04-11 10:58:29 +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
Stephan Brunker
aff7f2ed9c
functions_entries: use rewriteURL function for comment submit link
2020-04-06 19:36:10 +02:00
Thomas Hochstein
e288d7e43e
Fix display of upgrade notification.
...
Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-04-03 09:15:33 +02:00
Thomas Hochstein
0fc509a50b
Add NEWS item.
...
Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-03-28 15:22:58 +01:00
Thomas Hochstein
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
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
onli
de29be7287
Drop unused is_utf8 variable
2020-03-28 13:37:12 +01:00
onli
b718cf7726
Only set mysqli_set_charset when covnersion is enabled
...
This restores the behaviour from before the move to utf8mb4 and should help legacy blogs not having charset issues, that went from latin1 to utf8 to now utf8mb4
2020-03-28 13:31:49 +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
53694e2691
Unconditionally keep upgraded_version in plugin cache.
...
See #685 for more information.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-03-28 13:22:01 +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
52952ffe36
Fix comment in plugin_api.inc.php
...
Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-03-28 09:24:30 +01:00