James Lu
3339bf0fe6
relay: rewrite normalizeHost() to whitelist characters instead
2016-12-17 23:47:26 -08:00
James Lu
7e37a90c80
clientbot: delete channels on kick / part, or if a channel becomes empty after parting
...
Closes #314 .
2016-12-16 20:50:36 -08:00
James Lu
e7a005b685
control: log remaining threads on shutdown, for debugging freezes
2016-12-16 19:42:12 -08:00
James Lu
95b58fc2c4
utils: abstract protocol/plugin import prefixes, and implement filtering by plugin in 'list'
...
Closes #369 .
2016-12-16 19:25:41 -08:00
James Lu
7b5fcc3219
corecommands: use irc.error() in login fail wrapper
2016-12-16 19:06:33 -08:00
James Lu
f9adaa85ca
commands: implement 'logout'
...
Closes #370 .
2016-12-16 19:05:08 -08:00
James Lu
2be8d5b282
README: supported->possible for unreal 3.2 notes
...
UnrealIRCd 3.2 is EOL Dec. 31, so it's not really worth actively "supporting" it.
2016-12-16 19:04:44 -08:00
James Lu
1fd7aba3b0
example-conf: add migration notes for login:user/password deprecation
2016-12-16 18:40:27 -08:00
James Lu
045abfa9c1
commands: add permissions checks to echo, showuser, showchan, and status
2016-12-16 18:31:19 -08:00
James Lu
2de36caea0
commands: fix previous commit
2016-12-09 22:13:32 -08:00
IotaSpencer
b0296933a1
plugins/commands.py: change over to permissions API
2016-12-09 22:13:32 -08:00
IotaSpencer
9199186309
plugins/opercmds.py: change over to permissions API
2016-12-09 22:13:32 -08:00
IotaSpencer
69083cfcfd
plugins/bots.py: change over to permissions API
2016-12-09 22:13:32 -08:00
James Lu
12a8509299
changehost: limit 'applyhosts' to those with the changehost.applyhosts perm
2016-12-09 22:13:32 -08:00
James Lu
60ca5af813
networks: port to the permissions API ( #367 )
2016-12-09 21:55:47 -08:00
James Lu
fb463e3b26
networks.remote: override the login to a valid user, so that permissions can match it
2016-12-09 21:53:54 -08:00
James Lu
34ad79744a
networks: update help for 'disconnect'
...
The 'disconnect' command has been changed to disable autoconnect, but this text was never updated.
2016-12-09 21:51:57 -08:00
James Lu
01f2a4ca20
servermaps: fix wrong permission name
2016-12-09 21:43:58 -08:00
James Lu
3d4cb02ce2
exec: rewrap docstirngs
2016-12-09 21:43:58 -08:00
James Lu
9e2598612a
exec: port to permissions API ( #367 )
2016-12-09 21:43:58 -08:00
James Lu
5a066bfde4
corecommands: port to use the permissions API ( #367 )
2016-12-09 21:43:58 -08:00
James Lu
1e7210a6db
Refresh permissions examples, adding a stub in the main example conf for admin access
2016-12-09 20:57:49 -08:00
James Lu
57aa844fcb
permissions: limit "login = admin access" to old-style (< 1.1) login blocks
2016-12-09 20:57:01 -08:00
James Lu
506467193e
Import RELNOTES for 1.1-alpha1
2016-12-09 20:14:26 -08:00
James Lu
1761effa28
VERSION: bump to 1.1-alpha1
2016-12-09 18:37:54 -08:00
James Lu
a2e0bb19dc
launcher: set terminal title on launch (windows & posix)
2016-12-09 18:10:47 -08:00
James Lu
b5f244009a
relay: rename camel case functions to lowercase with underscores
...
The exception is isRelayClient(), which is aliased only to is_relay_client() to be consistent with isXYZ() functions elsewhere in the framework
Also, getRemoteChan() was renamed to get_remote_channel()
2016-12-09 18:02:30 -08:00
James Lu
2b4943a780
relay: add locks in db read/writes (thread safety)
2016-12-09 17:44:11 -08:00
James Lu
e40b2f6529
relay: add 'purge' command to remove all relays involving a network
...
Closes #356 .
2016-12-09 17:34:51 -08:00
James Lu
8855ef2a41
relay: don't break in removeChannel if irc.pseudoclient isn't set
2016-12-09 17:34:34 -08:00
James Lu
e7e2f2c98e
core: update "missing dependencies" errors
...
Closes #363 .
2016-12-09 17:15:53 -08:00
James Lu
638b9dc84a
relay: rewrap help for LINKACL
...
More formatting changes to come.
2016-12-05 23:33:42 -08:00
James Lu
03766b9f89
ServiceBot: implement docstring rewrapping per #307 .
...
Closes #307 .
2016-12-05 23:33:03 -08:00
James Lu
b3387f2d41
conf: fix deprecation warnings crashing because log is unavailable
...
This allows conf methods to access to global logger by via an optional 'logger' argument. However,
the caveat is that the logging facilities are still unavailable on first start, because log can
only be imported *after* the configuration is loaded.
2016-12-05 22:43:01 -08:00
James Lu
62a4bc01ce
Merge branch 'master' into devel
2016-12-05 00:59:41 -08:00
James Lu
664bd3a89f
pylink-contribdl: link to contrib modules list if no argument is given
2016-12-05 00:45:53 -08:00
James Lu
3f4bf72248
pylink-contribdl: implement --yes
2016-12-05 00:39:09 -08:00
James Lu
c479dd1753
Add a contrib module downloader (pylink-contribdl)
...
Fixes #350 .
2016-12-05 00:36:11 -08:00
James Lu
f5633329f8
utils: drop loadModuleFromFolder; it is unused since bcc84b8618
2016-12-04 23:35:16 -08:00
Ken Spencer
e59d829973
update mailmap with my (IotaSpencer) aliases
...
(cherry picked from commit 2c1b8c09529dd229d570eb464cb3105cede146e6)
2016-11-22 22:52:05 -08:00
Ken Spencer
a173e2a61f
pylink: Warn users that configuration is changing. ( closes #361 )
2016-11-22 22:49:23 -08:00
James Lu
a57f194123
changehost: add options to match users by IP and realhost
2016-11-20 12:34:11 -08:00
James Lu
476f84a181
changehost: implement enforce exceptions
2016-11-20 12:33:58 -08:00
James Lu
f9e798cf93
Irc: fix matchHost not using realhost [rp[er;y
2016-11-20 12:29:51 -08:00
James Lu
d90f44c510
changehost: explicitly ignore PyLink internal clients
2016-11-20 12:04:30 -08:00
James Lu
501647805c
changehost: add optional vHost enforcement
2016-11-20 11:53:55 -08:00
James Lu
ffc271a53a
login: Use a slightly faster CryptContext
2016-11-19 17:47:55 -08:00
James Lu
c4351d61c6
Add command line mkpasswd utility & encrypted password example
2016-11-19 17:21:45 -08:00
James Lu
b1e4b34b79
Switch 'identify' to use the new login backend, add passlib to README dependencies
...
This new backend supports optional encryption (sha256_crypt / sha512_crypt via passlib). Closes #322 .
2016-11-19 17:21:45 -08:00
James Lu
69066029f1
Simplify/rewrite the login module
2016-11-19 17:01:05 -08:00