Andy Scherzinger
5c49a54801
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2 weeks ago
Josh
82f0adb91a
fix(security): Describe `occ security:bruteforce:attempts` accurately
This command is used to list a summary of brute force protection attempts associated with a given IP address and, optionally, a specific action. It does not reset attempts (there's already another command for that).
Signed-off-by: Josh <josh.t.richards@gmail.com>
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
3 months ago
Côme Chilliet
46f729b63b
chore: use DI for Command\Security\ListCertificates
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
4 months ago
Joas Schilling
124588d4a6
fix: Make bypass function public API
Signed-off-by: Joas Schilling <coding@schilljs.com>
10 months ago
Joas Schilling
b2fd283a30
feat(OCC): Add a command to get the bruteforce state of an IP
Signed-off-by: Joas Schilling <coding@schilljs.com>
10 months ago
Faraz Samapoor
f63c52a396
Moves single constructor parameters to new lines.
Based on:
https://github.com/nextcloud/server/pull/38764#discussion_r1227630895
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
1 year ago
Faraz Samapoor
d83944fd10
Uses PHP8's constructor property promotion.
in core/Command/Log, /Security, and /SystemTag classes.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
1 year ago
Carl Schwan
b70c6a128f
Update core to PHP 7.4 standard
- Typed properties
- Port to LoggerInterface
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
Christoph Wurst
770881d5d6
Move DateTime::ATOM to DateTimeInterface::ATOM
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years ago
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 years ago
Christoph Wurst
d89a75be0b
Update all license headers for Nextcloud 21
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years ago
Vincent Petry
e80bb9c09f
Clarify import cert command
Add hint that the certificate to be imported must be in PEM format (CRT
does not parse).
Improved error message to mention that the given path must be accessible
by the web server user.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years ago
Christoph Wurst
2a054e6c04
Update the license headers for Nextcloud 20
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years ago
Joas Schilling
ab21d69903
Add return value to all commands
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Johannes Riedel
0c38569c83
Implement occ command security:bruteforceattemps:reset-for-ip
Signed-off-by: Johannes Riedel <joeried@users.noreply.github.com>
4 years ago
Christoph Wurst
5bf3d1bb38
Update license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years ago
Morris Jobke
d3d045dd5c
Remove unused import statements
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 years ago
Joas Schilling
0215b004da
Update with robin
8 years ago
Joas Schilling
ba87db3fcc
Fix others
8 years ago
Lukas Reschke
aba539703c
Update license headers
8 years ago
Lukas Reschke
a4b19a5b1e
Rename files to be PSR-4 compliant
8 years ago