Commit graph

2134 commits

Author SHA1 Message Date
s9y bot 996f93f027 Automagic XML sync 2020-05-30 00:52:47 +02:00
onli 74d3cbd237 autoupdate 1.2: Add plugin update check and cleanup 2020-05-29 13:25:14 +02:00
s9y bot 385008a66e Automagic XML sync 2020-05-28 00:51:52 +02:00
onli 282f20ef53 Staticpage: Avoid SQL errors on SQLite systems
See https://github.com/s9y/Serendipity/issues/377
2020-05-27 14:58:39 +02:00
onli 915e7e06eb DSGVO: Shorten one IPv6 block more 2020-05-27 14:24:57 +02:00
s9y bot 7d2a31161e Automagic XML sync 2020-05-12 00:52:42 +02:00
Garvin Hicking 0fbd62dbe3 [TASK] Upstream patches by surrim (sent via mail) 2020-05-11 16:32:32 +02:00
s9y bot becc64d33f Automagic XML sync 2020-05-11 00:52:25 +02:00
Thomas Hochstein 2ce1658154 [event_markdown] Add auto-ids in lib version.
For Markdown and Markdown Extra, add automatic
IDs (#id) to all headings from h1 to h6. Substitute
all chars that are not alphanumeric with "-".
Works in lib version only.

Explicitly defined IDs will override auto-generated
ones, so there is no need to add a configuration
switch for this change.

Fixes #729.

Bump version.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-05-10 19:23:26 +02:00
Thomas Hochstein 7bc9969e75 [event_markdown] Simplify use of Markdown lib.
The calls to Markdown and Markdown Extra can be
simplified in the lib version.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-05-10 19:20:09 +02:00
s9y bot 62a4ce1353 Automagic XML sync 2020-05-04 00:56:57 +02:00
Andreas Scherbaum a018270712
Add CAST for "value" column when selecting mf_hCalendar data (#115)
Otherwise PostgreSQL will throw an "operator does not exist" error
2020-05-03 21:29:30 +02:00
s9y bot 7d57fd7f88 Automagic XML sync 2020-05-03 00:51:37 +02:00
Jens Kubieziel 3ae35d06c7
substitute break outside of a loop by return false (#114)
* substitute break outside of a loop by `return false`

PHP 7 doesn't accept `break` statements outside of loop or switch structures and
returns an error. See https://www.php.net/manual/en/control-structures.break.php
I substituted the `break` by a `return false` which as far as I assume does the same.

* Update the version number

* Update the changelog with version 1.37.4
2020-05-02 14:28:11 +02:00
s9y bot 1c9a23418b Automagic XML sync 2020-04-30 00:52:07 +02:00
Thomas Hochstein ace82351d2 [unstrip_tags] Don't touch entry RSS feeds!
The HTML escaping needs to be restricted
to comment (and trackback) feeds to avoid
escaping "legal" HTML in entry feeds.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-04-29 13:43:36 +02:00
Thomas Hochstein cb4c188959 [unstrip_tags] Add me as author.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-04-29 12:01:30 +02:00
s9y bot 345aa577a7 Automagic XML sync 2020-04-25 00:53:27 +02:00
Thomas Hochstein 91b68f2c57 Spartacus: Change link text for plugin_website.
Was "Documentation", is now "Website".

There are no "documentation" links left, so we
can re-brand the plugin_website property to mean
a general information page about the plugin
or its author.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-04-24 21:43:22 +02:00
Thomas Hochstein 288111e854 Fix stupid typo in 9a7127bf5f.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-04-24 17:00:23 +02:00
Thomas Hochstein 5c75ef4f30 [unstrip_tags] Apply to sidebar comment display.
Needs serendipity_plugin_comments 1.17 or newer.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-04-24 15:15:33 +02:00
Thomas Hochstein 9a7127bf5f [unstrip_tags] Apply to comment RSS feeds, too.
Add ChangeLog.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-04-24 14:08:58 +02:00
s9y bot c74dcd8fc8 Automagic XML sync 2020-04-23 00:52:41 +02:00
Thomas Hochstein 0e66b5cc0e Treat <details> and <summary> as block level.
`<details>` and `<summary>` elements should
never be wrapped in `<p></p>`.

See michelf/php-markdown#329.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-04-22 17:39:44 +02:00
s9y bot 7d409eb828 Automagic XML sync 2020-04-19 00:54:07 +02:00
Thomas Hochstein b946b3daa2 [sitemap] Don't add tag pages with draft tags.
Fixes s9y/Serendipity#659

Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-04-19 00:24:46 +02:00
Thomas Hochstein a6d340cdf2 Fix draft check.
Fixes s9y/Serendipity#696.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-04-18 23:08:28 +02:00
Thomas Hochstein 8c11320820
Merge pull request #113 from th-h/thh-fixentryprop
Fix accidental deletion of extended properties.
2020-04-18 22:41:20 +02:00
Thomas Hochstein 79bf6de95b Fix accidental deletion of entry_image.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-04-18 19:09:48 +02:00
Thomas Hochstein 3f66eef7ec Fix accidental deletion of metadesc data.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-04-18 19:07:04 +02:00
s9y bot e3dbcbec29 Automagic XML sync 2020-03-30 00:52:38 +02:00
Thomas Hochstein b8f8c5a20c Set 'Changelog' to 'ChangeLog'.
Spartacus only looks for CamelCased ChangeLog
files to link them.

Plugin version NOT bumped on purpose.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-03-29 10:23:33 +02:00
Thomas Hochstein 81e82aafde [event_kubrickheader] Bump version.
Will release language constant fix from
3a4c30ca3f

Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-03-29 09:14:44 +02:00
s9y bot e3018d85fc Automagic XML sync 2020-03-29 00:49:25 +01:00
Thomas Hochstein 75d8216515 Fixes from emerge_spartacus runs.
Analyzing the Spartacus creation logfiles
lead to some fixes, mostly old PHP constructors
and some bugs around constants.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-03-28 22:21:19 +01:00
s9y bot 3125caa4b5 Automagic XML sync 2020-03-28 21:50:05 +01:00
s9y bot 6baeeaa9e3 Automagic XML sync 2020-03-28 00:51:08 +01:00
Thomas Hochstein c5596bcc2e
Merge pull request #112 from th-h/thh-soc-entryimg
[event_social] Set social media image for entry.
2020-03-27 22:35:08 +01:00
Thomas Hochstein 749579f32d [event_social] Set social media image for entry.
evenmt_social will use the first image from the
entry for the OpenGrahp "og:image" meta property
used by Facebook and Twitter; if there is none,
it will fall back to the default image from the
plugin configuration.

The timeline and photo themes support setting
a featured image that is used instead.

Add the possibility to set a social media
image for each entry, regardless of theme.
If there is none set, fall back to timeline
or photo featured images, or the first image
in the enttry body, or the default image from
the plugin configuration (in that order).

Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-03-27 22:28:34 +01:00
Thomas Hochstein 530d3ee063 Sort themes case-insensitive.
Change sorting on Spartacus web pages.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-03-25 22:42:58 +01:00
Thomas Hochstein 5ffa0ad4d3 Get language selector working.
The chosen language got lost (reset to "en") after following the next
link, as the language field wasn't part of those links.

Now we choose the language in three steps:

If "language" ist set (after using the language selector form), we use
that.

If it isn't set but a plugin group was chosen, we take the right
language from the filename of that page.

Only if neither is set we fall back to english.

Moreover we keep the current language "selected" in the language
selector dropdown.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-03-24 13:00:57 +01:00
Thomas Hochstein 0af1411cba Fix typo in Spartacus creation date function.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-03-24 13:00:50 +01:00
s9y bot 986cebae4f Automagic XML sync 2020-03-24 00:53:48 +01:00
Thomas Hochstein b0859ac48d Remove URLs, mail addresses and links from author.
URLs and mail adresses don't belong there and
are currently dead anyway.

Links will no longer be shown in the next
patch release.

Bump versions to propagate.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-03-23 18:01:22 +01:00
Thomas Hochstein 1d9e4d3ede Move language selector to top of sidebar.
Due to the long list of themes, language
selector and feed list are way, way down
and can easily be overlooked. Move at
least the language selector up to the top.
(We could also cut the complete list of
themes in the sidebar.)

Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-03-23 17:19:47 +01:00
Thomas Hochstein 214e30c928 Move Spartacus creation date to plugin/theme page.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-03-23 17:15:06 +01:00
Thomas Hochstein 133a7bbe28 Switch Spartacus webpage creation date to 24h.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-03-23 07:53:21 +01:00
Thomas Hochstein 7d61fee609
Merge pull request #110 from th-h/master
Fix some long dead links, enhance language chooser.
2020-03-22 20:19:32 +01:00
Thomas Hochstein 59ae0885c9 Enhance language selector.
Keep the currently selected option and
change the display language on the fly.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-03-22 19:28:50 +01:00
Thomas Hochstein 743deae6c1 Change supporters footer.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-03-22 18:54:06 +01:00