1258 Commits

Author SHA1 Message Date
Ian
715d8cafa6 Optimize scaleImage returns 2015-10-19 13:21:19 +02:00
Ian
8fcf4cd652 fix commits renaming directories in 08c09d1 and 5be90fd 2015-10-17 19:27:58 +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
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
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
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
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
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
d9b48b8efe remove param $messages from showMediaLibrary
plus minors in prep for rename / bulkmove enhancement
2015-09-23 17:37:53 +02:00
Ian
e1402db6cc remove trailing ampersand
plus minors in prep for bulkmove / rename enhancement
2015-09-23 17:21:38 +02:00
Ian
f63d884cfe upgrader dead files and dirs
Is there more? Please add!
2015-09-05 12:43:39 +02:00
Ian
80716280a8 minors 2015-09-05 12:40:44 +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
a8d00a8080 typo 2015-08-29 19:53:50 +02:00
Ian
f85f83c337 move cast 2015-08-29 19:53:38 +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
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
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
Ian
df17a410b0 fix eraseEntryEditorCache
remember, this is preview_iframe.tpl updertHooks IFRAME and may not be jQuery based

References #343
2015-08-18 11:33:04 +02:00
Ian
ea08cd429a isset and true 2015-08-17 17:26:13 +02:00
Ian
a0527ca81b fix some undefined indexes 2015-08-17 17:19:48 +02:00
Ian
a5d5e7d940 the jquery check does not want to iterate a fallback
References #343
2015-08-16 18:32:02 +02:00
Ian
d5eae21a9c suggested fix for the Serendipity fallback chaining
This fixes the plugin tpl fallback for all plugins, already using the parseTemplate() method. All others, which may still follow the themes fallback (like contactform etc), would need to always be part of the user template $serendipity['template'], or be fixed later on.

This also fixes the backend chaining, which now simply follows the force with a possible engine and then uses $serendipity['template_backend'] (2k11), $serendipity['defaultTemplate'] (2k11), 'default'.

As a third, this now uses the correct preview_iframe.tpl file on save and checks for a correct set jquery_backend.js in the user theme $serendipity['template'].

Please double check this approach for cases I did not find yet. Thanks! :)


References #343
2015-08-16 18:05:59 +02:00
Ian
8b8dcfd968 minors 2015-08-15 16:44:45 +02:00
Ian
c65c9e786f cleanup 2015-08-07 15:46:36 +02:00
Ian
67bfde277a do not add newline after php closing tag 2015-08-07 15:46:17 +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
Ian
86ab8c62b1 uff 2015-07-13 14:34:57 +02:00
Ian
e6cab58414 change SET NAMES to mysqli_set_charset and fix a bug in 2cd condition 2015-07-09 12:33:31 +02:00
Ian
2f06e28f23 use recommended mysqli_set_charset 2015-07-08 11:01:20 +02:00
Ian
9efb1665ad fix missing db object 2015-07-07 18:01:10 +02:00
Ian
755fe60075 check array to avoid errors 2015-07-07 09:36:46 +02:00