summaryrefslogtreecommitdiffstats
path: root/data/js/script.js
AgeCommit message (Collapse)AuthorFilesLines
2015-05-05Move lazyloading js code to application.jsJoakim Reinert1-7/+0
2015-05-05Extract tablesorter js and encapsulateJoakim Reinert1-63/+0
2015-05-05Refactor file uploader jsJoakim Reinert1-88/+0
2015-05-05Refactor thumbnail view jsJoakim Reinert1-85/+0
2015-05-05Refactor linewrap toggleJoakim Reinert1-10/+0
2015-05-05Do minor refactoring on app jsJoakim Reinert1-9/+0
2015-05-05Refactor tab width inputJoakim Reinert1-35/+0
2015-05-05Refactor lexer input setupJoakim Reinert1-30/+0
2015-05-05Refactor line higlighting functionalityJoakim Reinert1-15/+0
2015-05-05Add functionality for choosing tab width in frontendJoakim Reinert1-1/+35
2015-02-23upload_form: Support multiple textareas/files at the same timeFlorian Pritz1-1/+38
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-01-03Lazyload thumbnailsFlorian Pritz1-0/+3
Apparently there are users with >500 images and they view their thumbnail history on mobile phones. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-10-03Colorbox: Disable transition, start at 100% sizeFlorian Pritz1-0/+4
No transitions makes it easier to compare images that are not the same size. Starting at 100% gets rid of the weird looking small box while loading a big image (only when opening, not when switching between images). Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-10-03Only use colorbox if it's loadedFlorian Pritz1-18/+23
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-10-03Support EXIF orientation in colorboxFlorian Pritz1-0/+3
This also reindents colorbox.css. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-10-03Add colorbox on thumnail pagesFlorian Pritz1-0/+16
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-08-29add multipaste supportFlorian Pritz1-13/+21
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-08-29Add multiple file input boxes on upload formFlorian Pritz1-5/+32
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-08-29Simplify sorting of history tableFlorian Pritz1-23/+12
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-09-22Fix jumpy buttons on highlight page caused by tooltipFlorian Pritz1-1/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-08-09Add delete support to thumbnail historyFlorian Pritz1-0/+35
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-08-05Add history page with thumbnails of imagesFlorian Pritz1-0/+16
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-07-13Handle enter key in lexer dropdown's text inputFlorian Pritz1-0/+6
Before it would simply redirect to "base_url/ID/?", now if you enter "foo" in the text box and don't select any value below you will go to "base_url/ID/foo". Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-06-09update jquery and jquery.ui to 2.0.2 and 1.10.3Florian Pritz1-9/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-05-24upload_history: Allow column sorting (jquery.tablesorter)Florian Pritz1-2/+75
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-02-28upload_form: Resize textarea using responsive css rather than jsFlorian Pritz1-15/+0
This no longer resizes the textarea after the user change the size themself. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-02-25automatically wrap linesFlorian Pritz1-11/+6
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-02-23Rearrange upload formFlorian Pritz1-0/+15
This allows the textarea to be wider without vanishing behind the file upload form. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-01-17Support multiple uploads in the same requestFlorian Pritz1-9/+17
This change *should* be backwards compatible. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-01-17Fix js TypeError on pages != upload_formFlorian Pritz1-1/+1
The jquery code won't produce an error message if there is no element machting the search. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-10-29Add button to wrap long lines in code viewFlorian Pritz1-0/+12
Since wrapping would break the line numbers we hide them. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-10-26fix handling of special chars in lexer namesFlorian Pritz1-1/+5
xml+php would break twice because + isn't an allowed char and because urldecode() converts it to a space. We fix this by providing a proper urlencoded string. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-10-22Merge upload_form.js into script.jsFlorian Pritz1-0/+15
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-10-22switch design to bootstrap; minor fixes along the wayFlorian Pritz1-0/+60
Initial-work-by: Oliver Mader <b52@reaktor42.de> Additional-work-by: Markus Cisler <mrkscslr@gmail.com> Signed-off-by: Florian Pritz <bluewind@xinu.at>