1691 Commits

Author SHA1 Message Date
Thomas Hochstein
9709592b7c Escape version string in update notifier.
Fixes #674.

Backported from master branch.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-03-20 19:11:23 +01:00
onli
d462580606 Fix trackback deletion from frontend, invalid referrer error
Was missing the token.

For context see https://board.s9y.org/viewtopic.php?f=10&t=24633

Cherry-picked from master branch.
2020-03-20 16:49:14 +01:00
onli
ac81762eaa Make use of the video tag for videos in the ML.
Cherry-picked from master branch.
2020-03-20 16:42:11 +01:00
onli
5934de7a4e Fix links in ML not going to item when no image.
Cherry-picked from master branch.
2020-03-20 16:29:48 +01:00
onli
89351eb77b Fix: Remember where you stored images last
Fixes #652.

Cherry-picked from master branch.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-03-20 16:26:26 +01:00
Garvin Hicking
a45c545ee3 [TASK] Uses single-asset insertion when only one asset has been selected to be inserted
See #651.

Backported from master branch.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-03-20 16:23:43 +01:00
Garvin Hicking
cad25673cf [TASK] Adds ability to make plugins change the multi-media insertion gallery HTML 2019-12-03 15:54:24 +01:00
Hanno
f26a306026 Escape category images to avoid backend XSS.
Backported from master branch.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-10-13 18:08:28 +02:00
Matthias Mees
f30de8449f Fix sidebar not displayed in BS4 theme.
Backported from master branch.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-10-13 18:08:08 +02:00
Matthias Mees
ae0077f836 Fix typo in Skeleton theme.
Backported from master branch.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-10-13 18:08:03 +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
Garvin Hicking
b653ed867c [BUGFIX] Fixes {$save_error} not showing when saving plugin API configuration.
Backported from master branch.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-10-13 18:07:43 +02:00
Thomas Hochstein
e2c0c82aeb Revert "Fix pagination for "stable archives" in themes."
This reverts commit 4e662bf17c420cc997c39c9501cfe0df509d9a09
in parts.

With this - now reverted - commit, the prev/next
arrows in pagination were swapped because they
were the wrong way around. Unfortunately, later on,
the root cause was fixes by "unswapping" the prev/next
links in core, so now the pagination arrows were
... eh ... wrongly swapped. So this commit has to
be reverted.

Backported from master branch.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-08-24 08:58:59 +02:00
Thomas Hochstein
2e5e601ea2 Fix ML mass delete, enhance i18n.
* Fix media library (mass) delete.

* I18n for multimove.
  + Add MEDIA_DIRECTORY_MOVE.
  + Change German translation of "Move" to
    "Verschieben".

Cherry-picked from master.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-08-17 13:57:54 +02:00
Thomas Hochstein
4e662bf17c Fix pagination and links for "stable archives".
* Fix core pagination for "stable archives".

  The current page will always be the current page,
  regardless of archive sorting order. Page 76 of
  86 pages will remain page 76, even if the archive
  sorting is changed; it won't become page 10.

* Fix pagination for "stable archives" in themes.

  Timeline and Bulletproof have pagination.
  Both need to swap the prev/next links for
  stable archives, as the sorting order has
  been reversed.

* Fix prev/next page links for stable archives.

  We shouldn't swap prev/next links for archive
  pages. With stable archives, the title page is
  the last page of the archive, not the first, so
  all other pages are "previos", and we should
  display it like that.

Cherry-picked from master.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-08-17 01:02:38 +02:00
Thomas Hochstein
cd3464be70 Add i18n and German translations.
* "PLUGIN_ALL_UPDATED" was hardcoded.
* Add some missing German translation
  and fix some others.
* Add new constants to other languages
  via addlang.sh
* Remove wrongly added constants from
  plugin_lang.php

Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-08-17 00:59:33 +02:00
Thomas Hochstein
b88f789655 Add Spartacus links to plugin lists.
Quite some information is missing from
the list of installed plugins; and the
list of installable plugins has some
more information, but not everything
that is present on Spartacus, i.e.
the last modification date.

So let's add a link to the plugin entry
on Spartacus (in the chosen language
version).

Fixes #471.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-08-17 00:58:32 +02:00
Thomas Hochstein
2d4285bd52 Fix typo / unify PHP and smarty variable names.
"requirement_failures" from PHP is saved in
"requirements_failues" - "requirements" as
in plural, and with a typo. That doesn't make
sense. Let's use "requirement_failures"
everywhere.

Backported from master.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-08-11 03:01:18 +02:00
Thomas Hochstein
71331f5e07 Wording changes for plugin version display.
"Version" should be capitalized in German -
and anywhere at the start of a sentence or
line.

Furthermore, "UPGRADE_TO_VERSION" is not
the current version ("aktuelle version"),
but the version one could upgrade to.

