Commit Graph
100 Commits
Author SHA1 Message Date
Matthias Mees 2c87f68022 Add a closing bracket which was accidentally removed.
Removed in 971b993a52.

References #216
2014-09-10 23:02:29 +02:00
Matthias Mees bc6561eeb5 Add plugins.js to preview_iframe.tpl.
This is a – possibly temporary - fix. serendipity_editor.js depends
on this file, so it needs to be included in the preview iframe as
well.

See http://board.s9y.org/viewtopic.php?p=10440336 (German only) for
further info on the issue this is related to.
2014-08-25 18:56:15 +02:00
Matthias Mees da0f824da9 Move media_showitem.tpl to frontend for default as well.
References #197
2014-07-08 12:27:01 +02:00
Matthias Mees dad36dff47 Turn media_showitem.tpl into a true frontend template.
Adapted in serendipity_admin_image_selector.php. Uses frontend CSS
and JS now.

References #197
2014-07-08 11:56:44 +02:00
Matthias Mees 9f6e029e59 Remove indexedDB polyfill.
References #186 #189
2014-06-29 14:12:20 +02:00
Matthias Mees 519e7221da Minor reformatting of drag 'n' drop function.
References #189
2014-06-29 13:38:57 +02:00
Matthias Mees bda8f3910b Move drag 'n' drop into "global" document ready function.
Also reformat deprecated legacy functions.

References #189
2014-06-29 13:25:25 +02:00
Matthias Mees 88028d1da2 Rebuild plugins.js.
References #189
2014-06-29 13:21:04 +02:00
Matthias Mees 3d5354dd79 Disable debug mode for tabs plugin.
References #189
2014-06-29 13:19:23 +02:00
Matthias Mees 71d711902f Remove source mapping for indexedDB polyfill.
The source map is not included in s9y. This throws warnings in the
JS console.

References #189
2014-06-29 12:54:24 +02:00
Matthias Mees c6c66bb44a Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2014-06-29 11:45:24 +02:00
Matthias Mees 560e19e880 Minor typo. 2014-06-29 11:45:12 +02:00
Matthias Mees 150f3e1e64 Small CSS fix for Maintenance section. 2014-06-25 14:47:41 +02:00
Matthias Mees 639e36f0eb Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2014-06-25 13:52:12 +02:00
Matthias Mees 1c343badcd Re-minified jquery.tabs.js.
For some reason, the minified version supplied by the plugin's
repository threw an errow, so I reminified it with UglifyJS.

References #189
2014-06-25 13:50:51 +02:00
Matthias Mees a87944ef44 Include minified versions of JS plugins.
Included minified version from plugin repository if supllied there.
If not, used http://marijnhaverbeke.nl/uglifyjs on the unminified
source file (keeping "head" comments, which usually include license
info).

Saved ~42% of plugins.js. \o/

References #189
2014-06-25 13:43:07 +02:00
Matthias Mees 93790772ae Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2014-06-25 13:08:38 +02:00
Matthias Mees ba56d99e8b Remove AccessifyHTML5 and details polyfill.
These are now included in plugins.js by gruntipity.php. No need to
keep them in serendipity_editor.js.tpl.

References #189
2014-06-25 13:07:40 +02:00
Matthias Mees 9808c57f1e Minor typos in gruntipity.php. Made docs a bit clearer.
References #189
2014-06-25 13:02:37 +02:00
Matthias Mees 7d127738ca Add AccessifyHTML5 and details polyfill as external files.
Technically being third-party libraries, these should be included
in our combined plugins js file. Once that file is being generated,
we can remove these to from serendipity_editor.js.tpl.

References #189
2014-06-25 10:33:54 +02:00
Matthias Mees 5f7468958f Fix grouped checkboxes blocking field info show/hide.
References #190
2014-06-20 22:16:44 +02:00
Matthias Mees 67213c247e Rewrite positioning of .field_info.
Positioning of the info text was not ideal because it could be
placed way below the associated label if the associated config
element was larger than expected.

References #190
2014-06-20 18:01:48 +02:00
Matthias Mees f79ae2f3ae Make sure that freetags autocomplete popup still shows up.
magnificPopup overlays the autocomplete popup because of z-index.

