summaryrefslogtreecommitdiffstats
path: root/application
AgeCommit message (Collapse)AuthorFilesLines
2019-01-28Merge tag '3.1.10' of git://github.com/bcit-ci/CodeIgniter into devFlorian Pritz2-1/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2019-01-15Merge pull request #5676 from albertleao/albertleao-patch-1Andrey Andreev1-0/+1
Added mobile google bot to user agents
2018-12-31Stop making PDF thumbnails with imagemagickFlorian Pritz2-8/+17
Arch Linux disables PDF support in imagemagick due to security concerns. This results in broken thumbnails for PDF files. By disabling it we just get the normal file list which should be fine too. If necessary this could be extended to be configurable, but I don't think doing that is necessary. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-09-24Move JSON code to API classFlorian Pritz2-31/+30
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-09-24Move etag handling to Main classFlorian Pritz2-26/+26
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-09-24Remove unnecessary set of MB encodingFlorian Pritz1-1/+0
There are no more MB related functions used in the application code base so this can go away. It was used by the plain text API which has been removed in v2.0.0. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-09-24Remove unused length field when passing upload history to viewFlorian Pritz1-4/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
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-22[ci skip] Close #5513Andrey Andreev1-1/+1
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>