Backported from master.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-08-11 03:01:18 +02:00
Thomas Hochstein
90b35f7933 ML delete file: add "?" to conformation question.
Backported from master.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-08-11 00:46:04 +02:00
Matthias Mees
623b2f8879 Fix preview iframe in bulletproof, thx pixel32 2019-06-30 19:30:55 +02:00
onli
983ed4e2cb prevent error in upgrader when $sqlfiles is NULL 2019-04-28 23:27:58 +02:00
Mario Hommel
c3fce509c0 Fix smarty reference in timeline theme. 2019-04-27 17:08:39 +02:00
Mario Hommel
e9f0fb2315 Merge branch 'master' of github.com:s9y/Serendipity 2019-04-27 15:35:30 +02:00
Mario Hommel
9b688f00f9 Fix PHP 7.2 compatibility for Theme Clean-Blog 2019-04-27 15:34:26 +02:00
Thomas Hochstein
14893629ba Fix maintenance mode form.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-04-27 13:44:06 +02:00
Thomas Hochstein
5aca7bd1b4 Add missing tags.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-04-27 13:29:37 +02:00
Thomas Hochstein
18d3cfeeac Fix missing double quote.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-04-27 13:28:12 +02:00
Matthias Mees
34bf25066c Merge branch 'mediadb-figure' 2019-04-27 13:12:10 +02:00
Matthias Mees
c610f92b7f Use figure/figcaption for images w/ captions 2019-04-27 13:11:14 +02:00
Thomas Hochstein
ceaee85d3b Localize maintenance mode.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-04-27 13:10:23 +02:00
onli
eda8f71065 Fix XSS from image comment exif field (#598) 2019-04-27 12:57:27 +02:00
Matthias Mees
7df9051019 Fix: mispositioned button in media db directory management 2019-04-27 12:32:21 +02:00
onli
99b8190180 fix: Escape EXIF tags in ML properties view (#598) 2019-03-18 22:40:58 +01:00
DonChambers
0faf2b9899 Timeline Theme - more icons & font awesome upgrade
Added more social icons to the index footer, upgraded to Font Awesome 5.7.2.
2019-03-18 09:01:21 -05:00
DonChambers
eafb79546d Timeline Theme - added images to static pages
Static pages now use the same method of image assignment as entries.
2019-03-16 13:48:54 -05:00
onli
f5d5b73c26 Bump required PHP version to 7.0 (#596) 2019-03-06 00:48:50 +01:00
onli
f1c796b129 Add ML id to non-images added to entries
This enables automatic updating of the link when moving or renaming the file in the ML
2019-02-14 22:44:54 +01:00
Garvin Hicking
0dc6f620c1 [BUGFIX] Fixes media library regression, references #509
Adds missing ACL renames
Missing trailing / when managing dirs
Fix typo that did not evaluate read/write properly
Add missing NEWS entries
2018-11-05 15:59:49 +01:00
Thomas Hochstein
e4567b255b [2k11] Update links in admin overview.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2018-09-15 23:58:38 +02:00
Don Chambers
368dca4379 Timeline & Clean Blog: removed reference from function
https://board.s9y.org/viewtopic.php?f=3&t=24074
2018-09-06 10:24:03 -05:00
onli
3ef108634c bootstrap: fix preview by adding missing closing if 2018-08-20 19:29:08 +02:00
onli
280a2f1c00 ML gallery: link images (#552)
Still needs to react to hotlinked images, and if we add a configuration step here the template will be the wrong place to create the markup
2018-06-20 23:37:50 +02:00
Matthias Mees
c64fd17550 Add mvp HTML/CSS for media galleries
- Use proper semantic markup for s9y_gallery
- Add a few classes just in case
- Add basic CSS for image galleries
- Backport gallery styles to default

References #552
2018-06-16 16:45:55 +02:00
onli
23d3a73b01 init maintenance mode (#467) 2018-06-13 19:31:28 +02:00
onli
4c671ead1c Make it easier to drag plugins to other column (#510) 2018-06-12 23:22:45 +02:00
onli
3ba160c52a If js is broken, fallback to open configuration options (#479) 2018-06-12 23:05:02 +02:00
onli
bfce8ffb61 Improve gallery insert function (#552)
Border around selected images, button hidden till iamge is selected, init language constant
2018-06-11 23:12:12 +02:00
Garvin Hicking
e23fed0a47 Merge branch 'master' of https://github.com/s9y/Serendipity 2018-04-23 11:58:54 +02:00
Garvin Hicking
775b71134c * Fixed bug in pull request #392 which overwrote user specified
input for logged in authors with an empty realname (wrong array
      key name) and deleted all existing text input
2018-04-23 11:58:32 +02:00