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

Parse discovered room directories to discover new rooms #63

Open
turt2live opened this issue Apr 3, 2017 · 4 comments
Open

Parse discovered room directories to discover new rooms #63

turt2live opened this issue Apr 3, 2017 · 4 comments

Comments

@turt2live
Copy link
Owner

This requires a lot of backend work and possibly some rate limit handling magic.

Could represent using something like this: https://bl.ocks.org/micahstubbs/f32a742947f259d12eb999d418a767fb

@turt2live turt2live changed the title Parse discovered room directories at regular intervals to (un)discover unlinked rooms Parse discovered room directories to discover new rooms Apr 17, 2017
@turt2live
Copy link
Owner Author

This should only parse directories it knows about based on members in the rooms it finds. When it finds a room is no longer linked to the directory, it should remove it from the graph. This should be done as a scheduled task to reduce watcher-style scanning of directories.

@turt2live
Copy link
Owner Author

This needs more thought and discussion. Recent events in some of the Riot/Matrix channels have led to some community concern about bots that parse directories, joining the rooms.

Here's some relevant discussion points:

I'm interested to hear feedback from people in the community: How should voyager deal with directories, if at all? Some options might be:

  1. Join the rooms (seems to be discouraged by the community so far)
  2. List the rooms on the graph, but don't join (add/remove nodes as they appear/disappear from directories)
  3. Close this ticket without implementing the feature.
  4. Some other way?

@turt2live
Copy link
Owner Author

A brief chat with a couple users in #offtopic yielded the following:

Voyager joining rooms from /publicRooms is okay, if:

  • It does not leave without being asked to (or kicked, etc. It should stick around)
  • The information it collects is actually used (ie: displayed in the graph)
  • Is not invasive (doesn't join and start spamming rooms or causing significant load on the server)
  • Has a way for Voyager to be removed from all rooms on a server's directory easily (effectively a server ban)

I feel this is a reasonable expectation of the bot, and am still curious to see what other people think. Is the above okay?

@turt2live
Copy link
Owner Author

Some related discussion in another related project brought up an interesting point that maybe the bot should reach out to the administrators of the server first. This would be hard to identify, given there's no spec, but maybe if an endpoint were added then Voyager could use that.

More thought is required on this issue.

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

1 participant