James Lu
6af8e77ee1
permissions: apply add/removeDefaultPermissions on the right list
2016-08-25 12:07:36 -07:00
James Lu
f890ddac1b
permissions, automode: work on default permissions & add example permissions config ( #190 )
...
- Fix possible type errors in add/removeDefaultPermissions by converting permlist values to sets.
- Fix wrong permission string being checked in automode.<command>.#channel
- automode: register and unregister default permissions on load/unload.
- permissions: add an 'also_show' argument to checkPermissions(), to display alternative permissions that weren't directly checked.
2016-08-25 11:45:57 -07:00
James Lu
03a780f397
automode: reorder functions in a way that makes more sense
2016-08-25 11:10:55 -07:00
James Lu
06cbbbb019
ServiceBot: display the NotAuthorizedError argument raw
2016-08-25 00:58:19 -07:00
James Lu
b4b772354c
permissions: fix inverted permissions list lookup
2016-08-25 00:58:19 -07:00
James Lu
104c0cef4b
automode: switch from irc.checkAuthenticated to new-style permissions
2016-08-25 00:58:19 -07:00
James Lu
91e39b7df9
WIP Permissions API ( #190 )
2016-08-25 00:45:05 -07:00
James Lu
5908776a86
API CHANGE: Rename NotAuthenticatedError -> NotAuthorizedError
2016-08-25 00:43:44 -07:00
James Lu
7d2b22630d
ServiceBot: display custom error messages for NotAuthenticatedError
2016-08-25 00:41:53 -07:00
James Lu
945818e1d8
Refresh protocol module spec for 0.10 ( #284 )
...
Reword various things, and update links to source code references. Also, mention the following:
- conf_keys validation (#282 )
- Topic acceptance rules (or rather, the lack thereof: #277 )
2016-08-24 23:25:36 -07:00
James Lu
3e2c6ea1b7
launcher: show VCS version in "pylink -v"
...
(cherry picked from commit a04bf6119e
)
2016-08-24 22:58:19 -07:00
James Lu
441f2244a9
relay: fix overzealous host normalization due to variable replacement during iteration
...
(cherry picked from commit 09c98f66ff
)
2016-08-24 22:58:19 -07:00
James Lu
814c714145
clientbot: fix nick() using the wrong arguments
...
I should learn to proofread...
Also, outgoing NICK changes should not implicitly update the state; we should wait for the IRCd's acknowledgement instead.
2016-08-24 22:54:53 -07:00
James Lu
a04bf6119e
launcher: show VCS version in "pylink -v"
2016-08-23 07:28:48 -07:00
James Lu
09c98f66ff
relay: fix overzealous host normalization due to variable replacement during iteration
2016-08-21 18:06:53 -07:00
James Lu
29bfe108fe
clientbot: only send SQUIT payload if nicks are affected
2016-08-21 17:43:10 -07:00
James Lu
5444b808b1
Revert "relay_clientbot: lowercase network name (stylistic choice)"
...
This reverts commit 42da216f5d
.
2016-08-21 17:28:33 -07:00
James Lu
a546bae341
Irc: make throttle time configurable per server (defaults to 0.01s)
2016-08-21 17:25:09 -07:00
James Lu
7a5b64bdc9
Irc: implement basic message queueing (1 message sent per X seconds)
...
Ref #293 .
2016-08-21 17:12:51 -07:00
James Lu
583e4c65c8
Bump version to 0.10-alpha1
2016-08-21 17:12:50 -07:00
James Lu
e171708aba
PyLink 0.9.2
2016-08-21 16:58:07 -07:00
James Lu
689c0dd45b
relay: {} are valid nick chars too...
...
(cherry picked from commit b572c58223
)
2016-08-20 20:54:42 -07:00
James Lu
8cf771be2f
ts6: fix typo
2016-08-20 17:36:56 -07:00
James Lu
b572c58223
relay: {} are valid nick chars too...
2016-08-20 17:36:24 -07:00
James Lu
affe54b47f
log: configurable file rotation (size & backup count)
2016-08-17 22:01:00 -07:00
James Lu
3b93a521d6
log: import 'conf' in a way that works with REHASH
2016-08-17 22:00:34 -07:00
James Lu
126a07bdf6
core: rehashable file loggers with log rotation support
...
Closes #176 . Closes #315 .
2016-08-17 21:42:18 -07:00
James Lu
06ecc89603
Merge remote-tracking branch 'origin/master' into devel
...
Conflicts:
README.md
docs/faq.md
protocols/unreal.py
2016-08-17 21:22:31 -07:00
James Lu
e9088792af
unreal: support TSCTL alltime
...
Closes #228 .
2016-08-17 21:21:18 -07:00
James Lu
a1e7c89027
FAQ: update link to dependencies list
2016-08-17 13:59:33 -07:00
James Lu
9d582661b7
README: reformat, add more verbose setup guide
...
This mentions multiple ways of installation now: via PyPI or source.
Closes #310 .
2016-08-17 13:58:07 -07:00
James Lu
44744fa510
FAQ: reorder issues based on perceived importance
2016-08-14 18:06:10 -07:00
James Lu
bf36d58612
faq: mention errors caused by tabs in config ( #316 )
2016-08-14 18:03:50 -07:00
James Lu
2d89fd44cd
faq: reformat, add "one-way clientbot" issue
2016-08-14 11:34:25 -07:00
James Lu
e1fab8c153
relay: fix a typo in comment
2016-08-13 11:40:01 -07:00
James Lu
1c83f59baa
relay: rewrap some poorly placed comments
2016-08-13 11:03:58 -07:00
James Lu
c20dd07a2d
inspircd: implement /ALLTIME support ( #228 )
2016-08-12 19:36:40 -07:00
James Lu
94aee8f05c
Implement /TIME support ( #228 )
2016-08-12 19:19:09 -07:00
James Lu
a76bd8c5b2
core: make hostmask fetching a shared function
2016-08-12 19:18:56 -07:00
James Lu
63f40c9565
relay: delay RELAY_JOIN hooks to a second loop. Closes #311 .
2016-08-12 18:47:12 -07:00
James Lu
17127dd131
clientbot: send hook payloads for external updateClient
...
Closes #300 .
2016-08-12 18:47:12 -07:00
James Lu
6828d032b4
Irc: RFC-standard umode +s does not take an argument
2016-08-11 18:14:35 -07:00
James Lu
e75c0d075f
relay: on clientbot, explain _why_ calling LINK twice is needed
2016-08-11 12:51:08 -07:00
James Lu
b4e83e7b1a
clientbot: basic prefix mode detection (halfop, admin, owner)
2016-08-11 12:46:05 -07:00
James Lu
226089cc3c
clientbot: forward SJOIN on the main client as JOIN ( #299 )
2016-08-11 11:24:23 -07:00
James Lu
3a0a2c7f1c
clientbot: don't update state on join()
...
Wait for NAMES instead to make sure that the join attempt actually succeeded. #299
2016-08-11 11:23:41 -07:00
James Lu
7a0a013c43
clientbot: suppress mode change hooks for internal clients
2016-08-10 21:07:20 -07:00
James Lu
84eee41734
example-conf: rewrap clientbot sample, add autoconnect entry
2016-08-10 13:24:57 -07:00
James Lu
ffdc313376
Irc: make hostname field optional in version()
...
Reported by Rascle via IRC.
2016-08-10 13:23:24 -07:00
James Lu
d1dccf8dcc
example-conf: update examples for name resolving
...
This is tested now. It works fine.
2016-08-10 11:28:35 -07:00