Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-09-24 | Move etag handling to Main class | Florian Pritz | 1 | -4/+26 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-09-24 | Remove unused length field when passing upload history to view | Florian Pritz | 1 | -4/+0 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-09-24 | Remove unused get_max_size endpoint | Florian Pritz | 1 | -7/+0 | |
This should be have been removed in v2.0.0 with the removal of the plain text API. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-06-14 | Add cli user deletion | Florian Pritz | 1 | -0/+18 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-06-01 | file/cron: Fix call to undefined method clean_multipaste_tarballs | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-05-18 | Add invitation key deletion | Florian Pritz | 1 | -0/+12 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-05-18 | Extract invitation key creation to \service\user | Florian Pritz | 1 | -19/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-05-03 | Move cleanup code from controller to \service\files | Florian Pritz | 1 | -95/+3 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-05-03 | file/clean_stale_files: Refactor into multiple methods | Florian Pritz | 1 | -2/+10 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-05-03 | file/clean_stale_files: Remove multipaste tarballs | Florian Pritz | 1 | -2/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-05-03 | file/clean_stale_files: Remove database entries without files | Florian Pritz | 1 | -0/+19 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-05-03 | file/cron: Refactor multipaste tarball clean code into new method | Florian Pritz | 1 | -17/+22 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-01-31 | Proper display of expiration duration for less than a day | Hrvoje Hodak | 1 | -1/+1 | |
2017-12-20 | Prevent asciinema from being affected by file size limit | Florian Pritz | 1 | -8/+9 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-10-16 | Fix database upgrade success message | Florian Pritz | 1 | -3/+2 | |
The function actually returns something that's not an int. Exceptions are caught so at this point it's fine to just output without a check. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-09-21 | Remove usage of deprecated is_cli_request() | Florian Pritz | 2 | -2/+2 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-09-21 | Fix return checks for CI3 | Florian Pritz | 1 | -3/+3 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-09-21 | Close session in long running methods | Florian Pritz | 1 | -0/+2 | |
These do not write to the session but may run for some time. There is no need to keep the session locked while they perform their work. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-09-21 | Fix detection of URL ending in slash | Florian Pritz | 1 | -1/+1 | |
CI trims tailing slashes from the URL and this should work just fine too. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-09-18 | Migrate return code checks for CI3 | Florian Pritz | 4 | -13/+13 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-09-18 | Remove secondary controller for CLI usage output | Florian Pritz | 2 | -13/+3 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-09-18 | Remove unsupported secondary controller | Florian Pritz | 3 | -31/+35 | |
Having more than one controller per request doesn't work with CI3. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-09-16 | Update negativ return check of session userdata for CI3 | Florian Pritz | 1 | -2/+2 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-09-09 | WIP: CI3 migration | Florian Pritz | 5 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-09-09 | Merge tag '3.1.5' into dev-ci3 | Florian Pritz | 1 | -1/+2 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-08-15 | tools/update_database: Output status after upgrade | Florian Pritz | 1 | -1/+10 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-07-11 | Actually update filesize with update_file_metadata | hashworks | 1 | -1/+4 | |
According to `application/controllers/tools.php#L32` the `update_file_metadata` tool should update the mimetype AND the filesize, but the latter never got implemented. | |||||
2017-07-04 | API: Update version to 2.1.1 | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-07-04 | API: Fix return type of empty values in file/delete | Florian Pritz | 1 | -1/+5 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-07-04 | Create function for ensuring that json keys contain objects | Florian Pritz | 1 | -5/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-07-04 | API: Fix return type of empty values in file/history | Florian Pritz | 1 | -0/+7 | |
If the array is not casted to a object, json_encode will encode it as [] if empty, but {} if it contains data. Always return an object by casting the array to an object if it is empty. Fixes #15 Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-05-12 | Catch incorrect POST parameters (array vs string) | Florian Pritz | 3 | -10/+10 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-18 | Use === for some equality checks | Florian Pritz | 1 | -3/+3 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-03-26 | s/renderer: Pass output_cache in constructor | Florian Pritz | 1 | -2/+2 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-03-26 | Extract render code into dedicated class | Florian Pritz | 1 | -144/+2 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-03-24 | Improve error handling in json reformater | Florian Pritz | 1 | -4/+17 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-03-22 | Reformat single-line JSON when rendering | Florian Pritz | 1 | -0/+5 | |
Be conservative and only apply the reformating for single line pastes. This should cover the most common cases and protect against trying to reformat non-json content. Fixes #14 Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-03-22 | Pass file content to lexer via stdin | Florian Pritz | 1 | -2/+5 | |
This allows to easily modify the content before rendering it. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2016-11-05 | Remove API v1 compatability code | Florian Pritz | 1 | -4/+0 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2016-11-05 | API: Drop v1 | Florian Pritz | 3 | -182/+0 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2016-11-05 | api/user/create_apikey: Directly log in with username/pw | Florian Pritz | 1 | -0/+9 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2016-11-05 | Remove cli client upload handler | Florian Pritz | 1 | -52/+0 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2016-11-05 | c/file: Remove upload detection | Florian Pritz | 1 | -3/+1 | |
This only existed for curl based uploading which is no longer supported Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2016-11-05 | c/user: Drop $this->view_dir | Florian Pritz | 1 | -17/+15 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2016-11-05 | c/file_default: Drop $this->view_dir | Florian Pritz | 1 | -14/+12 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2016-11-05 | Remove plaintext API deprecation warning | Florian Pritz | 1 | -9/+0 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2016-11-05 | Remove cli client only functions | Florian Pritz | 1 | -32/+0 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2016-11-05 | Remove special handling of cli clients | Florian Pritz | 2 | -26/+2 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2016-11-05 | Drop file_plaintext views | Florian Pritz | 1 | -5/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2016-11-01 | Fix missing / in redirect after creating multipaste via webui | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> |