176 Commits

Author SHA1 Message Date
Ian
7801b33e35 fix 7554623 2015-10-15 19:11:45 +02:00
Ian
7554623cff Allow strict media directory selection by toggle filter 2015-10-15 18:43:01 +02:00
Ian
08c09d1d65 do not error on directoryEdit save submit 2015-10-12 10:27:08 +02:00
Ian
5be90fd7ea another breaking printf 2015-10-12 10:24:43 +02:00
Ian
2b9a008208 allow upload file real umlaut conversion and remove workaround 2015-10-07 09:37:44 +02:00
Ian
8c732e94ab some printf messages need to have the argument preprocessed
or change to echo with inner printf()

Before it broke like this:
`<span class="msg_notice"><span class="icon-info-circled"></span> <b>Größe von Vorsch.</span>
 ändern</b>` which is wrong
2015-10-06 16:23:40 +02:00
Ian
a9eb4be896 fix 7c21de8 re-add $ispOldFile 2015-10-06 10:27:41 +02:00
Ian
fdc7c089c2 umlaut conversion 2015-10-05 19:20:47 +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
9e49ecc8c3 remove to API 2015-09-23 17:49:23 +02:00
Ian
e1402db6cc remove trailing ampersand
plus minors in prep for bulkmove / rename enhancement
2015-09-23 17:21:38 +02:00
Ian
44689dead7 fix moving path names and add quickblog entry support
moving ML items now supports changing path in imageselectorplus quickblog entries too
2015-08-29 19:57:18 +02:00
Ian
c80fc3dff8 fix entry replacements on image MOVE
now matches thumbs too and tries to be as strict as possible and necessary fixing any move

Staticpages Dev will be fixed in v.4.51 for SP entries
2015-08-26 20:03:58 +02:00
Ian
a3c567e864 fix more issues moving images (!)
1st - case 'filedir' moving via image properties missed $renameValues['file'] array $pick
2cd - case 'file' moving mixed up rename() of thumbs completely
3rd - added new success message for case 'filedir' image properties move
4th - fixed markup for some more messages
2015-08-26 11:57:49 +02:00
Ian
13616f49f3 fixed new path on file move 2015-08-25 19:09:02 +02:00
Ian
3da11862c2 fix missing filename on MOVE and set correct icon font name 2015-08-25 18:19:43 +02:00
Garvin Hicking
00be5d7b4c Security fixes from Tim Coen (file upload, comment token escaping, 2k11 js comment name escaping) 2015-07-24 13:27:21 +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
Matthias Mees
4030c2ffb0 Rewrite code for deleting media db content
Removes redundant markup from and adds msg classes to

* serendipity_deleteImage()
* serendipity_killPath()

References #287
2015-02-03 15:47:17 +01:00
Matthias Mees
3873d80ea8 The strong element is obsolete, the msg class should suffice
References #287
2015-02-03 14:19:30 +01:00
Matthias Mees
3b36be9beb Better fix for obsolete msg wrapper for deleting media db dirs
Courtesy of @ophian

References #287
2015-02-03 14:08:57 +01:00
Ian
fa95f33fb1 fix non echoed file names
References #287
2015-02-03 12:54:09 +01:00
Matthias Mees
22d3d1cf4b Remove obsolete msg wrapper for deleting media db dirs
References #287
2015-02-03 11:19:26 +01:00
Ian
e80daa7670 upport 9418f80 cleanup and note once 2015-01-20 16:51:09 +01:00
Ian
4e8a896f84 markup for msg notices 2015-01-18 18:21:19 +01:00
Ian
8a464c060f cleanup prepare 2015-01-18 17:42:12 +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
Ian
6631c516f8 rework some messages and do some space cleanup 2014-11-02 15:06:34 +01:00
Ian
27c5b2d589 introduce IM nobang variable
to avoid forcing image geometry exactly to given sizes on second thumbnail method run.
Used by imageselectorplus plugin.
2014-10-06 13:01:14 +02:00
Ian
148e1449d1 extends 9cbb2b0
for file renaming type='file' with a pdf also. Thumb check and the silencer were both needed, else for the last the database entry was lost.

The $renameData['thumb'] could very well be $file['thumbnail_name'] in case of not being empty.

It might be that this has dependencies with the hotlink hook or thumbSuffix renamings. Garvin, please check.

References #220
2014-10-05 19:46:49 +02:00
Ian
9cbb2b0166 fix issue pdf moving rename() error
This was mainly the not checked thumbnail_name and needed to be silenced too.
I am not sure id that issue can happen with type 'file' renaming too.

References #220
2014-10-05 17:57:08 +02:00
Ian
ddd3b91d28 fixing images plus
- fix isp image $newSize resizement
- fix forcing $newSize with a bang on WinOS
- convert some message errors to 2.0 style
- whitespace cleanup
2014-10-03 10:10:51 +02:00
Garvin Hicking
da82fd3a16 support imagemagick thumb parameters, slightly reworked
references pull request #205
2014-09-09 13:58:09 +02:00
onli
13a9b69d6d Fix ML breaking w/o filter (#208) 2014-08-30 11:18:56 +02:00
onli
7a56b89beb Save filters when browsing ML (#208)
Was broken for the simplified filter
2014-08-30 00:22:45 +02:00
Garvin Hicking
63f7510ebd References #134
Fixes thumbnail regeneration, only a problem with proper execution order
2014-06-25 13:22:39 +02:00
Ian
bb48a885d4 message markup in function_images.inc 2014-06-19 20:01:17 +02:00
onli
d0d78f3450 ML upload: Convert " " into _ in paths 2014-06-08 18:56:19 +02:00
onli
91ffa16e17 correct spaces in image-deletion-messages 2014-05-29 22:35:55 +02:00
onli
39d5ceaa03 try to prevent critical error with invalid gifs 2014-05-29 21:52:52 +02:00
Thomas Hochstein
66d0825a67 Re-add sort by name to ML non-simple filter.
When replacing 'sort by extension' with
'sort by name' in simple filter mode, 'sort by name'
was erroneously removed from non-simple filter
mode too (and replaced by a second incarnation of
'sort by extension').

Signed-off-by: Thomas Hochstein <thh@inter.net>
2014-05-26 18:40:33 +02:00
onli
ad8606c782 Move sort by name to ML simple filter (#157) 2014-05-25 22:05:29 +02:00
Ian
27265c533e markup for 'image directory move done' note 2014-05-25 10:38:18 +02:00
Matthias Gutjahr
ea5295cdb3 Remove debug output 2014-04-25 10:40:36 +02:00
Matthias Gutjahr
dfd0261cda Exclude git directories from path traversal 2014-04-25 10:39:47 +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