summaryrefslogtreecommitdiffstats
path: root/application/views
AgeCommit message (Collapse)AuthorFilesLines
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>
2016-06-05Fix redirect on login after registering new accountFlorian Pritz1-1/+1
Previously the login box in the navigation would redirect to the current page, but this page will throw an error in the case of the registration page since that's the page with the invition key and that key is no longer valid. Fix this by redirecting to the $redirect_uri and ensure that this value is set for all requests. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-02-19view/user/profile: Fix typoFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-11-02view/client: Hardcode URLsFlorian Pritz2-4/+4
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-09-30Bring a/views/file_plaintext in line with a/v/fileFlorian Pritz8-4/+30
- Add missing files - Fix paths missing FCPATH - Remove left over header/footer Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-08-18Fix redirect URI when using multiple tabsFlorian Pritz2-2/+2
If we store only the last called URI in the session we can't support multiple browser tabs that all need to log in again. Fix this by storing the URI in the URL. Also change a trim() to ltrim() so that the URI string we store keeps it's trailing slash. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-08-18Update error_general.phpDiederik Lascaris1-101/+78
2015-08-18Update error_db.phpDiederik Lascaris1-101/+76
2015-08-18Update error_404.phpDiederik Lascaris1-99/+76
2015-08-18Update welcome_message.phpDiederik Lascaris1-1/+1
2015-08-18Update welcome_message.phpDiederik Lascaris1-136/+108
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-07Update error_php.phpDiederik Lascaris1-2/+2
2015-08-07Update error_general.phpDiederik Lascaris1-54/+106
2015-08-07Update error_exception.phpDiederik Lascaris1-2/+2
2015-08-07Update error_db.phpDiederik Lascaris1-55/+109
2015-08-07Update error_404.phpDiederik Lascaris1-55/+107
2015-08-07Update welcome_message.phpDiederik Lascaris1-120/+136
2015-08-05Update welcome_message.phpDiederik Lascaris1-80/+127
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-25Fix alignmentkenjis2-6/+6
Signed-off-by: Kenji Suzuki <kenji.uui@gmail.com>
2015-07-21Fix coding stylekenjis2-10/+10
Signed-off-by: Kenji Suzuki <kenji.uui@gmail.com>
2015-07-20[ci skip] Apply changes from PR #3983 to error_exception.phpAndrey Andreev2-20/+14
2015-07-20Fix indentationkenjis1-4/+4
Signed-off-by: Kenji Suzuki <kenji.uui@gmail.com>
2015-07-18Display hash on file info pageFlorian Pritz1-0/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-07-18Fix errors/cli/error_php.php outputkenjis1-13/+11
Signed-off-by: Kenji Suzuki <kenji.uui@gmail.com>
2015-07-10Make javascript baseUrl honor subdirsFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-06-05Allow users to change their emailFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-05Set cache buster for js with urlArgs settingJoakim Reinert1-1/+2
No more need for timestamp in filename of minified main js
2015-05-05Add support for minified main.jsJoakim Reinert1-2/+8
2015-05-05Set max upload size and file count in upload_form view onlyJoakim Reinert2-6/+3
2015-05-05Fix non-closing script tag in file/html_headerJoakim Reinert1-1/+1
2015-05-05Refactor file uploader jsJoakim Reinert1-1/+4
2015-05-05Use global appConfig js variable instead of passing it downJoakim Reinert2-6/+6
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 Reinert5-10/+4
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>