Giter Club home page Giter Club logo

philip's People

Contributors

druid628 avatar epochblue avatar fentie avatar frenck avatar hexa2k9 avatar jubianchi avatar kodemaan avatar ramsey avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

philip's Issues

-

Edit: sorry, my mistake

onJoin() not working as expected

I was able to get onChannel() working perfectly, but for some reason onJoin() doesn't work. The callback function isn't being called when there's a JOIN event on the channel my bot is on. Could it be a problem with the listener?

Here's my code:

$bot->onJoin(function($event) {
    echo "hello";
});

Thanks

Better security model for admin users

Currently Philip authenticates an admin user simply by username on IRC.

While this works on some IRC servers (with very strict user registration), on most IRC servers this is a potential security threat. For example: IRCNet does not have any nickname registration what so ever. So anyone taking your nick, becomes an Philip admin ๐Ÿ˜ง

Maybe add an build in feature to authenticate with Philip using a username / password? Or using the 'nickname!username@hostname' syntax?

Use DI Container

Using a DI container inside the Philip engine could be a good way to share resources between plugins (such as configuration or persistent storage). I'm considering composing Pimple and passing all getters through Pimple.

Switch event code to use ReactPHP

The event loop in Philip is a bit naive; would be nice to try to switch it to something like ReactPHP and let Philip focus on the IRC bits, rather than the event bits.

How to show right menu slide.

Default on running the application it shows the menu slide button ON tap on Menu button it moves left to right menu slide and shows Table view with Front view controller, Map View Controller, Enter Presentation Mode, Resign Presentation Mode.

Same stuff I want in opposite side, which is from right to left side menu.

Private class members prevent customization

Most of the non-public members in the library's classes are private, which makes it difficult to extend for customization. These members can safely be converted to protected, without altering behavior.

onPing() not found

In the readme, onPing() is listed as an example server event, but onPing() is not in the code.

Does the onJoin method work?

Hi, can anyone please shed some light and provide an example for the onJoin command?

$bot = new Philip($config);

$bot->onJoin(function($e){
    var_dump($e);
});

$bot->run();

I tried to see what would get dumped on the screen when I join the channel but I got nothing. Thank you!

BTW What I wanted to do is welcome specific users when they join the channel.

Class 'Philip' not found

Hi, I followed your README and I'm getting this error: "PHP Fatal error: Class 'Philip' not found in /home/steve/Documents/fillep/bot.php on line 22"

Your requirements could not be resolved to an installable set of packages.

 Problem 1
    - Conclusion: don't install epochblue/philip v1.0.0
    - Can only install one of: monolog/monolog[1.7.0, 1.23.0].
    - Can only install one of: monolog/monolog[1.7.0, 1.23.0].
    - Can only install one of: monolog/monolog[1.7.0, 1.23.0].
    - epochblue/philip v1.0.1 requires monolog/monolog 1.7.* -> satisfiable by monolog/monolog[1.7.0].
    - Installation request for epochblue/philip ^1.0 -> satisfiable by epochblue/philip[v1.0.0, v1.0.1].
    - Installation request for monolog/monolog (locked at 1.23.0) -> satisfiable by monolog/monolog[1.23.0].

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.