242 Commits

Author SHA1 Message Date
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
8cb627cb31 Add switch for category overlay view + JS code for it.
References #254
2014-12-31 15:18:52 +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
154cbab69a Fix broken s9y_links popup.
References #227
2014-11-18 11:18:50 +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
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
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
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
onli
9b63c41c2a Respect image url setting instantly (#207) 2014-09-19 18:53:11 +02:00
Garvin Hicking
5c12922510 Personal preferene for autosave
References #213
2014-09-09 14:34:46 +02:00
onli
19bdfec0b9 Restore autoscroll functionality (#189) 2014-07-06 23:44:50 +02:00
onli
ca8b96df32 autoscroll.stop does not exist anymore (#189) 2014-07-06 23:26:50 +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
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
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
Garvin Hicking
33193806ed References #189
Combine additional jquery/plugin files into one
Remove single file references
Moved dragdrop.js to serendipity_Editor.js.

Please test. Might make trouble in the installer/upgrader?
2014-06-25 12:28:59 +02:00
onli
36987228f9 include indexeddb polyfill directly (#186) 2014-06-24 22:51:58 +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
2d85ced5dd Prevent freetag list from making the page "jump".
References #188
2014-06-18 11:51:16 +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
6bd322e195 indexedDB feature test for autocache in editors.
References #186
2014-06-17 11:31:38 +02:00
Garvin Hicking
f5693b0b86 Added "clean" new option for using backend popups (disabled by default) as a per-user option
References #183
2014-06-17 09:50:26 +02:00
Ian
faccabef47 slight changes to enable wysiwyg editor textareas 2014-06-12 16:57:08 +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
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
onli
2d50bdd375 ML filter-folder save without reload via cookies (#155) 2014-05-29 23:16:41 +02:00
onli
eef94a8048 Integrate autosave_local into core (#118) 2014-05-29 19:26:13 +02:00
Garvin Hicking
0d43f5dea7 Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2014-05-28 10:37:16 +02:00
Garvin Hicking
ffb1a0769a fix typo, i81n 2014-05-28 10:37:00 +02:00
onli
0e41248edd Show ML-Button after Ajax-Upload
It might be useful by not to smartify those buttons
2014-05-26 21:28:56 +02:00
onli
795575a074 Add new img button to media chooser (plugins) 2014-05-26 21:09:27 +02:00
Garvin Hicking
dab92bdca6 * Adapted serendipity_editor.js to provide more global (though
deprecated) API access methods for plugins like amazonchooser
      and linktrimmer, to perform insertion. Also fixed the
      insertion of text when the ID of the element is not prefixed

(You may need to reload your browsercache to get the new JS)
2014-05-26 12:07:29 +02:00
Matthias Mees
ca530221eb Temporary fix for media library loading in a loop.
References #157
2014-05-26 10:12:07 +02:00
onli
c291c5166d Remember ML folder (#155) 2014-05-25 21:58:10 +02:00
onli
a8b4f05de2 Improve status-messages of ajax uploader (#126) 2014-05-25 21:30:36 +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
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
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
onli
694b446e1a Move serendipiy_editor.js.tpl convertion into core
http://board.s9y.org/viewtopic.php?f=11&t=19927
2014-05-16 16:13:16 +02:00
onli
ccbfcf2e66 Finish uplaod resize function (#137)
configurable, some fixes, polyfill for chrome
2014-05-08 22:37:44 +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