52 Commits

Author SHA1 Message Date
Garvin Hicking
19513cdf14 Security fixes 2018-07-18 11:23:02 +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
klemens
5a95db314a spelling fixes 2017-04-06 22:26:07 +02:00
Garvin Hicking
4e8c310156 Issue #435, fix missing escaping of HTTP referer to prevent XSS 2017-01-02 09:37:45 +01:00
Matthias Mees
7410465496 Improve accessibility of iconfont icons
Iconfont icons are of no value to screenreader users; in our case,
they get alternative text. By adding 'aria-hidden="true"' to the
<span> holding the iconfont icon, we avoid the screenreader trying
to announce the iconfont icon.
2016-10-26 11:29:25 +02:00
Ian
2b610dc791 Add first and last pagination for entries and media items 2015-10-05 19:10:53 +02:00
Ian
7c21de8aa8 Allow bulk move ML items to Uploads Root too
Fixes many issues like for renaming files and subdir handling, database placements and other issues.
Structures case DIR, FILE and FILE vars for renaming, moving, select and replace.
Touches directoryEdit and mediaproperties related boundaries.
Adds better event messages, which fixes $ob_serendipity_moveMediaDirectory.
Extends and fixes media_items realname issues and changes the length of the item title to be as long as possible.
Added new constants to be executed to the lang files in near future, when some follow up commits have been added.
2015-10-05 18:19:09 +02:00
Ian
d7b1e7d23d minor whitespace and code cleanup
and a small github docnote fix
and added a todo for transforming a filename into a valid  upload path
2015-09-30 11:22:37 +02:00
Ian
ee50524242 cleanup 2015-01-17 17:53:15 +01:00
Garvin Hicking
afa74da11c fix fulltext search for types other than mysql 2015-01-05 11:22:22 +01:00
Ian
8da4c647a8 cleanup tabs and whites 2014-11-24 14:17:38 +01:00
onli
92afc37753 Introduce serendipity_specialchars-wrapper for encoding bug (#236)
PHP 5.4 sets UTF-8 as the default for htmlspecialchars, htmlentities and html_entity_decode. The first two will echo an empty string when given a string with umlauts. This commits introduces serendipity_specialchar-wrapper that are meant to be a temporary solution for the s9y-core until PHP 5.6 fixed the bug, so the native charset option of s9y continues to work.
2014-11-23 23:41:08 +01:00
Garvin Hicking
9b89c3d815 Another stab at fixing Issue #201
When no categories are delivered to serendipity_updertEntry this can mean two things:
- categories need to be un-assigned
- categories where not addressed/fetched/passed to the function [see include/admin/overview.inc.php for publishing a post! Or plugins like freetag, using serendipity_updertEntry]

To address this a new serendipity[had_categories] is added to the backend template, which can be checked for.

Feedback appreciated!
2014-08-08 14:23:19 +02:00
Garvin Hicking
f9bddffc3e Rework code to work with array.
References Issue #201
2014-08-08 10:59:40 +02:00
Garvin Hicking
5fdff4c671 Bugfix for not properly setting entry.cats in entry overview
References #201
2014-08-07 10:53:18 +02:00
onli
479efe7e7d first fix for entrycheck discarding drafts (#162) 2014-05-25 23:47:01 +02:00
Garvin Hicking
3d7765f066 upport 1.7.6 security fixes 2014-02-06 09:36:31 +01:00
onli
0f36373920 Intorduce simpleFilters setting
Replaces SimpleImageFilters with a personal setting, covers image filters and the simpler entry edit overview
2014-01-19 19:31:45 +01:00
onli
43a8bb9a39 smartify placement of entryeditor page elements 2013-06-14 23:26:49 +02:00
onli
4927f38429 {} shows the amount of available entries in the entry-list 2013-06-09 17:57:56 +02:00
onli
6413493e9d Admin-entrylist: give to smarty 2013-06-09 17:19:09 +02:00
onli
3472e11ef8 Include SetCookie-calls into entries.tpl, first cleanup of admin/entries.inc.php
Instead of using serendipity_JSsetCookie, and using .ready
2013-06-07 17:45:20 +02:00
onli
ae74401668 2k11 is default template, included admin-tpls, and made it installable 2013-05-30 22:19:07 +02:00
onli
a56b5382e1 removed TEMPLATE_SWITCH 2013-05-27 21:06:52 +02:00
Ian
85c5cc4d82 fixed 'no entries to print'
- at last...?
2012-12-05 13:41:14 +01:00
Ian
fb81d6a121 added temporary backend developer template dir switch - Please read:
The smartified code as forked from master to 2.0 being outsourced,
now is to find in /include/admin/tplold, which will still be used as
the default backend template dir.
To switch to the new version, please paste the dirs and files of s9y-admin-tpl
as adviced in the readme and reload, but also add a
```php
	// End of Serendipity configuration file
	// You can place your own special variables after here:

	define('SWITCH_TEMPLATE_VERSION', 'true');

```
to the end of your serendipity_config_local.inc.php.

To switch back to the old smartified files, just set a // to the define().
2012-11-20 14:38:28 +01:00
Ian
d2d2470716 simplification, fixes, additions and changes to entries.inc.php/tpl 2012-06-01 14:22:54 +02:00
Ian
1a007506d6 entries.inc fixed some more typos 2012-03-20 17:37:18 +01:00
Ian
50cec28c33 fixed entries 2012-03-20 16:18:13 +01:00
Ian
eb578a304f comments.inc, entries.inc, images.inc, upgrader.inc GET enhancements 2012-03-03 12:52:39 +01:00
Ian
83ccfc55db entries.inc improvements 2012-02-20 12:15:03 +01:00
Ian
4631e1728a smartified entries.inc
Well to be honest, I had to cheat a little bit and add two Serendipity API functions to the list of allowed php functions in smarty secure mode.
2012-02-19 20:55:46 +01:00
Ian
4822b3e7b8 added token to support the preview link in backend entries 2012-01-16 09:10:00 +01:00
Garvin Hicking
316e86f3dc * Added ability to mark authorgroups as "hidden", so that members of such groups are excluded from common author listings. (Ref http://board.s9y.org/viewtopic.php?f=11&t=16237) (garvinhicking) 2010-01-13 12:28:55 +00:00
Garvin Hicking
796e7ff96a * Filter entries only by authors that have written at least
one article (garvinhicking)
2009-07-10 15:45:18 +00:00
Jude Anthony
0dc95ae371 Move advanced template code to less intrusive location 2008-11-25 19:57:49 +00:00
Garvin Hicking
8ea49739fb Fix resetting comment/tb counter when editing an entry 2008-11-25 09:56:04 +00:00
Jude Anthony
d4ce381d36 Don't preset entry author or id 2008-09-23 13:53:16 +00:00
Jude Anthony
7fca875a7f Add entry data required by advanced templates to preview 2008-09-10 16:32:57 +00:00
Garvin Hicking
62fb2d243a Show preview link for entries in the future 2008-08-04 08:04:37 +00:00
Garvin Hicking
bacf8ff0f3 Missing commit 2008-02-02 11:05:35 +00:00
Garvin Hicking
d34bbd7181 * Add ability to plugins to check uploaded media files for invalid
file extensions. Added more escaping to user- and groupnames
      for untrusted author environments, thanks to Hanno Boeck.
      (garvinhicking)
2008-02-01 14:10:14 +00:00
Don Chambers
5e3f9bac85 Fix admin entry list when no entries exist or meet filter criteria. 2007-09-11 12:48:15 +00:00
Garvin Hicking
a0d950b320 HTML and images by Don 2007-08-06 10:18:26 +00:00
Garvin Hicking
472432b1b9 Merge patch from Don Chambers for better input classes in admin 2007-07-12 09:40:04 +00:00
Garvin Hicking
773fab8ab5 Remove 'View' option for drafted entries in the 'Edit entries' section and replace with a 'Preview' option. 2007-01-14 16:06:03 +00:00
Garvin Hicking
740a740092 Fix showing the entry owner in preview, not the currently logged in author 2006-12-11 11:52:18 +00:00
Garvin Hicking
992524f9b3 Fix import UTF-8 bug, thanks to jan 2006-10-27 09:18:19 +00:00
Garvin Hicking
5ae78da826 Checkbox-based multi-entry deletion, fix admin entry pagination to not show empty paginated pages on the last page 2006-10-25 08:27:16 +00:00
Garvin Hicking
64b8c865f7 Highlight sticky entries in admin interface 2006-10-09 11:20:07 +00:00