summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2015-05-05post-merge: Make sure the expected minified js file existsFlorian Pritz1-0/+4
c897aa84567ba046644a87e23b32f3df4c5845d3 changes the name of the file so we need to make sure it will be created even if no js files changed. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-05Clean up old main.min.*.js filesFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-05Set cache buster for js with urlArgs settingJoakim Reinert4-7/+7
No more need for timestamp in filename of minified main js
2015-05-05Fix shebangsFlorian Pritz4-4/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-05Update NEWSFlorian Pritz1-0/+12
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-05Fix colorbox not being loadedFlorian Pritz1-3/+1
Since it is also now always loaded we no longer need to check for it Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-05Add install script for git hooksJoakim Reinert2-0/+27
2015-05-05Show changes to NEWS after pullJoakim Reinert1-0/+3
2015-05-05Add update script to git-hooks to be run after git pullJoakim Reinert1-0/+20
2015-05-05Add support for minified main.jsJoakim Reinert5-2/+29025
2015-05-05Explicitly load vendor js in modules that need themJoakim Reinert6-23/+9
2015-05-05Move lazyloading js code to application.jsJoakim Reinert2-8/+11
2015-05-05Extract tablesorter js and encapsulateJoakim Reinert3-64/+93
2015-05-05Set max upload size and file count in upload_form view onlyJoakim Reinert2-6/+3
2015-05-05Fix non-closing script tag in file/html_headerJoakim Reinert1-1/+1
2015-05-05Refactor file uploader jsJoakim Reinert4-90/+139
2015-05-05Use global appConfig js variable instead of passing it downJoakim Reinert5-15/+14
Initialize it in header
2015-05-05Refactor thumbnail view jsJoakim Reinert4-87/+136
2015-05-05Refactor linewrap toggleJoakim Reinert4-12/+19
2015-05-05Do minor refactoring on app jsJoakim Reinert2-9/+21
2015-05-05Use util function for focusing dropdown menu inputJoakim Reinert1-6/+3
2015-05-05Refactor tab width inputJoakim Reinert4-36/+57
2015-05-05Refactor lexer input setupJoakim Reinert8-54/+1648
2015-05-05Refactor line higlighting functionalityJoakim Reinert3-16/+51
2015-05-05Use require.js for javascript loadingJoakim Reinert20-34/+82
2015-05-05Add functionality for choosing tab width in frontendJoakim Reinert3-1/+50
2015-05-03Expose /file/thumbnail/ on front pageFlorian Pritz1-1/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-03c/tools: Make non-cli request error publicFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-03test \libraries\Image::type_supportedFlorian Pritz1-0/+38
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-02Get supported image types from driversFlorian Pritz2-2/+20
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-02l\Image: Refactor best_driver/readFlorian Pritz1-12/+13
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-02l\I\D\imagemagick: Only process images and pdfsFlorian Pritz1-1/+9
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-04-27\l\Image->best_driver: Always ignore < 0 priorityFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-04-25test: test_callPrivateEndpointsWithoutApikey add user/delete_apikeyFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-04-25test: Call more endpoints without enough permissionsFlorian Pritz1-15/+28
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-04-25API 1.3.0: Allow multipaste creation for basic accessFlorian Pritz4-7/+7
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-04-18s/files:get_multipaste_history: Remove multipastes without itemsFlorian Pritz1-0/+8
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-04-18Correct error log message (php error log, not syslog)Florian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-04-18Added config option max_invitation_keysAlexander Finkhäuser2-1/+4
2015-04-11Fix missing lexers in get_lexersFlorian Pritz1-2/+2
Broken by a11e06d4906c2e1186779b42d5e87a17f66c50ea which changed names back to a normal array. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-04-09Fix mime2lexer failing when using pygments infoFlorian Pritz3-3/+7
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-04-09Update NEWSFlorian Pritz1-0/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-04-09Document how to clean file cache if usedFlorian Pritz1-0/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-04-09Improve title for multipastesFlorian Pritz1-1/+36
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-04-08Cache filedataFlorian Pritz2-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-07Test: Add pygments testsFlorian Pritz1-0/+82
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-04-02Pygments: Add .lhs extensionFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-04-02Improve performance of pygments->mime2lexerFlorian Pritz2-8/+9
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-02Pygments::get_pygments_info: cache in memoryFlorian Pritz1-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-02Fix automatic highlight of svg filesFlorian Pritz1-7/+7
They should not be highlit.. Signed-off-by: Florian Pritz <bluewind@xinu.at>