summaryrefslogtreecommitdiffstats
path: root/application
AgeCommit message (Collapse)AuthorFilesLines
2018-09-24Remove unused mb_str_pad functionFlorian Pritz2-55/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-09-24Remove unused even_odd functionFlorian Pritz2-23/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-09-24Remove unused get_max_size endpointFlorian Pritz1-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-09-19Fix procrunner test_forbid_stderr3.3.0Florian Pritz1-3/+3
Apparently python 3.7 now prints '(null)' instead of 'python', so let's use bash for this test. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-08-12Disable slash escaping when reformating jsonFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-08-12Make reformat_json more readableFlorian Pritz1-16/+22
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-07-23Merge branch 'raphaelm-patch-1' into devFlorian Pritz2-4/+21
2018-07-23LDAP: Allow optional filtering of allowed usersRaphael Michel2-3/+13
2018-07-23LDAP: Allow optional binding/authenticationRaphael Michel2-1/+8
2018-07-18Use transaction when adding fileFlorian Pritz1-0/+2
This helps when the upload_path is not writable. Without the transaction we get stale records in the db that then cause errors because the file can't be found. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-06-28Fix order of c and cast extensionsFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-06-28Add .go extension for goFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-06-14Merge tag '3.1.9' of git://github.com/bcit-ci/CodeIgniter into devFlorian Pritz2-2/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-06-14Add cli user deletionFlorian Pritz2-0/+19
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-06-14Document cli user/add_userFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-06-14Refactor user deletion to work without passwordFlorian Pritz1-23/+36
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-06-04[ci skip] Merge pull request #5512 from gxgpet/developAndrey Andreev1-1/+2
mimes.php: 7z file types changes
2018-06-01Fix overflow of text in upload_formFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-06-01Mention .cast extension on upload_formFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-06-01service/files: Add missing namespace for Recursive*IteratorFlorian Pritz1-2/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-06-01file/cron: Fix call to undefined method clean_multipaste_tarballsFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-05-19Test result of delete_invitation_keyFlorian Pritz1-6/+10
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-05-19Document invitation key creation/deletion methodsFlorian Pritz1-0/+11
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-05-18Add invitation key deletionFlorian Pritz4-0/+90
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-05-18Extract invitation key creation to \service\userFlorian Pritz2-19/+27
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-05-03Move cleanup code from controller to \service\filesFlorian Pritz2-95/+101
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-05-03file/clean_stale_files: Refactor into multiple methodsFlorian Pritz1-2/+10
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-05-03Update CLI usageFlorian Pritz1-1/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-05-03file/clean_stale_files: Remove multipaste tarballsFlorian Pritz1-2/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
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-04-13[ci skip] Rename Spartan to Edge in config/user_agents.phpAndrey Andreev1-1/+1
#4354
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>