summaryrefslogtreecommitdiffstats
path: root/application
AgeCommit message (Collapse)AuthorFilesLines
2011-08-19hide "Latest release" on client page if there is noneFlorian Pritz2-2/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2011-08-19move inclusion of file_plaintext/client view to controllerFlorian Pritz2-4/+3
This allows me to remove redundant variable definition from upload_form() since the same code is in client(). Signed-off-by: Florian Pritz <bluewind@xinu.at>
2011-08-19remove old upload snippetsFlorian Pritz1-4/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2011-08-19make "contact me" on the main page optionalFlorian Pritz3-2/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2011-08-19fix warning if data/client/latest doen't existFlorian Pritz1-1/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2011-08-15rewrite scripts/mimetype to support ascii with color codesFlorian Pritz1-1/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2011-08-15export sane $PATHFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2011-07-01add ascii highlighting with escape color supportFlorian Pritz1-4/+10
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2011-06-23delete: return correct error if ID doesn't existFlorian Pritz1-4/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2011-06-23fix copyright yearFlorian Pritz2-2/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2011-06-23remove compatibility mimetype generationFlorian Pritz1-2/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2011-06-12upload_error: print more precise error messageFlorian Pritz3-3/+12
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2011-06-11support simple request ranges for direct downloadsFlorian Pritz2-10/+101
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2011-06-11file_mod->download() remove useless checkFlorian Pritz1-1/+1
valid_id() cleans up the database if the file doesn't exists. This code didn't. Signed-off-by: Florian Pritz <bluewind@xinu.at>
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-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 Pritz17-9/+14
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-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-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 Pritz213-0/+52156
Signed-off-by: Florian Pritz <bluewind@server-speed.net>