1061 Commits

Author SHA1 Message Date
Matthias Mees
b00343d24d Also fix labels for selects
References 
2015-07-14 19:46:47 +02:00
Matthias Mees
b9b55142fc Fix CSS regressions introduced by aaca8e
References 
2015-07-14 19:45:12 +02:00
Matthias Mees
aaca8eda3b Minor layout fixes for media DB media filters
References 
2015-07-14 19:41:01 +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
Matthias Mees
28d00949f4 Suppress install backend button if frontend theme == backend theme
References 
2015-06-13 09:15:51 +02:00
Matthias Mees
1c33d93a18 Add 'install backend' button to selected frontend theme
References 
2015-06-13 09:11:17 +02:00
Ian
1b1a130e38 document better multiple nugget example gratia plugin
contactform will probably change, when this fixes are out.
2015-06-01 16:51:28 +02:00
Ian
eaee2d1f3a remove unused select debug code
fit linebreaked and param whitespaces
2015-06-01 15:10:47 +02:00
Ian
1e6fda11e7 emit multiple nuggets for core JS-Editor
and only use Spawnnuggets if exist.

This is for multi-nugget-textareas, not using the wysiwyg* event hooks, eg contactform plugin < v.1.17
2015-06-01 14:34:18 +02:00
Ian
ffa6493677 textarea.cke_source patch needs to support webkit for html nugget plugins too 2015-05-05 17:02:06 +02:00
Ian
c786d457a7 single plugin textarea moz source styles 2015-03-31 16:58:37 +02:00
Ian
590d2d88ae better cke source moz style 2015-03-31 12:19:45 +02:00
onli
9032f24f4b Show rescale in ML-popup when toolbar is active () 2015-03-26 23:55:22 +01:00
Ian
222cfe5c16 better moz cke source styles 2015-03-18 19:00:14 +01:00
Matthias Mees
6175559fda Change theme demo link to theme demo button
References 
2015-03-16 17:03:11 +01:00
garvinhicking
0cce92d4d7 Add ability to preview demo themes in spartacus. 2015-03-16 14:31:34 +01:00
Ian
72f316712b fix cke_source code linebreak view for Mozillas 2015-03-16 11:08:42 +01:00
onli
27cf643135 Show ML toolbar when inserting image ()
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
onli
73dc7a9225 ML: Show add-button in popup also when empty 2015-03-14 19:42:42 +01:00
Matthias Mees
cabad4a933 Escape entry title in dashboard
References 
2015-03-12 19:03:42 +01:00
Garvin Hicking
94eb2b32de We also need to escape the JS at this point 2015-03-12 12:23:52 +01:00
Garvin Hicking
bdd6c4fb17 Fix missing escaping (possible XSS) of category names in the Backend
Entry Admin, which would allow editors that create a forged
category name to attack other editors in the backend (privileged
access to the backend required).
Thanks a lot to Edric Teo for reporting this issue.
2015-03-12 10:16:59 +01:00
Matthias Mees
d84cd93c57 Remove legacy CSS for template_preview 2015-03-11 17:50:43 +01:00
Garvin Hicking
12ddca1070 Upport.
Improved detection for possible javascript errors (i.e. PHP errors, plugins that use invalid PHP 5.4+ syntax, other causes - that people seem to hit a lot)
If the serendipity.spawn function could not be found, we emit a warning (through javascript...)

See thread on forums: http://board.s9y.org/viewtopic.php?f=11&t=20286

