Julien Dessaux
c74d199047
Added support for IRC server password
2012-02-26 14:15:49 +01:00
Julien Dessaux
c7b7b55ecb
Updated for the latest hs-tls api.
2012-02-26 14:14:54 +01:00
Julien Dessaux
fca73a28e3
Temporary fix for the parsing mistake when not using TLS
2011-11-07 23:03:53 +01:00
Julien Dessaux
899f76718f
Fixed the fix to properly handle incomplete messages when there is nothing more to read.
2011-11-03 22:22:20 +01:00
Julien Dessaux
938657be77
Fixed the incorrect parsing of the TCP stream.
2011-11-03 21:54:11 +01:00
Julien Dessaux
50c8c0801e
Updated to support the latest version of the tls module.
2011-11-03 18:50:44 +01:00
Julien Dessaux
98a1debf03
Moved to death messages IRC output around, because those were sent too soon
2011-08-09 23:48:15 +02:00
Julien Dessaux
3b914c1b77
Added exception handling, an autorestart when that happens and output in case of restart/reload
2011-08-08 20:58:34 +02:00
Julien Dessaux
1c8cab09cb
Added access controls to hsbot.
2011-08-08 11:39:41 +02:00
Julien Dessaux
b666e543d0
Fixed TLS client implementation
2011-07-11 22:35:41 +02:00
Julien Dessaux
4522289d55
Code cleaning.
2011-05-05 00:36:05 +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
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
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
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
50b21c21ee
Make the main thread exit cleanly in case of connection loss.
2010-04-21 23:01:02 +02:00
Julien Dessaux
4c76d3d40b
Fixed several stuff.
2010-04-21 20:57:22 +02: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
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
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
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