3
0
mirror of https://github.com/jlu5/PyLink.git synced 2025-08-01 18:37:24 +02:00

Commit Graph

  • 73c41b4363 relay & ts6: miscellaneous fixes? James Lu 2015-07-20 23:36:26 -07:00
  • 88dbe3cde9 TS6: misc fixes; finish off the basic protocol spec! James Lu 2015-07-20 22:31:40 -07:00
  • 419a39c89c ts6: implement initial connection, JOIN/EUID handlers, and more James Lu 2015-07-20 21:21:43 -07:00
  • badbcf0507 Irc.callHooks: allow handlers to specify which hook to call via a special 'parse_as' key James Lu 2015-07-20 21:19:15 -07:00
  • 6efb59b8b7 Irc: strip off \r from lines James Lu 2015-07-20 21:19:01 -07:00
  • b593b39421 Merge branch 'devel' into wip/proto-ts6 James Lu 2015-07-20 19:54:08 -07:00
  • 72be5ca79c inspircd: make handle_part return a list of channels, not just one James Lu 2015-07-20 19:52:52 -07:00
  • 6a0a61296d ts6: handle_sjoin stub (untested) James Lu 2015-07-20 18:26:17 -07:00
  • 3494d4f794 inspircd: remove RSQUIT handler James Lu 2015-07-20 18:05:42 -07:00
  • 8234eb7304 Initial (incomplete and untested!!!) TS6 protocol stub (#40) James Lu 2015-07-20 17:36:43 -07:00
  • ef3aab69f2 relay: make '/' support in nicks explicit instead of implicit James Lu 2015-07-20 16:50:18 -07:00
  • a10a18d9cc Irc: make prefixmodes a dict mapping chars to their prefixes James Lu 2015-07-20 16:48:59 -07:00
  • 65ef27fd4b relay: initial nick collision handling via SAVE (Closes #61) James Lu 2015-07-20 14:37:04 -07:00
  • ad34f6c4f9 relay: make separator a per-network config option James Lu 2015-07-20 14:36:47 -07:00
  • 2bc0a65128 relay: hack to support sending to @#channel, etc. James Lu 2015-07-20 13:45:15 -07:00
  • b1e409ff3e relay: unbreak topic handling (closes #68) James Lu 2015-07-20 13:18:04 -07:00
  • e76d31d14e relay: fixes to KICK handling, don't allow spawning new pseudoclients for trivial tasks like TOPIC or PART James Lu 2015-07-19 23:49:50 -07:00
  • 06d17d578b Irc: prevent rare UnicodeDecodeError by decoding individual lines, not the entire socket.recv() output James Lu 2015-07-19 23:46:31 -07:00
  • fe9c317f2c inspircd: make channel user tracking more fault tolerant (in sjoinServer / handle_part) James Lu 2015-07-19 23:45:52 -07:00
  • fd736b383f relay: add user mode handling based on a whitelist of modes James Lu 2015-07-19 22:43:26 -07:00
  • 8cde2ddce7 utils.applyModes: don't crash if existing modelist is a list, not a set James Lu 2015-07-19 22:42:04 -07:00
  • bf444f3f6a pr/insp: Servers should use FTOPIC, not TOPIC to send topics James Lu 2015-07-19 17:27:53 -07:00
  • 4078cef3e4 relay: base mode relaying off a whitelist (closes #54) James Lu 2015-07-19 15:56:29 -07:00
  • 0cb9065d53 pr/insp: coerse 'reginvite' named mode to 'regonly' James Lu 2015-07-19 15:56:04 -07:00
  • 0540e10d50 relay: don't add bans that don't match nick!user@host James Lu 2015-07-19 15:20:23 -07:00
  • fbc2fbf595 log: replace existing log files instead of appending 0.1.6-dev James Lu 2015-07-19 16:48:04 -07:00
  • 57e9bf601e Log command usage, 'exec' usage, successful logins, and access denied to commands in admin.py James Lu 2015-07-19 14:59:51 -07:00
  • 1b09a00ea9 utils: add getHostmask James Lu 2015-07-19 14:59:35 -07:00
  • c00da49477 relay: add 'save' command, make rescheduling optional in exportDB() James Lu 2015-07-19 14:56:12 -07:00
  • 688675d484 relay: don't relay messages sent to the PyLink client James Lu 2015-07-19 11:27:57 -07:00
  • 00e28047f7 Make sure log/ exists James Lu 2015-07-18 20:13:53 -07:00
  • 536366de99 main/coreplugin: use log.exception() instead of traceback.print_exc() James Lu 2015-07-18 20:12:13 -07:00
  • 61804b1ecd log: also log to $curdir/log/pylink.log James Lu 2015-07-18 20:11:29 -07:00
  • b6275130e1 Irc: catch AttributeError when self.socket doesn't exist (failed to establish initial connection) James Lu 2015-07-18 20:10:33 -07:00
  • 024ac165a8 relay: Only allow messaging users in common channels / channels that you're in 0.1.5-dev James Lu 2015-07-18 12:24:12 -07:00
  • d30890c5cd relay: fix "RuntimeError: dictionary changed size during iteration" in handle_part James Lu 2015-07-18 12:21:46 -07:00
  • ccf759679b relay: fix the wrong modes being propagated to the wrong channels James Lu 2015-07-18 12:05:24 -07:00
  • 64adb79120 example conf: mention pingfreq and disabling autoconnect James Lu 2015-07-17 23:44:52 -07:00
  • a51cfcb7b2 Fix fakeirc and tests for relay (#56) James Lu 2015-07-17 22:52:55 -07:00
  • 4553eda6ec plugins/admin & relay: Add help for commands James Lu 2015-07-17 22:35:34 -07:00
  • 50665ec601 commands: remove 'debug', it's useless now that 'exec', 'showchan', and 'showuser' exist James Lu 2015-07-17 22:21:57 -07:00
  • 6508cb3c38 commands: add a 'help' command (closes #8) James Lu 2015-07-17 22:21:16 -07:00
  • bbcd70b175 relay: add 'linked' command (closes #65) James Lu 2015-07-17 22:00:25 -07:00
  • 49943a7992 relay: only join PyLink to channels & set topics if there's actually a relay on the network James Lu 2015-07-17 21:51:30 -07:00
  • 3f6f78be9a relay + Irc: keep track of network disconnects James Lu 2015-07-17 16:55:44 -07:00
  • bc9863d9e0 Make reconnecting a bit less... broken James Lu 2015-07-17 16:20:41 -07:00
  • fdea348cbe move hook calling out of pr/insp and into Irc James Lu 2015-07-17 16:09:50 -07:00
  • df595c65a1 fix SQUIT not respecting autoconnect delay James Lu 2015-07-17 16:01:51 -07:00
  • 95853924ad Revert "protocols/: thread calls to each event hook to prevent blocking globally" James Lu 2015-07-17 15:10:23 -07:00
  • f41e1a2eb5 Fixes for connection handling? James Lu 2015-07-17 15:08:24 -07:00
  • 836d0e9701 Irc: wrap (re)connecting in a while loop instead of calling it recursively James Lu 2015-07-17 14:37:07 -07:00
  • 99fd6060a7 protocols/: thread calls to each event hook to prevent blocking globally James Lu 2015-07-17 14:35:02 -07:00
  • 9bef93c341 More stuff for PINGing uplink and autoreconnect (#42 #59 #57) James Lu 2015-07-17 13:39:57 -07:00
  • 0aa2f98705 Move client spawning, command / KILL / KICK handling outside the protocol module James Lu 2015-07-16 21:30:25 -07:00
  • c6c24c242c Irc: fixes in timeout detection James Lu 2015-07-16 19:34:05 -07:00
  • f1ef6f9e15 Irc: catch ConnectionError in both run() and send() James Lu 2015-07-16 16:49:16 -07:00
  • 73c625a429 pr/insp: don't raise KeyError when removing channel from user fails James Lu 2015-07-16 16:48:54 -07:00
  • 2a586a6dba relay: don't send empty MODE commands if there are no supported modes left after filtering James Lu 2015-07-16 16:27:17 -07:00
  • cf32461d8e relay: Only spawn clients if they share a channel, and quit them when they leave all shared channels James Lu 2015-07-16 12:25:09 -07:00
  • 40fd9e37a0 relay: don't spawn tagged clones for the internal PyLink client James Lu 2015-07-16 12:23:04 -07:00
  • d97fce8205 IrcUser & pr/insp: Implement user channel tracking James Lu 2015-07-16 12:20:40 -07:00
  • 35f1c88a4e relay: add hooks for CHGHOST / CHGIDENT / CHGNAME James Lu 2015-07-16 11:53:40 -07:00
  • f9d82153bb pr/insp: map FIDENT/FHOST/FNAME hooks to their CHG* counterparts James Lu 2015-07-15 23:23:46 -07:00
  • 643218efce README: fix link to issue tracker 0.1.0-dev James Lu 2015-07-15 23:15:08 -07:00
  • 2f38b2b38d relay: handle squit, quitting the relevant relay pseudoclients with a fake netsplit message James Lu 2015-07-15 19:09:10 -07:00
  • e413a21e68 pr/insp: send the list of affected users in handle_squit James Lu 2015-07-15 19:08:49 -07:00
  • 798476c850 pr/insp: don't crash when a server sends TOPIC James Lu 2015-07-15 19:08:36 -07:00
  • c22c187717 Update README.md James Lu 2015-07-15 14:41:11 -07:00
  • 2106b8da3a main: add a note about irc.connected.wait() and maxnicklen being set James Lu 2015-07-15 14:00:40 -07:00
  • cd244ee89b relay: block until irc.maxnicklen is set, and remove check for "nick already in use" for internal clients James Lu 2015-07-15 13:53:14 -07:00
  • 6e37e1c05d make Irc.connected a threaded event object, setting it to True ONLY when we receive server capabilities from our uplink James Lu 2015-07-15 13:49:12 -07:00
  • 8d914720b3 It might be useful to expose such options in the example conf, you know James Lu 2015-07-15 11:53:07 -07:00
  • 293bfff813 main: thread Irc.connect() and begin work on autoreconnection James Lu 2015-07-15 11:52:13 -07:00
  • bbe71e22ab relay: fixes for NICK and TOPIC propogation James Lu 2015-07-15 11:48:26 -07:00
  • e3e643de54 relay: don't try to spawn clients on disconnected networks (those raise errors) James Lu 2015-07-15 11:48:03 -07:00
  • 4c77ad93d7 relay: fix over-reaching behavior of delink #chan <remotenet> when you're the host James Lu 2015-07-15 11:47:06 -07:00
  • 0918b2f958 relay: missing line in initializeChannel James Lu 2015-07-14 23:29:03 -07:00
  • 3a9df57c39 relay: remove unused relay() function; what was that about? James Lu 2015-07-14 23:26:21 -07:00
  • 5999eedd98 relay: block kills, respawning their targets transparently James Lu 2015-07-14 23:25:40 -07:00
  • 13e4cadf2b relay: add TOPIC support (experimental) James Lu 2015-07-14 23:24:21 -07:00
  • 67190d8329 pr/insp: send the user data of the kileld user in handle_kill James Lu 2015-07-14 23:23:35 -07:00
  • 46e1538bd2 relay: fix #45 - cases when MODE/KICK is sent by a server, not a client James Lu 2015-07-14 22:37:50 -07:00
  • ef0436c906 inspircd: merge _sendFromUser and _sendFromServer into _send James Lu 2015-07-14 22:33:56 -07:00
  • 8942c2fa08 pr/insp: add kickServer James Lu 2015-07-14 22:32:05 -07:00
  • 7de8f1509d relay: factorize getLocalUser, introduce MODE (experimental) and PRIVMSG handler James Lu 2015-07-14 19:39:49 -07:00
  • f74e704733 relay: whoops, check for claim properly James Lu 2015-07-14 18:27:26 -07:00
  • 28f1d4ba19 relay: add a working KICK handler James Lu 2015-07-14 18:20:20 -07:00
  • 79a1ac9006 pr/insp: fix sjoinServer not updating the internal modes list James Lu 2015-07-14 18:20:10 -07:00
  • 876cf34825 relay: Remove spawning a sub-server for each relay network James Lu 2015-07-14 17:42:17 -07:00
  • a1299676f1 relay: factorize fetching of remote users/SIDs, spawning them if they don't exist James Lu 2015-07-14 12:04:05 -07:00
  • 994b2961ee pr/insp: call endburst AFTER the server object is initialized... James Lu 2015-07-14 12:03:22 -07:00
  • 59295f921b relay: part users on DELINK/DESTROY James Lu 2015-07-13 23:29:20 -07:00
  • 310a9201e2 relay: fix bugs with removing nonexistant channels in DELINK, and linking a channel multiple times in LINK James Lu 2015-07-13 22:54:51 -07:00
  • 1cbcec1001 relay: sync modes on initializeChannel as well James Lu 2015-07-13 22:42:50 -07:00
  • c11dc769cf pr/insp: allow explicitly specifying ts in mode* James Lu 2015-07-13 22:42:33 -07:00
  • c5298e3931 relay: fix joining users on initializeChannel James Lu 2015-07-13 21:46:05 -07:00
  • 235f169e54 relay: add quit, part, and nick handlers James Lu 2015-07-13 19:53:57 -07:00
  • 9bc8a35c25 relay: fix cases where a remote linked channel has different name James Lu 2015-07-13 19:46:24 -07:00
  • a5e2beb566 relay: propogate prefix modes in relayJoins, if the remote net supports them James Lu 2015-07-13 18:20:51 -07:00
  • d8cb3f1973 relay: spawn users on the right pseudoservers, and use SJOIN to introduce them if possible James Lu 2015-07-13 16:09:22 -07:00