3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-25 03:59:32 +01:00
Commit Graph

1483 Commits

Author SHA1 Message Date
James Lu
efd13d20ee example-conf: add sample unreal block, documenting mixed_link 2016-04-02 10:13:45 -07:00
James Lu
44b102ffce networks: allow all opers to run 'autoconnect' 2016-04-02 09:48:49 -07:00
James Lu
13e97177e2 docs: Add a PyLink oper guide 2016-04-02 09:45:35 -07:00
James Lu
c4273e68a4 unreal: fix for Python 3.4 support
The general syntax for unpacking lists with *list was only introduced in Python 3.5: https://www.python.org/dev/peps/pep-0448/
2016-04-02 09:32:03 -07:00
James Lu
4f08894227 unreal: typofix 2016-04-01 23:35:48 -07:00
James Lu
10be962318 unreal: actually return the hook data for NICK & KILL 2016-04-01 23:27:31 -07:00
James Lu
44dc856ffa unreal: use an awful outFilter hack to convert PUIDs->nicks when sending outgoing commands 2016-04-01 23:14:04 -07:00
James Lu
74ee1ded4d unreal: Start work on some really hacky Unreal 3.2 compat code (#193)
What works:
- Tracking user JOINs, QUITs, PARTs

What doesn't work:
- Sending messages from PyLink clients to 3.2 users. They have fake UIDs (nick@counter) which don't go anywhere, meaning messages are silently dropped.
2016-04-01 23:02:12 -07:00
James Lu
3e7255e4b2 classes: remove ts6-specific hack in Protocol.removeClient 2016-04-01 22:55:03 -07:00
James Lu
514072804c README: mention the implications of #193 2016-04-01 20:26:30 -07:00
James Lu
fd32bbf45f unreal: fix typo in last commit 2016-04-01 19:12:58 -07:00
James Lu
efcc30c983 unreal: don't confuse legacy SERVER introductions from our uplink with protocol negotiation
Reported by Rascle on IRC.
2016-04-01 19:08:25 -07:00
James Lu
fab404f8d6 Merge branches 'master' and 'wip/relay-fixes' into devel 2016-04-01 18:32:19 -07:00
James Lu
3a8b0aa123 relay: catch OSError too when loading DB 2016-04-01 18:31:53 -07:00
James Lu
1bcadbe12b Use more flexible shebangs (/usr/bin/env python3) 2016-04-01 18:22:02 -07:00
James Lu
9e33081bc9 relay: fix typo in comment 2016-03-30 21:22:18 -07:00
James Lu
d21344342d relay: experimental fix for #183 2016-03-30 18:33:44 -07:00
Daniel Oaks
80b659a940 hybrid: Actually set irc.connected on CAPAB, like other protocols 2016-03-30 17:24:26 +10:00
Daniel Oaks
9d40efc114 hybrid: Steal some more handlers from TS6/Unreal protocols 2016-03-30 16:25:03 +10:00
Daniel Oaks
153b77c4bb hybrid: Set irc.connected after receiving EOB 2016-03-30 15:48:44 +10:00
Daniel Oaks
4b14134a17 hybrid: Fix TBURST, support WHOIS 2016-03-30 13:59:04 +10:00
Daniel Oaks
177e690dd3 hybrid: Support TBURST 2016-03-30 13:51:53 +10:00
Daniel Oaks
89c88d9111 hybrid: Use standard handle_events (with our special additions), don't lower() commands anymore since that isn't done now 2016-03-30 13:40:35 +10:00
Daniel Oaks
c71010f1b0 hybrid: Reorder a little, send EOB right after sending SERVER 2016-03-30 11:38:03 +10:00
Daniel Oaks
c4608fb891 hybrid: Set prefixmodes properly, handle MODE and TMODE 2016-03-30 11:34:52 +10:00
Daniel Oaks
a2bd0a8617 hybrid: Fix JOIN, handle JOIN (hopefully correctly), send EOB after receiving EOB 2016-03-30 09:11:43 +10:00
Daniel Oaks
3cd2dbac5a hybrid: Update for new methods 2016-03-30 09:11:43 +10:00
Daniel Oaks
6ff06cb881 hybrid: Use new CLIENT_OPERED name 2016-03-30 09:11:43 +10:00
Daniel Oaks
e914dc1e8e hybrid: Start making modes more consistent 2016-03-30 09:11:43 +10:00
Daniel Oaks
46610d217d hybrid: Remove silly debug print 2016-03-30 09:11:42 +10:00
Daniel Oaks
24589b21c1 hybrid: Handle PONG 2016-03-30 09:11:42 +10:00
Daniel Oaks
7ec4962412 hybrid: Implement suggested changes, remove comments 2016-03-30 09:11:42 +10:00
Daniel Oaks
1e79adc171 hybrid: Start module, very very broken 2016-03-30 09:11:42 +10:00
James Lu
8b7a9f6b45 Merge pull request #189 from DanielOaks/devel+ignore-env
gitignore: Ignore env folder for virtualenvs
2016-03-29 06:53:05 -07:00
Daniel Oaks
d287a22aec gitignore: Ignore env folder for virtualenvs 2016-03-29 19:52:57 +10:00
James Lu
58519011b8 coreplugin: modularize shutdown routines, handle SIGTERM->shutdown
Ref: #179
2016-03-27 21:46:10 -07:00
James Lu
b100f30cfe fantasy: break if IRC object isn't ready 2016-03-27 21:46:10 -07:00
James Lu
cf363432f0 pylink: use abspath() to get the source directory
Ref #181: Fixes crash on start when PyLink is run without the current
directory being specified: e.g. "python pylink" instead of "python
./pylink"
2016-03-27 21:24:55 -07:00
James Lu
662d1ce03f inspircd: warn that inspircd 2.2 support is experimental 2016-03-26 18:19:19 -07:00
James Lu
4a0ee6f54c relay: be more thread-safe via dict.copy() 2016-03-26 18:19:08 -07:00
James Lu
305db9f754 utils: also don't crash in applyModes for bad mode targets 2016-03-26 18:14:53 -07:00
James Lu
e70dfb0811 Merge branch 'master' into devel 2016-03-26 17:58:18 -07:00
James Lu
2169a9be28 utils: actually abort when mode target is invalid 2016-03-26 17:58:03 -07:00
James Lu
08c3b99dfb relay: fix ambiguous logging in KICK blocking 2016-03-26 17:56:11 -07:00
James Lu
4125ff33b1 pylink: prettier "Loaded plugins" log message on start 2016-03-26 16:29:17 -07:00
James Lu
d5d3c2422b inspircd: define minimum & target protocol versions instead of hardcoding them 2016-03-26 16:23:22 -07:00
James Lu
70b9bde2c4 unreal: fix a little typo 2016-03-26 13:26:57 -07:00
James Lu
ad517f80da unreal: bump protocol version to 4000 2016-03-26 13:19:06 -07:00
James Lu
19ac5b59a5 protocols: drop underscores from pre-defined opertypes 2016-03-26 13:15:22 -07:00
James Lu
c71d2bfcb9 coreplugin: sync opertype changes in handle_operup 2016-03-26 13:14:01 -07:00