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

Implement IRCv3 chathistory #3398

Open
primozc opened this issue Sep 11, 2019 · 8 comments

Comments

@primozc
Copy link

commented Sep 11, 2019

Feature Description

It would be great if you could log channels in public mode. Currently is working great in private mode.

@pdurbin

This comment has been minimized.

Copy link

commented Sep 11, 2019

I love this idea! Would the public logs be visible before you sign in? Below is an example of public logging (anonymous read access) from Gitter. Note how at the bottom there's a button that says, "Sign in to start talking."

Screen Shot 2019-09-11 at 5 45 08 AM

@xPaw

This comment has been minimized.

Copy link
Member

commented Sep 11, 2019

This would require a separate user to always be in a channel for it to be logged fully. How would you tackle that when public users can join any channel on the server.

The solution here is chathistory in ircv3 which means IRC server can send the client their history.

@pdurbin

This comment has been minimized.

Copy link

commented Sep 11, 2019

What if I have my own IRC logging bot and do a one time population of the public logs in The Lounge based on this TSV file? http://dvn-vm1.hmdc.harvard.edu/data/mysql/irclog/irclog.tsv

And then going forward maybe I could teach my logging bot to write to the logging format for The Lounge? (And continue to write to a database like it does now.) This is the bot I use: https://github.com/pdurbin/philbot

@primozc

This comment has been minimized.

Copy link
Author

commented Sep 11, 2019

This would require a separate user to always be in a channel for it to be logged fully. How would you tackle that when public users can join any channel on the server.

The solution here is chathistory in ircv3 which means IRC server can send the client their history.

Then we can wait for IRCv3 to be implemented. Temporary solution could be simple bot which connects and track specific / pinned channels?

@xPaw

This comment has been minimized.

Copy link
Member

commented Sep 15, 2019

Discussing logging bots quickly gets out of scope for TL.

chathistory is what we would want to support ideally in core. I've renamed the issue to reflect this.

Stuff like logging bots and idling in specific channels would be something a plugin could eventually be able to do.

@xPaw xPaw changed the title Log channels in public mode Implement IRCv3 chathistory Sep 15, 2019

@xPaw xPaw added this to Todo in IRCv3 Sep 15, 2019

@pdurbin

This comment has been minimized.

Copy link

commented Sep 15, 2019

@xPaw do you (or anyone reading this) know if freenode or any other popular IRC networks have at least experimental support for IRCv3 chathistory? I'm aware that ircv3/ircv3-specifications#393 hasn't been merged yet, which seems to be the latest version of the (work in progress) spec.

@McInkay

This comment has been minimized.

Copy link
Member

commented Sep 17, 2019

I do not know of any popular networks having it.

If you look at the issue, it has the label "Implementation needed", which means that no one has properly implemented it. That, combined with the fact that there is no one commenting that they have implemented it, implies it isn't actually implemented anywhere yet.

If I have time at some point, I'm tempted to implement it in McIrc but life is so busy.

@primozc

This comment has been minimized.

Copy link
Author

commented Sep 17, 2019

@pdurbin @McInkay seems like UnrealIRCD is working on it: https://forums.unrealircd.org/viewtopic.php?f=1&t=8918

@xPaw I agree with your proposal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
4 participants
You can’t perform that action at this time.