965 Commits

Author SHA1 Message Date
onli
0d54063c5e Use old method to init ckeditor
Instead of using global JS-variables and ignoring serendipity[textarea]={$view}, this
approach actually uses the variable and therefore reinstates wysiwyg_init.tpl.

ckeditor_custom_config.js (Thx Ian!) is still respected, but the toolbar got restored to the old version. We need an easy way to remove _underline_, for example. It could be extended though.

This fixes #{107} somewhat, as serendipity_image_selector.php is useable now, but still with display errors (and without an upload widget). Probably still a good idea to copy the ML-eapproach of the normal textareas

This also works with htmlnuggets, without using spawnnugget from the core, instead wysiwyg_init.tpl gets reused in the plugin-config.

ckeditor_custom_plugin.js got emptied, the relevant code (which should only be the part that adds the plugins into the toolbar) should be integrated into wysiwyg_init.tpl).
2014-03-23 23:03:09 +01:00
Ian
76f87c5e08 cleanup note in cb0ba6c 2014-03-17 19:36:19 +01:00
Ian
cb0ba6cf7e fix non-read pre event hook for other templates
This fixes the problem of empty core backend js files
and not properly executed ckeditor inits with other templates.

References #72
closes #72
2014-03-17 14:55:37 +01:00
Ian
5fddf72bed include ckeditor.js in case of entryform, staticpages, html nuggets only
References #72
2014-03-16 16:26:21 +01:00
Ian
408774cba3 move errorToException 'appendTop' javascript into 'js' hook
since this also fixes not having had this in backend_header before.
2014-03-16 09:33:20 +01:00
Ian
faae4b0533 fix core to read ckeditor and handle hook-ins
This supports custom ckeditor plugins and a custom ckeditor config
and reads $eventData for
- normal entry form (case1) textareas,
- staticpage (case2) textareas and
- other nugget plugins (case3) textareas.
They all are build differently, therfore we needed three cases.
Please test!

Based to following commits
 8e26bd9 prepare core ckeditor for custom config and plugins
 44ea050 fix virtual js
 40609d8 add backend_footer hook

References #72
2014-03-15 19:02:13 +01:00
Ian
4296b78333 fix some whitespaces 2014-03-15 17:38:31 +01:00
Ian
9083aef7a0 minor - set hooks to use single quotes as everywhere 2014-03-14 10:20:53 +01:00
Ian
ab1230f5e1 minor - translate internal coding notes 2014-03-14 09:48:37 +01:00
Ian
8c2ec8a565 document new function in b3b76bfc3587ccc08226394997aeadf9ca137194 2014-03-12 19:24:01 +01:00
Ian
b3b76bfc35 prepare upgrade for htmlarea cleanup 2014-03-12 19:15:54 +01:00
Matthias Mees
1927da75c1 Move plugin name in plugin description, add styling 2014-03-11 11:49:31 +01:00
Matthias Mees
b02cb1a6bc Remove redundant version number markup. 2014-03-11 10:23:20 +01:00
Ian
98cc1649f1 add plugin class name
According top request http://board.s9y.org/viewtopic.php?f=11&t=19786
2014-03-11 09:08:17 +01:00
Ian
11c3758976 cleanup 750660c 2014-03-10 17:55:02 +01:00
Ian
750660c333 fix wrong zebra in design & options
Please tell, if this can be purged here, since it is not used in general config settings.
But I am not sure if this array is also used in configure all installation tasks.
Garvin?
2014-03-10 16:30:17 +01:00
onli
7f4dbb3e2e Include JS in installer and upgrader
This should fix issue #80 by giving serendipity_editor.js of default to the
installer and  the normal template JS to the upgrader
2014-03-09 16:00:38 +01:00
onli
e01a754315 Installer markup cleanup
The template assumed the messages to be arrays, though only one of them was one,
and that actually seems to be a mixup from the smartification
2014-03-09 14:58:06 +01:00
Ian
9b56a35f26 exclude installerHTTPPath from serendipity_getFile
References #80
2014-03-09 13:19:38 +01:00
Ian
0a2e6964ca rename 8a21ac8 to installerHTTPPath
References #80
2014-03-09 12:59:22 +01:00
Ian
8a21ac8737 fix dffe13e for step 3
References #80
2014-03-09 12:19:47 +01:00
Ian
dffe13e344 fix PHP_SELF emitting slash on some OS 2014-03-09 10:20:41 +01:00
Ian
8b951cbc17 fix and prepare installer path for js includement
References #80

