Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-09-14 | API 2.0: Remove private fields from file/history | Florian Pritz | 1 | -1/+6 | |
Since this is a breaking change bump the api version to 2. The private fields are user_id and multipaste_id which where leaked via the multipaste_items field. This commit also adds a test case to both api versions that checks the returned fields. NOTE: Most of this commit is copied from the files of api v1 so when viewing the diff use --find-copies-harder for an easy to read diff. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-05-21 | Calc correct total size for history with duplicate hashes | Florian Pritz | 1 | -1/+2 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-05-21 | Support multiple files with the same hash | Florian Pritz | 1 | -33/+52 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-04-18 | s/files:get_multipaste_history: Remove multipastes without items | Florian Pritz | 1 | -0/+8 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-03-08 | api/file/create_multipase: return URL | Florian Pritz | 1 | -0/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-03-08 | Unify file/cron and mfile->valid_id | Florian Pritz | 1 | -0/+50 | |
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-02-22 | s\files: rename add_file to add_uploaded_file | Florian Pritz | 1 | -1/+1 | |
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-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 | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-14 | Use assoc array for service/user/apikeys | Florian Pritz | 1 | -1/+5 | |
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-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 | fixup! Support database table prefixes | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-03 | api: implement file/create_multipaste | Florian Pritz | 1 | -0/+53 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-03 | api: implement file/delete | Florian Pritz | 1 | -0/+62 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-03 | Rework error handling in upload validator | Florian Pritz | 2 | -4/+5 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-02-02 | Rework api error handling | Florian Pritz | 1 | -2/+2 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-01-16 | add some TODOs | Florian Pritz | 1 | -0/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-01-16 | fix multipaste in service/history | Florian Pritz | 1 | -1/+5 | |
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 | 1 | -0/+75 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-01-16 | Improve history api for multipastes | Florian Pritz | 1 | -11/+21 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-01-16 | first go at reworking; needs to be redesigned | Florian Pritz | 1 | -0/+116 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2014-11-02 | Add tarball support to multipastes | Florian Pritz | 1 | -0/+161 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> |