summaryrefslogtreecommitdiffstats
path: root/apps/admin_audit/lib/AppInfo
Commit message (Collapse)AuthorAgeFilesLines
* Fix the logger that is imported for critical actionsCarl Schwan2022-03-101-31/+20
| | | | | | | | This use a new interface AuditLogger that makes it easier to seperate the roles of the various loggers and enforce that we don't use the wrong one by mistake. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Allow write audit log to syslog and systemdlogJoas Schilling2022-01-201-7/+11
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-2/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Move to another namespace and class nameJoas Schilling2021-04-091-3/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow apps to log actions into the audit_logJoas Schilling2021-04-091-0/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add return type to functionsRoeland Jago Douma2021-03-081-11/+11
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move admin_audit to LoggerInterfaceRoeland Jago Douma2021-03-051-17/+17
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Help static code analysis to understand code.Daniel Kesselberg2020-09-161-2/+4
| | | | | | It adds proper type hints to private namespace to allow private namespace methods. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Use the proper IAppContainer and IServerContainer type hints to know which ↵Morris Jobke2020-07-211-22/+16
| | | | | | code runs with which container Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Adjust apps' code to use the ContainerInterfaceChristoph Wurst2020-07-211-20/+21
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use \OCP\IContainer::injectFn to boot the admin_audit appChristoph Wurst2020-07-031-4/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Migrate Admin Audit app to new bootstrap mechanismChristoph Wurst2020-06-171-67/+91
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headers for 19Christoph Wurst2020-04-291-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-4/+1
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-091-8/+8
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-0/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Audit log unsharing from selfTiago Flores2020-02-031-0/+1
| | | | Signed-off-by: Tiago Flores <tiago.flores@yahoo.com.br>
* Update Application.phpGrayFix2020-01-221-1/+1
| | | | | | Fix corruption for logging internal path with multibyte characters in file preview event Signed-off-by: GrayFix <grayfix@gmail.com>
* Update license headersChristoph Wurst2019-12-051-1/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-221-1/+1
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* log to $datadir/audit.log by default and add rotationArthur Schiwon2018-04-261-1/+3
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* offer API to create own File log. admin_audit makes use of itArthur Schiwon2018-04-261-41/+55
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* more consistent namingArthur Schiwon2018-04-051-2/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* admin_audit and dav listen to announce and revoke signalsArthur Schiwon2018-04-051-0/+2
| | | | | | also place them in doc Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Make admin_audit strictRoeland Jago Douma2018-03-101-0/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Use ::class statement instead of stringMorris Jobke2018-01-291-6/+7
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Make admin_audit listen to 2fa eventsRoeland Jago Douma2018-01-251-0/+16
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update license headersMorris Jobke2017-11-061-0/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Log console commandsJoas Schilling2017-07-011-0/+11
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Listen to app enable/disable eventsJoas Schilling2017-07-011-1/+26
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Move logic to Application classJoas Schilling2017-07-011-0/+151
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Move to PSR-4Joas Schilling2017-07-011-0/+31
Signed-off-by: Joas Schilling <coding@schilljs.com>