149 Commits

Author SHA1 Message Date
Matthias Mees
43b46ceccb Only fire those if there actually is an entry editor. 2013-06-06 22:07:39 +02:00
Matthias Mees
1f3a6348b0 Of course we still need those for the time being. 2013-06-06 22:06:23 +02:00
Matthias Mees
0b4379b06d Removed obsolete functions. 2013-06-06 21:03:14 +02:00
Matthias Mees
97dc035bcc Use iconfont button for category selector; add styling. 2013-06-06 15:49:37 +02:00
Matthias Mees
2d51cdae66 Maintenance: removed duplicate function, moved editor functions. 2013-06-06 14:48:41 +02:00
Matthias Mees
f166322976 Merge branch '2.0' of github.com:s9y/Serendipity into 2.0
Conflicts:
	templates/2k11/admin/serendipity_editor.js.tpl
2013-06-06 14:36:03 +02:00
Matthias Mees
e5addc8965 jQuery rewrite of config options show/hide/all.
This will replace showConfig + showConfigAll globally once @onli has
switched the parts which don't use the smartified code base yet. It
also adds a sensible no-js fallback and proper state indicators.
2013-06-06 14:27:56 +02:00
onli
8267989279 restore extended editor toggle, renamed category toggle function 2013-06-06 14:20:52 +02:00
onli
a8d7c8a9c4 restore category_toggle 2013-06-06 14:13:23 +02:00
Matthias Mees
d4d3515c8a Some minor preparations for config show/hide/all. 2013-06-06 12:52:44 +02:00
Matthias Mees
f40546b1f5 chkAll function is used by some plugins. 2013-06-06 11:36:28 +02:00
Matthias Mees
76c49a67dd Maintenance: removed obsolete functions. 2013-06-05 18:46:51 +02:00
Matthias Mees
af0115d4f5 Clean up code comments. 2013-06-05 18:45:34 +02:00
Matthias Mees
cb09463326 jQuery rewrite of invertSelection() function.
This works for entries, comments and media items including changing
the multidelete marker. Needs to be tested with Karma plugin which
uses the old function as well.
2013-06-05 18:37:55 +02:00
Matthias Mees
8d72e632cc Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2013-06-04 17:51:48 +02:00
onli
bc6f48e1b6 instant reaction from media filter buttons 2013-06-04 15:53:00 +02:00
onli
885150daac fix category icon selector
window.open with & lead to filename_only being lost, so additional options were shown
2013-06-04 12:16:26 +02:00
Matthias Mees
3d38d0be9f Maintenance: edit JS comments, mark functions for removal. 2013-06-04 11:17:37 +02:00
Matthias Mees
5a77d39355 Multidelete highlighting for entries.
Also made highlightComment() and multidelete highlighting more
flexible to use.
2013-06-04 06:49:44 +02:00
Matthias Mees
d348235050 Hide/show media db filters and sorting. 2013-06-04 00:05:54 +02:00
Matthias Mees
e7d3488ea6 Limit media file info width. 2013-06-03 20:44:41 +02:00
Matthias Mees
cb5c5fc67c Include comments pagination heading in pagination. 2013-06-03 20:20:43 +02:00
Matthias Mees
14aad65c0c Hide/show entry list filters, sorting etc. Needs more styling. 2013-06-03 17:01:59 +02:00
Matthias Mees
60797bddca Info overlay for templates.
NOTE: This would be way nicer if template preview images were a
      bit larger (just like media db thumbnails), but I guess
      were going to have to discuss how to implement that first.
2013-06-03 15:07:46 +02:00
Matthias Mees
d02fea28ea A more usable overlay for media files; fixed duplicate ids.
This looks about the same as @onli's solution, but more usable on
smaller and/or touch devices since it's triggered by a button which
also makes sense if JS is deactivated. Has a no-js fallback, too.
2013-06-03 13:20:41 +02:00
Matthias Mees
78ee899da0 Properly styled pagination for media db, entries + comments.
Also, the pagination is now being clones using JS.
2013-06-02 14:59:31 +02:00
Matthias Mees
df283db810 Media db overlay cleanup. 2013-06-02 13:39:21 +02:00
Matthias Mees
f79a258c80 Fixes highlighting of comments selected for multidelete.
NOTE: Also figured out the mystery about the duplicate function
      invertSelection, but will take care of that in a seperate
      commit. Documented it in a comment, though.
