aboutsummaryrefslogtreecommitdiffstats
path: root/apps/admin_audit/lib
Commit message (Collapse)AuthorAgeFilesLines
* fix(admin_audit): Do not log errors for new filesJulius Härtl2024-08-071-2/+4
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* feat(admin_audit): Audit the tag creationgreta2024-08-012-0/+36
| | | | | | Co-authored-by: greta <gretadoci@gmail.com> Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: greta <gretadoci@gmail.com>
* fix: renameParams named as renamedNodes and code changed accordingly as ↵yemkareems2024-06-201-8/+4
| | | | | | suggested in review comments Signed-off-by: yemkareems <yemkareems@gmail.com>
* fix: rename params old path passed from before rename to after rename to ↵yemkareems2024-06-202-13/+12
| | | | | | have one log for rename event Signed-off-by: yemkareems <yemkareems@gmail.com>
* fix: rename logged as beforeRename and afterRename, and in both place ↵yemkareems2024-06-202-6/+40
| | | | | | getInternalPath is used in place of getPath to make it consistent across the logs Signed-off-by: yemkareems <yemkareems@gmail.com>
* chore: Add SPDX headerAndy Scherzinger2024-05-2616-360/+34
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* feat: include file id in audit logsyemkareems2024-04-302-101/+194
| | | | Signed-off-by: yemkareems <yemkareems@gmail.com>
* fix: Apply new coding standard to all filesCôme Chilliet2024-04-021-9/+9
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Make adjustments based on the psalm reviewHamid Dehnavi2024-02-231-2/+2
| | | | | | Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com> Co-authored-by: John Molakvoæ <skjnldsv@protonmail.com> Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
* Refactor admin_audit appHamid Dehnavi2024-02-233-14/+12
| | | | Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
* chore: Fix missing template parameter for IEventListenerCôme Chilliet2024-01-301-0/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-234-13/+14
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* fix: Cleanup unused imports and some type deprecationsJoas Schilling2023-07-061-9/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #38176 from danialRahimy/masterArthur Schiwon2023-07-052-12/+7
|\ | | | | Admin audit app: optimization according to PHP 8
| * Admin audit app: optimization according to PHP 8Danial Rahimi2023-07-052-12/+7
| | | | | | | | Signed-off-by: Danial Rahimi <daniel_rahimi@outlook.com>
* | feat(admin_audit): Migrate to non-deprecated IEventDispatcherJoas Schilling2023-07-042-33/+38
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(l10n):Aligned spelling of ScienceMeshrakekniven2023-04-181-2/+2
|
* Add SHARE_TYPE_SCIENCEMESHMichiel de Jong2023-03-081-0/+25
| | | | Signed-off-by: Michiel de Jong <michiel@unhosted.org>
* Use TimedJob from OCP instead of OCCôme Chilliet2022-12-051-3/+7
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix the logger that is imported for critical actionsCarl Schwan2022-03-104-34/+143
| | | | | | | | 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>
* Admin Audit - Sharing: createShare - report the full pathszaimen2021-07-221-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>