1116 Commits

Author SHA1 Message Date
onli
4efba7e295 Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2014-04-27 19:12:27 +02:00
Matthias Mees
744d93b938 The import tpl needs some extra headings. 2014-04-26 18:48:51 +02:00
onli
f7b57643ef Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2014-04-25 20:31:06 +02:00
Matthias Mees
82d3165a19 Fix weird equal heights in list of installable plugins.
Some plugins on Spartacus have longer descriptions, making their
entires longer. Now, the description is collapsible using a details
element.

References #125
2014-04-25 11:26:48 +02:00
Garvin Hicking
5e0c4c074e include upgrader timestamp
document recent changes
i18n for upgrader
2014-04-25 09:55:41 +02:00
Garvin Hicking
919674e25a i81n for categoryfilter 2014-04-25 09:30:21 +02:00
onli
976c0018e9 Init: Ajax image upload 2014-04-25 01:58:32 +02:00
onli
631bc150ac improve update notice: timeout, config
The updater in the dashboard needed a timeout to not kill the backend if github is not reachable
Also, this makes the check configurable
2014-04-24 18:25:56 +02:00
Matthias Mees
2ae6bcc5dd Add reset button for category filter; add some styling.
References #123
2014-04-24 17:30:40 +02:00
Garvin Hicking
f89b34f2b0 Fix issue #128 2014-04-24 15:28:13 +02:00
Garvin Hicking
063b753892 Proof of concept idea for the "filter category" idea
http://board.s9y.org/viewtopic.php?f=11&t=19862
2014-04-24 15:21:25 +02:00
onli
f704df9365 support html5 multiple upload
closes #126
2014-04-23 02:27:14 +02:00
Matthias Mees
a04a2de5c5 Remove redundant comment. 2014-04-20 14:09:47 +02:00
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
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
1471ac699c correct a typo I assume 2014-03-14 20:05:31 +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