Coder Social home page Coder Social logo

pinychat's People

Contributors

goelbiju avatar swiftswathsee avatar techwhizz199 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

spyc0

pinychat's Issues

Notify you if a user you were PMing has left, to avoid the chance of impersonation

PMed users are currently only tracked by nick, rather than of by some sort of session-unique ID. So if you're PMing a nick and that nick leaves, and then someone else joins with that same nick, you could accidentally assume that this new person under the same nick is the original person. This assumption can be mitigated by just letting you know that the nick you were PMing has left, just like the Flash client already does.

Unable to get other users' account names

Has been like this since the Tinychat gifts update a few months ago, which is when they completely change how account names are served.

This means anything that uses *.users.accountName is None. Among others, breaks /list and /userinfo.

Need a better way to detect current video

Doing /playyoutube @ normally opens the current video in a browser. The problem is that the current video is only identified if the module sees someone play it (i.e. the server message /mbs [videoID]). So if you join a room and a video is already playing, the module thinks that no video is playing, because the server doesn't send that /mbs upon connecting.

Meaning, there needs to be a way to detect the currently-playing video at connection time.

Config file

For stuff like room/nick/account names and time format.

More obvious indicator that you're already banned

Currently there are only non-obvious indicators that you're already banned from a room. The indicators are either of these: your nick never changes from guest, you never see the topic, if notifications are off there's only one empty line instead of two after the "Connected to", (edit:) or if the module crashes after your first message.

There needs to be a more obvious indicator.

Indication for incorrect login details

When the username and password are wrong, there is no obvious indication. It just connects, then crashes after you try to send more than one message. A similar (or possibly the same) thing happens when you connect to a room you've been banned from (see #36).

Can't connect any more

Haven't been able to connect for the past few weeks. Or to be specific, Tinychat's servers don't seem to be sending and receiving messages to and from the module.

Simple user list

/list needs a mode that only prints nicks, rather than all that other stuff.

To fix guest issue

It seems that once a guest has joined, someone who is not using an account, if they set their nick as something other than that they joined in with, the messaging functions seem to work again. This might be a fix to the issue, however I am not completely sure about it.

Can't get/set account names

Tinychat's virtual gifts update a few months ago changed how account names are served. All account get/set requests are now blank (userinfo does nothing and signed-in sessions show up as signed-out in the Flash client).

This means anything that uses *.users.accountName is None. Among others, breaks /list and /userinfo.

/userinfo

/userinfo in console with false username causes the bot to break.

Move most of the README to the wiki

The readme is starting to get long enough that it needs things like a table of contents, separate pages, etc. The wiki provides all of this.

Word mentions

Get notified whenever certain phrases are mentioned. Like your nick.

Pretty much just like IRC.

Offical Developer Communications Channel

During my few minutes of spare time over the next few days, I will be creating an offical channel for direct and instant communications between developers and community members.

I was thinking about launching a channel on Freenodes' IRC server and providing a web client on Pinychat's .io domain for thouse without an IRC client installed on their machine, or possibly setting up an offical Ti ychat room and embedding it on the .io domain.

Ideas are more than welcome and well receive proper consideration, however if there is no recommendations in the next few days, I'll move forward with one of the plans stated above.

-Regards,
---Nola

Need to speak with you.

I attempted to speak with you in manhattanproject but james doesn't like being told his code sucks and needs cleaned up. let me know when i can speak with you.

Same function defined twice

In tinychat.py the same function _getUser is defined twice.
First on line 254 and then again on line 396. Is there a reason for this?

Can't PM nicks that contain capital letters

I think after the latest Tinychat client update 2 days ago, PMs might not be working 100% of the time. This is the TC update that added capital letters to nicks. Seems to happen randomly, haven't really tested it yet to fully reproduce this issue.

Getting Back on Track

@swiftSwathSee, over the next few days lets focus on creating and maintaining seperate and individual identities of Pinychat and any code that uses it. Pinychat's main goal is to provide a set of Python functions/methods to enable the creation of other tools. Example - A room helper bot, TriviaBot, user locator, etc. And it seems to be slowly wandering off course of that goal.
Pinychat's mission was never intended to be a full fledged terminal client for Timychat. However I am willing to support that effort in any way possible. I would love to have a well documented unoffical Tinychat Python API to provide to the community.

I will be assisting you in this endeavor as soon as possible, probably starting Feb24. I encourage any other developers using Pinychat to please help out by submitting pull requests relating to this topic.

-Regards,
---Nola

Private message replies appear twice

PM replies are printed as both PMs and public messages. An quick fix is to just remove the message portions from the PM-printing _chatlog line (starts with self._chatlog(ppP+" PM "+Ppp + " "...), but that means each PM will be preceded by a nearly empty line, which is a bit wasteful. A nicer-looking solution would be to suppress the public-printing _chatlog for PMs (currently 3 lines below the PM one). I haven't looked into this yet but figured I'd make this issue for whoever does.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.