139 Commits

Author SHA1 Message Date
Ian
8da2f97d07 fix 227d115 missing another multiperm assignment 2016-02-04 13:52:35 +01:00
onli
30982e446d Transform contextless strict/no-strict in ML
Follow up on d1baaf498377773e1803aaea729ee307adbf9cec and 7554623cffc4e6c0720209c8084f6dea444c6fd4, also moving this to the extended filterset.
2016-01-15 02:18:34 +01:00
Ian
150d748c67 document note went into wrong line with 4a565a8 2015-10-30 17:05:36 +01:00
Ian
4a565a89da try catch mediaproperties thumb changing upload path only if in need 2015-10-30 16:50:40 +01:00
Ian
897337cb8e allow array items for SetCookie and now use a ML-Filter cookie
(We will have to decide before release, if we want to keep this, though.)
2015-10-29 12:08:33 +01:00
Ian
0905633810 fix f2f4855 2015-10-28 14:03:36 +01:00
Ian
1965d2d419 fix media.filter and media.sortorder param 2015-10-28 11:55:46 +01:00
Ian
f2f4855ed7 fix ML Filter doubled filename
References #356
Closes #369
2015-10-28 11:42:33 +01:00
Ian
d1baaf4983 better listen on toggle_dir and remember 2015-10-26 11:36:57 +01:00
Ian
52730e6b0e disable unused button generation
We may decide to keep this disabled or remove it completely later on
2015-10-26 10:18:50 +01:00
Ian
26d18490d4 avoid doubled GET token and fill form_hidden only in case default 2015-10-26 10:15:57 +01:00
Ian
a7732eeb81 minors 2015-10-20 13:24:50 +02:00
Ian
8fcf4cd652 fix commits renaming directories in 08c09d1 and 5be90fd 2015-10-17 19:27:58 +02:00
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