Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | Fix background of lightbox for transparent images | Florian Pritz | 1 | -1/+1 | |
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 | 3 | -0/+4 | |
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 | Update NEWS | Florian Pritz | 1 | -0/+3 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-03-02 | Improve assertion handling | Florian Pritz | 1 | -0/+8 | |
Enable it explicitly and make sure a failed assertion will always terminate execution. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-03-02 | Add imagemagick support | Florian Pritz | 10 | -197/+541 | |
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 | 3 | -76/+179 | |
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 | INSTALL: Mention upload_max_age explicitly | Florian Pritz | 1 | -1/+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-15 | update NEWS | Florian Pritz | 1 | -0/+1 | |
Maybe I remember to do it when merging next time... Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-15 | Merge branch 'api-rework' into working | Florian Pritz | 88 | -461/+2987 | |
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 | run-tests.sh: drop database in cleanup | Florian Pritz | 1 | -1/+1 | |
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 | run-tests.sh: use trap to clean up | Florian Pritz | 1 | -5/+8 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-08 | tests: Remember previous state; print elapsed time | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-08 | tests: Fix php dev server being slow | Florian Pritz | 2 | -3/+2 | |
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 | 2 | -0/+5 | |
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 | 6 | -1/+320 | |
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 | 18 | -35/+66 | |
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 | 6 | -13/+50 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> |