Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Commits on May 12, 2014
  1. @nlogax

    Merge pull request #69 from aaronj1335/enable-ssl-support

    nlogax authored
    enable ssl connections through IRC-js api
  2. @nlogax

    Merge pull request #68 from aaronj1335/net-error-event-listener

    nlogax authored
    correctly listen for network error events
  3. @aaronj1335

    enable ssl connections through IRC-js api

    aaronj1335 authored
    this allows the user to include an `ssl` hash (or bool) in the server
    connection params:
    var irc = require('irc-js');
    var bot = irc.connect({
      server: {
        address: '',
        port: 6697,
        ssl: true // could also be: {rejectUnauthorized: false}
      nick: 'aaronj1335'
    }, function(bot) {
      // ...
    the value defaults to false, and if it's truthy, it gets passed strait
    through to [`tls.connect`][tls-connect].
    a couple thoughts:
    - i didn't include a unit test only because i don't know what exactly to
    test, though i'm happy to implement something
    - this messes with the server caching. cases where the user wants two
    connections, one ssl and one not ssl to the same server/port will be
    handled incorrectly. i think these are rare enough that it's safe to
    ignore for now though.
  4. @aaronj1335
  5. @aaronj1335
  6. @aaronj1335

    fixup tests

    aaronj1335 authored
    the callback to `Channel#join` doesn't receive the new channel object as
    the first argument. this was causing tests to fail. i tweaked the tests
    to just use the return value of `join` instead of the parameter in the
    interest of just getting the tests to pass.
    ideally i would fix the argument, but that was a bit more involved, and
    i just want to debug the network error problem.
Commits on Feb 4, 2014
  1. Delete unused Rakefile

Commits on Feb 1, 2014
  1. Bump version

    Jonas Westerlund authored
  2. Make js2-mode happy

    Jonas Westerlund authored
    See #64
  3. Add `mergeObject` function and use that instead of node's `extend`

    Jonas Westerlund authored
    This fixes #66, where providing a configuration object like
    `{ user: { password: "taco" }}` would overwrite the `user` property entirely.
    This resulted in IRC-js sending messages with `undefined` parameters,
    causing a `TypeError` when attempting to serialize these message parameters.
Commits on Jan 28, 2014
  1. @nlogax

    Merge pull request #64 from luser/nit-fixes

    nlogax authored
    Fix some nits.
  2. @luser

    Fix some nits.

    luser authored
    This is mostly missing semicolons, with a few trailing whitespace removals as well as a couple of fixes to make functions return values consistently. All in the name of making js2-mode happier.
Commits on Jan 7, 2014
  1. Version bump

    Jonas Westerlund authored
Commits on Dec 6, 2013
  1. @nlogax

    Add missing callback argument

    nlogax authored
Commits on Apr 24, 2013
  1. Version bump

    Jonas Westerlund authored
Commits on Mar 18, 2013
  1. @nlogax

    Merge pull request #62 from curious-attempt-bunny/master

    nlogax authored
    Made config-example.json legal JSON
Commits on Mar 15, 2013
  1. Made config-example.json legal JSON

    Merlyn Albery-Speyer authored
  2. Version bump to 2.0.0-beta.2

Commits on Feb 13, 2013
  1. Skip \r and \n in params

    Jonas Westerlund authored
Commits on Jan 21, 2013
  1. Update README

Commits on Jan 19, 2013
  1. Add missing `*/` in README

    Jonas Westerlund authored
  2. Switch argument order to be consistent with other libs

    Jonas Westerlund authored
  3. Remove JSON config in favour of plain object

    Jonas Westerlund authored
  4. Update README

    Jonas Westerlund authored
Commits on Sep 11, 2012
  1. Update README with 2.0 beta information

    Jonas Westerlund authored
    Fix custom error so stack traces work.
    Fix an incomplete test.
  2. Version bump: 2.0.0-beta.1

    Jonas Westerlund authored
  3. Use lower case object IDs

    Jonas Westerlund authored
    This should make most channels and more nicks in the various `Map's accessible
    using e.g. `bot.channels.get("#foo")'. Thus, case weirdness can be ignored
    when such names are used, and use of `id()' can be avoided.
Commits on Aug 20, 2012
  1. Remove signals module

    Jonas Westerlund authored
    There was no big advantage to have composable events here,
    since they never have any dependencies on each other anyway.
Commits on Aug 17, 2012
  1. Make API simpler and smaller

    Jonas Westerlund authored
  2. Simplify Client methods

    Jonas Westerlund authored
Commits on Aug 15, 2012
  1. Create a buffer per Client instance

    Jonas Westerlund authored
    In case you would want multiple cients in the same app.
    Fix bug with multiple messages in the same packet.
Commits on Aug 14, 2012
  1. Simplify and improve buffery stuff

    Jonas Westerlund authored
    Move responsibility to irc module, away from message.
    Put extra bytes in beginning, and fix offset bugs.
Commits on Aug 12, 2012
  1. Add hand-rolled parser

    Jonas Westerlund authored
    Use `Buffer' instead of strings for parsing
    Remove PEG.js
    Remove `objects' module
    Fix some type errors uncovered when using `Buffer'
Commits on Aug 1, 2012
  1. Allow | in user part of message

    Jonas Westerlund authored
Something went wrong with that request. Please try again.