summaryrefslogtreecommitdiffstats
path: root/apps/admin_audit/lib
Commit message (Collapse)AuthorAgeFilesLines
* Admin Audit - Sharing: createShare - report the full pathszaimen2021-07-261-9/+9
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-0414-30/+25
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix grammarLukas Reschke2021-06-011-1/+1
| | | | | | changed removed -> removed Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Properly log expiration date removal in audit logRoeland Jago Douma2021-05-191-9/+20
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move to another namespace and class nameJoas Schilling2021-04-092-6/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow apps to log actions into the audit_logJoas Schilling2021-04-092-0/+47
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add return type to functionsRoeland Jago Douma2021-03-0813-50/+53
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move background job to DIRoeland Jago Douma2021-03-051-5/+10
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move admin_audit to LoggerInterfaceRoeland Jago Douma2021-03-052-23/+20
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* 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>