Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Aug 27, 2011
Commits on Apr 28, 2011
  1. @rakaur

    Syntax error. Whoopsies.

    rakaur authored
  2. @rakaur

    Fix things broken by new config, try to do support for 1.8. Cleanups.

    rakaur authored
    Make an attempt at supporting 1.8. Unfortunately, `IO::WaitReadable` is
    still holding us up on that. Spread the DSL config changes throughout
    the rest of the app and a connecting client now works as far as it did
    before I started messing with things.
    
    Need to work on real tests. Bacon or riot?
Commits on Apr 26, 2011
  1. @rakaur

    Ditch config file in favor of a config DSL. Also clean up.

    rakaur authored
    Get rid of bundler. It doesn't really serve a purpose for now. Going to
    try to work on this more, but I really need to refactor some stuff
    before I get started on new code. We'll see how it goes...
Commits on Mar 14, 2011
  1. @rakaur

    Update license.

    rakaur authored
Commits on Nov 28, 2010
  1. @rakaur

    Audit sockets, including SSL.

    rakaur authored
    Fix iChat connecting via TLS.
    Use `_nonblock` socket methods.
    Use `IO::WaitReadable` instead of `Errno::EAGAIN`.
    Change `xid_find` to `find_xid`.
    Fix the `split_xid` regex.
Commits on Nov 25, 2010
  1. @rakaur
Commits on Nov 24, 2010
  1. @rakaur

    Replace keys_to_sym!() with a nicer method.

    rakaur authored
    Rework the 'listeners' definitions in the config file.
    Add Bundler Gemfile.
Commits on Oct 19, 2010
  1. @rakaur
Commits on Oct 18, 2010
  1. @rakaur
  2. @rakaur
Commits on Oct 5, 2010
  1. @rakaur
  2. @rakaur
  3. @rakaur

    Clean up client.rb, and add resource binding.

    rakaur authored
    Move a lot of methods from client.rb to stream.rb and iq.rb.
    Add iq stanza processing.
    Add resource binding.
Commits on Oct 4, 2010
  1. @rakaur

    Add SASL PLAIN and enable the database.

    rakaur authored
    Move some database stuff to kintara.rb because Sequel is weird.
    Enable database creation/models. Schema seems good.
    Differentiate between stream and stanza errors.
    Add XMPP::Client#authorize for SASL PLAIN. Eventually add DIGEST-MD5.
    Change the unique ID generator to a SecureRandom UUID-esque thing.
  2. @rakaur
  3. @rakaur

    Add the skeleton for stanza processing, stream initialization, and TLS.

    rakaur authored
    Add stanza processing. This will slowly be filled out as I go.
    Add initial stream processing. Clients can connect and establish a stream.
    Add support for XMPP features.
    Add STARTTLS. Clients can successfully switch to TLS-encrypted streams.
    Check for dead clients AFTER the event loop.
Commits on Sep 30, 2010
  1. @rakaur
Commits on Sep 23, 2010
  1. @rakaur

    Fix up version info a bit.

    rakaur authored
Commits on Sep 19, 2010
  1. @rakaur

    Fix an issue in the event code (from rhuidean).

    rakaur authored
    Allow the same event to be posted more than once to the same queue. If
    this is done it can allow things like two "this socket is ready to be
    read from" events to be posted and result in two calls to read(), one
    of which will wind up blocking. This is bad. However, NOT allowing this
    results in worse things, like if a certain event-triggering data comes
    in more than once in a single read()/event loop it results it it only
    being processed once and will ignore the rest. This is unacceptable.
    Since the former can be corrected with good coding, and the latter
    cannot, then the former loses (thanks sycobuny).
Commits on Sep 17, 2010
  1. @rakaur

    Fix a crash with clients disconnecting and threading issues.

    rakaur authored
    Change etc/config.yml to use .key and .crt instead of .pem.
    Translate @config String keys to Symbols (sycobuny).
    Fix the potential threading problem in XMPP::Servers
    Fix XMPP::Client to properly die when the socket disconnects.
    Make XMPP::Client#socket always be in select() readfds.
Commits on Sep 9, 2010
  1. @rakaur
  2. @rakaur

    Quickly handle SIGTERM. Doh.

    rakaur authored
Commits on Aug 25, 2010
  1. @rakaur

    Get clients up doing basic read/write (fancy echo server!).

    rakaur authored
    Move XMPPServer to XMPP::Server.
    XMPP::Client now does basic read/write.
    Clients currently driven by XMPP::Server, not local events;
    I'm not totally sure which way I want it.
  2. @rakaur

    Add events, timers, and set up very basic network handling.

    rakaur authored
    Add generic timers, specifically from my IRC client library.
    Add supercool event-driven stuff, specifically from rhuidean again.
    Add a basic I/O loop with select().
    XMPPServers can accept connections now (mostly proof of concept).
    Fix logging so it works on --nofork.
    Turn on Ruby warnings on --debug.
    Switch the main class' methods to class methods. Whoops.
  3. @rakaur
Commits on Oct 7, 2009
  1. @rakaur

    Added listeners, logging, and simplified some things.

    rakaur authored
    Removed logging from config. Going to controlled via command line options.
    Added an XMPPServer class. Each of these will run a listener for c2s or s2s.
    Added a mixin, "Loggable," which provides nice logging/debugging for any class.
    Set up instances of XMPPServer to be in their own thread. Not sure on this.
  2. @rakaur

    Add a YAML configuration file, and little fixes.

    rakaur authored
    Fix PID writing so that it always writes instead of only when willfork = true.
    Add file encoding comments. Make a note about IDN encoding.
Commits on May 7, 2009
  1. @rakaur

    Add PID file writing & checking.

    rakaur authored
    Also, redo version scheme.
  2. @rakaur
Something went wrong with that request. Please try again.