Archived
1
0
Commit Graph

3809 Commits

Author SHA1 Message Date
Matthias Mees 6b8f893299 Include updated, "customized" build of MagnificPopup.
Also adds missing test to Modernizr build.

References #85
2014-04-20 14:00:44 +02:00
Matthias Mees 49ce068117 Include customized Modernizr build; update Modernizr to latest.
This build includes only the tests and shivs in Modernizr we do
actually use. If we add tests (in CSS or JS) or find some are
missing, this build needs to be renewed.

References #85
2014-04-20 13:30:28 +02:00
Matthias Mees b6b6dfe01a Make button links always contain their text.
References #99
2014-04-20 13:05:25 +02:00
Matthias Mees 9e7fbdf6bf Only fire equal heights js on screens larger than 640px.
The equal heights boxes look weird on small screens, so we're not
firing the plugin there any longer.

This introduces a new variable for breakpoints for responsive JS.
Please *only* add more breakpoints if you actually use them.

References #100
2014-04-18 16:51:33 +02:00
Matthias Mees 041994aa58 Do not truncate entry titles in entry list.
References #117
2014-04-18 16:33:24 +02:00
Matthias Mees ed1fb3c8a3 Open/close tags, support for language-based tags in non-WYSIWYG.
Some plugins might want to hook into the non-WYSIWYG editor and
create buttons which do use different "tags" for open/close or
not create HTML markup at all. This makes it possible for them
to do so.

References #122
References #114
2014-04-18 16:23:40 +02:00
Matthias Mees fa500b947c Use lower-case letters in non-WYSIWYG editor.
References #122
2014-04-18 16:15:01 +02:00
Matthias Gutjahr 7c8ac6822e Catch exceptions in upgrader if files or directories do not exist cp. http://board.s9y.org/viewtopic.php?f=1&t=19860 2014-04-16 23:45:16 +02:00
Garvin Hicking 6489cf7bf8 to the future 2014-04-15 11:01:53 +02:00
Matthias Mees a17bc9bf9d Merge pull request #113 from levito/2.0
js performance improvement: less DOM firing
2014-04-15 10:12:03 +02:00
Garvin Hicking 5660f461e0 backdate 2014-04-15 00:13:03 +02:00
Veit Lehmann 6b5017f016 js performance improvement: less DOM firing 2014-04-14 22:58:08 +02:00
Garvin Hicking a42a7a8f00 Well, this will surely come... - hopefully rather later than earlier ;) 2014-04-14 09:27:09 +02:00
Garvin Hicking e34007c1b7 so it begins 2014-04-14 09:11:41 +02:00
Garvin Hicking 2fc551ac99 Fix serious issue with plugin migration. Config values where not renamed. :( 2014-04-08 11:29:25 +02:00
Ian 6a8f3a44c0 Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2014-04-08 10:39:46 +02:00
Ian 847ef6c6a6 Smarty 3.1.18 2014-04-08 10:22:23 +02:00
Garvin Hicking ce724611d5 Yeah, guess I cannot get used to "Themes". 2014-04-08 09:37:18 +02:00
Garvin Hicking 178371eed6 Prepare release 2014-04-08 09:22:30 +02:00
Garvin Hicking 3d92fb099f Prevent fatal error when directory does not exist 2014-04-08 09:13:47 +02:00
onli 68be4a5f65 get rename token from html
serendipity_editor.js in default is static, so it can't be given by smarty. I copied the approach into the 2k11-version as well, so it won't get as easily lost.
2014-04-04 13:34:38 +02:00
onli 931a0f0b3b nobr button was using the wrong id for tarea 2014-03-31 02:46:39 +02:00
onli fd113ae212 Use id for textarea identification
this prodcues an easier compatiblity with the staticpage-plugin, and is
altogether more developer friendly than the documents.form-selector
2014-03-31 02:29:54 +02:00
onli 07ef076472 Document php-version req
#104
2014-03-28 11:15:40 +01:00
onli a722390fbf Set needed php to >= 5.3
closes #104
2014-03-28 10:03:03 +01:00
Matthias Mees 6abc381aec A more robust solution for the off-canvas nav.
References #111
2014-03-24 20:46:02 +01:00
Ian c69932eaae rename create() js errorHandler function to errorHandlerCreateDOM() 2014-03-24 15:19:16 +01:00
Ian d2e34d3bcf upport missing errorToExceptionHandler() changes 2014-03-24 15:17:28 +01:00
onli 7bf373248b serendipity_editor.js.tpl without core
To have this in the plugin api didn't look right. the fallback to default works this time, so this should be alright.
2014-03-23 23:53:55 +01:00
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
Matthias Mees 31eba101f6 Rewrite toggle_extended function to work with wysiwyg editor.
References #102
2014-03-18 15:48:16 +01:00
Matthias Mees 5ef157063c A more subtle styling for links in field info text. 2014-03-18 15:23:08 +01:00
Matthias Mees 8ff7cdeddb Save a little space in no-js in media upload. 2014-03-18 15:15:18 +01:00
Matthias Mees 58e59a9193 Hide more things which don't make sense in no-js. 2014-03-18 15:14:23 +01:00
Matthias Mees 38c072c871 Don't show comment summary in no-js mode. 2014-03-18 15:04:51 +01:00
Ian c024b0fa97 exclude textarea info button in case of wysiwyg
for html nugget plugin (there is no more)
2014-03-18 09:28:08 +01:00
Ian 1a72f3a8b8 set alpha4 version
References #72 upgrade part
2014-03-18 09:02:50 +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 795410a6c9 chip another line 2014-03-16 09:44:47 +01:00
Ian 4f59ac109b fix note 2014-03-16 09:39:48 +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 f509d042ab purge note, since not a tpl (2) 2014-03-15 19:46:00 +01:00
Ian 15977512dd purge note, since not a tpl 2014-03-15 19:25:34 +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 8e26bd9711 prepare core ckeditor for custom config and plugins 2014-03-15 17:48:29 +01:00
Ian 4296b78333 fix some whitespaces 2014-03-15 17:38:31 +01:00
Ian 44ea050a13 fix virtual js 2014-03-15 17:35:37 +01:00
Ian 40609d803f add backend_footer hook 2014-03-14 20:06:11 +01:00