Commit Graph
100 Commits
Author SHA1 Message Date
onliandThomas Hochstein d36895b321 Document rotating images and figcaption fix.
Backported from master branch.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-10-13 18:08:53 +02:00
onliandThomas Hochstein f55c17ee4f Fix: rotate image did not rotate all thumbnails.
Backported from master branch.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-10-13 18:08:48 +02:00
onliandThomas Hochstein 38a7a3f60b Fix: Stop ckeditor from removing figures and figcaptions.
Backported from master branch.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-10-13 18:08:44 +02:00
onli 60e975ee27 Fix: Don't show "Array" string under update notification 2019-08-03 21:11:53 +02:00
onli 6cab32aa5a document spamblock change #614, bump version 2019-07-29 17:29:16 +02:00
onli ba6ccb3dbb Make $entry available for templates (fix #610) 2019-07-03 17:51:36 +02:00
onli 983ed4e2cb prevent error in upgrader when $sqlfiles is NULL 2019-04-28 23:27:58 +02:00
onli 99b8190180 fix: Escape EXIF tags in ML properties view (#598) 2019-03-18 22:40:58 +01:00
onli b6cbaee339 Disable bodyclone spamblock option by default, disable for comments
See https://www.cgarbs.de/blog/archives/1181-Trackbacks-in-Serendipity.html
2019-03-18 21:48:26 +01:00
onli 92a1106405 Set distinct cache directory for voku/simple-cache (#597) 2019-03-18 21:37:56 +01:00
onli 6c699f2ce5 document #600 2019-03-10 11:33:43 +01:00
onli d77a9ae509 document nl2br improvement 2019-03-08 23:48:42 +01:00
onli 43f5181b6a bump nl2br version to 2.21.2 2019-03-08 23:45:28 +01:00
onli acc87400eb fix nl2br: $textarray could be null on category pages 2019-03-07 21:06:18 +01:00
onli c87938cd42 Fix: smarty could be null in responsive images, causing 500 error 2019-03-07 18:47:39 +01:00
onli f5d5b73c26 Bump required PHP version to 7.0 (#596) 2019-03-06 00:48:50 +01:00
onli e6c97f4148 document php 7.0 requirement, add some author mentions 2019-03-04 11:40:46 +01:00
onli cd0adf5550 Set templates_c as opcache destination for voku/simple-cache 2019-03-04 11:07:32 +01:00
onli a93b232c68 Document nl2br change and bumb version 2019-02-22 16:21:31 +01:00
onli f948279583 Fix autologin token, form tokens failed cause session was not set 2019-02-20 23:06:13 +01:00
onli c737565c13 Improve autologin token security by setting httpOnly and secure flag 2019-02-20 22:24:05 +01:00
onli f295a3b123 Fix self-XSS on file upload
The filename was used without escaping in the scucess message shown after upload
2019-02-20 21:38:13 +01:00
onli 153b5a37f1 Fix: Do not throw error when entry got deleted, go to 404 page 2019-02-16 14:46:46 +01:00
onli ba9c401697 Remove check of undefined constant (#556) 2019-02-16 13:36:15 +01:00
onli 4c4545428d Fix internal cache, init proper functions API 2019-02-16 13:07:53 +01:00
onli fd00877141 Add missing composer autoload dependencies 2019-02-15 16:48:20 +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
onli b9617be068 Make XML_RPC further PHP 7.2 compatible (#556) 2019-02-13 19:40:18 +01:00
onli e0f230dd15 Remove serendipity_purgeEntry
Removed pregenerated entries, but that functionality is long gone
2019-02-12 23:18:52 +01:00
onli 567e170338 document cache change, smarty update 2019-02-12 18:55:14 +01:00
onli d52f0004a4 Add voku/simplecache as alternative to Cache/Lite and use it cache
Cache/Lite is abandoned
2019-02-12 18:52:08 +01:00
onli fc02b0306b Update Smarty to 3.1.33 2019-02-12 17:50:49 +01:00
onli 839d45675c XMLRPC: Replace deprecated constructor (#532) 2019-02-11 18:43:02 +01:00
onli 88073e9816 Activate internal cache by default 2019-02-11 18:26:37 +01:00
onli 15adc798e5 Don't activate entryproperties cache by default 2019-02-11 18:23:06 +01:00
onli 98261856db Preserve manual set image link when moving/renaming image (#509) 2019-02-10 13:44:14 +01:00
onli 668dc88b96 document responsiveimages changes 2019-02-09 15:19:49 +01:00
onli f049892e39 Make serendipity_event_responsiveimages a default plugin
That means it will be activated during the s9y installation
2019-02-09 15:17:25 +01:00
onli 1b518e5b46 Rewrite srcset in feeds to absolute urls (#585) 2019-02-09 15:10:36 +01:00
onli e3aaefd2e9 ML: Add mediaproperties on rename (#509) 2018-11-18 22:57:51 +01:00
onli 732f1ae851 ML: Update links, not just thumbnail, when renaming images (#509) 2018-11-18 21:47:45 +01:00
onli fdb4428191 Restore backend_media_rename (#509) 2018-10-30 19:51:37 +01:00
onli 33d090e8b6 fix: don't use undefined CHARSET_NATIVE (#583) 2018-10-07 20:37:52 +02:00
onli 52838c0f7b fix: plugin page died because of non-countable object 2018-10-07 19:08:15 +02:00
onli 10585fff80 Fix: Unknown constant error RSS 2018-10-07 19:04:22 +02:00
onli c7bd6fafc7 update NEWS 2018-09-19 21:11:44 +02:00
onli 166b2d4658 security: Prevent XSS via multicategory pagination 2018-09-13 16:27:28 +02:00
onli a462413025 php 7.2: Replace each with foreach (#556) 2018-09-13 15:07:57 +02:00
onli 58ed05f187 fix: missing variable orderkey was supposed to be a string 2018-09-13 14:49:15 +02:00
onli 2960938f96 PHP 7: Remove $HTTP_RAW_POST_DATA (#574) 2018-09-13 14:44:45 +02:00
onli 5544b34253 fix: Remove use of undefined constant CATEGORY_PLUGIN_SHOWALL_DESC 2018-09-13 14:43:40 +02:00
onli 835b076c99 php 7.2: Remove invalid constant check (#563) 2018-09-13 14:27:51 +02:00
onli b664435ef6 PHP 7.2 compat: session_cache, each (#564, #556) 2018-09-13 14:22:01 +02:00
onli 3ef108634c bootstrap: fix preview by adding missing closing if 2018-08-20 19:29:08 +02:00
onli 0a35bd4c59 Update Smarty to 3.1.32 2018-08-17 09:35:36 +02:00
onliandGitHub 2a853f44ee spamblock: bump version 2018-08-09 19:38:47 +02:00
onli 47b8a13911 Make the $view variable more reliable
t could happen that $view was not set, which lead to noindex being set to all frontpage pages. See https://board.s9y.org/viewtopic.php?f=3&t=24041
2018-07-31 20:35:52 +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
onli 9d1fa83a39 Allow svgs in the media library (#529) 2018-06-14 22:14:04 +02:00
onli 23d3a73b01 init maintenance mode (#467) 2018-06-13 19:31:28 +02:00
onli 567587718b React to errors when comment could not be deleted (#527) 2018-06-12 23:49:11 +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 3ef2b78014 Make comment subscription with full text the default (#483) 2018-06-12 22:44:45 +02:00
onli c7c133ef1d Set the bcrypt hashtype as the default for user creation 2018-06-12 22:43:19 +02:00
onli 9e8eebac15 Fix user creation, also fixes installer
Because the hashtype was not set to the new default, but bcrypt already used, the user could not log in
2018-06-12 22:40: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
onli 0bdae3b18c Merge branch 'master' of github.com:s9y/Serendipity 2018-04-06 17:14:13 +02:00
onli 40993037b2 init media gallery insert 2018-04-06 17:09:51 +02:00
onli b0fb8d2d12 Sync: Drop netmirror from spartacus 2018-03-28 21:09:53 +02:00
onli eafc4dd625 Move from SHA1 to bcrypt
SHA1 is not an ideal password hash, even when salted, because it is cheap to compute. Since version 5.5 PHP offers bcrypt built in, which is a more expensive and secure hash function specifically suited for passwords
2018-03-23 18:02:02 +01:00
onli 52a41b37d5 Rework autologin to use a token approach
The prior code stored encrypted user data in the cookie that was then checked. This new approach is cleaner, as it only stores a token, and it does not use problematic crypto functions deprecated in PHP 7.2
2018-03-23 18:01:32 +01:00
onli 4d30cf3b07 resp imgs: don't insert original image if too small 2017-12-16 22:21:45 +01:00
onli 0ee37818f2 Let themes override responsive images breakpoint (#474) 2017-11-01 20:12:18 +01:00
onli d9db68ac5f minor: remove debugging output when adding image 2017-10-29 03:05:01 +01:00
onliandGitHub 440b189372 Merge pull request #526 from th-h/thh-comment-messages
Fix display of messages for comment editing.
2017-08-07 23:18:04 +02:00
onli d3e6a3ee3a Fix non-variable matches class (#522) 2017-07-11 14:06:32 +02:00
onliandGitHub 405fa77e3f Merge pull request #520 from th-h/thh-plugin-changelog
Display ChangeLog in plugin lists (if available).
2017-07-09 19:26:23 +02:00
onliandGitHub 93c95407aa Merge pull request #517 from igoltz/Issues_331_516
add template path as first entry to template_dirs array
2017-06-13 11:09:32 +02:00
onli a920a3aa67 responsive: Fix 0w images and introduce breakpoints
$breakpoints decide at which screen width an image is used, $thumbWidth how wide the thumbnail is. Stepping stone to making t configurable by themes.
2017-06-04 23:24:11 +02:00
onli bf4f484fe0 responsive: Fix srcset insertion when images are on one line (#474) 2017-06-04 20:19:37 +02:00
onli a34f6739a5 document backend_view_entry (#511) 2017-06-04 18:52:58 +02:00
onli 74f7acb69d Introduce backend_view_entry hook (#511)
Gives plugins the option to modify the central entry list in the plugin, so far to show additional information
2017-05-11 22:48:27 +02:00
onli bfeccabcdb Rework media library directory move
Initial motivation for this rework was to add support for the responsive thumbnnails (#474). But it also is a re-implementation instead of an enahncement of the existing code because the moveMediaDirectory function had grown into a mess. It was very hard to debug possible renaming bugs, like https://board.s9y.org/viewtopic.php?f=3&t=21185. This approach uses several small functions instead that can be combined and re-used.
2017-04-30 20:38:24 +02:00
onliandGitHub 4046d811a7 Merge pull request #507 from th-h/thh-506
Akismet has a POST API, not a GET API. :)
2017-04-21 13:05:10 +02:00
onli 2debad91d0 Workaround: Add smartyvars.uriargs to cache key
The freetags plugin sets this->displaytag in the frontend_fetchentries hook, and only sets clean_page if it sees that variable in the entry_display hook. The result is that wrong entries are shown on tag pages. Adding the smartyvars allows caching the correct $entries the plugin would have returned, working around that limitation without simulatign the frontend_fetchentries hook.
2017-04-20 17:42:48 +02:00
onli 2b4ddde690 Drop outer printEntries Cache 2017-04-20 01:23:07 +02:00
onli bf213b752d Drop outer printEntries cache 2017-04-20 01:19:43 +02:00
onli e61d38a61d Cache: Add additional state variables + single entry mode
fetchEntries is heaviliy realient on glboal state variables, and that was missed initially. The last commit c8bbb35aac fixed that partially, but did not catch all global state variables. Additionally, this fixed the clean_page mode as used by staticpage by adding the logic and event hook to printEntriesCached
2017-04-20 01:07:24 +02:00
onli c8bbb35aac Fix cache by getting & setting global state variables
See https://board.s9y.org/viewtopic.php?p=10447129#p10447129. Missed in #345
2017-04-19 01:11:34 +02:00
onli b6b989440d Document rel=trackback (#438) 2017-04-17 15:18:06 +02:00
onli 02b3959ac4 Merge branch 'master' of github.com:s9y/Serendipity 2017-04-16 01:17:39 +02:00
onli 88a89436ae responsive: Use default thumbnail in srcset (#474)
Also, use width to detect if the user only selected a thumbnail, and accordingly reduce the srcset selection
2017-04-16 01:15:27 +02:00
onliandGitHub 284fffb750 Merge pull request #503 from th-h/thh-487
Fix comment preview for logged-in user.
2017-04-15 23:26:53 +02:00
onli c585f73f8c Init responsive images core plugin (#474) 2017-04-15 23:08:54 +02:00
onliandGitHub e1733604a5 Merge pull request #493 from th-h/thh-dashboard-entries
Dashboard: redo display of drafts / future entries
2017-04-15 12:01:21 +02:00
onli 18f6429f32 Add rel=trackback header and discovery (#438) 2017-04-15 02:19:45 +02:00
onliandGitHub 6a6a402cc3 Merge pull request #497 from th-h/thh-netdns2
Add Net/DNS2.php 1.4.3 to core.
2017-04-13 12:50:16 +02:00
onliandGitHub 59d17ee112 Merge pull request #492 from th-h/thh-backend-page-title
Redo backend page title order.
2017-04-13 09:24:40 +02:00
onliandGitHub 82b79ef4d6 Merge pull request #489 from th-h/thh-spartacus-default
Change Spartacus default mirror to github.
2017-04-12 18:44:17 +02:00