1
0
Fork 0
mirror of https://github.com/fluffle/goirc synced 2025-07-11 07:49:27 +00:00

Commit graph

  • f0a9246c7a Oh, god damnit. Should at least *try* to build things to make sure they work. Alex Bramley 2011-07-28 18:01:46 +01:00
  • d6ac053b62 Add a function to make a copy of a *Line (bar the Time field). Alex Bramley 2011-07-28 17:56:14 +01:00
  • 364c6da7ae Add a function to make a copy of a *Line (bar the Time field). Alex Bramley 2011-07-28 17:56:14 +01:00
  • 47d4587ca3 Revert "Weekly commits shouldn't be on release branch" Alex Bramley 2011-07-28 12:14:51 +01:00
  • 8fed417dce Oh wait event isn't local. Alex Bramley 2011-07-28 00:41:47 +01:00
  • dc89882bf9 Makefile for event. Alex Bramley 2011-07-28 00:35:19 +01:00
  • 303d3724e2 Break out unboxing code; pass conn/line objects for other events. Alex Bramley 2011-07-28 00:24:07 +01:00
  • 8e6de2f3c7 Add an overridable Dispatcher to Conn, and use that to dispatch events. Alex Bramley 2011-07-27 21:35:45 +01:00
  • 900afb5c48 Put nil checking in correct place. Alex Bramley 2011-07-27 21:15:09 +01:00
  • 33a5bff35b Move line parsing done in dispatchEvent into ParseLine(). Alex Bramley 2011-07-27 21:10:37 +01:00
  • 5e814babc7 Move to using the new event registry internally. Alex Bramley 2011-07-27 21:10:01 +01:00
  • a2b53e6fc3 Rename registry -> event for gb purposes. Alex Bramley 2011-07-27 21:00:23 +01:00
  • 5843974562 Make struct registry conform to EventRegistry. Alex Bramley 2011-07-27 20:59:58 +01:00
  • 3e82bf33c3 unit tests, sort of. Alex Bramley 2011-07-27 17:49:55 +01:00
  • cce112465f Make Handler an interface type; make dispatcher private; correctly unbox ev. Alex Bramley 2011-07-27 17:49:34 +01:00
  • 2c10e19f58 More abstracted event registry. Alex Bramley 2011-07-27 16:54:49 +01:00
  • 934ee04fcf Weekly commits shouldn't be on release branch Alex Bramley 2011-07-26 20:25:14 +01:00
  • d2cfe6eb6f Tidy up old-style slice syntax, and use string methods for CTCP parsing. Alex Bramley 2011-07-25 23:02:57 +01:00
  • 65ae4394fc Update for weekly of 2011-07-16; changes to string.Split(). Alex Bramley 2011-07-25 22:27:52 +01:00
  • ddd913547c Add field in Conn to allow external state to be propagated to event handlers. Alex Bramley 2011-07-25 22:27:09 +01:00
  • b13e7bfb0b remove trailing whitespace raylu 2011-07-21 23:16:17 -07:00
  • d139fab231 unconditionally wait 30 seconds before reconnecting raylu 2011-07-21 23:15:52 -07:00
  • d961c92dd1 Merge remote-tracking branch 'fluffle/master' raylu 2011-07-21 23:04:49 -07:00
  • 830dbcbb7f Update the docs slightly. Alex Bramley 2011-07-22 01:26:41 +01:00
  • c3715be829 Use second constant in SetTimeout(). Alex Bramley 2011-07-22 01:20:25 +01:00
  • 07d5c0676e Fix compile error when NewNick() is called before initialise(). Alex Bramley 2011-07-22 01:20:07 +01:00
  • 6634869fe6 Use connected bool properly to ensure shutdown() can't be called twice. Alex Bramley 2011-07-22 01:17:35 +01:00
  • 291132cab5 Refactor recv() since we needed to rewrite send(). Alex Bramley 2011-07-22 01:11:15 +01:00
  • 0200b741dc Fix for issues/6 (2/2): Move to using control channels and select. Alex Bramley 2011-07-22 01:08:42 +01:00
  • eb51558009 Fix for issues/6 (1/2): Don't close channels when disconnected. Alex Bramley 2011-07-21 23:03:11 +01:00
  • a5a4f989ac Update SSL connectivity to use tls.Dial now it supports a config arg. Alex Bramley 2011-07-21 22:00:45 +01:00
  • 9748f9c47e Oops, timeouts are int64 nanoseconds. Alex Bramley 2011-07-21 21:59:01 +01:00
  • 4bdc993639 add justin.tv stream announce raylu 2011-07-20 03:25:58 -07:00
  • 5027646478 gofix run Alex Bramley 2011-07-18 09:14:58 +01:00
  • 83b482f8ce Make socket timeouts a configurable thingy. Alex Bramley 2011-07-17 13:48:12 +01:00
  • a19bce5998 Make a timeout so that Conn.Err closes when the connection is lost raylu 2011-01-28 21:03:45 -05:00
  • 557b178798 NFI where i was up to, store state. ircd-devel Alex Bramley 2011-07-17 13:14:25 +01:00
  • e8e1400168 goconfig no longer destroys conf when writing raylu 2011-07-10 19:20:10 -07:00
  • ae1b600a2e update for latest release; rewrite send raylu 2011-07-10 01:17:12 -07:00
  • de6783169e Update goconfig submodule raylu 2011-05-17 23:39:36 -07:00
  • 9d43e88080 Add a minimal configuration example with port raylu 2011-05-17 23:28:06 -07:00
  • f6a130d82d gofix's formatting pointed out this space raylu 2011-05-16 22:18:55 -05:00
  • 114b31f3c7 Update to r57.1 raylu 2011-05-16 22:13:18 -05:00
  • 4abd88f40b Add recovery in handlePrivmsg raylu 2011-04-27 04:37:55 -04:00
  • f89b33a593 Remove debugging print raylu 2011-04-20 01:41:17 -04:00
  • 5b5b918445 Handle ideographic spaces (U+3000) in !tr raylu 2011-04-20 01:37:00 -04:00
  • abdcdf56e8 Fix (lack of) access requirement for !ops raylu 2011-04-11 16:25:07 -04:00
  • 3fd23e765a Handle youtube links only after consider commands raylu 2011-04-10 21:37:14 -04:00
  • eddff91b7a Handle leading spaces in topics raylu 2011-04-10 21:25:35 -04:00
  • 8878b7c1d1 Make the makefile make raylu 2011-04-10 20:46:47 -04:00
  • affc372b94 Properly ignore self for !ops raylu 2011-04-10 03:45:23 -04:00
  • 83fc245eec Add !ops command to highlight all ops raylu 2011-04-10 03:32:32 -04:00
  • d38619843f Make it so one command builds everything raylu 2011-04-09 00:52:28 -04:00
  • a537d1a9f6 Fix example owner raylu 2011-04-09 00:52:10 -04:00
  • 8b2e766fe8 Use gomake instead of make raylu 2011-04-09 00:37:37 -04:00
  • 9bff4888e1 Use utf8.Slice instead raylu 2011-04-07 22:52:23 -04:00
  • d4f868377e Fix Google transliteration duplication silliness raylu 2011-04-07 19:46:20 -04:00
  • 9e203ff027 Handle http://youtu.be/ links raylu 2011-04-07 03:47:07 -04:00
  • c7fce11e01 identd support raylu 2011-03-09 23:47:07 -06:00
  • 420f9ed131 Use select to block the main thread raylu 2011-03-09 19:48:57 -06:00
  • 186519214f Add github link to CTCP VERSION reply raylu 2011-03-09 16:05:19 -06:00
  • d07e0b9dc2 This makes the bot reconnect on connection errors. Hopefully. raylu 2011-02-24 17:34:36 -05:00
  • 762ba1e599 Type inference proves too costly for ragel-based config... Alex Bramley 2011-02-22 21:26:48 +00:00
  • 99d1d42a0a Parse <sup> as ^ in calc raylu 2011-02-10 13:50:16 -05:00
  • fb694f1546 Add ignore information to accesslist raylu 2011-02-04 17:26:08 -05:00
  • 7007e6eb9f Add ignores raylu 2011-02-04 17:20:29 -05:00
  • 2565548813 Don't Sprintf in say if no arguments raylu 2011-02-02 16:36:53 -05:00
  • 56309794bd Fix error reporting in cmd-google.go:calc raylu 2011-02-02 00:04:45 -05:00
  • 7dc6308895 Make a timeout so that Conn.Err closes when the connection is lost raylu 2011-01-28 21:03:45 -05:00
  • 1de390cd3d Update README.md and goconfig's README.mkd raylu 2011-01-24 17:32:58 -05:00
  • 4746832995 Use new forked goconfig as a submodule raylu 2011-01-24 17:27:13 -05:00
  • 7c949c8be7 changed install instructions to reflect the new directory name for the IRC libraries--'client' instead of 'irc' Justin Vermillion 2011-01-23 19:58:26 -08:00
  • c3240316b7 Merge branch 'fluffle' raylu 2011-01-13 15:53:00 -05:00
  • 2a3ff18d73 Properly fix formatting. Bleh bleh bleh. Alex Bramley 2010-12-20 22:14:22 +00:00
  • ed3ccb524e Fix handleJoin for new goirc layout raylu 2010-12-20 15:05:28 -06:00
  • 04886d6f3c Merge branch 'fluffle' raylu 2010-12-20 14:50:22 -06:00
  • 1d587cd3fc Helps if you add the damn element to the struct... Alex Bramley 2010-12-19 15:22:40 +00:00
  • 0d4322e854 Update rbot for the new goirc layout raylu 2010-12-18 18:45:02 -08:00
  • 3a86d53dde Merge commit '623247c' raylu 2010-12-18 18:11:20 -08:00
  • d9267067cd Merge commit 'bedbfc2' raylu 2010-12-18 17:36:01 -08:00
  • 137fe94b50 Make calc request UTF-8 data (instead of ISO-8859-1) raylu 2010-12-09 04:05:41 -05:00
  • 84960c314e Document roman in README.md raylu 2010-12-09 03:22:24 -05:00
  • f99a2c6bb8 Make sure we're using SVN ragel; add default Link constructor. Alex Bramley 2010-12-01 22:57:50 +00:00
  • 7e90299992 Add parser.go so people don't have to build SVN ragel ;) Alex Bramley 2010-11-28 18:09:33 +00:00
  • 1566d7772c Add oper parsing, standardise ragel naming, change config. Alex Bramley 2010-11-28 18:08:11 +00:00
  • 22ccce6bb2 Ragel based config file parser, ftw. Alex Bramley 2010-11-28 16:39:25 +00:00
  • 377fbcd3af WIP on config parser before attempting to learn FSMs Alex Bramley 2010-11-27 14:12:12 +00:00
  • b3f98e762e Merge branch 'master' into ircd-devel Alex Bramley 2010-11-23 22:18:25 +00:00
  • bea2395160 Make timestamp format twiddleable; cosmetic re-arrangement of *Conn struct. Alex Bramley 2010-11-23 22:18:08 +00:00
  • 623247c995 Generalise timestamp code and default to using time.LocalTime Graham Lyon 2010-11-23 22:01:26 +00:00
  • 08b7d63c27 Refactor to remove line.Text and use line.Args[-1] instead. Alex Bramley 2010-11-23 22:07:21 +00:00
  • 8ad6e67467 Added timestamps to irc.Line and debug output Graham Lyon 2010-11-20 23:40:45 +00:00
  • b2539c0063 Initial commit of vague hackery for a go IRCd. Alex Bramley 2010-11-21 20:07:31 +00:00
  • 83e1f9ca74 Update README for release. Alex Bramley 2010-11-21 19:59:57 +00:00
  • bedbfc2899 Move irc/ to client/ and set up for goinstall. Alex Bramley 2010-11-21 19:53:14 +00:00
  • 6818e00df6 Fix the "admin commands" list in the readme raylu 2010-11-08 22:27:33 -05:00
  • ce090c674b nick raylu 2010-11-05 19:28:32 -04:00
  • e7f0113a5b Pattern matching in accesslist raylu 2010-11-05 19:19:15 -04:00
  • 652867410a Update rbot.go to be compatible with the giant merge raylu 2010-11-04 13:12:23 -04:00
  • ff21e678d4 Merge branch 'fluffle' raylu 2010-11-04 12:54:35 -04:00