5345 Commits

Author SHA1 Message Date
Matthias Mees
1ae46203c3 Replace idea theme with bootstrap4 theme
- Add new bootstrap4 theme
- Move idea theme to spartacus
2018-03-25 10:57:21 +02:00
Thomas Hochstein
84b0cecfa3 Update RELEASE and NEWS for 2.1.2.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2018-03-25 08:45:12 +02:00
Mario Hommel
0d8cdd59fa
Fix variable name in hook backend_sendcomment 2018-03-24 18:31:14 +01:00
Guillaume Zin
493ddde07a Remove old call on the onclick event of submit button 2018-03-23 20:48:32 +01:00
Guillaume Zin
7994bda7b5 Use event listener on submit for check save 2018-03-23 20:48:32 +01:00
Guillaume Zin
d459d54271 Add functions for entry check 2018-03-23 18:12:21 +01: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
Garvin Hicking
4a43761e72 Assume uninitialized charset constant (https://board.s9y.org/viewtopic.php?f=3&t=22365) 2018-03-12 12:39:06 +01:00
Garvin Hicking
b2eecb9a3d backport constant check 2018-01-10 11:21:59 +01:00
Stephan Brunker
7bc9067674 allowed nested lists, svg XML elements and fixed bugs in tag_clean 2018-01-02 14:46:45 +01:00
Stephan Brunker
bac3e5fb41 added iframe to allowed singleton tags 2017-12-20 00:06:57 +01:00
onli
4d30cf3b07 resp imgs: don't insert original image if too small 2017-12-16 22:21:45 +01:00
Stephan Brunker
967935195c Fixed a small bug in isolation feature 2017-12-14 21:25:12 +01:00
Stephan Brunker
43b9f607d3 NL2P operation completely new written, works now from front to back according to tags 2017-12-14 21:25:12 +01:00
Stephan Brunker
b837adde3c Changed behavior between body and extended part of article.
The body part now has never a whiteline at the bottom, the extended part has one at the top if it begins with a newline or the body ends with a newline.
2017-12-14 21:25:12 +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
Garvin Hicking
cacf778480 Merge pull request #533 from erAck/master
Add xml inc svg as 'text' file extensions to serendipity_FTPChecksum()
2017-09-25 09:32:17 +02:00
Eike Rathke
be3df87b97 Add xml inc svg as 'text' file extensions
To prevent situations like in
https://board.s9y.org/viewtopic.php?f=10&t=21591
where the following files were modified by FTP text transfer type but
not handled as such in serendipity_FTPChecksum()

bundled-libs/katzgrau/klogger/phpunit.xml
bundled-libs/simplepie/simplepie.inc
templates/2k11/admin/font/fontello.svg
templates/next/font/fontello.svg

All these *are* text files.

Maybe simplepie.inc should rather be renamed to simplepie.inc.php as well.
2017-09-21 18:48:10 +02:00
Eike Rathke
e2a35c3694 Merge remote-tracking branch 'upstream/master' 2017-09-21 02:49:08 +02:00
onli
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
Thomas Hochstein
0f9bfe3fda Fix display of messages for comment editing.
All messages and errors were appended to $msg
and $errormsg, respectively, creating one long
unformatted string - mostly unreadable.

So we make $msg and $errormsg arrays instead
and iterate over those arrays in the template,
displaying each message separately.

Fixes #525.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2017-08-07 23:11:13 +02:00
onli
d3e6a3ee3a Fix non-variable matches class (#522) 2017-07-11 14:06:32 +02:00
Garvin Hicking
30b57a1e42 wrong function call 2017-07-11 12:33:01 +02:00
Garvin Hicking
8b1ae7cee8 Once more without parse errors 2017-07-10 13:54:00 +02:00
Garvin Hicking
59f8837ab2 Add upgrader task, Issue #521 2017-07-10 13:53:33 +02:00
Garvin Hicking
07d75a6d65 Fixes Issue #521 2017-07-10 13:49:27 +02:00
onli
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
Thomas Hochstein
b7f479e9fc Display ChangeLog in plugin lists (if available).
Code was using wrong file path variable for checking
the presence of a ChangeLog file.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2017-07-09 15:07:47 +02:00
onli
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
Immo Goltz
1131a79aaf add template path as first entry to template_dirs array; fix #331 fix #516 2017-06-12 17:22:07 +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
Garvin Hicking
efeede599b Allow multiple authorship for entries 2017-06-01 12:25:50 +02:00
Matthias Mees
c1b84508ea Fix broken display of details in FF
References #515
2017-05-25 11:01:27 +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
onli
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
Thomas Hochstein
6751bd8d52 Akismet has a POST API, not a GET API. :)
Closes #506.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2017-04-21 13:01:11 +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 c8bbb35aacee7af8527820f3d3d5fd47d1dbf340 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
Matthias Mees
e6cf472b01 Merge pull request #504 from th-h/thh-news
Add PR #493 to NEWS.
2017-04-16 15:09:10 +02:00
Thomas Hochstein
7dfed291ae Add PR #493 to NEWS.
PR #493 was
"Dashboard: Redo display of drafts/future entries."

Signed-off-by: Thomas Hochstein <thh@inter.net>
2017-04-16 14:55:19 +02:00
Matthias Mees
c43b419939 Add German translation + UTF-8 lang files 2017-04-16 10:11:26 +02:00