Commit Graph
100 Commits
Author SHA1 Message Date
Ian c3273fba0d add reset for ML filters and orders 2015-10-28 17:28:32 +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 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 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 b0e4a4e6f5 remove deprecated $HTTP_SERVER_VARS vars 2015-10-20 18:04:02 +02:00
Ian dd4371a97c do not use pre-selected for movable selection 2015-10-20 13:25:42 +02: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 ecd3ba5a10 fix missing ampersand in media resize uri for extraParems 2015-10-19 09:49:13 +02:00
Ian bb87f4dd6b make \b word-boundary not match named "example_-_Full.jpg" urls or string parts. 2015-10-18 13:21:21 +02:00
Ian 661f383edc typo 2015-10-17 19:48:27 +02:00
Ian afb4cdc685 better constant naming and new directory info constant 2015-10-17 19:43:09 +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 657db63432 add ML item date 2015-10-16 16:52:32 +02:00
Ian e251e5e509 fix popuplayer_showUpload to better work with strict directory radio selection 2015-10-16 16:27:30 +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 b3dc10cc7c allow item properties title to be long 2015-10-12 12:37:53 +02:00
Ian 471a4b15a8 do not multicheck on item properties page 2015-10-12 12:36:26 +02:00
Ian 0d75d4ff88 remove case properties 2015-10-12 11:58:45 +02:00
Ian 6777f89078 case add works with pure $showML only
on both moves and does not need a reload for any property changes, since not shown
2015-10-12 11:57:11 +02:00
Ian e987751b19 fix case add post adminSubAction properties
this redirect works
2015-10-12 11:52:05 +02:00
Ian 73c178a3ea fix directoryEdit save message event 2015-10-12 10:37:41 +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 2878c154d6 document 2015-10-08 10:41:48 +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 b105caff07 rewrite constants first last
2b610dc791
2015-10-06 10:40:07 +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 5c50484068 modernize media_items Smarty loops
We will need to check this again, since some ordermode items (mostly the bp.* ones), like bp.TITLE|COMMENTx|DATE break the flow or are not set right and need some conditional tweaks.
In special where the title is shown.

We may even add some more information bits to the item inform layer by condition.
Yeah, I know this would bite with smallscreens, but we could have this conditional too.
2015-09-23 17:11:53 +02:00
Ian 1e1e196e10 prepare for better readability in media_items
Smarty code lines need an extra line appended, when followed by html, to keep the indent in compiled source code
2015-09-23 16:43:41 +02:00
Ian 7ceb1a711e modernize media_pane Smarty loops
and add two additional div content blocks with class="popuplayer_showUpload" and class="media_library_pane"
fix some more indent
and set some code documentary to keep things clear

We will need to check this again, since some ordermode items (mostly the bp.* ones), like bp.TITLE|COMMENTx|DATE break the flow or are not set right and need some conditional tweaks.
2015-09-23 16:32:12 +02:00
Ian 3fca094dfa remove very old Smarty assignment 2015-09-23 14:06:22 +02:00
Ian 15dacd15ec prepare for better readability
Smarty code lines need an extra line appended, when followed by html, to keep the indent in compiled souce code.
Also some white space corrections
2015-09-23 13:12:38 +02:00
Ian 40ea9d2dc0 better check with isset 2015-09-22 18:12:00 +02:00
Ian 03a94807eb remove $id$ 2015-09-22 18:11:28 +02:00
Ian d8a82090cb remove unvalid ending input tags 2015-09-20 15:08:32 +02:00
Ian 8ac718a606 fix wrong loop ending end
and reported a bug in upcoming smarty 3.1.28-dev https://github.com/smarty-php/smarty/issues/90

References #364
2015-09-19 10:36:00 +02:00
Ian 44d0be4604 more documentation 2015-09-16 15:56:43 +02:00
Ian 1508a0f53f document 2015-09-16 15:29:21 +02:00
Ian 61fe3e2bf9 Fix MediaLibrary objects not pass through into entryproperties CustomFields
and replaces some old "|@" Smarty 2 array "type hintings" to "|".

Also fixes the default fallback in default/admin/media_choose.tpl, which also missed the serendipity js namespace.

@yellowled Please trigger a default/admin/serendipity_editor.js run to fetch up with all latterly added changes.
2015-09-15 17:28:04 +02:00
Ian 72bfb9a515 mark var escaped 2015-09-14 18:18:51 +02:00
Ian 5a6e1868a8 fix wrong version requirement 2015-09-14 18:03:57 +02:00
Ian a10d9e4b80 Fixed preview of extended properties by 1.37 2015-09-14 18:02:02 +02:00
Ian 7760786e7e fix fatal error atom 1.0 issue
References #362
2015-09-07 10:49:39 +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 4c94dcba5c Theme emoticons do not need a fallback into another theme 2015-08-19 19:51:56 +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 6b9f08a1fe minor 2015-08-16 17:34:21 +02:00
Ian ce8917d3a0 one more for d05ae52 2015-08-16 10:28:46 +02:00
Ian d05ae52575 lang corrections 2015-08-16 09:35:26 +02:00
Ian 72bcd36ef1 fix missing @ and change a german config constant 2015-08-15 16:46:08 +02:00
Ian 8b8dcfd968 minors 2015-08-15 16:44:45 +02:00
Ian d0994583ce better Smarty debug pop up 2015-08-15 16:44:27 +02:00
Ian 0047140dcc set use_autosave in backend only 2015-08-14 18:15:31 +02:00
Ian 56b26f7120 disable Smarty like CKEDITOR (procurator) protection 2015-08-14 18:11:39 +02:00
Ian 5934095301 document a9b3c01 2015-08-07 16:04:14 +02:00
Ian 86b6c8ce49 entries inc event fetch fixes
fix iframe returning 1, when true and
add a new language const change msg, instead of the wrongly used save message
2015-08-07 15:55:18 +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
Ian 0a72ce8c19 upport d8644b0 document last changes 2015-07-23 16:39:26 +02:00
Ian 8954e6ec7e move maintenance hook to end
since else it will size every box within "equal_heights" blocks.
Best experience with set down to end of list, keeping the thumbs block before.
2015-07-13 16:33:25 +02:00
Ian 7a6ab5fcf8 better doc 2015-07-13 16:23:00 +02:00
Ian c7d66927b2 document cke update 2015-07-13 16:14:52 +02:00
Ian 32769998df bugfix ckeditor releases
Added widget, lineutils, fakeobjects and S9y plugins cheatsheet and procurator Plugins.
Removed "samples" dir and plugin "dev" dirs in lineutils and widget
2015-07-13 16:08:13 +02:00