Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-05-22 | Forbid cli requests until database is updated | Florian Pritz | 1 | -1/+1 | |
This mainly tries to prevent problems when file cron is run with an old database. Tools is whitelisted for the future, if there are cron jobs in tools they will need to check the migrations themselves. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-05-22 | Remove unneeded duplicates in file_storage | Florian Pritz | 3 | -1/+80 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-05-21 | migration 14: Fix error if file was already renamed | Florian Pritz | 1 | -1/+3 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-05-21 | tests: Die early on db errors | Florian Pritz | 1 | -0/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-05-21 | Calc correct total size for history with duplicate hashes | Florian Pritz | 2 | -1/+22 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-05-21 | \c\file::clean_stale_files: Increase robustness | Florian Pritz | 1 | -3/+7 | |
Delete files not matching our pattern and be forgiving if directories are cleaned up by mfile->delete_data_id. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-05-21 | Clarify variable usage in \c\tools->test | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-05-21 | tests: Rework database handling | Florian Pritz | 2 | -2/+9 | |
We no longer interfere with the normal installation's database settings. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-05-21 | tests: Make prove --state work; Restructure tests | Florian Pritz | 7 | -13/+16 | |
This moves all tests into a subdirectory and lets prove itself figure out which tests exist. It seems if you supply the testlist via arguments or stdin --state won't affect the order. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-05-21 | test: different files with same checksum | Florian Pritz | 2 | -8/+33 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-05-21 | Support multiple files with the same hash | Florian Pritz | 8 | -131/+231 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-05-05 | Set cache buster for js with urlArgs setting | Joakim Reinert | 2 | -5/+5 | |
No more need for timestamp in filename of minified main js | |||||
2015-05-05 | Add support for minified main.js | Joakim Reinert | 2 | -2/+15 | |
2015-05-05 | Set max upload size and file count in upload_form view only | Joakim Reinert | 2 | -6/+3 | |
2015-05-05 | Fix non-closing script tag in file/html_header | Joakim Reinert | 1 | -1/+1 | |
2015-05-05 | Refactor file uploader js | Joakim Reinert | 1 | -1/+4 | |
2015-05-05 | Use global appConfig js variable instead of passing it down | Joakim Reinert | 2 | -6/+6 | |
Initialize it in header | |||||
2015-05-05 | Refactor thumbnail view js | Joakim Reinert | 1 | -1/+1 | |
2015-05-05 | Refactor linewrap toggle | Joakim Reinert | 1 | -1/+1 | |
2015-05-05 | Refactor lexer input setup | Joakim Reinert | 2 | -3/+5 | |
2015-05-05 | Use require.js for javascript loading | Joakim Reinert | 6 | -34/+4 | |
2015-05-05 | Add functionality for choosing tab width in frontend | Joakim Reinert | 1 | -0/+8 | |
2015-05-03 | Expose /file/thumbnail/ on front page | Florian Pritz | 1 | -1/+2 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-05-03 | c/tools: Make non-cli request error public | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-05-03 | test \libraries\Image::type_supported | Florian Pritz | 1 | -0/+38 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-05-02 | Get supported image types from drivers | Florian Pritz | 2 | -2/+20 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-05-02 | l\Image: Refactor best_driver/read | Florian Pritz | 1 | -12/+13 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-05-02 | l\I\D\imagemagick: Only process images and pdfs | Florian Pritz | 1 | -1/+9 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-04-27 | \l\Image->best_driver: Always ignore < 0 priority | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-04-25 | test: test_callPrivateEndpointsWithoutApikey add user/delete_apikey | Florian Pritz | 1 | -0/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-04-25 | test: Call more endpoints without enough permissions | Florian Pritz | 1 | -15/+28 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-04-25 | API 1.3.0: Allow multipaste creation for basic access | Florian Pritz | 4 | -7/+7 | |
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-04-18 | Added config option max_invitation_keys | Alexander Finkhäuser | 2 | -1/+4 | |
2015-04-11 | Fix missing lexers in get_lexers | Florian Pritz | 1 | -2/+2 | |
Broken by a11e06d4906c2e1186779b42d5e87a17f66c50ea which changed names back to a normal array. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-04-09 | Fix mime2lexer failing when using pygments info | Florian Pritz | 2 | -2/+6 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-04-09 | Document how to clean file cache if used | Florian Pritz | 1 | -0/+2 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-04-09 | Improve title for multipastes | Florian Pritz | 1 | -1/+36 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-04-08 | Cache filedata | Florian Pritz | 2 | -13/+33 | |
This brings down render time of a multipaste with 180 items from ~180ms to ~80ms. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-04-07 | Test: Add pygments tests | Florian Pritz | 1 | -0/+82 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-04-02 | Pygments: Add .lhs extension | Florian Pritz | 1 | -0/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-04-02 | Improve performance of pygments->mime2lexer | Florian Pritz | 1 | -5/+3 | |
Normal arrays are rather slow when accessed sequentially. Use associative arrays and key lookups to reduce the render time of a multipaste with 180 items from 225ms to ~190ms. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-04-02 | Pygments::get_pygments_info: cache in memory | Florian Pritz | 1 | -1/+1 | |
It's used multiple times if we are rendering a multipaste so it makes sense not to run to the backend cache each time (if there even is one). This reduced the render time for a multipaste with 180 items from >500ms to ~225ms when using the file cache backend. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-04-02 | Fix automatic highlight of svg files | Florian Pritz | 1 | -7/+7 | |
They should not be highlit.. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-04-02 | helper: Add cache_function_full | Florian Pritz | 1 | -1/+18 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-04-01 | file/do_websubmit: throw exception rather than assert | Florian Pritz | 1 | -2/+3 | |
An assert is actually wrong for user input. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-04-01 | Get supported mimetypes from pygments itself | Florian Pritz | 1 | -0/+9 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-04-01 | Refactor \libraries\Pygments::get_lexers | Florian Pritz | 1 | -4/+13 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-04-01 | Refactor lexer code into dedicated class | Florian Pritz | 3 | -190/+215 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2015-03-25 | API 1.2.0: Add user/delete_apikeys endpoint | Florian Pritz | 3 | -5/+61 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> |