summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-13Handle enter key in lexer dropdown's text inputFlorian Pritz1-0/+6
Before it would simply redirect to "base_url/ID/?", now if you enter "foo" in the text box and don't select any value below you will go to "base_url/ID/foo". 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 Pritz25-370/+25
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-06-09update to bootstrap 2.3.2Florian Pritz7-27/+883
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 Pritz2-1/+7
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 Pritz8-5/+106
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-26munin-plugin: return 0 instead of NULLFlorian Pritz1-2/+2
munin can't graph NULL 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 munin pluginFlorian Pritz1-0/+25
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 Pritz3-16/+17
This no longer resizes the textarea after the user change the size themself. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-02-25Use better word breaking.Florian Pritz1-1/+1
This breaks at spaces, dots, ... if possible, but falls back to breaking anywhere if needed. 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 Pritz5-50/+94
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-02-23INSTALL: Clarify hash_password URLFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-02-23CLI: update_file_metadata: also update mimetypesFlorian Pritz2-9/+16
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-02-23install.php: Add test for pygmentizeFlorian Pritz1-0/+8
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-02-23Rearrange upload formFlorian Pritz2-14/+29
This allows the textarea to be wider without vanishing behind the file upload form. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-02-14Move cli client login code to muser constructorFlorian Pritz2-21/+21
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-02-14Improve show_error() for cli clientsFlorian Pritz1-2/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-02-13Change license to AGPLFlorian Pritz7-86/+73
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-02-08c/file/claim_id(): Call _show_url() with an arrayFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-02-08Add a viewport meta tag to control the layout on mobile browsersMarkus Cisler1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-02-08Add some mimetypes and sort the listFlorian Pritz1-32/+41
fileinfo uses some different mimetypes than File::MimeInfo. This tries to add most of those that are currently on paste.xinu.at. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-02-04Add files to add localized html header and cssFlorian Pritz1-0/+9
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-02-04Handle text/x-diff MIME typeFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-02-03Use php's fileinfo instead of perl to detect mimetypeFlorian Pritz4-41/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-02-03Abort execution if we hit any php error/warning/noticeFlorian Pritz1-1/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>