Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new audit log types #3854

Closed
wants to merge 5 commits into from
Closed

Add new audit log types #3854

wants to merge 5 commits into from

Conversation

Jelcoo
Copy link
Contributor

@Jelcoo Jelcoo commented Jan 6, 2022

I added new logging types to cover almost all server actions.
I changed the way the old logging worked by migrating the backup uuid to backup name so the user UI can be constructed with more ease, without having to execute hundreds or possibly thousands of databases query's. With this comes a nice, completely functional, database migration file.

@DaneEveritt DaneEveritt self-assigned this Jan 7, 2022
@Jelcoo Jelcoo changed the title add new audit log types Add new audit log types Jan 12, 2022
@Jelcoo Jelcoo mentioned this pull request Feb 6, 2022
app/Models/AuditLog.php Outdated Show resolved Hide resolved
Copy link

@itsgatto itsgatto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm leaving some comments about the issues I mentioned on Discord the other day. :)

app/Models/AuditLog.php Outdated Show resolved Hide resolved
app/Models/Backup.php Outdated Show resolved Hide resolved
@Jelcoo Jelcoo changed the base branch from develop to v2 February 13, 2022 18:05
@DAThosting
Copy link

Maybe adding also user actions like login/logout or last login.

@DaneEveritt
Copy link
Member

Thank you for taking the time to do this, but I'm still on the fence about my audit logging implementation, and it needs more testing from me before I'd feel good about moving forwards with it.

As a result, and also per the contribution changes I am going to close out this PR.

https://github.com/pterodactyl/panel/blob/develop/CONTRIBUTING.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants