Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

New improved ghosting algorithm, plus various other changes #11

Merged
merged 5 commits into from
May 26, 2015
Merged

New improved ghosting algorithm, plus various other changes #11

merged 5 commits into from
May 26, 2015

Conversation

Renegade334
Copy link
Contributor

  • Ghosting: if configured to do so, and if the primary nick is already in use on connection, the plugin will send a NickServ ghost command and then reclaim the nick
  • Added the ability to specify custom regexes
  • Added the ability to specify custom NickServ nick
  • nickserv.identified event passes connection and event queue parameters to event callback (ref: Modify handleNick() to fire a custom event #6)
  • Removed the quit listener from Phergie2, which was broken anyway and not functionally compatible with the ghost feature; a fixed version of this functionality should be rewritten into a new NickRegain plugin

TODO:

  • Calling Connection::setNick() when a nick change is received corresponding to the bot is something that should ideally be processed by the client, not this plugin

@elazar
Copy link
Member

elazar commented May 15, 2015

Any particular reason for requiring phergie/phergie-irc-parser:~1.6?

Re: the TODO, I agree that this makes sense. Please file an issue and/or PR against the client repo.

@Renegade334
Copy link
Contributor Author

Selection of numeric parameter by index... there's no way of resolving that specific dependency through phergie-irc-bot-react.

@elazar
Copy link
Member

elazar commented May 15, 2015

The only reason that's working is this minimum-stability:dev line, which should really be taken out at this point. Here's what I propose:

  1. You confirm that Numeric parsing: ensure params array is correctly indexed with no missing keys phergie-irc-parser#25 is ready for merging.
  2. I merge it and tag a new parser release.
  3. You modify this PR that it:
    1. removes minimum-stability:dev
    2. requires the newly tagged parser version
    3. requiresphpunit/phpunit:~4.6 and phake/phake:~2 (we're currently using phake/phake:2.0.0-beta2, which I think may have been part of the reason minimum-stability:dev was there to begin with: we needed a particular bug fix from that version).
  4. I'll merge this PR.

Thoughts?

@Renegade334
Copy link
Contributor Author

I agree with removing minimum-stability:dev, and will make those recommended changes, but the change the dependency exists for is actually phergie/phergie-irc-parser#16 (which is part of tag 1.6), not phergie/phergie-irc-parser#25.

@sitedyno
Copy link
Contributor

@Renegade334
Copy link
Contributor Author

Good catch.

elazar added a commit that referenced this pull request May 26, 2015
New improved ghosting algorithm, plus various other changes
@elazar elazar merged commit a9c08e2 into phergie:master May 26, 2015
@Renegade334 Renegade334 deleted the devel branch May 27, 2015 13:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants