Age | Commit message (Collapse) | Author | Files | Lines |
|
https://github.com/hashworks/filebin into dev
|
|
When a user is deleted, their details are set to NULL. When no username
is specific for a password reset, this can trigger an email being sent
to an empty recipient which will not be deliverable.
Just to be safe, guard against NULL values for all the user related
functions.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Uploading systemd foo.service files results in the
application/x-wine-extension-ini mimetype, which triggers a download on
various browsers. This fixes that and displays them using the systemd
lexer instead.
|
|
All current asserations are only for development/debug related checks
and safe to disable on production so we do not need to force any
settings via the deprecate `assert_options` function here and we can
just remove this code.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
The second verification (by us) fails. The constructor already performs a verification so we do not need to.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
This has been removed in the recently merged changes from CI upstream.
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>
|
|
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>
|
|
I don't know if it has ever worked properly, too much things break if you do try to disable it.
|
|
|
|
partially fixes #5648
|
|
|
|
|
|
Corrected some grammar
|
|
Corrected some grammar
|
|
|
|
|
|
SameSite attribute implementation for CI_Input::set_cookie
|
|
SameSite attribute implementation for CI_Input::set_cookie
|
|
Added another SVG mimetype
|
|
Some MIME detection programs/libraries identify SVG files without `<?xml ...?>` declaration as `image/svg`
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
defaults to Lax; all samesite values are ucfirst'ed; log for SameSite=None non-secure cookies
|
|
|
|
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
|
|
Fix user guide url
|
|
Add UptimeRobot user agent
|
|
Add UptimeRobot user agent
|
|
Replace from
https://codeigniter.com/user_guide/*
to
https://codeigniter.com/userguide3/*
|
|
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
|