summaryrefslogtreecommitdiffstats
path: root/application
AgeCommit message (Collapse)AuthorFilesLines
2016-11-01Allow creation of multipastes from upload historyFlorian Pritz2-2/+40
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01Add multipaste queueFlorian Pritz4-0/+231
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01mmultipaste->delete_id: Fix inverted return valueFlorian Pritz2-1/+30
Broken in d2fdfc77f7a9485548869414d4377cd6848fe339 Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-10-31Copy api/v1/user to api/v2/userFlorian Pritz1-2/+65
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-10-31Disable special handling of {elapsed_time} and {memory_usage}Florian Pritz2-0/+29
Documentation says that the variable can be set from the controller, but it's protected and thus throws and exception. Good documentation is hard to come by... Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-10-31Remove call to undefined function File_default->client()Florian Pritz1-3/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-09-19Add missing space on front pageFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-09-19Improve plaintext API deprecation warningFlorian Pritz1-1/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-09-19Extract tooltip function into \service\filesFlorian Pritz2-28/+30
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-09-19Move file controller into subdirFlorian Pritz2-4/+4
This allows to more easily split the controller into smaller parts in the future. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-09-19Update jQuery UI and include sortableFlorian Pritz1-1/+1
Also drop in all the non minified version because we can and it might be useful for debugging in the future. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-26Improve wording and code layout on start pageFlorian Pritz1-5/+24
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-25Move client documentation to fron pageFlorian Pritz4-47/+27
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-25Increase readability of HTML codeFlorian Pritz1-0/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-25Document special filenamesFlorian Pritz1-0/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-25Switch client git repo link to HTTPSFlorian Pritz2-2/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-25Drop links to outdated clientsFlorian Pritz1-7/+0
These all build fb-client <2.0 and therefore use the deprecated API. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-25Remove documentation for deprecated APIFlorian Pritz2-37/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-23Only show account deletion link if supportedFlorian Pritz1-0/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-21Display deprecation warning for files uploaded via plain text APIFlorian Pritz2-0/+8
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-21Remove unecessary whitespaceFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-21Improve coding style for return statements that only check one conditionFlorian Pritz2-20/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-21Allow users to delete their accountsFlorian Pritz4-0/+102
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-21muser: Add delete_user()Florian Pritz5-0/+136
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-21mfile->add_file: Take userid via argumentFlorian Pritz5-15/+19
This allows for easier testing. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-20Migration 18: Allow user info to be nulledFlorian Pritz2-1/+32
This allows us to safely delete users without breaking referrer information. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-20Duser: Add function to test if login credentials are validFlorian Pritz1-0/+11
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-20tests: Use one webserver per testcaseFlorian Pritz4-11/+54
This allows the tests to run somewhat parallel (still limited by the database) and simplifies running single testcases without the ./run-tests.sh wrapper. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-20Test \libraries\Output_cacheFlorian Pritz2-0/+87
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-20Decouple output_cache from CI for easier testingFlorian Pritz2-15/+17
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-20service\storage->gzip_compress: Remove incorrectly documented parameterFlorian Pritz1-1/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-20Test \services\storageFlorian Pritz1-0/+172
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-20Test \libraries\Image some moreFlorian Pritz1-0/+15
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-20l/Image/Driver/GD: Drop unused get_exif_orientation()Florian Pritz1-9/+0
This appears to be an exact copy of \libraries\Image, but only the function from \libraries\Image is actually used. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-17pygments: Add .yml extensionFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-12pygments: Add .haml extensionFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-02Test filebin_helperFlorian Pritz1-0/+70
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-01Test \libraries\PygmentsFlorian Pritz1-0/+16
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-01Test \libraries\ExifFlorian Pritz1-0/+48
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-01Test \libraries\Image::get_exif_orientationFlorian Pritz1-0/+15
Also pull in some test files Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-01Create Clover coverage reportFlorian Pritz1-3/+3
Also don't print the return data of the writer. In the case of clover it's the XML content, with the HTML writer it's nothing. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-31Test \libraries\TempfileFlorian Pritz1-0/+46
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-31Test \libraries\ProcRunnerFlorian Pritz1-0/+118
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-31Silence some untestable coverage warnings in the test casesFlorian Pritz2-0/+6
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-31Add code coverage outputFlorian Pritz2-0/+24
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-30Fix dbprefix in database example configFlorian Pritz1-1/+1
Mysql doesn't like unquoted dashes, but tablenames aren't quoted everywhere so that queries don't need to be duplicated for postgres. Underscores don't cause problems so use these. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-29Return 403 instead of 401 for missing authenticationFlorian Pritz2-2/+2
According to the RFC this is only useful for services that use HTTP's built in authentication schemes. We don't so we can't use this code. References: https://tools.ietf.org/html/rfc7235 Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-21history: Disable lazy loading for the first 42 thumbnailsFlorian Pritz1-4/+14
This speeds up the initial rendering of the page. For a long history (> ~1000 items) the lazyloading JS creates a noticeable delay (>500ms) depending on the cpu power of the machine. Disable lazy loading for the first items so that these are loaded normally by the browser parallel to the scripts execution. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-21Add special *.asciinema.json filename0.9.18Florian Pritz2-0/+14
Don't force users to name all their files asciinema.json. Give them some room for descriptive names. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-14Tests: Test muser username/email verificationFlorian Pritz1-0/+56
Email verification is pretty basic since we use the framework function right now. This might change in the future. Signed-off-by: Florian Pritz <bluewind@xinu.at>