summaryrefslogtreecommitdiffstats
path: root/application/controllers/file.php
AgeCommit message (Collapse)AuthorFilesLines
2011-08-19move inclusion of file_plaintext/client view to controllerFlorian Pritz1-2/+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-19make "contact me" on the main page optionalFlorian Pritz1-0/+1
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-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 Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2011-06-12upload_error: print more precise error messageFlorian Pritz1-1/+10
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-06use javascript to allow text pastesFlorian Pritz1-0/+6
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-04simplify do_paste and return correct status codesFlorian Pritz1-7/+4
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-05-28display configured age limit on front pageFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-03-21remove file_mod->check_client_version()Florian Pritz1-3/+0
The interfaces shouldn't change anymore. 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 Pritz1-39/+32
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-02-02fix bug when using client to downloadFlorian Pritz1-4/+4
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-01-28update to CI 2.0Florian Pritz1-0/+232
Signed-off-by: Florian Pritz <bluewind@server-speed.net>