Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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> | |||||
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-03 | Lazyload thumbnails | Florian Pritz | 1 | -1/+2 | |
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> | |||||
2014-12-06 | libraries\Image::get_exif: Fix undefined index error | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2014-12-06 | add opensuse client repo | Florian Pritz | 1 | -1/+2 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2014-11-08 | Fix handling of images with XMP instead of EXIF data | Florian Pritz | 1 | -13/+19 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2014-11-08 | mfile->delete_id: Forgive if a dir doesn't exist | Florian Pritz | 1 | -2/+4 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2014-11-03 | mfile->delete_id: Check for file before trying to unlink | Florian Pritz | 1 | -1/+3 | |
file->cron unlinks the file and then deletes the hash which causes an error in mfile->delete_id because the file no longer exists. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2014-11-03 | Ignore special dir in clean_stale_files | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2014-11-03 | Simplify mfile->delete_hash | Florian Pritz | 1 | -31/+3 | |
This probably increases the database queries a bit, but greatly simplifies the code and fixes the missing deletion of multipaste tarballs (delete_id handles that). Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2014-11-03 | Properly delete multipastes when deleting a single paste | Florian Pritz | 1 | -4/+4 | |
mmultipaste->delete_id() also deletes multipaste tarballs which would otherwise be left over Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2014-11-03 | Fix deletion of multipaste tarball when deleting a multipaste | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2014-11-02 | Add tarball support to multipastes | Florian Pritz | 5 | -0/+254 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2014-10-29 | Simplify creation of initial user | Florian Pritz | 1 | -0/+67 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> |