needs a special eg installer_editor.js file for JS events
2014-03-08 10:31:17 +01:00
Ian
179f6a19d6 fix upgraders generating content of js files
References #80
2014-03-08 09:38:59 +01:00
Matthias Mees
aa014cbe91 Removed i18n markers which have become obsolete
References #50
2014-03-07 12:33:16 +01:00
Garvin Hicking
c3b4fe53e9 add language constants for maintenance 2014-03-05 16:17:24 +01:00
Ian
627e400a02 prepare menu maintenance const
and removed html to tpl
2014-03-05 15:59:46 +01:00
Garvin Hicking
38c19fc150 If updertEntry is called with an array structure, make sure it is usable 2014-03-05 15:37:22 +01:00
Garvin Hicking
d208452096 Make external event plugins work properly again. Genpage should not be used? Will discuss on the forums.
Also add inactive/active placements to backend
2014-03-05 14:23:19 +01:00
Ian
7028149361 add missing bracket to 9fecaf1 2014-03-05 12:58:28 +01:00
Ian
9fecaf1372 upport missing 7cf4c12 and e5b28180a5 2014-03-05 12:41:03 +01:00
Garvin Hicking
703d9f2ce0 Re-add the serendipity_jssetcookie function, because plugin use this API and it would otherwise create a fatal PHP error. 2014-03-05 11:54:00 +01:00
Ian
a8a1880f0f be more verbose as kindly asked 2014-03-03 19:52:08 +01:00
Ian
153b5b71ba add clearComiledTemplate to maintenance
define constants temporary in maintenance.inc.php, until someone executes addlang.sh

YL, I captured 'comment_status' class for #cct_info.
2014-03-03 16:32:05 +01:00
onli
65814d625c Renamed OUT_STACK in plugin-config 2014-03-02 22:26:16 +01:00
Garvin Hicking
855c13cb57 fix "scalar" error message 2014-02-28 11:09:32 +01:00
Ian
ce56d05d5d upport 44dfccc - make group permission name split into parts
to be styleable as in 1.7, but here still unchanged by tags, since this may need to change some styles.
2014-02-27 12:04:21 +01:00
Matthias Mees
ac22fec171 Layout and other minor CSS fixes for the upgrader.
Includes adapting the layout to match the installer, using a proper
element for removeFiles msgs, removing unnecessary msg_* wrappers,
fixing the upgrader buttons etc.
2014-02-25 19:32:57 +01:00
garvinhicking
df92e08671 provide upgrader task for plugin upgrade 2014-02-10 15:12:56 +01:00
onli
1f63b68908 Publish entries in the dashboard 2014-02-08 16:48:48 +01:00
Garvin Hicking
3d7765f066 upport 1.7.6 security fixes 2014-02-06 09:36:31 +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
b55689ebf4 Fix plugincontrols in no-js mode 2014-01-20 21:28:20 +01:00
onli
b6fe9892c7 Fix subcategory button 2014-01-19 21:39:47 +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
428ef88fce Subcategory button for image dirs + minor 2014-01-19 19:07:02 +01:00
onli
62ba209e52 No categories with the same name 2014-01-19 18:44:44 +01:00
onli
36025ee6ba subfolder creation button for category list 2014-01-19 18:23:42 +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