Commit Graph

  • 4531200d1b Use Network.GetName for logs path contact 2020-04-05 13:24:57 +00:00
  • 60d04d512d Only print addr if necessary in network status service command contact 2020-04-05 13:20:13 +00:00
  • 9eaa5ae5c0 Use Network.GetName in network status NOTICE messages contact 2020-04-05 13:15:42 +00:00
  • d18e8f4279 Add network.{createUpdate,delete}Channel contact 2020-04-05 13:04:52 +00:00
  • 31ed348a11 Remove unused entityLog struct delthas 2020-04-04 15:34:37 +00:00
  • ac110eaccc Fill all fields of the service user prefix delthas 2020-04-04 15:34:30 +00:00
  • 4ccc12d584 Send the last error for disconnected networks in network status delthas 2020-04-04 15:34:12 +00:00
  • c03e14ee9e Send one NOTICE on new upstream disconnect/connect errors delthas 2020-04-04 15:33:09 +00:00
  • 7e7beef866 Add NOTICE messages to ring buffer contact 2020-04-03 19:00:19 +00:00
  • f4c48f9b05 Add time tag to all messages contact 2020-04-03 18:48:23 +00:00
  • 84c358d870 Introduce messageLogger contact 2020-04-03 16:59:17 +00:00
  • ca785e229d doc: document auto-away feature contact 2020-04-03 15:25:53 +00:00
  • 58be470d17 Log self-messages too contact 2020-04-03 15:15:12 +00:00
  • 143c84e287 Use conn.ReadMessage instead of irc.Conn.ReadMessage contact 2020-04-03 15:01:25 +00:00
  • 0b30f8fccd Add support for downstream echo-message extension contact 2020-04-03 14:55:49 +00:00
  • 7e2bd554a4 Introduce conn for common connection logic contact 2020-04-03 14:35:08 +00:00
  • 204f1ede17 Fix writer goroutine races contact 2020-04-03 14:15:25 +00:00
  • 0715fdae8a doc: document "network delete" contact 2020-04-01 15:38:09 +00:00
  • 9fe572eb4f Fix SQL error logged on JOIN contact 2020-04-01 15:34:22 +00:00
  • 0e879e79d8 Set connect timeout contact 2020-04-01 14:41:17 +00:00
  • db1e84ce20 Set write deadlines contact 2020-04-01 14:27:53 +00:00
  • f4f532b00c Simplify ring consumer goroutine contact 2020-04-01 14:02:31 +00:00
  • 9ae7d253b3 Stop ring consumers when deleting network contact 2020-04-01 13:48:56 +00:00
  • d317a87876 Add "network delete" service command contact 2020-04-01 13:40:20 +00:00
  • 5f0e31c148 Make user.getNetwork handle Network.Name contact 2020-04-01 13:04:32 +00:00
  • 0adb9a320e config: use shlex contact 2020-04-01 12:58:14 +00:00
  • a8b006a658 Set network.conn in user goroutine contact 2020-04-01 10:21:31 +00:00
  • b476131682 Auto away contact 2020-04-01 10:16:32 +00:00
  • fc82577f45 Only set network.conn when registered contact 2020-04-01 10:14:36 +00:00
  • baadefdaef Add eventUpstreamConnected contact 2020-04-01 10:05:25 +00:00
  • db2e08e72e Fix log dir permission contact 2020-03-31 20:21:49 +00:00
  • dcb04da885 Add downstream support for server-time contact 2020-03-31 17:50:31 +00:00
  • c2083296b3 Request server-time cap contact 2020-03-31 17:45:04 +00:00
  • 106949d6e0 Avoid directly forwarding NOTICE messages contact 2020-03-31 17:41:12 +00:00
  • ee53042d08 Expose message-tags capability downstream contact 2020-03-31 17:39:06 +00:00
  • fc6c4cf40b Make "@" and "/" indicate client name and network, respectively contact 2020-03-31 17:02:02 +00:00
  • 3047218c00 readme: advise connecting with "<username>/<network>" contact 2020-03-31 16:41:14 +00:00
  • e972f4b7de Consume ring messages outside of writer goroutine contact 2020-03-31 16:16:54 +00:00
  • 547e49964d Rename AppendLog to appendLog contact 2020-03-31 15:30:45 +00:00
  • 5f94f2b629 Fix missing upstreamConn.closed initialization contact 2020-03-28 19:00:56 +00:00
  • b487a7dff2 Use clientName to decide whether or not history should be sent contact 2020-03-28 16:36:09 +00:00
  • 40efde6626 Remove downstreamConn.username contact 2020-03-28 16:28:28 +00:00
  • 0e1223c13d Add downstreamConn.clientName contact 2020-03-28 16:25:48 +00:00
  • ac7553c1fb Update password on NickServ SET PASSWORD message contact 2020-03-28 09:40:33 +00:00
  • ec1777f84e s/List/LIST/ when referring to the command contact 2020-03-28 00:03:00 +00:00
  • 5396567c1b Document functions safe to call from any goroutine contact 2020-03-27 23:54:42 +00:00
  • 003b8f8ec6 Introduce eventUpstreamDisconnected contact 2020-03-27 23:51:58 +00:00
  • 3ac0e6bd4d Add support for bouncer logs delthas 2020-03-27 23:07:20 +00:00
  • 9aeb067b1b Add LIST support delthas 2020-03-27 23:07:20 +00:00
  • f8dc7b05a1 Make upstream.SendMessageLabeled use an uint64 id delthas 2020-03-27 23:07:20 +00:00
  • 21656bbbc9 Fix race condition in upstreamConn.Close contact 2020-03-27 22:08:35 +00:00
  • 559a13f249 Fix parsing wrong empty element in RPL_WHOISCHANNELS channel list delthas 2020-03-27 21:53:21 +00:00
  • a17e0acde2 Stop accessing user data in downstreamConn.authenticate contact 2020-03-27 21:38:38 +00:00
  • ff41376348 Get rid of Server.downstreamConns contact 2020-03-27 21:24:12 +00:00
  • f81ecd67cf Marshal NOTICE user prefixes and channels delthas 2020-03-27 20:12:16 +00:00
  • f61efcbe80 doc: add basic architecture document contact 2020-03-27 18:49:55 +00:00
  • 2e6e091858 Move man page to doc/ contact 2020-03-27 18:23:41 +00:00
  • d288ab6aad Nuke user.lock contact 2020-03-27 18:17:58 +00:00
  • 520585d901 Add eventDownstreamDisconnected contact 2020-03-27 16:55:03 +00:00
  • 0def23b671 Add eventDownstreamConnected contact 2020-03-27 16:21:05 +00:00
  • f4631f5dd6 Introduce a user.events channel contact 2020-03-27 15:33:19 +00:00
  • 43fd40bf31 Add downstream NOTICE support delthas 2020-03-27 08:40:51 +00:00
  • fc905bc9ed Add downstream INVITE support delthas 2020-03-26 21:43:48 +00:00
  • 290366abfb Add upstream RPL_CREATIONTIME support delthas 2020-03-26 21:33:44 +00:00
  • 781dafad76 Fix capitalization of 'id' delthas 2020-03-26 21:28:13 +00:00
  • 9ba13fd38b Add downstream TOPIC support delthas 2020-03-26 21:27:46 +00:00
  • 3318e3fbfe Add KICK support delthas 2020-03-25 23:15:26 +00:00
  • 8a4a0173a4 Simplify error handling for downstream JOIN/PART delthas 2020-03-25 23:12:53 +00:00
  • 5229a8d800 Fix wrong handling of members parameter of RPL_NAMREPLY delthas 2020-03-25 22:21:26 +00:00
  • c0ddc1fec5 Route NAMES, WHO, WHOIS replies to the requesting downstream delthas 2020-03-25 22:21:14 +00:00
  • bbfb4636b2 Add upstream labeled-response capability support delthas 2020-03-25 22:20:56 +00:00
  • 472306d40a Add a server-unique id to each downstream delthas 2020-03-25 22:17:46 +00:00
  • ad61922268 Add upstream batch capability support delthas 2020-03-25 22:16:53 +00:00
  • e6667d0b42 Add upstream message-tags capability support delthas 2020-03-25 22:15:48 +00:00
  • 23af40ce3d Add a "network status" command contact 2020-03-25 21:57:48 +00:00
  • d64a0f318a Make BouncerServ commands a tree contact 2020-03-25 20:03:13 +00:00
  • 9ffd959ce7 Correctly set Channel.ID in DB.StoreChannel contact 2020-03-25 13:23:41 +00:00
  • d4e5d3dfb4 Error out when storing unsupported SASL mechanism in DB contact 2020-03-25 13:15:25 +00:00
  • 04123f6a5b gitignore: add soju.db and soju.1 contact 2020-03-25 12:44:32 +00:00
  • dd844bdefc Add support for channel keys contact 2020-03-25 10:54:08 +00:00
  • 3773283aa6 Handle downstream JOIN/PART with multiple channel names contact 2020-03-25 10:32:44 +00:00
  • 1f17d1a841 Consume ring buffer for networks added on-the-fly contact 2020-03-25 10:28:25 +00:00
  • d7d76f9c25 Move upstreamConn.ring to network contact 2020-03-25 09:53:08 +00:00
  • 55660bef2f Add downstream self WHO and WHOIS support delthas 2020-03-25 08:51:22 +00:00
  • 65bb73bb52 Add user hostname to downstream user prefix delthas 2020-03-25 08:48:00 +00:00
  • b551c53872 Add downstream NAMES support delthas 2020-03-25 08:47:26 +00:00
  • ae9d1ebd3f Add MODE arguments support delthas 2020-03-25 08:40:08 +00:00
  • 0b2b5420c9 Add more details to ring buffer panics contact 2020-03-24 08:22:40 +00:00
  • 913e583b44 Add user.{add,remove}Downstream contact 2020-03-23 15:05:00 +00:00
  • b360940009 Add network.upstream helper contact 2020-03-21 09:24:38 +00:00
  • c6ee21b3c6 Fix typo contact 2020-03-21 07:44:03 +00:00
  • 63d9b733a9 Fix empty SASL challenge message contact 2020-03-21 07:41:14 +00:00
  • 9779857f91 Drop messages on closed connections contact 2020-03-21 07:29:44 +00:00
  • a29ce6fc7d Avoid sending JOIN twice for the same channel contact 2020-03-20 21:53:05 +00:00
  • 1577d3620c Move upstreamConn.history to network contact 2020-03-20 21:48:17 +00:00
  • 4389f5de5b Fix deadlocks in single-upstream mode contact 2020-03-20 09:42:17 +00:00
  • 577365e189 Fix MODE downstream support delthas 2020-03-20 09:11:27 +00:00
  • 94d76ebfb4 Add WHOIS support delthas 2020-03-20 09:11:27 +00:00
  • 522f2fe8a5 Add WHO support delthas 2020-03-19 23:29:03 +00:00
  • af3a4050ee Add basic Makefile contact 2020-03-19 14:11:43 +00:00