aboutsummaryrefslogtreecommitdiffstats
path: root/apps/admin_audit/lib
Commit message (Collapse)AuthorAgeFilesLines
* fix(admin_audit): Fix incorrect truncation of files path in admin audit logfix/fix-admin-audit-pathsCôme Chilliet2025-02-242-9/+9
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Work around false-positive psalm taint error calling print_r in admin_auditCôme Chilliet2025-02-171-5/+2
| | | | | | | Same issue as var_export, print_r is listed as sink but it’s not when using return:true. Anyway, using the logger context feature is better. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat(admin_audit): write admin audit log for AnyLoginFailedEventadmin-audit-listen-failed-loginLuka Trovic2025-02-062-1/+19
| | | | Signed-off-by: Luka Trovic <luka@nextcloud.com>
* chore(apps): Apply new rector configuration to autouse classesCôme Chilliet2024-10-153-9/+12
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(admin_audit): Listen to the right eventsfix/fix-admin-audit-event-listeningCôme Chilliet2024-10-032-55/+9
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: Apply rector configuration to apps folderCôme Chilliet2024-09-201-9/+9
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-193-11/+11
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(admin_audit): Remove now unused methods and classesCôme Chilliet2024-09-104-354/+23
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore(admin_audit): Fix License headers on new filesCôme Chilliet2024-09-108-133/+23
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat(admin_audit): Move admin_audit hooks to modern event listenersThomas Citharel2024-09-1016-450/+964
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-251-9/+9
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix(adminaudit): Don't crash when creating folderJoas Schilling2024-08-151-2/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* 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>