summaryrefslogtreecommitdiffstats
path: root/application
AgeCommit message (Collapse)AuthorFilesLines
2018-05-03file/clean_stale_files: Remove database entries without filesFlorian Pritz1-0/+19
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-05-03file/cron: Refactor multipaste tarball clean code into new methodFlorian Pritz1-17/+22
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-05-03Add .cast extension for asciinemaFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-05-03Ddownload_php: Remove @ from fopen callFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-03-20Merge tag 'ci-upstream/3.1.7' into devFlorian Pritz3-9/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-02-09Highlight .rs as rustFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-01-31Proper display of expiration duration for less than a dayHrvoje Hodak4-2/+73
2018-01-21Remove database cache config from exampleFlorian Pritz1-4/+0
These settings do not work because the cache is never invalidated in the application. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-01-21Put testsuite config in example database configFlorian Pritz1-0/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-01-01Ensure file does not exist when new one is added to DBFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-01-01Only update mtime when uploaded files already existFlorian Pritz1-6/+17
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-01-01Reduce bcrypt cost for testsuiteFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-01-01Use temporary directory for testsuite uploadsFlorian Pritz1-0/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-12-20Prevent asciinema from being affected by file size limitFlorian Pritz1-8/+9
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-12-09Highlight .pm as perlFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-12-02Fix DB settings for postgres which doesn't use utf8mb43.0.1Florian Pritz1-2/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-12-02Migration 21: Limit utf8mb4 to columns that need itFlorian Pritz1-4/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-10-28mysql: Enable full UTF8 supportFlorian Pritz3-4/+31
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-10-16Remove link to android app in playstoreFlorian Pritz1-1/+0
Playstore is no longer updated, use fdroid instead. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-10-16Fix database upgrade success messageFlorian Pritz1-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-10-09[ci skip] Merge pull request #5292 from ajdunn2/developAndrey Andreev1-1/+1
Small spelling fix
2017-10-02[ci skip] Merge pull request #5281 from pawelkg/developAndrey Andreev1-2/+2
Adding some letters translated to Y in foregin_chars.php
2017-09-26Fix incorrect table name in migration 20 for postgresFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-26Merge CodeIgniter 3 supportFlorian Pritz70-627/+1334
2017-09-26Put base_url in example config fileFlorian Pritz1-0/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-26Migration 20: Fix id column sizeFlorian Pritz1-1/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-22Explain username rules on registration pageFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-21Remove usage of deprecated is_cli_request()Florian Pritz4-6/+6
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-21Remove usage of deprecated valid_email functionFlorian Pritz1-2/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-21Fix return checks for CI3Florian Pritz3-5/+9
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-21Fix additional routes for CI3Florian Pritz1-2/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-21Close session in long running methodsFlorian Pritz1-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-21Fix detection of URL ending in slashFlorian Pritz1-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-21Fix mutlipaste_queue test using incorrect data in mockFlorian Pritz1-2/+2
The error return changed with CI3 so the test also needs to change Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-21Test: Replace unprintable characters when dumping variablesFlorian Pritz1-0/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-21Tests: Use is instead of ok for improved debug outputFlorian Pritz1-2/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-18Automatically set baseurl for testsFlorian Pritz1-0/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-18Fix download driver for CI3Florian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-18Migrate return code checks for CI3Florian Pritz6-15/+15
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-18Fix customautoloader class nameFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-18Remove secondary controller for CLI usage outputFlorian Pritz3-13/+17
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-18Fix some routesFlorian Pritz1-3/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-18Remove unsupported secondary controllerFlorian Pritz3-31/+35
Having more than one controller per request doesn't work with CI3. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-16Remove old error templateFlorian Pritz1-11/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-16Update negativ return check of session userdata for CI3Florian Pritz2-3/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-16Update ci_session table for CI3Florian Pritz2-1/+43
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-09WIP: CI3 migrationFlorian Pritz15-11/+10
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-09Merge tag '3.1.5' into dev-ci3Florian Pritz44-520/+1169
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-08-15tools/update_database: Output status after upgradeFlorian Pritz1-1/+10
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-07-11Test inserting bigint values in DBFlorian Pritz1-0/+38
Signed-off-by: Florian Pritz <bluewind@xinu.at>