summaryrefslogtreecommitdiffstats
path: root/application
AgeCommit message (Collapse)AuthorFilesLines
2013-08-07Add favicon supportFlorian Pritz1-1/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-08-05Invert sorting order on thumbnail historyFlorian Pritz1-1/+1
Newest first to match the normal history's default. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-08-05Add history page with thumbnails of imagesFlorian Pritz5-0/+212
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-08-02Add os x install instructions for clientFlorian Pritz1-2/+6
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-07-19Alternate message for a delete-timeout of 0 (never delete)Thore Bödecker1-3/+7
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-07-18Add json support to upload_historyFlorian Pritz2-0/+11
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-07-18file/download: output html directly, don't use output classFlorian Pritz1-3/+6
$this->output->parse_exec_vars is a protected variable so we can't access it like the documentation suggests (yes this is a bug that should be reported...), but even if it worked I'm not confident the output class should be trusted with arbitrary input. Upstream might at some point add another "feature" so this is the safe way to go. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-07-18Fix missing conversion of timestamps on plaintext upload_historyFlorian Pritz1-1/+1
Got lost in 2a6a1c63cb21015009fe4fd13f62cdac64e1fe36 Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-07-16Decrease size of footerFlorian Pritz1-3/+1
Before it seemed a bit too prominent on pages with short content. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-07-16Fix handling of upload_max_age = 0Florian Pritz2-0/+4
cron code already handled this correctly, valid() didn't. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-07-15header: move #navbar-height below navFlorian Pritz1-1/+1
Having it there makes adding your own header via data/local/header.inc.php easier. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-07-15Add footer; move contact info to footerFlorian Pritz6-6/+32
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-07-15Rework auto login for cli clientsFlorian Pritz2-32/+51
Only login when necessary. This also makes test_login() work properly (before the automatic login would have intercepted the failure and in case of a good login test_login() would test the credentials a second time. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-07-15user/test_login: Allow clients to test login credentialsFlorian Pritz2-0/+13
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-07-14get_upload_id_limits(): return proper default valuesFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-07-14Add sucess alert when saving profileFlorian Pritz3-4/+23
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-07-14profile: reword save buttonFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-07-14reset_password_form: fix wrong button textFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-07-14Improve help text for upload id limitsFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-07-13Switch to bootstrap div form code instead of tablesFlorian Pritz6-69/+109
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-07-13profile view: mark update button as primary buttonFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-07-13Add profile and change password links to navFlorian Pritz3-4/+21
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-07-13Add profile page to allow changing the upload id limitsFlorian Pritz6-3/+187
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-07-13duser: add get_email()Florian Pritz3-1/+35
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-07-12c/file: clarify commentFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-07-12Add standard name for CSP headerFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-07-07Add .coffee extension mappingFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-06-27mfile: Add some more ocaml extension mappingsFlorian Pritz1-0/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-06-23c/file: remove unused variableFlorian Pritz1-1/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-06-23duser: add ldap driver to valid_driversFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-06-23c/file: improve upload error handlingFlorian Pritz1-8/+16
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-06-22mfile: extension -> lexer mapping; mark some functions publicFlorian Pritz1-4/+20
Also assure that autodetect_lexer always returns false if the file can't be highlit. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-06-09update jquery and jquery.ui to 2.0.2 and 1.10.3Florian Pritz2-3/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-06-09update to bootstrap 2.3.2Florian Pritz2-3/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-06-09implement repasting (fills textarea with ID's content)Florian Pritz3-1/+17
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-06-08mfile/new_id(): rewrite as loop and make min/max parametersFlorian Pritz1-6/+12
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-06-02c/file/do_upload: fix fallback if base64_decode failsFlorian Pritz1-1/+3
trim() would give us an empty string if base64_decode() returns false. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-05-24upload_history: improve display with small widthFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-05-24upload_history: remove hashFlorian Pritz1-2/+0
It uses a rather large amount of space and doesn't really help people much. We'll leave it for the plaintext version so you can still use it in the client if you want to. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-05-24upload_history: Allow column sorting (jquery.tablesorter)Florian Pritz2-3/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-05-23Rework javascript inclusionFlorian Pritz3-6/+29
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-05-10Hide function not supported by auth driverFlorian Pritz3-4/+27
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-05-09Change description for "text" in lexer listFlorian Pritz1-0/+1
Pygments calls it "Text only", but users are more likely to search for "plain" than "only" so won't find it in the dropdown. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-04-29duser_ldap: ignore errors from ldap_bindFlorian Pritz1-1/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-04-18new_id(): improve id blacklistFlorian Pritz1-1/+9
We shouldn't use dir or filenames from the top directory as IDs because they won't work if you use mod_rewrite. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-04-18Add LDAP authentification driverFlorian Pritz2-0/+85
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-02-28memcachelibrary: Ignore server unreachable errors in set() and delete()Florian Pritz1-2/+17
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-02-28upload_form: Resize textarea using responsive css rather than jsFlorian Pritz1-1/+1
This no longer resizes the textarea after the user change the size themself. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-02-25pygmentize: Disable newline strippingFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-02-25automatically wrap linesFlorian Pritz3-12/+33
Signed-off-by: Florian Pritz <bluewind@xinu.at>