2013-06-01 15:37:21 +02:00
Matthias Mees
2e886e9405 Rewrite of category icon onclick handler.
NOTE: This is not testable right now since something's broken in
      inserting images from the media db.
2013-06-01 14:52:34 +02:00
Matthias Mees
be832ceb4d Externalized click handler for cloning upload form.
Also fixed duplicated id in upload form and fixed setting the target
directory in cloned form.
2013-05-31 23:26:37 +02:00
Matthias Mees
75d45f811f Replaces inline onclick handler for .status_timestamp.
Also moved reference to serendipity_editor.js before the closing
body element. This way, jQuery's $(document).ready() equals
$(window).load(), so we don't have to use that any longer.
2013-05-31 18:10:16 +02:00
Matthias Mees
66deb345a2 Document what this does. 2013-05-31 17:11:57 +02:00
Matthias Mees
1ab2389cdb Getting rid of inline body onload. 2013-05-31 17:01:06 +02:00
onli
121c796d48 revert 61ae46383effc52b0f4f7470caa3bda29cf9b1fa 2013-05-31 16:10:17 +02:00
Ian
af3c686111 Update serendipity_editor.js.tpl
uarrgh
2013-05-31 12:58:18 +03:00
Ian
c980451725 Update serendipity_editor.js.tpl
Hey, never assume something is “obvious”
2013-05-31 11:57:01 +02:00
Matthias Mees
0c22d50477 Removed some redundant comments. 2013-05-31 10:29:44 +02:00
Ian
7316e74b65 upport master → 2.0 in 2k11/serendipity_editor.js.tpl (fixed typos)
Do not forget to remove engl short (not) notations in js file doc notes, to help github prettifier
2013-05-31 10:04:08 +03:00
Ian
61ae46383e upport master → 2.0 in 2k11/serendipity_editor.js.tpl
added CKEDITOR, some better mode switches and re-added noWysiwygAdd() since this was changed and fixed, after the jquery refactoring was done in 2.0.

Note docs should not get removed, sonce this is done automatically in any modifier.
2013-05-31 08:58:48 +02:00
Matthias Mees
72a6e9473a Documented a JS error I can't fix right now. 2013-05-30 22:06:42 +02:00
Matthias Mees
7f72419e3c I think that makes the backend noConflict-free. 2013-05-30 21:43:51 +02:00
Matthias Mees
992df72fac Some changes to make the console.log thingy work in .tpl file. 2013-05-30 19:19:35 +02:00
Matthias Mees
ddadd81f4a Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2013-05-30 19:07:02 +02:00
Matthias Mees
b2ca3ef066 Include admin_scripts.js in serendipity_editor.js.tpl.
Also update redundant references in .tpl files.
2013-05-30 19:06:10 +02:00
Ian
5ae5329de8 Update serendipity_editor.js.tpl
remove note "..'t" notation, to have github prettify code view back
2013-05-30 19:54:54 +03:00
Matthias Mees
c2c27470ff Include header_spawn.js in serendipity_editor.js.tpl. 2013-05-30 18:13:33 +02:00
Matthias Mees
5edc98545d include 2k11.admin.js in serendipity_editor.js.tpl. 2013-05-30 17:41:35 +02:00
Matthias Mees
5058866698 Include image_selector.js in serendipity_editor.js.tpl. 2013-05-30 17:28:46 +02:00
onli
0cd974fa6d proof-of-concept .js.tpl: Added fallback for serendipity_editor.js.tpl as serendipity_editor.js to default-template, and changed serendipity_get_file to react to .js.tpl-files in template-directories 2013-03-06 14:55:21 +01:00