aboutsummaryrefslogtreecommitdiffstats
path: root/apps/admin_audit/lib
Commit message (Collapse)AuthorAgeFilesLines
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-162-0/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Handle deck share type in audit and dav appJulius Härtl2020-12-091-0/+25
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Format code to a single space around binary operatorsChristoph Wurst2020-10-051-1/+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>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-241-1/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* 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>
* Update share type constant usageJoas Schilling2020-06-241-17/+17
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* 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-296-0/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-107-32/+25
| | | | | | | | | | | | | | | 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>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-097-6/+1
| | | | | | For PSR2 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 headers for 18Christoph Wurst2019-12-201-1/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-0513-13/+51
| | | | 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>
* Fix enable/disable user audit messageJohn Molakvoæ (skjnldsv)2019-08-071-1/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* log circles and remote shares in admin_auditSascha Wiswedel2019-08-011-2/+77
| | | | Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
* log email shares in admin_audit logSascha Wiswedel2019-07-261-0/+25
| | | | Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
* Check if array element is present before accessDaniel Kesselberg2019-02-221-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Use numeric placeholders if there are multiple, so that RTL languages can ↵Joas Schilling2018-10-091-1/+1
| | | | | | operate better Signed-off-by: Joas Schilling <coding@schilljs.com>
* don't blame email address changersArthur Schiwon2018-08-141-8/+19
| | | | | | the information is being collected with admin_audit Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Log sharing and unsharing with a room in the auditing appDaniel Calviño Sánchez2018-08-081-0/+25
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* log to $datadir/audit.log by default and add rotationArthur Schiwon2018-04-262-1/+55
| | | | 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-052-5/+5
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* admin_audit and dav listen to announce and revoke signalsArthur Schiwon2018-04-052-0/+28
| | | | | | also place them in doc Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Make admin_audit strictRoeland Jago Douma2018-03-1011-10/+21
| | | | 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>
* Add testsRoeland Jago Douma2018-01-251-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make admin_audit listen to 2fa eventsRoeland Jago Douma2018-01-252-0/+91
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update license headersMorris Jobke2017-11-069-0/+11
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Log console commandsJoas Schilling2017-07-012-0/+56
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Listen to app enable/disable eventsJoas Schilling2017-07-012-1/+84
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Move logic to Application classJoas Schilling2017-07-012-209/+151
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Move to PSR-4Joas Schilling2017-07-0110-25/+61
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Don't try to generate logs for chunking pathsJoas Schilling2017-05-311-0/+8
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Audit log for enabling/disabling a userJoas Schilling2017-04-252-0/+18
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* 4190Roger Szabo2017-04-252-0/+35
| | | | Signed-off-by: Roger Szabo <roger.szabo@web.de>
* Log access to preview imagesLukas Reschke2017-03-202-11/+47
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Don't log the user password in case something goes wrongJoas Schilling2016-11-242-9/+21
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix sniffes in admin_auditJoas Schilling2016-09-121-3/+0
|
* Fix apps/Joas Schilling2016-07-219-0/+20
|
* don't try to log the currently logged in user, this fails on cronjobs. The ↵Bjoern Schiessle2016-06-202-31/+5
| | | | users are logged anyway
* log events from versions appBjoern Schiessle2016-06-102-0/+53
|
* listen to trash bin and group manager hooksBjoern Schiessle2016-06-108-0/+854
|