summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2010-12-07fix spelling mistakeFlorian Pritz3-4/+4
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-12-07remove old files when viewing; catch non existent filesFlorian Pritz2-1/+24
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-12-06add timeout to html pageFlorian Pritz2-2/+8
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-11-24fix error in extension_aliases()Florian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-11-23add aliases for highlight extensionsFlorian Pritz1-0/+12
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-11-07update db.sqlFlorian Pritz1-22/+4
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-11-07change indentaion to tabsFlorian Pritz4-720/+714
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-11-02move client/shell stuff to an own page; cleanup upload_formFlorian Pritz5-31/+37
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-10-24unify designFlorian Pritz4-30/+14
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-10-24add slackware package linkFlorian Pritz2-1/+3
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-10-24add .deb link and line for arch usersFlorian Pritz2-0/+4
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-10-24client download location movedFlorian Pritz2-2/+6
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-10-23remove double check of in file_mod->download()Florian Pritz1-5/+1
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-10-19remove name attributeFlorian Pritz1-1/+1
not XHTML compatible Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-10-19fix XHTML errorsFlorian Pritz5-14/+21
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-10-05fix .as filetypeFlorian Pritz1-1/+2
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-09-22split css fileFlorian Pritz159-3841/+3616
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-09-13clean up file_mod->random_id()Florian Pritz1-6/+2
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-09-13cleanup file_mod->download()Florian Pritz1-51/+34
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-09-13Add a lot of commentsFlorian Pritz2-1/+34
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-09-122 filename2extension fixesFlorian Pritz1-1/+2
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-09-12switch to geshi for highlightingFlorian Pritz165-14/+53592
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-09-04skip show_url page for textFlorian Pritz2-4/+21
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-09-03fix markdown highlightingFlorian Pritz1-1/+2
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-08-23add support for special filenamesFlorian Pritz1-0/+11
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-08-22save mimetype in DBFlorian Pritz1-5/+6
We don't need the hash in the DB, but for new pastes we use it. Otherwise fallback to old method. Signed-off-by: Florian Pritz <bluewind@xssn.at>