231 Commits

Author SHA1 Message Date
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
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