Archived
1
0
Fork 0
Commit graph

135 commits

Author SHA1 Message Date
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
c20cfe88b3 Added the quote module. 2010-04-26 14:13:16 +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
Julien Dessaux
53870767c3 Rewrote command handling, added the Quote module and cleaned input handling. 2010-02-04 20:55:54 +01:00
Julien Dessaux
46d9dd301d Implemented unregisterCommand. 2010-02-04 20:41:22 +01:00
Julien Dessaux
cf68de02be Added command registering and dispatching for plugins. 2010-02-04 20:40:16 +01:00
Julien Dessaux
d2f40f6481 Finished changing plugin data structure to Maps. 2010-02-04 20:38:06 +01:00
Julien Dessaux
884c6c9f2e Reorganized code and types, changed slightly the architecture. 2010-02-04 20:36:58 +01:00
Julien Dessaux
57f559f3a1 Rewrote the whole architecture. 2010-02-04 20:27:22 +01:00
Julien Dessaux
d4103e3e18 Rebooting now works great, thanks to the communication channel preservation. 2009-08-23 23:07:43 +02:00
Julien Dessaux
dfd0b3dcd7 Added the IRCParser (thx galdor), and PrivMsg handling (simply repeat) 2009-08-13 00:07:08 +02:00
Julien Dessaux
65646eb07f Added server states, in order to handle rebooting more cleanly (still missing saving the chan) 2009-08-13 00:04:49 +02:00
Julien Dessaux
7a86235906 Rethought the way I handled IRC data. 2009-08-11 00:38:36 +02:00
Julien Dessaux
8caf09e50b Fixed my mess with the rfc doc stuff... :p 2009-08-09 21:32:40 +02:00
Julien Dessaux
b463cfe451 Added LICENCE, and rfc2812 (IRC protocol) as documentation. 2009-08-07 11:06:15 +02:00
Julien Dessaux
7a9d187421 Began to write the commands' stuff, and made a working reboot. 2009-08-07 00:20:58 +02:00
Julien Dessaux
14f87adb8b Wrote the ping pong stuff 2009-08-07 00:19:14 +02:00
Julien Dessaux
2f270f8bdf Refactored some minor stuff 2009-08-07 00:10:45 +02:00
Julien Dessaux
b9c8e4d404 Added IRC connection and initialisation stuff. 2009-08-06 00:11:14 +02:00
Julien Dessaux
45ebb68aa0 renamed "Server" algebraic data type to "IrcServer" 2009-08-06 00:09:56 +02:00
Julien Dessaux
1f6c64749d Wrote a dynamic compilation stuff that works (unable to test reboot yet) 2009-08-05 01:01:47 +02:00
Julien Dessaux
ea607ba1b1 Initial import 2009-08-03 08:36:12 +02:00