Commit Graph
100 Commits
Author SHA1 Message Date
Matthias Mees e29009d1ba Fix mispositioned Akismet block/unblock buttons.
References #247
2015-01-05 23:35:51 +01:00
Matthias Mees e571ca1def German translation for some untranslated lang constants.
References #50
2015-01-03 11:12:02 +01:00
Matthias Mees e3867132ea Use different icons for spam/no spam in Spamblock plugin.
(Not Bayes like mentioned in c348799a44aa7c05c0009c5fb4fbea101ef6cf84.)

References #247
2015-01-02 18:48:57 +01:00
Matthias Mees c348799a44 New iconfont build.
Includes new icons for Spamblock Bayes plugin.

References #247
2015-01-02 18:35:26 +01:00
Matthias Mees d0affbb4e4 Update bundled jQuery sortable plugin for backend.
References #251
2015-01-01 16:23:36 +01:00
Matthias Mees 2a05ef7969 Update bundled jQuery cookie plugin.
References #251
2015-01-01 16:20:20 +01:00
Matthias Mees bf7480863b Update bundled MagnificPopup for backend.
References #251
2015-01-01 16:16:26 +01:00
Matthias Mees 2677f67a43 Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2015-01-01 16:08:58 +01:00
Matthias Mees 79a972e92f Update bundled modernizr for backend.
References #251
2015-01-01 16:04:10 +01:00
Matthias Mees 0e56ffeba0 Introduce new lag constant for category view mode toggle.
(Already removed the old lang constant in addlang.txt which has
already been added.)

References #254
2015-01-01 15:31:37 +01:00
Matthias Mees d0af671d2f Add better icons for compact/hierarchical category view toggle.
Includes new iconfont build.

References #254
2015-01-01 15:25:13 +01:00
Matthias Mees 6646955b09 Use localStorage to store category overlay view state.
Way better than cookies, thanks @onli!

References #254
2014-12-31 19:37:56 +01:00
Matthias Mees d91aceb41e Add style for compact category view overlay.
References #254
2014-12-31 15:37:52 +01:00
Matthias Mees 8cb627cb31 Add switch for category overlay view + JS code for it.
References #254
2014-12-31 15:18:52 +01:00
Matthias Mees b141f4a410 Revert relevant aspects of category overlay to hierarchical view.
Reference #254
2014-12-31 14:52:39 +01:00
Matthias Mees 1ac7f7141c Fix date format bug in entry editor (related to typo).
References #252
2014-12-29 15:23:18 +01:00
Matthias Mees 1bf4137aba Update bundled jQuery to 1.11.2. 2014-12-23 16:46:08 +01:00
Matthias Mees 29fada318b Hide non-overlayed tags/categories if overlays are used.
References #222
2014-11-20 15:12:47 +01:00
Matthias Mees 86318adc5c Make skip-scrolling to target href a reusable function. 2014-11-18 18:51:35 +01:00
Matthias Mees 44f5cc8467 Revert "ep floated option blocks"
This reverts commit 552d07af03.

References #232
2014-11-18 16:43:40 +01:00
Matthias Mees e08c279a50 Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2014-11-18 12:19:31 +01:00
Matthias Mees be1e9f6b2c Tiny CSS fix for media db overlay. 2014-11-18 12:19:07 +01:00
Matthias Mees aa9f0dc1d9 Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2014-11-18 11:19:29 +01:00
Matthias Mees 154cbab69a Fix broken s9y_links popup.
References #227
2014-11-18 11:18:50 +01:00
Matthias Mees f3b2e9fe69 Some styling adjustments for tag overlay.
References #222
2014-11-16 13:40:45 +01:00
Matthias Mees 5f7fa8ee2a Improve layout and UI/UX for categories overlay in entry editor.
References #222
2014-11-15 12:38:29 +01:00
Matthias Mees c957ccca57 Reposition tags overlay close button as well.
Needs a new version of freetag plugin, which is not committed (yet).

References #222
2014-11-14 13:05:31 +01:00
Matthias Mees d2ed47410d Extend input field in freetag taglist.
References #222
2014-11-14 12:18:59 +01:00
Matthias Mees 06237977a1 Better behaviour for clicking cats/tags button w/o overlay.
References #222
2014-11-14 11:39:21 +01:00
Matthias Mees 55459bc112 Fix weird show/hide behaviour for tags/classes toggle buttons.
References #222
2014-11-13 21:43:39 +01:00
Matthias Mees bf3fc9ff78 Fix category filter width when not in overlay.
References #222
2014-11-13 21:18:20 +01:00
Matthias Mees cb73854822 Reposition close button in categories overlay.
References #222
2014-11-13 21:08:22 +01:00
Matthias Mees b5e976adcf Add a button to switch entry status quickly to entry editor.
- Includes new iconfont build with two new icons for entry state.
- JS to toggle entry status based on quick switch button.
- JS to toggle quick switch status based on entry status.
- JS to emit a notification that entry status has been updated.

References #222
2014-11-13 20:49:13 +01:00
Matthias Mees aa8832d1b6 Updated build of backend's oldie stylesheet. 2014-11-11 10:40:13 +01:00
Matthias Mees 912547bc26 Use Modernizr's polyfilled version of matchMedia.
matchMedia is the native version, which oldIE does not support.
Modernizr.mq is the polyfilled version included with Modernizr.
2014-11-07 10:31:15 +01:00
Matthias Mees 0ce1d8991d Add equal heights for pluginmanager columns.
Moved firing the syncHeights plugin to a seperate function in the
serendipity namespace because it needs to be fire onclick for the
plugin tabs here. Probably gives us more flexibility in the future
as well. New function is serendipity.sync_heights() which takes no
args.

References #223
2014-11-02 11:39:05 +01:00
Matthias Mees 1c49f0319e Switch 2k11 frontend to new details polyfill.
The old polyfill was still using the deprecated browser function.
2014-10-29 20:25:39 +01:00
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