Conflicts:
	docs/NEWS
	lang/UTF-8/plugin_lang.php
	lang/UTF-8/serendipity_lang_bg.inc.php
	lang/UTF-8/serendipity_lang_cn.inc.php
	lang/UTF-8/serendipity_lang_cs.inc.php
	lang/UTF-8/serendipity_lang_cz.inc.php
	lang/UTF-8/serendipity_lang_da.inc.php
	lang/UTF-8/serendipity_lang_de.inc.php
	lang/UTF-8/serendipity_lang_en.inc.php
	lang/UTF-8/serendipity_lang_es.inc.php
	lang/UTF-8/serendipity_lang_fa.inc.php
	lang/UTF-8/serendipity_lang_fi.inc.php
	lang/UTF-8/serendipity_lang_fr.inc.php
	lang/UTF-8/serendipity_lang_hu.inc.php
	lang/UTF-8/serendipity_lang_is.inc.php
	lang/UTF-8/serendipity_lang_it.inc.php
	lang/UTF-8/serendipity_lang_ja.inc.php
	lang/UTF-8/serendipity_lang_ko.inc.php
	lang/UTF-8/serendipity_lang_nl.inc.php
	lang/UTF-8/serendipity_lang_no.inc.php
	lang/UTF-8/serendipity_lang_pl.inc.php
	lang/UTF-8/serendipity_lang_pt.inc.php
	lang/UTF-8/serendipity_lang_pt_PT.inc.php
	lang/UTF-8/serendipity_lang_ro.inc.php
	lang/UTF-8/serendipity_lang_ru.inc.php
	lang/UTF-8/serendipity_lang_sa.inc.php
	lang/UTF-8/serendipity_lang_se.inc.php
	lang/UTF-8/serendipity_lang_sk.inc.php
	lang/UTF-8/serendipity_lang_ta.inc.php
	lang/UTF-8/serendipity_lang_tn.inc.php
	lang/UTF-8/serendipity_lang_tr.inc.php
	lang/UTF-8/serendipity_lang_tw.inc.php
	lang/UTF-8/serendipity_lang_zh.inc.php
	lang/addlang.txt
	lang/plugin_lang.php
	lang/serendipity_lang_bg.inc.php
	lang/serendipity_lang_cn.inc.php
	lang/serendipity_lang_cs.inc.php
	lang/serendipity_lang_cz.inc.php
	lang/serendipity_lang_da.inc.php
	lang/serendipity_lang_de.inc.php
	lang/serendipity_lang_en.inc.php
	lang/serendipity_lang_es.inc.php
	lang/serendipity_lang_fa.inc.php
	lang/serendipity_lang_fi.inc.php
	lang/serendipity_lang_fr.inc.php
	lang/serendipity_lang_hu.inc.php
	lang/serendipity_lang_is.inc.php
	lang/serendipity_lang_it.inc.php
	lang/serendipity_lang_ja.inc.php
	lang/serendipity_lang_ko.inc.php
	lang/serendipity_lang_nl.inc.php
	lang/serendipity_lang_no.inc.php
	lang/serendipity_lang_pl.inc.php
	lang/serendipity_lang_pt.inc.php
	lang/serendipity_lang_pt_PT.inc.php
	lang/serendipity_lang_ro.inc.php
	lang/serendipity_lang_ru.inc.php
	lang/serendipity_lang_sa.inc.php
	lang/serendipity_lang_se.inc.php
	lang/serendipity_lang_sk.inc.php
	lang/serendipity_lang_ta.inc.php
	lang/serendipity_lang_tn.inc.php
	lang/serendipity_lang_tr.inc.php
	lang/serendipity_lang_tw.inc.php
	lang/serendipity_lang_zh.inc.php
2015-03-02 11:16:55 +01:00
Matthias Mees
e932ad78b0 Add extra test for localStorage
localStorage may be deactivated by setting a config option or using
security-related extensions at least in some browsers, which might
(at least in FF) break backend JS functionality.

So we need an extra check if localStorage is null.

