Pragmatic Software
0ac20aa4b1
Commands: fix some cases in which $args would not expand
2020-05-21 19:38:05 -07:00
Pragmatic Software
beef46f120
Variables such as $0 can now be escaped, e.g. in factset
, etc
2020-05-21 19:23:30 -07:00
Pragmatic Software
976bfcb5e7
Refactor commands to begin with cmd_ and take a $context object
...
Move all command subroutines closer to top of source file
Do not send WHO to non-chanop channels
Minor misc bugfixes and improvements
2020-05-04 13:21:35 -07:00
Pragmatic Software
cfba96e8ae
Rename $stuff to $context throughout
2020-05-01 20:59:51 -07:00
Pragmatic Software
e155b2958e
Commands: show how to add help text when help text is missing
2020-05-01 09:55:15 -07:00
Pragmatic Software
66f6d867e9
Remove redundant _name metadata from JSON files
2020-04-22 16:46:09 -07:00
Pragmatic Software
47661f4a21
Commands: factoid-based $variables now expand in command arguments
2020-03-17 23:56:44 -07:00
Pragmatic Software
5c4e10a35c
Tidy things up
2020-02-15 14:38:32 -08:00
Pragmatic Software
a5435e03cb
Commands: support process-timeout metadata
2020-02-14 23:27:44 -08:00
Pragmatic Software
7e49d65e4f
Commands: rename execute-process to background-process
2020-02-14 23:17:19 -08:00
Pragmatic Software
2ce5f8688d
Commands now check for execute-process
metadata
2020-02-14 22:42:15 -08:00
Pragmatic Software
21c1eba0a0
No longer directly access DualIndexHashObject internals
2020-02-13 13:31:36 -08:00
Pragmatic Software
afe4638b0a
No longer directly access HashObject internals
2020-02-11 21:49:43 -08:00
Pragmatic Software
95a4c9114c
Commands: improve output of user account errors
2020-02-10 14:42:29 -08:00
Pragmatic Software
02f93c8721
Significant refactor and clean-up of PBot class instantiation
2020-02-08 11:04:13 -08:00
Pragmatic Software
1016dd678f
Commands: fix typo
2020-02-05 18:30:34 -08:00
Pragmatic Software
97a913ef32
Add more capabilities to default groups
2020-02-05 17:55:31 -08:00
Pragmatic Software
64f814fa8d
Commands: create can-cmd caps only for cmds with cap-required
2020-02-03 23:55:24 -08:00
Pragmatic Software
866d802850
Replaced admin-levels with user-capabilities [WIP commit 1 of 2]
2020-02-03 09:50:38 -08:00
Pragmatic Software
20159ad929
Commands: make in
command more intuitive
2020-02-01 22:17:20 -08:00
Pragmatic Software
0af8fc4c5c
Commands: add set_meta function
2020-01-31 19:35:22 -08:00
Pragmatic Software
539e599b61
Improve login/logout related messages
2020-01-28 22:58:44 -08:00
Pragmatic Software
5dd03f1c0c
Massive refactor: added support for generic users!
...
Renamed data/admins to data/users
Moved Admins.pm to Users.pm
Moved various subroutines in AdminCommands.pm to more appropriate locations
Deleted AdminCommands.pm
Improvements to Users.pm
Added `my` command
2020-01-25 12:28:05 -08:00
Pragmatic Software
61d5c6dd5f
Commands: restore accidentally removed use statements
2020-01-23 22:46:41 -08:00
Pragmatic Software
4e2a17a5ed
Commands: add uptime
command
2020-01-23 21:09:57 -08:00
Pragmatic Software
cec026705b
Commands: add help
command
2020-01-20 16:37:51 -08:00
Pragmatic Software
ed874c2dec
Minor style clean-up
2020-01-19 20:00:01 -08:00
Pragmatic Software
727d086df1
Commands: ensure "level" metadata is always set
2020-01-18 22:13:08 -08:00
Pragmatic Software
6eeec3b26c
Commands: remove "metadata" from name of HashObject
2020-01-18 21:58:58 -08:00
Pragmatic Software
f3ef8a56c0
Commands: add metadata
2020-01-18 21:49:55 -08:00
Pragmatic Software
9dbd84f6c5
Commands: use boundary when extracting admin channel from arguments
2020-01-03 23:04:46 -08:00
Pragmatic Software
d35a0f4081
Fix channel-specific bot admins being unable to privately /msg admin commands
2020-01-03 19:20:25 -08:00
Pragmatic Software
b8c77abd47
Improve and simplify pipe/subcmd logic
2019-09-04 20:18:32 -07:00
Pragmatic Software
3553692b5a
Fix some more Unicode encoding issues
2019-07-10 18:40:53 -07:00
Pragmatic Software
51fa020de2
Commands: Remove unused reference
2019-06-22 18:28:38 -07:00
Pragmatic Software
5eeabccaf2
Factoids: remove execute_code_factoid_using_safe
2019-06-02 19:31:25 -07:00
Pragmatic Software
bb08250673
Factoid usage
metadata can now interrupt pipes to display usage message as appropriate
2019-06-02 19:30:35 -07:00
Pragmatic Software
925a5e57bd
Minor whitespace syntax clean-up throughout
2019-05-28 09:19:42 -07:00
Pragmatic Software
263366bdfa
Rename as
to in
2018-02-21 18:41:56 -08:00
Pragmatic Software
7e061741da
Improve nick-prefix/override
2018-01-23 13:58:03 -08:00
Pragmatic Software
8fb98d614f
Add ability to override command effective-level
2017-12-11 12:44:19 -08:00
Pragmatic Software
8ac79a4cb2
Move lc out of loop (does Perl already optimize for this?)
2017-12-02 15:05:30 -08:00
Pragmatic Software
51b1b25b16
Add debugcontext
registry item for $stuff dumps
2017-11-20 16:10:48 -08:00
Pragmatic Software
3ed4d58570
Significant refactoring of command passing
...
Instead of passing locally-scoped short-lived parameters to subroutines,
we now create and pass around a "stuff" context hash.
This allows contextual state to be passed and updated throughout the life
of a command.
This commit is a WIP and is 90% finished. There are likely to be a couple of
edge-cases where strange things may happen. But command-piping mostly works!
2017-11-16 09:23:58 -08:00
Pragmatic Software
346dcd3320
Uh, fix weird typo
2017-09-21 11:52:45 -07:00
Pragmatic Software
85693f905a
Convert code-factoids to use VM
...
Code-factoids can now use the compiler virtual machine. Any languages installed
in the VM are valid candidates for code-factoids!
Syntax: factadd keyword /code language code here
2017-09-10 19:53:29 -07:00
Pragmatic Software
1a08156443
Add $0 in factoid action to expand to first keyword used to invoke factoid
2017-08-26 01:45:18 -07:00
Pragmatic Software
23c2c3d84e
Single-quotes now behave as expected for parse_arguments()
2017-08-23 19:16:32 -07:00
Pragmatic Software
334b414f7d
Whoops, extraneous "my" harmlessly overshadows a variable. Fixed.
2017-08-08 21:17:11 -07:00
Pragmatic Software
53ffb271b3
Commands no longer case-sensitive
2017-08-03 13:30:18 -07:00