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

Channel logger plugin #71

Open
6 tasks
johnmaguire opened this issue Sep 9, 2015 · 3 comments
Open
6 tasks

Channel logger plugin #71

johnmaguire opened this issue Sep 9, 2015 · 3 comments

Comments

@johnmaguire
Copy link
Owner

This relies on completion of #58 (web UI) first, in order to display the logs.

Ideally, I'd like the following features:

  • Log all messages sent to a channel
  • Log all joins/parts/quits
  • Log all nick changes
  • Timestamps on every action
  • Ability to permalink to any logged message
  • A nick list that shows who was online during the portion of the convo you are viewing

Logging should be quite easy using Cardinal's events. The web UI is the only tricky part currently.

@s-ol
Copy link
Contributor

s-ol commented Nov 10, 2015

wouldn't a regular txt log make sense too? I know a lot of pages that use them and it wouldn't require the web UI.
Parsing the nick list is actually not too easy (unless you just show the active conversation members).

I would add options to disable join/parts in the logs in the config.json.

@johnmaguire
Copy link
Owner Author

@S0lll0s Parsing the nick list should actually be easy. A simple NAMES lookup will fetch the list, and from their you just listen for KICK/JOIN/PART/QUIT messages, all of which are emitted by the Event Manager. :)

I'm not opposed to creating a txt file as a first pass, but I'd definitely like this to be publicly viewable and hosted on a web UI at some point if the user so chooses.

@johnmaguire johnmaguire mentioned this issue Nov 17, 2015
2 tasks
@s-ol
Copy link
Contributor

s-ol commented Nov 17, 2015

I didn't mean the looking up names during logging, I meant extracting "current users online" information from a regular (text) log. As you want to store the info in a custom format / db, that issue is probably resolved by simply storing "user sessions" with a join-time/part-time schema and filtering that according to the current time (in a text look you would have to scan the whole text log to determine the users online at any time).

@johnmaguire johnmaguire changed the title Create a channel logger plugin Channel logger plugin Jan 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants