summaryrefslogtreecommitdiffstats
path: root/system/application/models/file_mod.php
AgeCommit message (Collapse)AuthorFilesLines
2011-01-28update to CI 2.0Florian Pritz1-419/+0
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
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 Pritz1-1/+1
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 Pritz1-0/+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-07fix spelling mistakeFlorian Pritz1-3/+3
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-12-07remove old files when viewing; catch non existent filesFlorian Pritz1-0/+20
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-12-06add timeout to html pageFlorian Pritz1-1/+6
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-07change indentaion to tabsFlorian Pritz1-368/+366
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-10-24unify designFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-10-24client download location movedFlorian Pritz1-1/+5
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-05fix .as filetypeFlorian Pritz1-1/+2
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 Pritz1-0/+16
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 Pritz1-14/+13
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-09-04skip show_url page for textFlorian Pritz1-3/+20
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>
2010-08-21some mimetype=>extension fixesFlorian Pritz1-3/+3
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-08-16fix encoding issues; add codetagify option to pygmentizeFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-08-16use pygmentize for txt tooFlorian Pritz1-23/+15
fixes issues with HTML pastes Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-08-15highlight makefilesFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-08-14use memcacheFlorian Pritz1-3/+19
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-08-14switch to pygments for highlightingFlorian Pritz1-1/+9
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-07-19also generate QR codes for textFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-07-19add support for QR code generationFlorian Pritz1-0/+5
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-07-17add the currently used highlighting lang to the pageFlorian Pritz1-0/+5
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-06-23don't wrap rendered markdown code into <pre>Florian Pritz1-1/+2
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-06-13fix java detectionFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-06-12add support for client update warningsFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-06-11add markdown rendering supportFlorian Pritz1-5/+13
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-06-03use perl for generating the line numbersFlorian Pritz1-1/+1
less forking is better Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-05-20add missing escapeshellarg()Florian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-05-02add \n to url you get from curlFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-04-18fix deletion of passwordless pastesFlorian Pritz1-0/+4
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-04-18add HTTP Basic Auth password supportFlorian Pritz1-0/+2
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-04-01mimetype: add --orig-name and use itFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-03-21switch raw and plain content-typeFlorian Pritz1-2/+2
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-03-21add /plain to display files as plain textFlorian Pritz1-2/+7
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-03-21fix for URLs with index.php in itFlorian Pritz1-3/+3
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-03-19remove useless config optionFlorian Pritz1-3/+3
Signed-off-by: Florian Pritz <bluewind@xssn.at>