summaryrefslogtreecommitdiffstats
path: root/data/js
AgeCommit message (Collapse)AuthorFilesLines
2015-06-05Move public files to ./public_htmlFlorian Pritz21-12755/+1
./data/local is not moved because it contains likely untracked files and moving it would throw an error when updating. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-21Fix missing 2nd tab when repastingFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-10Fix missing tooltips in thumbnail viewJoakim Reinert1-1/+2
2015-05-06Fix upload_form file inputs in firefoxFlorian Pritz1-1/+1
Selecting a file creates a new file input, but in firefox that new input will contains the same files as the one that was cloned so when the user hit upload the file will be uploaded twice. This does not affect chromium. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-05Fix colorbox not being loadedFlorian Pritz1-3/+1
Since it is also now always loaded we no longer need to check for it Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-05Explicitly load vendor js in modules that need themJoakim Reinert6-23/+9
2015-05-05Move lazyloading js code to application.jsJoakim Reinert2-8/+11
2015-05-05Extract tablesorter js and encapsulateJoakim Reinert3-64/+93
2015-05-05Refactor file uploader jsJoakim Reinert3-89/+135
2015-05-05Use global appConfig js variable instead of passing it downJoakim Reinert3-9/+8
Initialize it in header
2015-05-05Refactor thumbnail view jsJoakim Reinert3-86/+135
2015-05-05Refactor linewrap toggleJoakim Reinert3-11/+18
2015-05-05Do minor refactoring on app jsJoakim Reinert2-9/+21
2015-05-05Use util function for focusing dropdown menu inputJoakim Reinert1-6/+3
2015-05-05Refactor tab width inputJoakim Reinert4-36/+57
2015-05-05Refactor lexer input setupJoakim Reinert6-51/+1643
2015-05-05Refactor line higlighting functionalityJoakim Reinert3-16/+51
2015-05-05Use require.js for javascript loadingJoakim Reinert14-0/+78
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 Pritz2-0/+245
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 Pritz2-15/+111
This also reindents colorbox.css. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-10-03Add colorbox on thumnail pagesFlorian Pritz3-0/+1268
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 Pritz2-23/+132
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-09-22almost migrated to bootstrap3Markus Cisler2-7/+6
2013-09-05Update jquery to 2.0.3Florian Pritz4-6/+8836
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 Pritz5-28/+12
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-06-09update to bootstrap 2.3.2Florian Pritz2-6/+7
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-05-24upload_history: Allow column sorting (jquery.tablesorter)Florian Pritz2-2/+79
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 Pritz2-16/+15
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-10-22switch design to bootstrap; minor fixes along the wayFlorian Pritz5-2/+87
Initial-work-by: Oliver Mader <b52@reaktor42.de> Additional-work-by: Markus Cisler <mrkscslr@gmail.com> Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-04-13Add do_paste() and remove ajax from upload_formFlorian Pritz1-47/+0
If the session has timed out, javascript will get the login page and try to redirect to "base_url/$htmlcode" which will obviously fail. Instead of fixing the js code, reintroduce do_paste and use it. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-04-09remove password from text formFlorian Pritz1-1/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-04-09Revert "Disable paste box"Florian Pritz1-0/+64
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-04-09Disable paste boxFlorian Pritz1-64/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>