CIA style irc commit bot in common lisp
Common Lisp
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
cl-cia.asd
cl-cia.lisp
irc.lisp
jsonrpc.lisp
maildir.lisp
package.lisp
xmlrpc.lisp

README.md

cl-cia

This is the engine for Notify, in case you want to help out or make your own.

Installing

cl-cia is written for SBCL and uses ASDF to install dependancies, all of which are available in quicklisp. Simply check out to ~/quicklisp/local-projects/cl-cia and do "(ql:quickload :cl-cia)".

XML-RPC

XML-RPC requests are handle using #'xmlrpc with the passed argument being the string holding the XML. The format of the package is the same as cia.vc's. The modified UCW at http://github.com/erikg/ucw-core has a patch to handle xml requests, https://github.com/erikg/ucw-core/commit/581589fc4c22b8a4f8ae29424cd0495c679f1868#src/backend/common.lisp .

Mail processing

The maildir.lisp file has some fairly crude mail parsing capabilities, including custom Google Code-In handling, xml email, and sourceforge commit email. Mail parsing frequently breaks due to unicode packing and formatting twitchiness. Try to avoid it.

IRC bot

This is all contained in irc.lisp and is very basic. A simple command handler is added in to report statistics to channel.

ToDo

  • add xmlrpc scripts
  • add help for integrating with github
  • send email on new notice? should it be a selectable flag?
  • fix unicode parsing in multipart emails (have a test file, file->strings fails)
  • remove the unhandled privmsg event stuff
  • kill the (contents, props changed) coming through in file listings
  • make bot reconnect on disconnect
  • investigate sms messaging?
  • investigate ios push type thing?
  • add public/private markings
  • fix delete last notification in message queue issue
  • allow change of email address, maybe some profile info?
  • add create and completed times to todo items?
  • fix utf8 parse issue in email
  • add support for xmlrpc email
  • add mail send capability
  • fix mail spool for fbsd
  • 12:13 <@brlcad> ``Erik: how about truncating on a word boundary? and something to indicate it was truncated...
  • fix irc add todo message logic