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

Sessions log #69

Open
paolojpa opened this issue May 28, 2023 · 7 comments
Open

Sessions log #69

paolojpa opened this issue May 28, 2023 · 7 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@paolojpa
Copy link

I want to suggest as an addition a sessions log, where you can see directly in the dashboard who logged in/logged out.

@khakers khakers added the enhancement New feature or request label May 28, 2023
@khakers khakers added this to the v1.0 milestone Jun 6, 2023
@khakers
Copy link
Owner

khakers commented Jun 13, 2023

a very WIP view of what audit logging may look like
127 0 0 1_audit_6487ac44bb1ece08fcec5518

@paolojpa
Copy link
Author

Nice implemented, I think the event id and the source field could be omitted?

@khakers
Copy link
Owner

khakers commented Jun 13, 2023

Nice implemented, I think the event id and the source field could be omitted?

Event ID has to be present for database reference reasons and it's how you view an individual entry through the web interface (https://127.0.0.1/audit/6485472b688d4919a3e558dc) so there's no real reason to omit it on the ui when it doesn't take up much space.

Source probably could be omitted, but I originally wanted a way to specify where an event originated i.e. modmail-viewer or the bot itself. very much not decided if it'll end up staying.

@khakers
Copy link
Owner

khakers commented Jul 5, 2023

Now have a basic modmail implementation for pushing events
mongodb database entry (from modmail)
It's not going to be plug and play, but I'll have more information on that later once it's closer to being complete.

@khakers khakers self-assigned this Jul 6, 2023
@khakers
Copy link
Owner

khakers commented Jul 6, 2023

PR for tracking of modmail integration: raidensakura/modmail#10

@khakers
Copy link
Owner

khakers commented Jul 15, 2023

much closer to complete view of the audit log page (ignore unlocalized strings)
127 0 0 1_admin (2)

@khakers
Copy link
Owner

khakers commented Jul 18, 2023

Should be merged into develop soon™️

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

When branches are created from issues, their pull requests are automatically linked.

2 participants