References #188
2014-06-19 21:41:39 +02:00
Matthias Mees 1c743429ae Remove redundant min-width for imageselectorplus plugin. 2014-06-19 09:44:38 +02:00
Matthias Mees ea3751aca8 Minimal styles for emoticonchooser.
References #185
2014-06-18 12:22:06 +02:00
Matthias Mees ead0f15e46 Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2014-06-18 11:57:53 +02:00
Matthias Mees 2d85ced5dd Prevent freetag list from making the page "jump".
References #188
2014-06-18 11:51:16 +02:00
Matthias Mees 0ed6a0c8f3 Required style for freetag in magnificPopup.
These should at some point go into the plugin's CSS.

References #188
2014-06-18 11:39:49 +02:00
Matthias Mees be46250dff Add basic functionality to open tags selection in magnficPopup.
References #188
2014-06-18 11:11:26 +02:00
Matthias Mees f60df79b15 Add button for tag selection to entry editor.
Only displayed if freetag plugin is installed.

References #188
2014-06-18 11:04:46 +02:00
Matthias Mees d065179034 New build of legacy IE stylesheet. 2014-06-18 10:00:23 +02:00
Matthias Mees 95e2cab689 New iconfont build including tag icon.
References #188
2014-06-18 09:55:57 +02:00
Matthias Mees 6bd322e195 indexedDB feature test for autocache in editors.
References #186
2014-06-17 11:31:38 +02:00
Matthias Mees f06da2f6ac Add new Modernizr build, upgrade Modernizr to 2.8.2.
This included feature test for indexedDB and WebSQL.

References #186
2014-06-17 11:13:28 +02:00
Matthias Mees 632831a76e Remove unset variable for body id attribute in media db.
References #150
2014-06-17 11:03:01 +02:00
Matthias Mees 41ff9b4579 Clear floats in dashboard properly
References #182
2014-06-12 19:24:07 +02:00
Matthias Mees 344c588844 User the user id variable properly so the correct user is deleted
References #184
2014-06-12 16:38:46 +02:00
Matthias Mees b515c7f050 A better solution for the clickable categories list. 2014-06-04 20:29:43 +02:00
Matthias Mees 9fea866da9 Make the extra category list "a bit less clickable". 2014-06-04 16:31:23 +02:00
Matthias Mees a611ea24b5 Small CSS fix related to Spamblock Bayes. 2014-06-02 19:48:46 +02:00
Matthias Mees 96174ea80e Added note for syncing wysiwyg image floats.
References #129
2014-06-02 11:43:51 +02:00
Matthias Mees 5aae04915c Move submit buttons in entry editor
References #176
2014-06-02 10:52:13 +02:00
Matthias Mees a915981b6a Move category list in entry editor.
Also trigger category selector on clicking category list.

