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

2370 Commits

Author SHA1 Message Date
James Lu
77e13bce03 inspircd: fix logic for tracking existing bans in sjoin() 2016-06-23 22:36:22 -07:00
James Lu
6555ba2e6a nefarious: burst bans according to the P10 standard
Closes #250.
2016-06-23 22:36:22 -07:00
James Lu
f6edf997c5 README: fix typo 2016-06-23 20:32:23 -07:00
James Lu
2936e94f50 unreal: warn about mode bounces instead of fighting with the uplink 2016-06-22 22:37:53 -07:00
James Lu
f2b139c828 core: make inbound SJOINs also respect the updateTS() rules 2016-06-22 22:28:15 -07:00
James Lu
90ee20ee8b relay: revert changes to mode handling that only bursts modes from the owning network on connect 2016-06-22 21:41:04 -07:00
James Lu
6b8e80cd5b core/protocols: add modes option in sjoin(), TS6 BMASK, and mode TS rules in updateTS()
Closes #249.
Closes #250.
2016-06-22 21:34:16 -07:00
James Lu
6fc5fa3130 relay: split relayModes() into getSupportedCmodes() for better reusability
First part of #248.
2016-06-22 19:49:49 -07:00
James Lu
377c09fe66 pylink: oops, re-add world.testing = False 2016-06-22 19:23:06 -07:00
James Lu
8969cfb74e Merge branch 'master' into devel
Conflicts:
	plugins/networks.py
2016-06-22 19:10:59 -07:00
James Lu
6060a8857f ts6: fix incorrect WHOIS syntax
Thanks to @cooper for reporting.
2016-06-22 18:34:17 -07:00
James Lu
1ad8b2e539 networks: reintroduce networks properly in 'connect'
Closes #245.
2016-06-22 10:39:22 -07:00
James Lu
dd08c01791 Irc: default pingTimer to None before starting connections
(cherry picked from commit 42ec6f2502)
2016-06-21 20:34:48 -07:00
James Lu
cfa2cda885 relay: only reverse modes for CLAIM if there are any to reverse 2016-06-21 20:29:48 -07:00
James Lu
101bd9664e unreal: fix typo in comment 2016-06-21 17:03:23 -07:00
James Lu
dce768017a [WIP] conf: re-add 'fname' variable (used by REHASH) 2016-06-21 11:31:39 -07:00
James Lu
3a57e8d595 Split coreplugin.py into coremods/
Closes #240.
2016-06-21 11:25:47 -07:00
James Lu
75ae50e03a pylink: implement --version, --no-pid
Closes #242.
2016-06-21 11:03:28 -07:00
James Lu
cb633cfba5 Default config file location is now pylink.yml 2016-06-21 10:59:03 -07:00
James Lu
2f188dc60d core: Remove load-conf-on-import, implement basic command line options via argparse
Ref #242.
2016-06-21 10:55:42 -07:00
James Lu
42ec6f2502 Irc: default pingTimer to None before starting connections 2016-06-21 10:54:07 -07:00
James Lu
d0bd064eda pylink: better error message if PyLink isn't properly installed 2016-06-21 10:27:36 -07:00
James Lu
53ce5e26e0 Update installation instructions 2016-06-20 18:40:13 -07:00
James Lu
04de033454 log: remove references to script directory
This is wrong when log.py is present in ~/.local/lib/... or /usr/lib/...
2016-06-20 18:23:05 -07:00
James Lu
c6968fa2b8 .gitignore: ignore dist/ and egg-related data 2016-06-20 18:19:37 -07:00
James Lu
481d70eff8 New import paths for properly installed pylinkirc 2016-06-20 18:18:54 -07:00
James Lu
5f9c14ca18 WIP: Very basic setup.py
Import paths, etc. in the PyLink app still need to be adjusted!
2016-06-20 17:48:14 -07:00
James Lu
1caf42e8c3 Remove CPUlimit wrapper scripts 2016-06-20 17:11:27 -07:00
James Lu
58e3c6626c Remove awfully maintained test cases 2016-06-20 17:11:14 -07:00
James Lu
0b9691c3c6 Merge branch 'master' into devel 2016-06-20 16:38:33 -07:00
James Lu
3e19e9c3f1 unreal: add missing inviteonly (+i) definition 2016-06-19 21:18:35 -07:00
James Lu
e057df2ae9 channel-modes: fix definition for private (+p)
Charybdis and Elemental-IRCd implement +p as noknock, not the RFC1459-style private.
2016-06-19 21:14:10 -07:00
James Lu
26df48c26d ts6: add missing definition for cmode +i 2016-06-19 21:13:14 -07:00
James Lu
87cbbc9c57 relay: clearer error message when DESTROY'ing a channel you didn't create 2016-06-19 12:32:27 -07:00
James Lu
d3e207d653 relay: axe unused variable 2016-06-19 12:32:12 -07:00
James Lu
bcc754cf0b relay: allow forcing slashes on unsupported IRCds
This adds an undocumented option "relay_force_slashes" to allow slashes in nicks anyways, for IRCds that are, for example, TS6 or P10 variations that don't validate remote nicks.
2016-06-19 12:32:03 -07:00
James Lu
e47738c27f relay: forbid linking two channels on the same network 2016-06-19 12:14:09 -07:00
James Lu
9132bfcb3a pylink-opers: mention DESTROY, DELINK 2016-06-19 12:12:17 -07:00
James Lu
9732d01a9e relay: default DB to {} so it doesn't flip out on 'load relay'
(cherry picked from commit db56513ac7)
2016-06-17 07:19:13 -07:00
James Lu
db56513ac7 relay: default DB to {} so it doesn't flip out on 'load relay' 2016-06-16 21:55:50 -07:00
James Lu
fa3d230ac9 IncrementalUIDGenerator: normalize SID to strings 2016-06-16 21:55:32 -07:00
James Lu
11bbbfba19 Ctcp plugin: handles basic VERSION requests
Closes #236.
2016-06-15 11:31:40 -07:00
James Lu
d362063e8a ServiceBot: ignore invalid commands beginning with \x01 (CTCP) 2016-06-15 11:26:30 -07:00
James Lu
f555a484f9 Irc: unconditionally call disconnect() on errors or ping timeouts
This prevents duplicated ping timer threads from spawning, I think...
2016-06-15 10:55:47 -07:00
James Lu
b1a5f864d8 Irc: resolve hostnames when connecting
Cloeses #158.
2016-06-11 11:29:11 -07:00
James Lu
cb30aca750 docs/t/writing-plugins: mention main() and die()
Closes #113.
2016-06-11 11:03:16 -07:00
James Lu
77fa3573a1 ServiceBot: remove defaults for nick and ident
This fallback is handled by coreplugin already.
2016-06-11 10:54:07 -07:00
James Lu
bbcddceaf9 core: configurable nicks for services (per-net and global)
Closes #220.
Closes #229.
2016-06-11 10:44:14 -07:00
James Lu
675489489a Merge branch 'master' into devel 2016-06-11 10:42:02 -07:00
James Lu
cd4bf55629 example-conf: fix wrong key for ident setting 2016-06-11 10:36:01 -07:00