877 Commits

Author SHA1 Message Date
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
Veit Lehmann
6b5017f016 js performance improvement: less DOM firing 2014-04-14 22:58:08 +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
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
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
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
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
Ian
9b3443dcd6 fix 390ec689c2 2014-03-12 20:25:10 +01:00
Matthias Mees
67d75d9eba Replace relevant occurrences of 'Template' with 'Theme'
This is for files in the templates/ directory.

References #103
2014-03-11 20:25:20 +01:00
Ian
544d0bf7b4 fix wysiwyg-Spawnnugget() - fixes #92 2014-03-11 19:14:17 +01:00
Ian
390ec689c2 get right instance for CKE plugin (and nugget textareas) 2014-03-11 18:07:33 +01:00
Garvin Hicking
78c7b11c36 Change the order, serendipity_editor provides an API that plugins might want to use, so it needs to be declared first in queue. 2014-03-11 15:11:35 +01:00
Matthias Mees
a722036b8a Re-position spartacus update buttons on small screens
References #97
2014-03-11 12:21:58 +01:00
Matthias Mees
1927da75c1 Move plugin name in plugin description, add styling 2014-03-11 11:49:31 +01:00
Matthias Mees
79135a988d Add new lang constants for the installer
Someone (@garvinhicking) please run addlang.sh for me to add these
(doesn't work on OSX command line). Thanks.
2014-03-11 11:18:08 +01:00
Matthias Mees
9ed9056ff1 Fix missing lang constant 2014-03-11 11:09:03 +01:00
Matthias Mees
6d5c24af2f Move serendipity_editor.js reference back to <head>
The document ready shorthand function needed a little adapting as
well (which is not an issue since we abandoned noConflict mode).

References #91
2014-03-11 10:44:10 +01:00
Matthias Mees
c81d957094 The form elements need to be a wee bit smaller
References #83
2014-03-10 20:22:12 +01:00
Matthias Mees
bb83c2c7a1 Realign filter form elements on small screens
References #83
2014-03-10 20:16:23 +01:00
Matthias Mees
dc9c05ba8b Fix headings in content lists on small screens
References #83
2014-03-10 20:07:50 +01:00
Matthias Mees
3106a59fc4 Make filter buttons in comment data smaller
References #83
2014-03-10 20:00:01 +01:00
Matthias Mees
fcefdbece2 No margin for action buttons on small screens
Reference #83
2014-03-10 19:58:21 +01:00
Matthias Mees
1ceae353bf Reposition media selector bar on small screens
References #83
2014-03-10 19:47:10 +01:00
Matthias Mees
64eeeaafc8 Make room for timestamp msg in entry editor on small screens
References #83
2014-03-10 19:43:02 +01:00
Matthias Mees
40b066a3b9 Reduce font-size for h1
This will make longer blog titles fit better on small screens.

References #83
2014-03-10 19:34:23 +01:00
Matthias Mees
af9cd2135d Don't use updateOnResize in IE8 for equal heights
This seems to fix the scrolling issues in IE8 in the media db.

References #83
2014-03-10 18:16:18 +01:00
Garvin Hicking
50562d49a9 Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2014-03-10 17:19:59 +01:00
Matthias Mees
93aed1b818 Fix zebra striping in IE8
Apparently, IE8 won't interpret CSS statements if it does not
support all selectors used in the statement?!

References #83
2014-03-10 15:59:13 +01:00
Matthias Mees
d157084851 Better container for weblogping services
References #87
2014-03-10 15:13:20 +01:00