summaryrefslogtreecommitdiffstats
path: root/application/views/file
AgeCommit message (Collapse)AuthorFilesLines
2016-11-01Allow creation of multipastes from upload historyFlorian Pritz1-2/+6
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01Add multipaste queueFlorian Pritz1-0/+32
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-09-19Add missing space on front pageFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-26Improve wording and code layout on start pageFlorian Pritz1-5/+24
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-25Move client documentation to fron pageFlorian Pritz2-17/+20
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-25Increase readability of HTML codeFlorian Pritz1-0/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-25Document special filenamesFlorian Pritz1-0/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-25Switch client git repo link to HTTPSFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-25Drop links to outdated clientsFlorian Pritz1-7/+0
These all build fb-client <2.0 and therefore use the deprecated API. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-25Remove documentation for deprecated APIFlorian Pritz1-29/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-21history: Disable lazy loading for the first 42 thumbnailsFlorian Pritz1-4/+14
This speeds up the initial rendering of the page. For a long history (> ~1000 items) the lazyloading JS creates a noticeable delay (>500ms) depending on the cpu power of the machine. Disable lazy loading for the first items so that these are loaded normally by the browser parallel to the scripts execution. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-12Fix incorrect width of thumbnail listFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-12Link single paste to autodetection in video/audio/asciinema fragemntsFlorian Pritz3-3/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-12Add asciinema supportFlorian Pritz1-0/+8
This bypasses require.js for asciinema because apparently require.js can't deal with the embedded React library. The result is that React is not loaded properly and the asciinema player is unable to find it. Just load it like upstream tells you to. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-10Make delete button fixed on upload history pageFlorian Pritz3-9/+18
Also make the navigation fixed because otherwise this looks hideous and the space is already occupied anyway. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-10Fix display issue on paste pageFlorian Pritz1-1/+1
Proper fix this time. container is not necessary here. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-10Revert "Fix display issues with new bootstrap"Florian Pritz5-5/+5
This reverts commit f0d3b633f04c9afa2237b1dad83ad8240da68b38. That commit causes breakage on the history page due to missing padding.
2016-07-04Harden XSS escapingFlorian Pritz2-3/+3
This could lead to XSS if the html attribute values weren't quoted with double quotes. By default htmlentities only encodes double quotes and not single quotes. If the quotes are ever changed this could lead to exploitable XSS. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-04file/history: Add support to display preview of entries on hoverFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-04Fix display issues with new bootstrapFlorian Pritz5-5/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-11-02view/client: Hardcode URLsFlorian Pritz1-3/+3
Clients are only hosted on paste.xinu.at and everywhere else the links will point to missing files so they become useless. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-08-09Increase performance of thumbnail viewFlorian Pritz1-1/+17
site_url is rather slow and the improvement is noticeable when there are lots of thumbnails (thumbnail history). Also make the code more readable in the process by inserting some linebreaks. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-08-04Add audio and video players to multipastesFlorian Pritz2-0/+20
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-08-02Add PLS playlist support for multipastesFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-07-18Display hash on file info pageFlorian Pritz1-0/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-05Set max upload size and file count in upload_form view onlyJoakim Reinert1-2/+2
2015-05-05Fix non-closing script tag in file/html_headerJoakim Reinert1-1/+1
2015-05-05Use global appConfig js variable instead of passing it downJoakim Reinert1-5/+2
Initialize it in header
2015-05-05Refactor thumbnail view jsJoakim Reinert1-1/+1
2015-05-05Refactor linewrap toggleJoakim Reinert1-1/+1
2015-05-05Refactor lexer input setupJoakim Reinert2-3/+5
2015-05-05Use require.js for javascript loadingJoakim Reinert3-5/+0
2015-05-05Add functionality for choosing tab width in frontendJoakim Reinert1-0/+8
2015-05-03Expose /file/thumbnail/ on front pageFlorian Pritz1-1/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-03-21Change gentoo overlay link to httpsFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-03-11Move upload button for small displaysFlorian Pritz1-1/+1
The uUpload button was not visible when using firefox in gnome on a laptop with 1366x768. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-03-09Update gentoo overlay URLFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-03-02Add imagemagick supportFlorian Pritz2-2/+2
Adds additional support for imagemagick if GD doesn't support a file type and extends the files displayed as thumbnails to all images and pdf files. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-02-23upload_form: Support multiple textareas/files at the same timeFlorian Pritz1-47/+58
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-01-03Lazyload thumbnailsFlorian Pritz1-1/+2
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-12-06add opensuse client repoFlorian Pritz1-1/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-11-02Add tarball support to multipastesFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-10-03Support EXIF orientation in colorboxFlorian Pritz1-1/+1
This also reindents colorbox.css. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-10-03Add colorbox on thumnail pagesFlorian Pritz1-1/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-08-29Document multipastes on the front pageFlorian Pritz1-0/+7
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-08-29add multipaste supportFlorian Pritz12-98/+154
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-08-29Add multiple file input boxes on upload formFlorian Pritz1-1/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-08-29Simplify sorting of history tableFlorian Pritz1-3/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-07-22update gentoo overlay URLFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-07-11Reword invitation text on front pageFlorian Pritz1-1/+2
The new text is friendlier and less presumptuous and actually describes the reason why I introduced the invitation system. Not sure why I didn't write that in the first place. Thanks to <https://lobste.rs/about> for the idea. Signed-off-by: Florian Pritz <bluewind@xinu.at>