Permalink
Switch branches/tags
Nothing to show
Commits on Jun 28, 2012
  1. Added url catching feature that employs a simple regular expression t…

    …o detect URLs and auto-extracts page title.
    
    Added config options enable_url_catch, url_fetch_timeout and max_urls_to_catch to allow use and customization of URL detection/catching feature.
    committed Jun 28, 2012
  2. Created definitions system usable for storing and accessing definitions.

    Created table definitions in sqlite3 database for data persistence beyond restarts.
    Added new commands getdef, whodef, setdef and undef.
    Added new config option enable_definitions which can be changed to disable the definitions system entirely.
    committed Jun 28, 2012
  3. Added bot.db to be used as a sqlite database and relevant code and co…

    …nfig setting.
    
    Allowed bot_quit() to take an optional parameter to specify exit code which defaults to 0, and ensured all exit code passes through this function.
    committed Jun 28, 2012
Commits on Jun 27, 2012
  1. Clone commands list via slicing for temporary use to preserve paralle…

    …l nature to command_groups_list.
    committed Jun 27, 2012
  2. Added commands join, part and quit and made relevant changes to auth …

    …system.
    
    Created special events for processing certain actions in a modular form.
    Moved quit code into a single function to be called by other location that require its usage.
    committed Jun 27, 2012
  3. Renamed functions operating for the bot's user to use bot_ prefix ins…

    …tead of user_ to prevent confusion of behavior with functions operating for a remote user.
    committed Jun 27, 2012
  4. Created auth system that interacts with nickserv (User must be regist…

    …ered on server).
    
    Added new config files users.cfg and commands.cfg for management of permissions.
    Reorganized several pieces of code.
    committed Jun 27, 2012
Commits on Jun 26, 2012
  1. Changed get_config functions to accept a second optional parameter wh…

    …ich defaults to the default config object, to enable their usage with other config objects in the future.
    committed Jun 26, 2012
Commits on Jun 25, 2012
  1. Changed to proper file handling of config file (open & close).

    Moved signal_handler() definition placement.
    committed Jun 25, 2012
  2. Added function printout() which handles output of text to stdout, inc…

    …luding whether or not timestamps are shown.
    committed Jun 25, 2012
  3. Changed parser from SafeConfigParser to RawConfigParser.

    Added new config setting oper_prefixes (~,&,@,%,+ by default).
    Added support for maintaining an accurate list of users in all channels the bot is in (Will be used later during user authentication).
    Fixed various bugs/errors and reorganized some code.
    committed Jun 25, 2012
  4. Added new config option show_motd (True by default) which allows supp…

    …ression of MOTD messages.
    committed Jun 25, 2012
  5. Moved message chunk length requirement check to before command_prefix…

    … match check to prevent exceptions when checking if an incoming line is a user attempting to issue a command.
    committed Jun 25, 2012
  6. Corrected config key references for command_prefix.

    Fixed index in command_prefix checking code.
    committed Jun 25, 2012
  7. Added new functions for handling certain tasks.

    Added new config setting command_prefix (default @).
    Fixed some boolean negation operations to use keyword not instead of unary -.
    committed Jun 25, 2012
  8. Added support for identifying with nickserv (for registered users).

    - The output of the nickserv identify task is suppressed from stdout for security reasons.
    Added user command @version.
    Refactored server.cfg file.
    - Renamed key host to hostname.
    - Added key nickserv for setting the nickserv nickname (NickServ by default)
    - Enabled SSL by default and changed port to appropriate one.
    committed Jun 25, 2012
Commits on Jun 24, 2012
  1. Added code for a basic bot and config file.

    Outputs data to stdout (with timestamping support).
    Currently supports:
    - Connecting (with ssl support)
    - Joining channels
    - Responding to ping and version messages
    committed Jun 24, 2012
  2. First commit

    committed Jun 24, 2012