James Lu
bf24bac9c9
ServiceBot: replace 'alias' option with 'aliases' & condense multiple add_cmds calls into one
2017-07-10 21:59:29 -07:00
Mitchell Cooper
100089f6b8
add alias argument where appropriate in plugins
2017-07-09 21:19:08 -04:00
James Lu
10bca676fc
coremods, plugins: migrate to snake case
2017-06-29 23:01:39 -07:00
James Lu
4696519bad
plugins: migrate irc.proto calls to irc
2017-06-25 02:09:59 -07:00
James Lu
084f58b499
automode: remove extraneous +'s from mode lists
...
Closes #447 .
2017-05-12 19:41:55 -07:00
James Lu
04f88df385
Actually use 'irc' in main() and die() as a keyword argument (per docs)
2017-05-12 19:19:52 -07:00
James Lu
c20c144222
automode, relay: remove unused imports
2017-01-21 12:01:41 -08:00
James Lu
170738ee10
Revert "automode: bandaid fix for "service already registered" errors on first load"
...
This reverts commit e2a853c98e
.
2017-01-21 11:59:43 -08:00
James Lu
605d242677
automode: remove repeated "Error:" in error messages
2017-01-02 10:11:55 -08:00
Ken Spencer
940430b075
plugins/automode: change errors over to irc.error() based use
2016-11-18 23:10:45 -08:00
James Lu
8ff292bd1f
automode: support remote channel manipulation in the form netname#channel
...
Closes #352 .
2016-11-12 12:20:25 -08:00
James Lu
b94e11930e
structures: directly retrieve DB save delay in DataStore ( #303 )
2016-11-09 22:53:13 -08:00
James Lu
b0636b40ab
Finish the plugin migration to DataStore
...
Closes #303 .
2016-11-09 22:47:22 -08:00
James Lu
e977c95520
Merge branch 'master' into devel
...
Conflicts:
VERSION
example-conf.yml
2016-11-02 22:28:39 -07:00
James Lu
9f43c0fe17
automode: fix typo in DB error message
2016-11-02 22:27:01 -07:00
James Lu
438838f81d
ServiceBot: handle autojoin additions even if bots haven't spawned yet
2016-09-24 12:33:57 -07:00
James Lu
d59732f6dd
automode: simplify join routines to use ServiceBot.join() ( #326 )
2016-09-23 23:43:27 -07:00
James Lu
eaa09d68ce
Automode: limit 'list' permissions on all channels to opers
2016-09-12 11:26:31 -07:00
James Lu
9b38ca7d68
automode: join modebot client on setacc
...
Reported by kevin via IRC.
2016-08-31 22:23:55 -07:00
James Lu
7bae4062b1
automode: log successful sync/add/remove/clear events
...
Closes #320 .
2016-08-31 13:32:50 -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
104c0cef4b
automode: switch from irc.checkAuthenticated to new-style permissions
2016-08-25 00:58:19 -07:00
James Lu
e2a853c98e
automode: bandaid fix for "service already registered" errors on first load
2016-07-23 21:46:55 -07:00
James Lu
8169a2b751
automode: fix typo in loadDB()
2016-07-17 15:19:48 -07:00
James Lu
40197e5f57
automode: fix help syntax
2016-07-17 10:54:46 -07:00
James Lu
d7538bee1b
automode: remove mentions to "setacc #channel mask -"
2016-07-17 10:50:18 -07:00
James Lu
ad5cd51189
automode: fix wrong indent in modebot_uid check
2016-07-12 22:16:24 -07:00
James Lu
6598d56400
automode: fix join handler, make match() take multiple users instead of one
2016-07-12 21:58:08 -07:00
James Lu
76554dccd1
automode: refactor to send only one MODE per channel ( #275 )
2016-07-12 21:58:08 -07:00
James Lu
256801c0b4
automode: send one MODE per user (first part of #275 )
...
If a user matches multiple DB entries, only one is sent now. However, this still needs to be changed so if multiple people are being checked for entries at once, one MODE command is sent for the entire channel.
2016-07-12 00:08:11 -07:00
James Lu
a6d9016464
automode: add clearacc, syncacc commands
...
Closes #262 . Closes #263 .
2016-07-11 16:29:17 -07:00
James Lu
cb7e7abec5
automode: treat channels case insensitively in 'delacc'
2016-07-11 16:29:02 -07:00
James Lu
b88b9614f6
automode: join channels where automode is enabled ( #264 )
...
Still a WIP: when automode is killed, it won't join any relay leaf channels. Perhaps Relay needs to learn how to queue channels for services bots when they join a remote channel, and then remove them when that channel is delinked, etc.
2016-07-08 13:01:56 -07:00
James Lu
de7533a46e
automode: more explicit check for the modebot UID being available
2016-07-07 22:57:31 -07:00
James Lu
f97f2d2fda
automode: call unregisterService() on unload
2016-07-07 22:41:51 -07:00
James Lu
00766041f3
plugins: make DB save delay configurable
2016-07-07 22:16:21 -07:00
James Lu
db3517b43a
automode: only those with admin login can change access entries
2016-07-07 21:57:36 -07:00
James Lu
4999ecd11f
Integrate services_support and automode
...
New hook: PYLINK_SERVICE_JOIN
2016-07-07 21:54:59 -07:00
James Lu
b3310eaf78
relay: also send internal hook for services login, for integration with automode
2016-07-07 21:43:25 -07:00
James Lu
0d502095c5
relay: integrate with automode by sending relay JOINs as a hook
2016-07-07 21:38:12 -07:00
James Lu
2be4811673
automode: separate matching into a separate function & listen for services login changes
2016-07-07 21:31:36 -07:00
James Lu
552070132d
automode: implement JOIN handler for a new working ACL system!
...
Closes #170 .
2016-07-07 21:23:06 -07:00
James Lu
d365f04199
Automode plugin stub ( #204 )
...
This supports adding/removing/listing entries and saving them to a DB, but no modes are set yet.
2016-07-07 21:06:28 -07:00