74 Commits

Author SHA1 Message Date
Matthias Mees
8ce7457f3f External onclick handler for media cropping. 2013-06-18 16:07:21 +02:00
Matthias Mees
850652f527 External onclick handler for media fullsize view. 2013-06-18 14:27:35 +02:00
Matthias Mees
6bba09cbf2 External onclick handler for renaming media file.
NOTE: Renaming is not completed, submitting the prompt results in
      an error msg:

"Your browser did not sent a valid HTTP-Referrer string. This may
have either been caused by a misconfigured browser/proxy or by a
Cross Site Request Forgery (XSRF) aimed at you. The action you
requested could not be completed."

      This is beyond my JS knowledge. @onli …?
2013-06-18 14:12:07 +02:00
onli
8da2368e26 fix js-init error 2013-06-16 19:57:26 +02:00
onli
06f65b44b3 datetime-local fallback and fix timestamp-button 2013-06-16 15:56:35 +02:00
Matthias Mees
606764fc9e External onchange handler for media upload. 2013-06-15 14:10:37 +02:00
Matthias Mees
91ff747733 External onchange handlers for media scale. 2013-06-14 19:07:26 +02:00
Matthias Mees
41734c682e Move rescale() to serendipity_editor.js.tpl.
Also jQueryfied rescale() a bit, simplified rescale preview.
2013-06-14 19:00:01 +02:00
Matthias Mees
d7144c0a24 Drop unused FT_toggle(). 2013-06-14 17:59:44 +02:00
Matthias Mees
2b2ed7551d External onclick handler for scaling images. 2013-06-14 17:18:37 +02:00
Matthias Mees
a6470864fb External onclick handlers for comments. 2013-06-14 17:09:25 +02:00
Matthias Mees
a7c7d1426e External onclick handler for entry preview. 2013-06-14 11:32:41 +02:00
Matthias Mees
bc0549397a External onclick handlers for editor tools. 2013-06-14 11:24:55 +02:00
Matthias Mees
cdeb113846 Replace inline onlick handler for go back. 2013-06-13 16:07:44 +02:00
Matthias Mees
6cb397247f Replace onclick handler for reset timestamp. 2013-06-13 15:53:49 +02:00
Matthias Mees
a658e20b27 New iconfont build.
This includes only the icons actually used or intended to be used
in the backend. Please note that unfortunately, some class names
have changed. Also some icons have been exchanged.
2013-06-11 12:54:58 +02:00
Matthias Mees
60657014ea Show/hide full comment. 2013-06-09 16:16:59 +02:00
Matthias Mees
a9774d3920 Backported checkSave() function. 2013-06-08 15:41:25 +02:00
Matthias Mees
0fa8720145 Just documenting something. 2013-06-07 23:39:29 +02:00
Matthias Mees
0feb4c18c2 Fix checkInputs error in media upload. 2013-06-07 23:30:13 +02:00
Matthias Mees
331f2c441a Add getfilename helper function; adapted checkInputs() to 2.0.
NOTE: checkInputs() is currently broken as I don't have time for
      further debugging right now. I assume it's broken due to
      changes to the upload form by jQueryfying addUploadField().
2013-06-07 15:18:20 +02:00
Matthias Mees
d882a94368 Added missing checkInputs() and helper function from master. 2013-06-07 15:07:07 +02:00
Matthias Mees
b528c2e57c Now we finally don't need those any longer. 2013-06-07 12:01:17 +02:00
Matthias Mees
37e40e4a0d Use iconfont button for toggle_extended(). 2013-06-07 11:58:47 +02:00
Matthias Mees
0861cbbd80 Removed obsolete comments; improve functions. 2013-06-07 11:40:14 +02:00
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