Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
This fixes an exception if the multipaste queue contains an item that
does not exist any more, e.g. because it has been deleted after it was
added to the queue.
`Exception 1/1 'ErrorException' with message 'Trying to access array offset on value of type bool' in /srv/http/filebin/application/controllers/file/Multipaste.php:103`
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
BREAKING CHANGE: Syntax raises minimal PHP version to 7.0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
|
|
Corrected some grammar
|
|
|
|
SameSite attribute implementation for CI_Input::set_cookie
|
|
Added another SVG mimetype
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
We are not only interested in checking if a method exists here, but
really also if it can be called (e.g. if it is public). Private methods
should not be considered as potential API endpoints. Before this,
private methods could be called, leading to a 500 error due to a call to
the private method.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
This parameter controls the generated id for files (file/upload) and
multipastes (file/create_multipaste).
The post parameter has to be a positive integer value >= 2.
Changes by Florian Pritz:
- minor style and typo fixes
- NEWS entry
- check expected error reply content in tests
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Fix user guide url
|
|
Add UptimeRobot user agent
|
|
That way they get the correct HTTP status code and they also get ignored
by the logging code.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
These are errors that a user can correct themselves so we should
classify them accordingly. That way they get the correct HTTP status
code and they also get ignored by the logging code.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Update with heic format
|
|
Fixed double spacing in mimes.php
|
|
We shouldn't treat a possibly boolean value as an array
(`$filedata["data_id"]`).
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Not sure why, but this only started to happen with php 7.4. Should be
fixed anyways so I didn't investigate further.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
This leads to a deprecation warning as of php 7.4.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Added Infinix manufacture in user_agents.php
|
|
Fix indentation / clear whitespace
|
|
Fix for #5711 and added two more models
|
|
PDF thumbnail support has been removed by
98f7c65dddf0667f1a0462e08be9e6273ce658fb, but this has been left. The
thumbnails are not generated so the images show up empty. Fix it by
simply not listing them in the first place.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Fix .aac file mime type
|
|
Correct / Added characters
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
With pygments 2.4.0 at least VBScript doesn't have a name and thus
causes an exception when the first name should be used. We use the name
to tell pygmentize which lexer to use so listing a lexer that doesn't
have a name doesn't work and thus there is no point in showing it in the
list.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Added Meizu agent in Manufacturers
|
|
If regeneration is on, the token is recreated after the first AJAX
submit and subsequent ajax submits or normal form submits break. By
disabling it here, we limit potential security issues to only this page,
but it also only works if the user does not submit any other forms while
they are on the AJAX page.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Added mobile google bot to user agents
|
|
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>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
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>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|