193 Commits

Author SHA1 Message Date
Matthias Mees
b9be5eae5e Re-added change filename/target dir for media db uploads
References #136
2014-04-30 11:15:40 +02:00
Matthias Mees
0ef5a689f9 Uncomment minify images function to get a working image upload.
References #137
2014-04-30 10:11:22 +02:00
Matthias Mees
d13cb056f0 Remove stray debug code. 2014-04-29 13:29:08 +02:00
Matthias Mees
2475f952df Standardize select image from media db/show preview process.
This used to be two seperate processes for the category icon and
images selected in plugin/theme config. It has now been simplified
to use just one process, which also uses the same markup and JS.

This adds to the consistency of the UI/UX, but it also saves some
CSS and a lot of JS, most of the latter of the expensive kind that
modifies the DOM.
2014-04-29 13:22:55 +02:00
Matthias Mees
a3cb5e253c Re-use choose_media for selecting category icons.
Also, save some JS performance by generating the button in Smarty,
not in JS.

References #110 #85
2014-04-28 16:11:05 +02:00
Matthias Mees
7b5ef26e7e Use correct media db overlay for theme options.
References #110
2014-04-28 15:56:29 +02:00
Matthias Mees
9c061a77ae Use correct media db overlay for extended entry properties.
References #110
2014-04-28 15:51:14 +02:00
onli
976c0018e9 Init: Ajax image upload 2014-04-25 01:58:32 +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
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
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
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
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
Matthias Mees
31eba101f6 Rewrite toggle_extended function to work with wysiwyg editor.
References #102
2014-03-18 15:48:16 +01:00
Ian
9b3443dcd6 fix 390ec689c2 2014-03-12 20:25:10 +01:00
Ian
390ec689c2 get right instance for CKE plugin (and nugget textareas) 2014-03-11 18:07:33 +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
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
Matthias Mees
9248aae9a9 Adapt AccessifyHTML5 to latest layout changes 2014-03-09 11:41:57 +01:00
Matthias Mees
7e16db1b62 Automagically remove msg timestamp 2014-03-08 13:34:02 +01:00
Matthias Mees
e41ef67f99 Add a (JS only) category list to entry editor
This will emit (and update) a list of all categories assigned to an
entry based on the selection in the category selection popup.

References #77
2014-03-08 10:47:45 +01:00
Matthias Mees
8b08f066a5 Added details JS polyfill for Firefox and IE 2014-03-08 00:38:12 +01:00
Matthias Mees
3e281fe41a Change MFP close button to submit_state for select_category
References #77
2014-03-07 14:18:30 +01:00
Matthias Mees
ec3ebca433 Introduce new lang constants, @garvinhicking please add :)
Hint: addlang.sh does not work on OSX.
2014-03-07 13:10:32 +01:00
Matthias Mees
9c531401af Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2014-03-06 18:11:12 +01:00
Matthias Mees
c1c71b3b64 Adapted backend markup + styles for serendipity_event_karma. 2014-03-06 18:08:42 +01:00
Garvin Hicking
a5bd6563dd re-renamed addLoadEvent 2014-03-06 16:00:20 +01:00
Matthias Mees
57cf532863 Added confirm msg for build cached entries in maintenance. 2014-03-06 12:30:05 +01:00
Matthias Mees
1d32fe52f5 Unified comments delete confirm msg 2014-03-06 12:12:28 +01:00
Matthias Mees
1ca8c8fdf5 Fix broken JS selector for category selector popup.
Also style category legend differently in no popups fallback.

References #77
2014-03-05 19:01:34 +01:00
Garvin Hicking
94c3a75a96 New language constants, hopefully caught all i18n's. Please check. 2014-03-05 13:22:50 +01:00
Garvin Hicking
70aea65078 Make accessible tabs remember their last choice.
Bundled jquery.cookie library for that.
Every TABlist now needs to have a unique ID.
2014-03-05 11:37:38 +01:00
Matthias Mees
cfc893cd56 Refactor smallscreen nav to off-canvas nav (basics).
– necessary layout changes
– move toggle nav button
– incorporate user menu back into main nav
– basic styles required for off-canvas nav
– adapt typography, remove some redundant styles
– adapt toggle JS
2014-03-03 17:48:13 +01:00
Matthias Mees
49319139e0 Refactor toggle buttons in entry editor according to config. 2014-03-01 18:24:49 +01:00
Matthias Mees
dd013f3a70 Use new show hide buttons. 2014-03-01 15:51:44 +01:00
Matthias Mees
aa171353df Remove log function. 2014-03-01 13:37:28 +01:00
Matthias Mees
6c038db4bb Better layout for image directory permissions. 2014-02-27 19:29:49 +01:00
Matthias Mees
d7061e154a Simple inline msg for timestamp reset; JS only. 2014-02-10 20:28:01 +01:00
Matthias Mees
ccd0150df3 Fix broken show/hide in entry editor. 2014-01-28 22:25:42 +01:00
Matthias Mees
4e923e1aeb Display category selection in a popup/modal window. 2014-01-25 15:58:47 +01:00
Matthias Mees
f932be684f Completely revamped layout for entry editor.
Please note: This is still preliminary. It needs testing (no-js
fallback, IE8) and it still needs a better solution for selecting
(especially multiple) catgeories.
2014-01-25 14:05:36 +01:00
onli
3873826036 Add upload button to imageselector 2014-01-23 23:13:09 +01:00
onli
7af68d6d9f tabbify plugin menu 2014-01-21 20:27:02 +01:00
onli
c8eca17adc Categories: Open submenu if set 2014-01-20 21:46:10 +01:00
onli
75a95382a4 ajaxify image rotate
Solving the caching issue
2014-01-19 17:59:28 +01:00
Matthias Mees
8723224548 Make advanced options in create category collapsible. 2014-01-19 17:10:27 +01:00