106 Commits

Author SHA1 Message Date
Matthias Mees
bc1f0fd306 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:55:22 +01:00
Matthias Mees
3139406884 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:50:02 +01:00
Matthias Mees
877b2d3680 The strong element is obsolete, the msg class should suffice
References #287
2015-02-03 14:20:18 +01:00
Matthias Mees
b6380f8a69 Better fix for obsolete msg wrapper for deleting media db dirs
Courtesy of @ophian

References #287
2015-02-03 14:10:16 +01:00
Ian
71a96502ee fix non echoed file names
References #287
2015-02-03 12:55:52 +01:00
Matthias Mees
f05e9cc568 Remove obsolete msg wrapper for deleting media db dirs
References #287
2015-02-03 11:20:19 +01:00
Ian
9418f806d3 cleanup and note once 2015-01-20 15:13:53 +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
onli
0f36373920 Intorduce simpleFilters setting
Replaces SimpleImageFilters with a personal setting, covers image filters and the simpler entry edit overview
2014-01-19 19:31:45 +01:00
onli
82a0d1f4bb back button for image properties
not so easy, as it should not be shown after uploading
2014-01-19 17:33:52 +01:00
onli
94f1198fe3 Add option to simplify image filters
Default on (at least for the test), needs new language constants
2014-01-19 01:48:42 +01:00
Ian
29649a7d79 ML - exclude possible thumbs.db files 2013-12-25 16:42:03 +01:00
Ian
081fff5e0a ML - exclude frontpage extensions _vti_cnf dir on windows servers 2013-09-19 15:27:43 +02:00
onli
6772775696 thumbnail fix when w/o extension
serendipity_getThumbNailPath added an unnecessary dot, breaking thumbnail when using the fullsize image
2013-08-18 23:20:17 +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
8f42e2346c fix double var 2013-07-10 13:52:36 +02:00
onli
94881ba4c0 Make imagemagick use the real size
See http://board.s9y.org/viewtopic.php?f=3&t=19427
2013-07-10 13:35:08 +02:00
onli
a654b13a9a Complete include_once usage, romove constants 2013-06-22 12:32:54 +02:00
onli
2af76d2e69 Repair ML-Upload in editor
Change function-comments according to the new logic
2013-06-16 14:13:51 +02:00
onli
e62eb56f4a drop smarty_display-option from ML
Always use smarty
2013-06-14 23:31:24 +02:00
Matthias Mees
a658e20b27 New iconfont build.
This includes only the icons actually used or intended to be used
in the backend. Please note that unfortunately, some class names
have changed. Also some icons have been exchanged.
2013-06-11 12:54:58 +02:00
onli
294fef724b ML: Give Smarty amount of total images 2013-06-09 17:51:48 +02:00
onli
b0cbdd8ba7 fix ML return/echo mix so used template isn't shown anymore 2013-06-09 12:45:14 +02:00
onli
dc6a5fce29 fix setcookie in media library 2013-06-08 13:03:13 +02:00
onli
ad98a01899 cleanup of images.inc.php 2013-06-08 12:24:46 +02:00
Ian
4e9c666886 upport e2bad7d 2013-06-05 11:48:04 +02:00
onli
32be9063b8 give thumbSize into the ML 2013-06-03 20:05:37 +02:00
onli
e1d403057b Add Media Category Filter Buttons 2013-06-01 15:21:13 +02:00