Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-03-09 | Test: Prefix output with testcase name | Florian Pritz | 2 | -2/+20 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-03-08 | Test: Improve exception handling | Florian Pritz | 2 | -6/+21 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-03-08 | api/file/create_multipase: return URL | Florian Pritz | 3 | -2/+4 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-03-08 | Unify file/cron and mfile->valid_id | Florian Pritz | 4 | -49/+201 | |
Create a testable function doing all the verification/removal, add tests and use it for both cases. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-03-08 | Add mockery | Florian Pritz | 2 | -0/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-03-08 | test: Fail on exceptions | Florian Pritz | 2 | -1/+2 | |
If we don't output a test plan prove will consider the test failed. The destructor would run when an uncaught exception is thrown so don't use a destructor to output the testplan. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-03-08 | autoloader: support multiple search paths | Florian Pritz | 1 | -5/+10 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-03-02 | Add imagemagick support | Florian Pritz | 9 | -197/+533 | |
Adds additional support for imagemagick if GD doesn't support a file type and extends the files displayed as thumbnails to all images and pdf files. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-23 | upload_form: Support multiple textareas/files at the same time | Florian Pritz | 2 | -75/+141 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-22 | Add comment for actions_max_age in config | Florian Pritz | 1 | -0/+3 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-22 | Fix upload_max_age comment | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-22 | s\files: rename add_file to add_uploaded_file | Florian Pritz | 3 | -3/+3 | |
It doesn't add any file so it should have that name. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-21 | s/files: add add_file_data for future code deduplication | Florian Pritz | 1 | -2/+31 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-19 | Add claiming of multipastes | Florian Pritz | 3 | -5/+19 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-15 | c/f/do_upload: simpilfy multipaste creation | Florian Pritz | 1 | -12/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-15 | s/file/add_file: make file move atomic | Florian Pritz | 1 | -3/+5 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-14 | Fix consistency of error_ids | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-14 | Use assoc array for service/files/verify_uploaded_files | Florian Pritz | 2 | -2/+2 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-14 | Use assoc array for service/user/apikeys | Florian Pritz | 3 | -6/+10 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-14 | Fix typo in error message | Florian Pritz | 2 | -2/+2 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-14 | Unify exceptions for unknown/invalid endpoints | Florian Pritz | 1 | -4/+4 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-10 | api: Require the version to start with v | Florian Pritz | 2 | -2/+9 | |
Makes the URL easier to understand (especially the v1 case). Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-08 | Add tests for \s\f::verify_uploaded_files | Florian Pritz | 1 | -0/+85 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-08 | Add tests for invalid login | Florian Pritz | 1 | -0/+32 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-08 | tests: Fix php dev server being slow | Florian Pritz | 1 | -0/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-08 | Add more tests | Florian Pritz | 1 | -0/+36 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-08 | Improve testcases | Florian Pritz | 1 | -48/+189 | |
- create apikeys/users on demand (no magic numbers) - add some more testcases - extract api version into function - readability cleanup Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-08 | run-tests.sh: Clean up old database before running tests | Florian Pritz | 1 | -0/+4 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-06 | Add more tests | Florian Pritz | 2 | -2/+56 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-06 | service/files::delete: Fix incorrect error when wrong owner | Florian Pritz | 1 | -3/+4 | |
Also improve the variable name for easier understanding. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-06 | fixup! Support database table prefixes | Florian Pritz | 1 | -8/+8 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-05 | service/files::history: Fix total_size if no results | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-05 | Add simple testsuite | Florian Pritz | 4 | -1/+258 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-05 | fixup! Support database table prefixes | Florian Pritz | 2 | -7/+7 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-05 | Improve error line information in Test-More | Florian Pritz | 1 | -4/+8 | |
This finds the last frame before Test-More instead of using the topmost frame. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-05 | Make Test-More useable for our usecase | Florian Pritz | 2 | -5/+6 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-05 | Add Test-More | Florian Pritz | 35 | -0/+1250 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-03 | Support database table prefixes | Florian Pritz | 14 | -120/+212 | |
This also cleans up some inconsistencies with quotes. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-03 | lib/Image->get: check if ob_get_clean worked | Florian Pritz | 2 | -6/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-03 | Use exceptions instead of show_error | Florian Pritz | 17 | -34/+65 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-03 | use function instead of variable | Florian Pritz | 1 | -2/+2 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-03 | generalize authentication handling | Florian Pritz | 5 | -12/+47 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-03 | api: implement file/create_multipaste | Florian Pritz | 5 | -47/+90 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-03 | api: implement file/delete | Florian Pritz | 3 | -49/+68 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-03 | Remove unstable json api | Florian Pritz | 4 | -67/+2 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-03 | Improve general exception handling | Florian Pritz | 1 | -0/+3 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-03 | api: handle json reply in api controller | Florian Pritz | 3 | -9/+9 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-03 | implement api/user/create_apikey | Florian Pritz | 2 | -3/+19 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-03 | Rework error handling in upload validator | Florian Pritz | 7 | -21/+44 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-02 | Rework api error handling | Florian Pritz | 5 | -33/+77 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> |