62 Commits

Author SHA1 Message Date
Ian
eb13701244 delete by multiperm only
this removes some dev test vars for del by author, which isn't possible yet
2016-02-04 16:43:28 +01:00
Ian
227d115d71 Fix missing perm checks for a "standard user" in MediaLibrary
We still have the issue that we have set authorID 0 as the standard authorid in ML. This prevents us being more strict than this.
We will have to re-think this, maybe...

References #385
2016-02-03 15:47:04 +01:00
Ian
ecd3ba5a10 fix missing ampersand in media resize uri for extraParems 2015-10-19 09:49:13 +02:00
Ian
657db63432 add ML item date 2015-10-16 16:52:32 +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
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
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
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
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
onli
9032f24f4b Show rescale in ML-popup when toolbar is active (#281) 2015-03-26 23:55:22 +01:00
onli
27cf643135 Show ML toolbar when inserting image (#281)
This commit has two parts: First, media_items was changed to show (parts) of the image toolbar also when being in the editor popup, if the option is enabled. Second, it modifies the rename and the delete button of that toolbar to use ajax, because they otherwise would return to the normal ML. TODO1: Ajaxify the rescale function as well, or make it redirect properly, so the button can be enabled. TODO2: See if the code in media_items can be simplified, it is a dumb translation of the existing approach
2015-03-14 22:02:49 +01:00
Ian
43676a0918 remove old @ for smarty internal modifiers and stringify and/or fix escape properties 2015-01-14 12:52:20 +01:00
Ian
426e5d766b correct escape in 2k11/admin files 2014-06-19 19:43:52 +02:00
Ian
33ee2d7217 re-add media name to resize GET string - fixes #139 2014-05-01 18:11:50 +02:00
Matthias Mees
bc792926ae Fix missing i18n constant. 2014-05-01 16:51:21 +02:00
Matthias Mees
ec3ebca433 Introduce new lang constants, @garvinhicking please add :)
Hint: addlang.sh does not work on OSX.
2014-03-07 13:10:32 +01:00
Garvin Hicking
94c3a75a96 New language constants, hopefully caught all i18n's. Please check. 2014-03-05 13:22:50 +01:00
Matthias Mees
5c961dd25e Better layout for media keywords. 2014-02-27 20:38:15 +01:00
onli
35b4a9f498 Show titles in ML popup 2014-02-08 15:35:19 +01: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
e26e98dbba link fullsize image preview directly 2013-08-18 23:22:31 +02:00
Matthias Mees
bb0f599a2f Change media_rename to button. 2013-08-17 13:40:18 +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
Matthias Mees
625458ecda Better titles for fullsize previews (media/templates). 2013-07-08 11:21:47 +02:00
Matthias Mees
26d4b32987 Remove s9y image editor from 2k11 admin theme.
This removes the proof-of-concept image editor from 2k11 – as far
as I can see/do that. @onli should probably have a look at whether
there are other code parts which need/should be removed along with
this.
2013-07-02 12:15:36 +02:00
Matthias Mees
17e0f159b0 Revert jQuery tooltips. 2013-06-24 11:04:56 +02:00
Matthias Mees
0bc97cbc88 Tooltips, tooltips, tooltips. Everywhere. Almost. 2013-06-23 18:45:58 +02:00
Matthias Mees
0dd6014135 Better styling for media file metadata. 2013-06-19 10:13:06 +02:00
Matthias Mees
dbaf23ed69 Media file metadata rewrite.
Also fixes media upload form not being submitted.
2013-06-19 09:58:41 +02:00
Matthias Mees
96e7ad74c9 Avoid unnecessary equal heights. 2013-06-18 16:34:48 +02:00
Matthias Mees
8ce7457f3f External onclick handler for media cropping. 2013-06-18 16:07:21 +02:00
Matthias Mees
0a9b5f4f0a Remove obsolete onclick handler for media resize. 2013-06-18 14:36:16 +02:00
Matthias Mees
850652f527 External onclick handler for media fullsize view. 2013-06-18 14:27:35 +02:00
Matthias Mees
6bba09cbf2 External onclick handler for renaming media file.
NOTE: Renaming is not completed, submitting the prompt results in
      an error msg:

"Your browser did not sent a valid HTTP-Referrer string. This may
have either been caused by a misconfigured browser/proxy or by a
Cross Site Request Forgery (XSRF) aimed at you. The action you
requested could not be completed."

      This is beyond my JS knowledge. @onli …?
2013-06-18 14:12:07 +02:00
Matthias Mees
891792b987 Fix media db popup layout. 2013-06-18 13:09:51 +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
Matthias Mees
3997e7fa65 Multidelete highlighting for media db items. 2013-06-04 06:54:44 +02:00
Matthias Mees
ca4a0c37e8 Show info button must be visible if file is not editable. 2013-06-03 13:25:30 +02:00
Matthias Mees
d02fea28ea A more usable overlay for media files; fixed duplicate ids.
This looks about the same as @onli's solution, but more usable on
smaller and/or touch devices since it's triggered by a button which
also makes sense if JS is deactivated. Has a no-js fallback, too.
2013-06-03 13:20:41 +02:00
Matthias Mees
df283db810 Media db overlay cleanup. 2013-06-02 13:39:21 +02:00
Matthias Mees
dcc02f75c3 Typos. 2013-06-01 18:28:13 +02:00
onli
328a77bd03 fix image selection 2013-06-01 16:53:55 +02:00
onli
e1d403057b Add Media Category Filter Buttons 2013-06-01 15:21:13 +02:00
onli
cff869e33c add image overlay in ML 2013-06-01 13:42:10 +02:00
Matthias Mees
6a9bdd0c6a Removed stupid HTML5/jQuery progress hints. 2013-06-01 11:09:10 +02:00
Matthias Mees
9dd573f971 Improved media db meta info display. 2013-06-01 11:05:40 +02:00
onli
d75de7f627 smartified preview-image generation in media library 2013-05-31 21:16:11 +02:00