Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-08-12 | Disable slash escaping when reformating json | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-08-12 | Make reformat_json more readable | Florian Pritz | 1 | -16/+22 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-07-18 | Use transaction when adding file | Florian Pritz | 1 | -0/+2 | |
This helps when the upload_path is not writable. Without the transaction we get stale records in the db that then cause errors because the file can't be found. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-06-01 | service/files: Add missing namespace for Recursive*Iterator | Florian Pritz | 1 | -2/+2 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-05-19 | Document invitation key creation/deletion methods | Florian Pritz | 1 | -0/+11 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-05-18 | Add invitation key deletion | Florian Pritz | 1 | -0/+11 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-05-18 | Extract invitation key creation to \service\user | Florian Pritz | 1 | -0/+26 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-05-03 | Move cleanup code from controller to \service\files | Florian Pritz | 1 | -0/+98 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-01-01 | Ensure file does not exist when new one is added to DB | Florian Pritz | 1 | -0/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-01-01 | Only update mtime when uploaded files already exist | Florian Pritz | 1 | -6/+17 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-09-16 | Update negativ return check of session userdata for CI3 | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-06-17 | Fix broken lineendings when rendering ascii colors | Florian Pritz | 1 | -1/+1 | |
Without -m ansi2html may not close the span tags at the end of the line. Since we wrap the output lines in our own tags those left-open tags break the rendering. Fix it by letting ansi2html wrap lines into tags on it's own. This adds superflous tags in the HTML, but it works nicely. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-05-22 | Fix markdown rendering not finding Parsedown | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-03-26 | s/renderer: Extract json reformater method | Florian Pritz | 1 | -16/+28 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-03-26 | s/renderer: Pass output_cache in constructor | Florian Pritz | 1 | -11/+14 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-03-26 | Extract render code into dedicated class | Florian Pritz | 1 | -0/+166 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2016-11-05 | Remove API v1 compatability code | Florian Pritz | 1 | -2/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2016-11-01 | s/multipaste_queue: Refactor constructor to support dependency injection | Florian Pritz | 1 | -6/+19 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2016-11-01 | s/multipaste_queue: Remove duplicate assignment | Florian Pritz | 1 | -2/+0 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2016-11-01 | Add multipaste queue | Florian Pritz | 1 | -0/+85 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2016-09-19 | Extract tooltip function into \service\files | Florian Pritz | 1 | -0/+28 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2016-08-21 | mfile->add_file: Take userid via argument | Florian Pritz | 1 | -6/+6 | |
This allows for easier testing. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2016-08-20 | service\storage->gzip_compress: Remove incorrectly documented parameter | Florian Pritz | 1 | -1/+0 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2016-07-13 | Fix missing phpdoc for \service\user | Florian Pritz | 1 | -4/+6 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2016-07-13 | Remove incorrect TODO about $new_file being unset | Florian Pritz | 1 | -1/+0 | |
I think this is left over from developing the feature. This seems to have been incorrect in the inital commit of the code. Just drop it. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2016-07-04 | service\files->get_multipaste_history: Add sort order from DB | Florian Pritz | 1 | -1/+8 | |
Keep this field private for now. I may be exposed at a later time. The returned values are already normalized so they can be safely exposed. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2016-07-04 | Add function to ellipsize text | Florian Pritz | 1 | -0/+38 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2016-06-16 | Remove old TODO | Florian Pritz | 1 | -1/+0 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-09-20 | postgres: Fix multiple queries using MySQL syntax | Florian Pritz | 1 | -5/+5 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-09-20 | API 2.1: Add thumbnail link to history | Florian Pritz | 1 | -0/+3 | |
Also adjust test cases to check for the new value. API v1 does not change. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
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> |