77 Commits

Author SHA1 Message Date
Ian
227d115d71 Fix missing perm checks for a "standard user" in MediaLibrary
We still have the issue that we have set authorID 0 as the standard authorid in ML. This prevents us being more strict than this.
We will have to re-think this, maybe...

References #385
2016-02-03 15:47:04 +01:00
Ian
04104a3e4d Fixed media item delete handler
References #371
Closes #371
2015-10-31 14:10:52 +01:00
Ian
ee1e567503 remove default case only path restoreVar
this is now done where it is actually needed
2015-10-28 11:36:50 +01:00
Ian
d1baaf4983 better listen on toggle_dir and remember 2015-10-26 11:36:57 +01:00
Ian
a7732eeb81 minors 2015-10-20 13:24:50 +02:00
Ian
715d8cafa6 Optimize scaleImage returns 2015-10-19 13:21:19 +02:00
Ian
3030b80c2b fix rename media file reload issue
References #370

and allow better umlaut conversion

This is a plain javascript event, therefore the message and reload stuff had to move into the JS caller.
2015-10-17 15:03:15 +02:00
Ian
732d6067c3 restore last set directory path on mediaproperties submit 2015-10-17 13:47:36 +02:00
Ian
0d7f8d474f multi delete/move - submit by name
fixes notice messages on POST
2015-10-16 11:22:25 +02:00
Ian
d130dc729e bulkmove - prevent success reload to open itself,
the multidelete type again and end with MULTICHECK_NO_ITEM message.
2015-10-15 11:01:06 +02:00
Ian
92299999e7 bulkmove - return to last selected directory 2015-10-15 10:55:35 +02:00
Ian
8fb7d51106 add message to item properties done 2015-10-12 14:15:31 +02:00
Ian
2e43a9944e keep previous ML item name whitespace behaviour 2015-10-08 10:25:23 +02:00
Ian
4539ef8d9d dot is empty - fix 994161a 2015-10-07 11:35:03 +02:00
Ian
994161a0a2 better preserve directory seperators 2015-10-07 11:16:36 +02:00
Ian
e2b6417bd2 extend 2b9a008 for both cases 2015-10-07 09:45:35 +02:00
Ian
2b9a008208 allow upload file real umlaut conversion and remove workaround 2015-10-07 09:37:44 +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
9e49ecc8c3 remove to API 2015-09-23 17:49:23 +02:00
Ian
d9b48b8efe remove param $messages from showMediaLibrary
plus minors in prep for rename / bulkmove enhancement
2015-09-23 17:37:53 +02:00
Ian
f85f83c337 move cast 2015-08-29 19:53:38 +02:00
Ian
300bdd6f5f Allow bulk image MOVE in ML
and give a path information note to the image info layer

References #357
2015-08-26 12:22:17 +02:00
onli
9032f24f4b Show rescale in ML-popup when toolbar is active (#281) 2015-03-26 23:55:22 +01:00
Matthias Mees
4665bb6598 Rework messages emitted by upload/delete in media db
Due to a regression in how these messages are emitted, these now
need to emit their msg markup in include/admin/images.inc.php or
include/functions_images.inc.php to avoid nested msg containers.

References #287
2015-02-03 18:46:47 +01:00
Garvin Hicking
71e41b3a5a Issue #238 prevent umlauts and special characters for creating/editing media dirs 2015-01-29 15:40:45 +01:00
Garvin Hicking
253428dd93 Drop $authorid as discussed
References #264
2015-01-27 14:21:53 +01:00
Ian
1025ec5748 fix default open ML if in image properties form - give option to jump to ML w/o submittng form
References #264 (was not really mentioned there, bur related)
2015-01-18 16:38:03 +01:00
Ian
254ecb4c6a cleanup prepare 2015-01-18 15:38:09 +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
63f7510ebd References #134
Fixes thumbnail regeneration, only a problem with proper execution order
2014-06-25 13:22:39 +02:00
onli
f356c7d287 fix doubled html-section in media choose (#150)
Also a cleanup of media_choose.tpl
2014-06-24 23:22:51 +02:00
onli
2c57def881 minor: fix comment typos 2014-05-29 23:44:21 +02:00
onli
2d50bdd375 ML filter-folder save without reload via cookies (#155) 2014-05-29 23:16:41 +02:00
onli
6dd5b4aa6b Improve image deletion pages (#138)
Show correct button for multidelete-form, remove switched_output and doubled state-variables, show formerly lost delete-messages on ML after deletion instead of blank page
2014-05-29 22:26:01 +02:00
onli
1bce7ec7ec Make ML available after upload and filter-change (#138) 2014-05-29 21:54:26 +02:00
onli
a8b4f05de2 Improve status-messages of ajax uploader (#126) 2014-05-25 21:30:36 +02:00
Matthias Mees
38f01b02a6 A better message for adding an image. 2014-04-30 11:26:33 +02:00
onli
f704df9365 support html5 multiple upload
closes #126
2014-04-23 02:27:14 +02:00
onli
fa5af4a1ec Image selector toggled by showMediaToolbar
And $media.manage in the templates
2014-01-23 23:33:23 +01:00
onli
3873826036 Add upload button to imageselector 2014-01-23 23:13:09 +01:00
onli
428ef88fce Subcategory button for image dirs + minor 2014-01-19 19:07:02 +01:00
onli
ee3ea72208 Introduce Maintenance menu
Containing all the small action menu-items that were in the main navigation menu, like verify installation
2014-01-19 13:19:30 +01:00
onli
53d967abce upload: hide ML when editing properties
forgot the real fix in commit b41b711
2014-01-19 00:28:07 +01:00
onli
b41b71169f upload: hide ML when editing properties 2014-01-19 00:17:57 +01:00
onli
b0c407d4c3 extension fix for resizing 2013-08-18 23:28:15 +02:00
onli
731b044d50 Drop use of serendipity_admin_image_selector.php
Enhance admin/images.inc.tpl instead. Gets rid of the fieldset-construct (#30)
2013-07-23 03:06:27 +02:00
onli
145ced3ea9 remove image editor from core 2013-07-04 20:25:21 +02:00
onli
9a989dddb3 Remove Advanced-JS option 2013-06-23 20:12:06 +02:00
onli
cbe07715fd use include_once 2013-06-21 18:11:03 +02:00