References #176
2014-06-02 10:49:56 +02:00
Matthias Mees 5e5cc1e426 Autofocus user id for login form. 2014-05-28 19:50:15 +02:00
Matthias Mees ca530221eb Temporary fix for media library loading in a loop.
References #157
2014-05-26 10:12:07 +02:00
Matthias Mees 1375d12a08 Consolidate event handlers.
(I don't remember why this was in a seperate event handler, but we
don't need it to be anymore.)

References #85
2014-05-24 19:15:53 +02:00
Matthias Mees 26088f8ba5 If toggler does not have an id, don't store the state.
References #144
2014-05-24 19:10:14 +02:00
Matthias Mees ab99abcbae Bug fix for serendipity.toggle_collapsible.
References #144
2014-05-24 18:27:20 +02:00
Matthias Mees 4e4972d440 Document serendipity.toggle_collapsible. 2014-05-24 17:49:31 +02:00
Matthias Mees 78b83266e3 Rewrite show/hide functionality as a reusable function
Introducing serendipity.toggle_collapsible, which

– is a reusable function available via the serendipity namespace
– has arguments to customize the show/hide icon, but also has
  sensible default fallbacks for those arguments
– creates an individual key in localStorage to store the open/
  close state in

The latter also fixes a bug(?) which made show/hide in the entry
editor save the state for entry metadata and advanced options in
the same localStorage key. This could be improved with a fallback
for toggling elements which don't have an id.

References #144
2014-05-24 17:21:37 +02:00
Matthias Mees 4437e01af7 Minor improvement for headings in plugin configuration. 2014-05-23 10:27:02 +02:00
Matthias Mees 92641323db Move #entry_skip back to a seperate form element.
References #159
2014-05-22 20:27:20 +02:00
Matthias Mees ae6d69a173 Use different labels for plugin filters.
These are supposed to make the functionality of the plugin filter/
search more clear without introducing new lang constants. Also
removed the placeholder attribute altogether.

References #154
2014-05-21 22:26:44 +02:00
Matthias Mees 2f1455d53b Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2014-05-21 15:48:57 +02:00
Matthias Mees ed6b4e4c6a Adapt CSS to changes in theme list layout.
References #165
2014-05-21 15:48:21 +02:00
Matthias Mees b8faaba829 Make category filtering a reusable function for live filtering
Can now be used anywhere where a "real-time" filter is desirable.
As a usage example, it's implemented for the list of installable
plugins. Should work anywhere, though – needs an input element,
a list of target elements and an element within those target
elements to contain the search term.

Also made the function for the reset button for this reusable.

References #154
2014-05-18 14:13:27 +02:00
Matthias Mees 8726770c03 Move nav items for core plugins to the proper backend nav sections
References #152
2014-05-18 11:56:38 +02:00
Matthias Mees 77df5f6129 For visual consistency, the button text should be the same.
References #151
2014-05-14 15:13:57 +02:00
Matthias Mees 95a901d653 Added temporary backend theme screenshot.
References #151
2014-05-14 15:10:07 +02:00
Matthias Mees f1595837df Some visual polish for frontend/backend theme switching.
Also removes redundant text from backend theme info overlay.

References #151
2014-05-14 14:59:00 +02:00
Matthias Mees 0413a838d3 Remove "Published" status in entries list.
It makes it harder to spot "Draft", "Sticky" and "Scheduled", and
we don't have a good solution to distinguish those by color. Might
come in a 2.0.x, though.
2014-05-11 22:09:59 +02:00
Matthias Mees 542917efea Adapt collapsible plugin description to list of installed plugins.
References #125
2014-05-11 21:55:06 +02:00
Matthias Mees 9ce0033c88 Add HTML button classes to extended entry textarea.
Fixes the buttons not emitting the arrow brackets for HTML tags in
the extended entry's plain editor.

References #121
2014-05-04 11:27:08 +02:00
Matthias Mees 4daffd0294 Update Modernizr to 2.8.1 (custom build) 2014-05-02 14:58:19 +02:00
Matthias Mees 7cb385c35c Update bundled jQuery to 1.11.1. 2014-05-02 14:54:57 +02:00
Matthias Mees 52fd0d331b Marked stray untranslated title attributes
References #142
2014-05-02 13:18:12 +02:00
Matthias Mees 5f7602cd79 Improved readability of upgrader messages
References #141
2014-05-02 12:05:05 +02:00
Matthias Mees bc792926ae Fix missing i18n constant. 2014-05-01 16:51:21 +02:00
Matthias Mees 34e4341ab0 A more robust solution for for plugin config sequence items
A reiteration of 744a0fc32a.
2014-05-01 16:20:35 +02:00
Matthias Mees 2307e892a9 Add comment status to dashboard comments list. 2014-04-30 12:52:01 +02:00
Matthias Mees 38f01b02a6 A better message for adding an image. 2014-04-30 11:26:33 +02:00
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 d99dc6846b Remove jQuery source mapping. Oops. 2014-04-29 13:54:12 +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 055d6cdcd7 Generate new oldie.css.
(Needs to be done from time to time.)
2014-04-28 16:35:56 +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
Matthias Mees 744d93b938 The import tpl needs some extra headings. 2014-04-26 18:48:51 +02:00
Matthias Mees 1517302940 Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2014-04-25 11:28:33 +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
Matthias Mees d355f82de2 Open Spartacus XML file in a seperate window/tab. 2014-04-25 10:54:15 +02:00
Matthias Mees 2ae6bcc5dd Add reset button for category filter; add some styling.
References #123
2014-04-24 17:30:40 +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
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
Matthias Mees 6abc381aec A more robust solution for the off-canvas nav.
References #111
2014-03-24 20:46:02 +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