Commit graph

2005 commits

Author SHA1 Message Date
jesopo
32813b4b4e Change formatted.notice format to have context 2019-06-20 17:08:33 +01:00
jesopo
24cdff9e44 Add an export for IRCv3 CAPs 2019-06-20 16:52:23 +01:00
jesopo
8797be9457 return unshortened url when shortening fails 2019-06-20 16:35:58 +01:00
jesopo
a9514dfc44 add channel-access key for starting and ending votes 2019-06-20 12:13:55 +01:00
jesopo
20df824f72 Make it configurable whether people need permission to start a vote 2019-06-20 12:08:35 +01:00
jesopo
d08cb30f27 Set ignore.py --depends-on hashflags 2019-06-20 12:08:24 +01:00
jesopo
d3dda297e6 Don't exclude !commands from IRCBuffer objects 2019-06-20 11:55:58 +01:00
jesopo
282bde82c5 Move !ignore logic to it's own file 2019-06-20 11:51:04 +01:00
jesopo
70839e66ba Catch a module not being "found" in modules.py 2019-06-19 23:11:56 +01:00
jesopo
7bc24a8ba9 add ircv3_botignore.py, to ignore inspircd.org/bot users 2019-06-19 22:37:03 +01:00
jesopo
e55cd1e98e use utils.irc.MessageTag in ircv3_multiline.py 2019-06-19 22:36:24 +01:00
jesopo
4bb3eeb9f1 module is called 'check_mode', not 'channel_mode' 2019-06-19 22:33:03 +01:00
jesopo
e5b35ad64f Update CHANGELOG.md 2019-06-19 22:18:43 +01:00
jesopo
1d16009317 Add missing --depends-on hashflags 2019-06-19 22:14:13 +01:00
jesopo
3ae32db26e Don't let people vote in closed votes 2019-06-19 21:24:56 +01:00
jesopo
9407e083bd Manually strf birthdays so years are not .strip("0")ed 2019-06-19 11:06:26 +01:00
jesopo
938e1db963 add margin arg to ParsedLine.truncate so commands/outs.py doesn't do it
manually and cause potential issues with multi-byte chars
2019-06-19 10:34:42 +01:00
jesopo
d00d026461 allow short names for config contexts. people mistook "user" as "put your
nickname here" so having just "u" might prevent this
2019-06-19 10:28:53 +01:00
jesopo
43108b96ba show nickname in NO_DUCK non-kick message 2019-06-19 10:22:46 +01:00
jesopo
6d034c3b42 Move !help to it's own module and entirely rework its interface 2019-06-18 17:34:16 +01:00
jesopo
77ea95f0a9 Remove "!" from help strings 2019-06-18 17:33:42 +01:00
jesopo
00d7da9967 location_name will not be defined when querying a location instead of a user 2019-06-18 16:53:57 +01:00
jesopo
b3b8c6534b Remove debug prints 2019-06-18 16:51:00 +01:00
jesopo
398bd7e117 use "city, state, country" for formatted location name when available 2019-06-18 16:50:46 +01:00
jesopo
14303f354c 'location' wasn't the variable i thought it was 2019-06-18 16:40:42 +01:00
jesopo
d43cef6543 Save location name from geocoding, use it for !w when available
closes #71
2019-06-18 16:36:22 +01:00
jesopo
2ed1cf2e4a Only try to show !w country when it is available. closes #72 2019-06-18 16:35:51 +01:00
jesopo
3c51348fec Implement +bitbot.dev/mulitline-concat to concat line to previous line 2019-06-18 15:18:56 +01:00
jesopo
621830c360 Simplify SentLine by shifting truncation to ParsedLine (and commands.outs) 2019-06-18 14:14:37 +01:00
jesopo
88e796e334 check-mode and channel-access should reference the computed target, not
"current channel"
2019-06-18 08:01:20 +01:00
jesopo
312b0af645 Change vote, instead of rejecting, when people vote twice 2019-06-17 22:31:27 +01:00
jesopo
37fd78ff27 Change vote ids to be 6 chars, instead of 8 2019-06-17 21:39:43 +01:00
jesopo
4bcc02f32d WARN log for soft SASL failure 2019-06-17 18:22:12 +01:00
jesopo
ee9a67730a _end_sasl takes a server param 2019-06-17 18:11:02 +01:00
jesopo
7df8082e72 Update help/usage strings for vote.py 2019-06-17 18:08:02 +01:00
jesopo
966515bd24 Make sure new random ids are unique 2019-06-17 17:54:41 +01:00
jesopo
96d2a1fae6 Support multiple concurrent votes 2019-06-17 17:51:42 +01:00
jesopo
738a353c52 support recalling results of old votes 2019-06-17 16:36:48 +01:00
jesopo
933668f0a3 Allow admin users to start/end votes 2019-06-17 16:30:23 +01:00
jesopo
31503f3f75 first draft of vote.py 2019-06-17 16:29:14 +01:00
jesopo
47acd4adc3 Add a setting to disable "hard" sasl failure 2019-06-17 14:22:08 +01:00
jesopo
72ce880478 Only panic() when a server connection is part of bot init. closes #69 2019-06-17 14:20:11 +01:00
jesopo
0c02368023 panic() if a sasl dance fails on first connection, disconnect on reconnect sasl
fail
2019-06-17 14:07:44 +01:00
jesopo
76a2c66b3e Show what the given context was when it's unknown 2019-06-17 11:29:36 +01:00
jesopo
99a314ed01 Catch _to_context ValueError and show pretty error 2019-06-17 11:27:48 +01:00
jesopo
ced59a0f74 Allow channel-access and channel-mode check for channels people are not in 2019-06-16 20:48:31 +01:00
jesopo
73aa55b866 Support 'channel-access' check request referencing current channel 2019-06-16 20:45:14 +01:00
jesopo
98e1202c78 Allow command.regex hooks to opt-in to being triggered from a /me
closes #68
2019-06-16 18:40:25 +01:00
jesopo
75f60caaf8 'multi-line' -> 'multiline' 2019-06-16 17:20:31 +01:00
jesopo
4b61f837fb 'timeout' -> 'cooldown'. closes #60 2019-06-16 17:05:40 +01:00