summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-11-01Test calling endpoints with unsupported authentication methodFlorian Pritz1-0/+26
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01MY_Controller: Extract CSRF code into methodFlorian Pritz1-28/+37
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01api/user/create_apikey: Directly log in with username/pwFlorian Pritz1-0/+9
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01tests: Fix testing of username/pw with unsupported endpointFlorian Pritz2-8/+8
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01c/MY_Controller: Extract CSRF protection code into methodFlorian Pritz1-5/+9
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01c/MY_Controller: Extract database migration code into methodFlorian Pritz1-14/+20
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01Add do_websumit to CSRF exception listFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01Remove cli client upload handlerFlorian Pritz2-54/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01c/file: Remove upload detectionFlorian Pritz1-3/+1
This only existed for curl based uploading which is no longer supported Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01c/user: Drop $this->view_dirFlorian Pritz1-17/+15
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01c/file_default: Drop $this->view_dirFlorian Pritz1-14/+12
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01Remove cli client CSRF whitelistFlorian Pritz1-12/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01Rename is_cli_client to is_api_clientFlorian Pritz2-10/+10
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01Disable cli client login functionFlorian Pritz1-3/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01Drop plain text error handlingFlorian Pritz2-10/+6
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01Simplify error page for cli requestsFlorian Pritz1-5/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01Drop user agent based cli client detectionFlorian Pritz1-7/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01Drop plain text header/footerFlorian Pritz4-12/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01Remove plaintext API deprecation warningFlorian Pritz1-9/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01Remove cli client only functionsFlorian Pritz1-32/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01Remove special handling of cli clientsFlorian Pritz2-26/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01Drop file_plaintext viewsFlorian Pritz12-90/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01Merge branch 'webui-multipaste' into devFlorian Pritz14-27/+531
2016-11-01upload_history: Drop duplicate buttons from bottomFlorian Pritz1-2/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01Fix broken multipaste button on history pageFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01Fix missing / in redirect after creating multipaste via webuiFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01Test \service\multipaste_queueFlorian Pritz1-0/+93
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01s/multipaste_queue: Refactor constructor to support dependency injectionFlorian Pritz1-6/+19
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01s/multipaste_queue: Remove duplicate assignmentFlorian Pritz1-2/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01Only check for multipaste queue when session is avaiableFlorian Pritz1-1/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01Set minimum width for popoversFlorian Pritz1-0/+1
This fixes some weird small-width popovers on the thumbnail history when a thumbnail is being moved around. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01Add multipaste queue button to navigationFlorian Pritz3-0/+8
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01Support creation of multipaste from upload thumbnail historyFlorian Pritz2-24/+25
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01Allow creation of multipastes from upload historyFlorian Pritz2-2/+40
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01Add multipaste queueFlorian Pritz7-0/+352
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01scripts/install-git-hooks.sh: Drop ln -r to support busybox lnFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01scripts/install-git-hooks.sh: Catch errorsFlorian Pritz1-0/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01mmultipaste->delete_id: Fix inverted return valueFlorian Pritz2-1/+30
Broken in d2fdfc77f7a9485548869414d4377cd6848fe339 Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-10-31doc/api.md: Update TOCFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-10-31Copy api/v1/user to api/v2/userFlorian Pritz1-2/+65
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-10-31Disable special handling of {elapsed_time} and {memory_usage}Florian Pritz3-0/+30
Documentation says that the variable can be set from the controller, but it's protected and thus throws and exception. Good documentation is hard to come by... Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-10-31Remove call to undefined function File_default->client()Florian Pritz1-3/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-10-31Move Dockercontainer base from ubuntu:14.04 to alpine:edgeSebastian Rakel3-47/+36
2016-09-19Update NEWS1.0.0Florian Pritz1-0/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-09-19Add missing space on front pageFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-09-19Fix broken linewrap and tabwidth functionsFlorian Pritz1-2/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-09-19Only ignore ./vendor, not vendor in subdirsFlorian Pritz1-1/+1
Previously this would ignore public_html/data/js/vendor which is not what we want. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-09-19check_deps.php: Exit 1 on errorFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-09-19Make check_deps.php executableFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-09-19Improve plaintext API deprecation warningFlorian Pritz1-1/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>