fosslinux
|
7da08ffc80
|
tell user config setting is unchanged
|
2019-11-01 17:50:21 +11:00 |
|
jesopo
|
5c3510fe7c
|
Setting.format() should effect when you change a setting, mostly for
SensitiveSetting
|
2019-10-07 13:11:58 +01:00 |
|
jesopo
|
3466a3c43e
|
Allow utils.Setting_ parse functions to throw detailed errors
|
2019-10-04 10:25:48 +01:00 |
|
jesopo
|
2e80b223de
|
allow all preprocess.command and check.command failures to have a message
|
2019-09-26 12:14:55 +01:00 |
|
jesopo
|
9297ffbadc
|
.lstrip("-") from unset setting name
|
2019-09-24 14:48:01 +01:00 |
|
jesopo
|
47d38c7d18
|
refactor all checks for channel_type to server.is_channel()
|
2019-09-20 14:52:41 +01:00 |
|
jesopo
|
208eb9cd47
|
move where optional for_str is inserted
|
2019-09-20 13:39:33 +01:00 |
|
jesopo
|
770c28da55
|
allow "!config #channel" for channels other than the current one
|
2019-09-17 17:56:56 +01:00 |
|
jesopo
|
89289065a9
|
suggest "!config <nickname> <setting> <value>" when settings are missing
|
2019-09-17 10:31:28 +01:00 |
|
jesopo
|
c8133e7847
|
treat config target "*" as current channel or current user in PM
|
2019-09-17 10:25:42 +01:00 |
|
jesopo
|
cf0a81d2e5
|
permit '!config #channel <setting>' and '!config own_nick <setting>'
|
2019-09-17 10:21:48 +01:00 |
|
jesopo
|
ba0911f2e7
|
add utils.Setting.format() so subtypes can format differently
|
2019-09-12 12:17:09 +01:00 |
|
jesopo
|
0578d9ef5b
|
'bot' -> '_bot'
|
2019-09-05 14:13:40 +01:00 |
|
jesopo
|
30ce2ef11c
|
remove unused CHANNELSET_HELP const
|
2019-09-02 15:15:04 +01:00 |
|
jesopo
|
94ef49be1b
|
!config access should be "config", not "set". remove unused check_assert
|
2019-08-16 10:26:05 +01:00 |
|
jesopo
|
bb47e7fa58
|
use raw/unformatted Setting usage strings for require_setting output
|
2019-07-02 20:59:39 +01:00 |
|
jesopo
|
b4c762eb4e
|
Automatically format example text for OptionsSetting (showing options)
|
2019-06-29 21:33:26 +01:00 |
|
jesopo
|
ae9d099a41
|
Refactor set/channelset/serverset/botset in to 'utils.Setting' objects
|
2019-06-28 23:16:05 +01:00 |
|
jesopo
|
4bb3eeb9f1
|
module is called 'check_mode', not 'channel_mode'
|
2019-06-19 22:33:03 +01:00 |
|
jesopo
|
1d16009317
|
Add missing --depends-on hashflags
|
2019-06-19 22:14:13 +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
|
88e796e334
|
check-mode and channel-access should reference the computed target, not
"current channel"
|
2019-06-18 08:01:20 +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
|
8ab4880c5c
|
Change from yield checks to a func in events that pass up EventErrors
|
2019-06-15 18:42:14 +01:00 |
|
jesopo
|
1d8173f607
|
copypaste fail, setting_info -> export_settings[setting]
|
2019-06-14 17:39:11 +01:00 |
|
jesopo
|
e814494777
|
Show example (when available) for "invalid value" error
|
2019-06-14 17:35:12 +01:00 |
|
jesopo
|
359e977d18
|
Don't let users change settings for other channels when they have +o in the
current channel
|
2019-06-14 16:34:48 +01:00 |
|
jesopo
|
74a4d7077d
|
Remove !set/!channelset/!serverset/!botset and related commands
|
2019-06-14 12:29:24 +01:00 |
|
jesopo
|
e713086255
|
Advise use of !config, not !set/!channelset/!serverset/!botset
|
2019-06-14 12:27:45 +01:00 |
|
jesopo
|
7a5af8f558
|
yield already generated permission check for serverset/botset
|
2019-06-14 12:25:53 +01:00 |
|
jesopo
|
f614d1fc14
|
add self check.command, change !config to use new yields
|
2019-06-14 12:09:42 +01:00 |
|
jesopo
|
268c5adb3c
|
Add depends-on hashflags to relevant modules
|
2019-05-25 21:40:06 +01:00 |
|
jesopo
|
f4b702fe04
|
Remove debug printing from config.py
|
2019-05-23 14:18:15 +01:00 |
|
jesopo
|
ac9768fcde
|
Add system to require settings per event hook and show example help if they're
not present
|
2019-05-23 11:45:35 +01:00 |
|
jesopo
|
fef97bfcd8
|
Show example usage when a user does not provide a setting value
|
2019-05-23 10:36:59 +01:00 |
|
jesopo
|
13a878cc17
|
Remove array-setting log - we don't/shouldn't use it.
|
2019-05-23 10:34:10 +01:00 |
|
jesopo
|
24716402ec
|
Show the full result of a !config change
|
2019-04-28 10:50:19 +01:00 |
|
jesopo
|
e3100bb64a
|
Look at setting-specific part of export_settings to get validate function, not
the whole dang dictionary
|
2019-04-24 11:02:41 +01:00 |
|
jesopo
|
8ecd1f31c7
|
'set.py' -> 'config.py'
|
2019-04-15 17:08:01 +01:00 |
|