summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2011-06-06remove do_paste()Florian Pritz1-42/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2011-06-06remove double html_{header,footer} viewsFlorian Pritz2-26/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2011-06-06use javascript to allow text pastesFlorian Pritz2-11/+67
The javascript converts the content of the textarea to a HTTP POST request and sends the text as a file upload. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2011-06-04refactor cli client checkFlorian Pritz1-4/+6
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2011-06-04fix status code for redirect in show_urlFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-06-04simplify do_paste and return correct status codesFlorian Pritz3-10/+7
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-06-03remove double line endingFlorian Pritz1-1/+0
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-06-01support .smlFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-05-29fix days on plaintext upload_form viewFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-05-28.slax -> textFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-05-28remove text upload noticeFlorian Pritz1-1/+0
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-05-28use correct suffixes for sizesFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-05-28display configured age limit on front pageFlorian Pritz3-2/+3
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-05-18fix missing </p>Florian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-05-18add CDATA to javascriptFlorian Pritz1-0/+2
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-05-18fix leftover </form>Florian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-05-18add .xsl -> xmlFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-05-16add highlighting for .dtd filesFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-05-16make file_mod->download easier to readFlorian Pritz1-112/+143
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-04-29add s -> asm aliasFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-04-23add pl->perl aliasFlorian Pritz1-1/+2
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-04-12reapply changes made to core filesFlorian Pritz2-4/+4
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-04-10use javascript to check file size before uploadingFlorian Pritz1-5/+22
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-04-10update to CI 2.0.2Florian Pritz79-430/+1635
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-03-21remove file_mod->check_client_version()Florian Pritz2-14/+0
The interfaces shouldn't change anymore. Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-02-15fix line endings in upload_formFlorian Pritz1-2/+2
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-02-15add missing message to delete()Florian Pritz1-0/+3
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-02-15fix missing urls in upload_formFlorian Pritz1-0/+2
Duplicating the link lines is no good fix so this needs to be cleaned up later. Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-02-15rework cli_client supportFlorian Pritz14-52/+97
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-02-15update db.sqlFlorian Pritz1-5/+5
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-02-02fix bug when using client to downloadFlorian Pritz2-4/+15
Do not check the client version when downloading because this breaks curl. Probably because we output and later set HTTP headers in file_mod->download(). Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-02-02add sh -> bash aliasFlorian Pritz1-1/+2
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-01-28ignore data/client/Florian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-01-28Remove Notice errorsFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-01-28fix filtered / at the end of URIsFlorian Pritz1-1/+1
file_mod->download() depends on the trailing slash to determine whether the user wants highlighting or not so we prevent it from being removed. Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-01-28fix checking for $msg variable before usingFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-01-28update to CI 2.0Florian Pritz371-10156/+12390
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-01-18disable do_paste due to bot problemsFlorian Pritz3-5/+15
There are still bots which are able to trick the hidden email field and they upload phishing pages which let to paste.xinu.at being listed. Signed-off-by: Florian Pritz <bluewind@xssn.at>
2011-01-12get_password(): fix handling of empty passwordsFlorian Pritz1-2/+2
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2011-01-12delete_id(): don't get the password as a argumentFlorian Pritz2-2/+2
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-12-30only show error if password was enteredFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-12-30use model to get the password when deletingFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-12-30add simple botfilteringFlorian Pritz2-0/+4
Bots tend to fill out all fields, so add a hidden "email" field that will prevent the text from being saved. Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-12-20highlight text/html as xmlFlorian Pritz1-1/+1
geshi doesn't understand "html", but only html4strict XML seems to be the best choice. Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-12-19add deleteion support to the webuiFlorian Pritz6-6/+45
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-12-07update to CI 1.7.3Florian Pritz101-103/+102
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-12-07catch empty idFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-12-07remove all ids if the file doesn't existFlorian Pritz1-5/+5
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-12-07cosmetic changeFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-12-07 will never be 'file' so don't checkFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xssn.at>