Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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> | |||||
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 | 2 | -4/+13 | |
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 | 8 | -22/+49 | |
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> | |||||
2015-01-16 | add some TODOs | Florian Pritz | 3 | -1/+8 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-01-16 | fix multipaste in service/history | Florian Pritz | 2 | -2/+6 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-01-16 | refactor service/file/history | Florian Pritz | 1 | -24/+28 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-01-16 | add initial user api | Florian Pritz | 3 | -39/+102 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-01-16 | add max_files_per_request to api/file/get_config | Florian Pritz | 1 | -0/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-01-16 | improve api errors | Florian Pritz | 3 | -8/+9 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-01-16 | Fix error in file/upload_history | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-01-16 | Improve history api for multipastes | Florian Pritz | 2 | -11/+37 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-01-16 | add missing files | Florian Pritz | 2 | -0/+88 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-01-16 | misc | Florian Pritz | 4 | -93/+27 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-01-16 | first go at reworking; needs to be redesigned | Florian Pritz | 7 | -76/+285 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-01-16 | Don't leak error heading to HTML output | Florian Pritz | 1 | -2/+2 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-01-03 | Lazyload thumbnails | Florian Pritz | 4 | -1/+251 | |
Apparently there are users with >500 images and they view their thumbnail history on mobile phones. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-01-03 | Ignore exif_read_data warnings/errors | Florian Pritz | 1 | -1/+1 | |
This can throw warnings while also returning orientation info (amongst others). The rest of the code can handle missing values just fine so whatever. I give up. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-01-03 | Improve stacktrace generation (circular reference errors) | Florian Pritz | 1 | -9/+39 | |
var_export can't handle circular references which can happen in codeigniter's objects and if those get passed as arguments it will throw another fatal error and the actual trace will get lost. Signed-off-by: Florian Pritz <bluewind@xinu.at> |