References 
2015-02-17 18:22:58 +01:00
onli
e7502ef9bc manually restore from before merge
The merge in 7740886ff9ebf74d0365c9d69eb9b46c2876b077 accidentally overwrote changes that were important. This commit tries to restore them while also keeping the additions from feature_updateAll.
2015-02-15 20:04:33 +01:00
onli
7740886ff9 Merge branch 'feature_updateAll'
Conflicts:
	docs/NEWS
	lang/UTF-8/plugin_lang.php
	lang/UTF-8/serendipity_lang_bg.inc.php
	lang/UTF-8/serendipity_lang_cn.inc.php
	lang/UTF-8/serendipity_lang_cs.inc.php
	lang/UTF-8/serendipity_lang_cz.inc.php
	lang/UTF-8/serendipity_lang_da.inc.php
	lang/UTF-8/serendipity_lang_de.inc.php
	lang/UTF-8/serendipity_lang_en.inc.php
	lang/UTF-8/serendipity_lang_es.inc.php
	lang/UTF-8/serendipity_lang_fa.inc.php
	lang/UTF-8/serendipity_lang_fi.inc.php
	lang/UTF-8/serendipity_lang_fr.inc.php
	lang/UTF-8/serendipity_lang_hu.inc.php
	lang/UTF-8/serendipity_lang_is.inc.php
	lang/UTF-8/serendipity_lang_it.inc.php
	lang/UTF-8/serendipity_lang_ja.inc.php
	lang/UTF-8/serendipity_lang_ko.inc.php
	lang/UTF-8/serendipity_lang_nl.inc.php
	lang/UTF-8/serendipity_lang_no.inc.php
	lang/UTF-8/serendipity_lang_pl.inc.php
	lang/UTF-8/serendipity_lang_pt.inc.php
	lang/UTF-8/serendipity_lang_pt_PT.inc.php
	lang/UTF-8/serendipity_lang_ro.inc.php
	lang/UTF-8/serendipity_lang_ru.inc.php
	lang/UTF-8/serendipity_lang_sa.inc.php
	lang/UTF-8/serendipity_lang_se.inc.php
	lang/UTF-8/serendipity_lang_sk.inc.php
	lang/UTF-8/serendipity_lang_ta.inc.php
	lang/UTF-8/serendipity_lang_tn.inc.php
	lang/UTF-8/serendipity_lang_tr.inc.php
	lang/UTF-8/serendipity_lang_tw.inc.php
	lang/UTF-8/serendipity_lang_zh.inc.php
	lang/addlang.txt
	lang/plugin_lang.php
	lang/serendipity_lang_bg.inc.php
	lang/serendipity_lang_cn.inc.php
	lang/serendipity_lang_cs.inc.php
	lang/serendipity_lang_cz.inc.php
	lang/serendipity_lang_da.inc.php
	lang/serendipity_lang_de.inc.php
	lang/serendipity_lang_en.inc.php
	lang/serendipity_lang_es.inc.php
	lang/serendipity_lang_fa.inc.php
	lang/serendipity_lang_fi.inc.php
	lang/serendipity_lang_fr.inc.php
	lang/serendipity_lang_hu.inc.php
	lang/serendipity_lang_is.inc.php
	lang/serendipity_lang_it.inc.php
	lang/serendipity_lang_ja.inc.php
	lang/serendipity_lang_ko.inc.php
	lang/serendipity_lang_nl.inc.php
	lang/serendipity_lang_no.inc.php
	lang/serendipity_lang_pl.inc.php
	lang/serendipity_lang_pt.inc.php
	lang/serendipity_lang_pt_PT.inc.php
	lang/serendipity_lang_ro.inc.php
	lang/serendipity_lang_ru.inc.php
	lang/serendipity_lang_sa.inc.php
	lang/serendipity_lang_se.inc.php
	lang/serendipity_lang_sk.inc.php
	lang/serendipity_lang_ta.inc.php
	lang/serendipity_lang_tn.inc.php
	lang/serendipity_lang_tr.inc.php
	lang/serendipity_lang_tw.inc.php
	lang/serendipity_lang_zh.inc.php
	templates/2k11/admin/style.css
2015-02-15 19:22:15 +01:00
Matthias Mees
a7c2d5b868 Fix CSS regression due to markup changes in ddac2c
References 
2015-02-13 20:05:12 +01:00
Matthias Mees
ddac2c8048 Fix media chooser preview in theme options config group
Firefox-only bug if responsive img is a descendant of a fieldset.
Related to 67864f195f3342f51d349f1becb7fedd35d19c71.

