summaryrefslogtreecommitdiffstats
path: root/public_html
AgeCommit message (Collapse)AuthorFilesLines
2020-04-19Log HTTP 500 PublicApiException to error logFlorian Pritz1-0/+3
These return a 500 HTTP error code and when using a CLI download tool, you might not see the returned HTML error message. To make debugging easier we also log them to the error log. Some extending exceptions also return different error codes (e.g. UserInputException) so we filter these by only logging if the return code is 500. If a user/admin sees that code they likely expect a log entry. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2019-01-28Merge tag '3.1.10' of git://github.com/bcit-ci/CodeIgniter into devFlorian Pritz1-3/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-05-03Update asciinema-player to 2.6.1Florian Pritz2-943/+1215
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-16wipFlorian Pritz1-1/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-09WIP: CI3 migrationFlorian Pritz1-2/+56
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-09Merge tag '3.1.5' into dev-ci3Florian Pritz1-81/+139
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-05tests: Add env variable to disable code coverage collectionFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-05Drop plain text error handlingFlorian Pritz1-9/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01Set minimum width for popoversFlorian Pritz1-0/+1
This fixes some weird small-width popovers on the thumbnail history when a thumbnail is being moved around. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01Add multipaste queue button to navigationFlorian Pritz1-0/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01Support creation of multipaste from upload thumbnail historyFlorian Pritz1-21/+21
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01Add multipaste queueFlorian Pritz3-0/+121
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-09-19Fix broken linewrap and tabwidth functionsFlorian Pritz1-2/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-09-19upload_history_thumbnails: Fix images staying marked after leaving delete modeFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-09-19Update jQuery UI and include sortableFlorian Pritz25-6/+6039
Also drop in all the non minified version because we can and it might be useful for debugging in the future. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-21Allow users to delete their accountsFlorian Pritz1-0/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-31Add code coverage outputFlorian Pritz1-0/+41
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-13Fix double linebreaks when copying code in firefoxFlorian Pritz1-9/+11
Apparently firefox doesn't like html code in <pre> and adds incorrect linebreaks when copying the code. This does not happen with chromium. Fix it by switching to <code> instead of <pre>. Also change the CSS to refer to the element by class instead of by type so future changes are simpler. Not sure why, but in chroium changing the container element type breaks the ordering of the lines. Adding display: table to the .code-container fixes this. References: http://stackoverflow.com/questions/24851173/why-does-text-copied-from-a-set-of-pre-tags-have-double-line-breaks#comment41552816_26408656 Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-12Focus first input when clicking login button in nvaigationFlorian Pritz1-1/+10
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-12Add asciinema supportFlorian Pritz3-1/+3513
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 Pritz1-0/+16
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-10Revert "Fix display issues with new bootstrap"Florian Pritz1-1/+8
This reverts commit f0d3b633f04c9afa2237b1dad83ad8240da68b38. That commit causes breakage on the history page due to missing padding.
2016-07-04file/history: Add support to display preview of entries on hoverFlorian Pritz2-0/+22
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-04Ensure popovers do not render outside of the pageFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-04Fix display issues with new bootstrapFlorian Pritz1-8/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-04Update to boostrap 3.3.6Florian Pritz12-225/+10037
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-09-11Make robots.txt available in ./public_htmlFlorian Pritz1-0/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-08-18Colorbox: Display number of images0.9.6Florian Pritz2-3/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-08-18Fix redirect URI when using multiple tabsFlorian Pritz1-1/+6
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-09Move thumbnail placeholder and container width to cssFlorian Pritz3-7/+44
If the thumbnail placeholders are properly positioned via css we can display them early. We can also take some work off lazyload by setting a placeholder color in css thus making rendering for lots of thumbnails faster. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-08-04Improve colorbox navigation and document it0.9.5Florian Pritz3-5/+6
- Make buttons fixed so you don't have to move the mouse - Support h/l for vimperator users - Document mappings so users actually know about them Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-08-04Add audio and video players to multipastesFlorian Pritz1-0/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-08-02Fix checkboxes.jsFlorian Pritz2-2/+8
- Incorrect path to .js file - Autoloading and the data-api don't work so load and run it explicitly Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-08-02Support range selection on history pagetaxus132-1/+4
Support range selection on history page by adding jquery.checkboxes
2015-08-02Fix handling of php errorsFlorian Pritz1-0/+5
When the exception handler moved to a dedicated class _exception_handler was no longer defined so CI defined it with it's own code which does not throw an exception but rather just prints the less helpful CI error page. This could be triggered by deleting an upload while the cache_backend is set to "file" and the cache does not hold the filedata for the upload being deleted. In that case PHP throws a warning (unlink on a missing file) which would no longer be caught with try/catch in the cache backend's delete() function. Now the error is catchable again. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-06-05Move public files to ./public_htmlFlorian Pritz52-0/+14296
./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>