Julien Dessaux
dfba882e1a
Wrote the quote module data structures.
2011-05-17 00:21:31 +02:00
Julien Dessaux
bc8299374e
Fixed inconsistencies in the duck module.
2011-05-16 01:27:27 +02:00
Julien Dessaux
6de38599a2
Some more stupid ducks' faces.
2011-05-15 14:20:44 +02:00
Julien Dessaux
5a0ba99774
Fixed Duck module's behaviour when talked from other channels.
2011-05-15 14:15:55 +02:00
Julien Dessaux
1e348a0ad2
Removed the most ugly ducks.
2011-05-15 13:49:28 +02:00
Julien Dessaux
352887b330
Allow to change ducks' spawning frequency.
2011-05-15 13:43:50 +02:00
Julien Dessaux
1995f4ddb8
Added persistent statistics for the duck Module.
2011-05-14 00:42:37 +02:00
Julien Dessaux
81fb522dd4
Added a function to get the sender of an irc message.
2011-05-13 18:10:55 +02:00
Julien Dessaux
a6ac073a6c
Re-engineered and finished the duck spawning capability.
2011-05-11 00:29:19 +02:00
Julien Dessaux
27df2808fc
Added a function to get the destination channel of a message.
2011-05-11 00:17:10 +02:00
Julien Dessaux
91f9db5be7
Improving a bit the Ping module's code.
2011-05-10 23:21:50 +02:00
Julien Dessaux
aba484db54
Implemented bot commands parsing.
2011-05-10 23:21:28 +02:00
Julien Dessaux
fa0bf06c91
Added the ability to directly answer /msg.
2011-05-08 14:57:12 +02:00
Julien Dessaux
b3d04f9a06
Added duck spawning capabilities, ready to be shot!
2011-05-07 00:44:44 +02:00
Julien Dessaux
a8c0c85787
Made the Plugin monad a Reader instead of a State since it can't change.
2011-05-06 19:15:40 +02:00
Julien Dessaux
4ec66d2ad7
Added a shitload of ducks to recognize and kill!
2011-05-06 00:58:24 +02:00
Julien Dessaux
4522289d55
Code cleaning.
2011-05-05 00:36:05 +02:00
Julien Dessaux
9abbc593a2
Added the Duck module (PAN!).
2011-05-05 00:30:34 +02:00
Julien Dessaux
2ff4db03bb
Updated for TLS 0.6
2011-05-05 00:28:08 +02:00
Julien Dessaux
5d2c3cdeb2
Changed the way I handled the Bot monad for more concurrency.
2011-05-02 00:49:52 +02:00
Julien Dessaux
bf36db5488
Code cleaning.
2011-05-01 15:56:53 +02:00
Julien Dessaux
c497b24700
Added plugin loading, and the most basic hook capability.
2011-05-01 03:28:28 +02:00
Julien Dessaux
7e89b50bfe
Improved message utilities.
2011-05-01 03:28:28 +02:00
Julien Dessaux
864a364da9
Some API refactoring.
...
I can't say how I hate the Types.hs thing in Haskell!
2011-05-01 03:28:22 +02:00
Julien Dessaux
d4be110200
Continue refactoring, worked on the core loop and the plugin infrastructure.
2011-04-23 13:35:04 +02:00
Julien Dessaux
ff07633fb8
Began a big refactoring/rewriting (again)
2011-04-13 20:15:55 +02:00
Julien Dessaux
11c2c16835
Moved files around as a preliminary for architectural changes.
2010-07-03 22:40:17 +02:00
Julien Dessaux
d97177ce3b
Wrote most of the resume code for the core and the irc plugin.
2010-06-20 17:49:39 +02:00
Julien Dessaux
3410caa6f2
Fixed the plugin termination.
...
The master of a plugin will now wait for the plugin it kills to terminate.
2010-05-29 23:55:20 +02:00
Julien Dessaux
9dda7dc1b9
Added signal handling and a better semantic for bot status.
2010-05-29 23:55:12 +02:00
Julien Dessaux
57bec4921b
Rationalized the way bot configs are handled.
2010-05-29 17:05:56 +02:00
Julien Dessaux
daea135424
Implemented the clean killing of plugins' threads.
2010-05-29 01:01:31 +02:00
Julien Dessaux
c506c58e92
Cleaned further the bot updates handling.
2010-05-28 22:39:45 +02:00
Julien Dessaux
451564ef5b
Cleaned that ugly update message handling and added a reboot command to the ircbot.
2010-05-25 22:07:58 +02:00
Julien Dessaux
8b33600f38
Implemented update message handling in the bot's core.
2010-05-24 23:52:47 +02:00
Julien Dessaux
a12e492772
Implemented ircbot update messages.
2010-05-24 22:46:20 +02:00
Julien Dessaux
5b8cffbf68
Cleaned the definition of irc plugins' data structure.
2010-05-18 00:46:36 +02:00
Julien Dessaux
738ad9e9bb
Removed thread ids from plugins data structure.
2010-05-16 17:58:38 +02:00
Julien Dessaux
c1662ba7b9
Rewrote nearly everything!
...
* Rewrote the whole architecture to achieve extreme modularity
* Added the ability to build a multiprotocol bot
* Added cabal integration
* Added configuration handling the XMonad style
* Added configuration in ~/.hsbot
* Refactored many many named and functions
* Refactored data structures
* Cleaned a big bunch of stuff
2010-05-16 00:01:00 +02:00
Julien Dessaux
b6d119cf5b
Some refactoring + cosmetics.
2010-04-25 16:43:01 +02:00
Julien Dessaux
727adadc28
Added an utility function to correctly answer a message we receive (aka /msg)
2010-04-22 19:42:53 +02:00
Julien Dessaux
d922240e9a
Wrote the list plugin command.
2010-04-22 00:10:13 +02:00
Julien Dessaux
50b21c21ee
Make the main thread exit cleanly in case of connection loss.
2010-04-21 23:01:02 +02:00
Julien Dessaux
8551832bd2
Add the IrcMsg as an optional parameter for an internal command.
2010-04-21 22:39:03 +02:00
Julien Dessaux
455b18bc10
Removed all the dynamic module loading stuff.
2010-04-21 22:37:06 +02:00
Julien Dessaux
4c76d3d40b
Fixed several stuff.
2010-04-21 20:57:22 +02:00
Julien Dessaux
bfc06f1ff1
Fixed the clean killing of plugin's threads, fixed exception management and cleaned plugins' main functions.
2010-02-08 00:16:02 +01:00
Julien Dessaux
416460886d
Continue rewriting, found a problem in the way I kill plugins.
2010-02-04 23:34:15 +01:00
Julien Dessaux
fd8d5faf5f
Began a complete rewrite of command and plugin management.
...
Wrote a command routing statement, added an IrcPlugin monad.
2010-02-04 21:05:37 +01:00
Julien Dessaux
047a10bc9b
Fixed some types' functions.
2010-02-04 20:57:10 +01:00