References 
2015-02-13 19:42:09 +01:00
Garvin Hicking
3605937049 Fix Issue 2015-02-11 14:28:14 +01:00
Matthias Mees
b5af1289f2 Add spacing for custom items in configuration groups
Most notably, this will affect custom theme config options.
2015-02-10 12:45:54 +01:00
Matthias Mees
430d364a88 Only expand non-overlayed cats/tags if necessary
References 
2015-02-08 17:37:10 +01:00
Matthias Mees
d6ad3ad3c4 Hide cat view toggle button in non-overlayed cat view
References 
2015-02-08 16:58:53 +01:00
Matthias Mees
6249a6af5e Add generic odd/even for dashboard widgets
- Use CSS for odd/even spacing + clearing in browsers that support
  it using :nth-child and the new class .dashboard_widget (to
  seperate positioning styles from visual styles)
- 'Polyfill' said behaviour for IE 8 using JS
- Adapt hardcoded dashboard sections accordingly
- Add fix for IE 8 where mq_small is not set properly
- New build of oldie.css

References 
2015-02-08 16:15:06 +01:00
Matthias Mees
6f6410adb4 Make sure form element do not overflow their containers
References 
2015-02-06 20:38:46 +01:00
Ian
a1e0f7c8e9 Merge branch 'master' of github.com:s9y/Serendipity 2015-02-04 18:03:17 +01:00
Ian
d584a7febb move backend_dashboard hook
may certainly as well be, to move the s9y_links block on top of all since not getting boxed, see http://board.s9y.org/viewtopic.php?f=4&t=20247
May need follow-up, if we we have a more general dashboard even/odd cycler function to avoid making each hooked-in plugin to reinvent the wheel...!
2015-02-04 18:02:35 +01:00
Matthias Mees
b204d8b179 Adapt layout in theme options media preview
References 
2015-02-04 17:44:47 +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 
2015-02-03 18:46:47 +01:00
Matthias Mees
02cf5a3f29 Do not hide <br> elements in .msg_*
As much as I hate these, but this was not a good idea in hindsight.

References 
2015-02-03 17:09:46 +01:00
Matthias Mees
3b36be9beb Better fix for obsolete msg wrapper for deleting media db dirs
Courtesy of @ophian

References 
2015-02-03 14:08:57 +01:00
Ian
44a8d8d84d Revert "fix label $entry ep_is_sticky check missing properties sub array"
This reverts commit 37fecb5ebe56f9e42a75cb08d55f3b2e38526c58.
2015-02-02 18:47:34 +01:00
Ian
37fecb5ebe fix label $entry ep_is_sticky check missing properties sub array 2015-02-02 18:34:57 +01:00
Matthias Mees
8795b06c73 Fix long plugin names aligning below their toggler
References 
2015-02-02 10:18:42 +01:00
Matthias Mees
67864f195f Adapt markup and styles for advanced entry options
This is to make it possible to have .media_choose in advanced entry
options. Actually, it's to work around a bug in Firefox.
2015-01-31 15:05:05 +01:00
Matthias Mees
02e0fa7b8e Change serendipity_customfields from id to class
This is to avoid duplicate ids in the backend.
2015-01-31 12:57:24 +01:00
onli
f7c0fa23bc Show spartacus errors, maka ajax detection global 2015-01-30 22:07:08 +01:00
Matthias Mees
147a9ab43e Add progress polyfill CSS to backend stylesheet
This is necessary to that all browsers not supporting progress
natively get the CSS needed by the polyfill. It does not affect
browsers that natively support progress.

References  
2015-01-30 11:49:28 +01:00
Matthias Mees
11bbf39cc6 Hide CSS animations in browsers that don't support it
References  
2015-01-30 11:18:35 +01:00
Matthias Mees
006bb855f4 Add a new Modernizr build including CSS animations test
References  
2015-01-30 11:10:05 +01:00