3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-30 07:59:42 +01:00
Commit Graph

2074 Commits

Author SHA1 Message Date
Pragmatic Software
3e6c560352 PBot: add config option to load only the logger (for internal use) 2019-07-23 08:51:36 -07:00
Pragmatic Software
230f9ca133 Update version 2019-07-10 18:52:53 -07:00
Pragmatic Software
2d442b0f3e Update version 2019-07-10 18:41:14 -07:00
Pragmatic Software
3553692b5a Fix some more Unicode encoding issues 2019-07-10 18:40:53 -07:00
Pragmatic Software
468cd21b87 Update version 2019-07-08 15:52:10 -07:00
Pragmatic Software
81ae3a5741 Fix split_line issue where it could sometimes forget tokens when encountering unbalanced quotes 2019-07-08 15:51:55 -07:00
Pragmatic Software
83fc8536d0 Update version 2019-07-06 15:53:42 -07:00
Pragmatic Software
30992af811 Add some whitespace around this one line 2019-07-06 01:29:14 -07:00
Pragmatic Software
baef88e2e7 Update version 2019-07-05 23:11:00 -07:00
Pragmatic Software
64ad929de6 FactoidModuleLauncher: timeout now configurable via registry 2019-07-05 23:10:57 -07:00
Pragmatic Software
a82f580f58 FactoidModuleLauncher: remove left-over debug log message 2019-07-05 23:04:04 -07:00
Pragmatic Software
66fac81540 Update version 2019-07-05 23:00:59 -07:00
Pragmatic Software
090d021ae2 FactoidModuleLauncher: no longer go through shell to execute modules; add time-out support 2019-07-05 23:00:53 -07:00
Pragmatic Software
b4ce94e655 Replace https:// with http:// in -url usage messages 2019-07-01 21:36:08 -07:00
Pragmatic Software
1abed830ef Update version 2019-06-30 22:19:09 -07:00
Pragmatic Software
f410eaf6eb factchange now accepts -url parameter
log_factoid()/`factlog` now stores new entries in JSON (for newlines, etc), but will
fall-back to plain-text to continue reading older entries.
2019-06-30 22:19:04 -07:00
Pragmatic Software
0cc1c67862 Factoids: /code factoids can now contain newlines 2019-06-30 20:48:15 -07:00
Pragmatic Software
c399116c4e WebPaste: Encode output as UTF-8 2019-06-30 20:47:49 -07:00
Pragmatic Software
8f98d3d55c FactoidCommands: improve output of factshow -p to be more like it was without -p 2019-06-30 20:21:09 -07:00
Pragmatic Software
f34cf704cc FactoidCommands: factshow now accepts -p option to paste contents 2019-06-30 20:12:41 -07:00
Pragmatic Software
dea44fb405 Fix and clean up factadd -url (todo: forking) 2019-06-30 17:54:08 -07:00
Naïm Favier
3fb72f73c5 Add URL support to factadd (#51)
* FactoidCommands.pm: remove trailing whitespace

* Add URL support to factadd
2019-06-30 17:45:05 -07:00
Pragmatic Software
d87c29a698 Sort JSON keys when saving 2019-06-30 17:00:03 -07:00
Pragmatic Software
f7b1551979 Remove space_before from JSON pretty print 2019-06-30 16:48:12 -07:00
Pragmatic Software
ab435f11d4 Update version 2019-06-30 15:08:33 -07:00
Pragmatic Software
2cdb70c5bf Fix Unicode encoding issues 2019-06-30 15:08:18 -07:00
Pragmatic Software
00eac49ca9 Remove redundant "Loading ..." log messages 2019-06-28 00:56:18 -07:00
Pragmatic Software
5a26aca801 Convert HashObject file format to JSON to support newlines in factoid contents, etc 2019-06-28 00:22:57 -07:00
Pragmatic Software
33059a54d9 Update version 2019-06-26 09:35:22 -07:00
Pragmatic Software
5e2cb09744 Fix trailing whitespace throughout 2019-06-26 09:34:19 -07:00
Pragmatic Software
8b5de0beee Update version 2019-06-25 23:21:24 -07:00
Pragmatic Software
8c97a57eab Interpreter: improve split_line 2019-06-25 23:19:57 -07:00
Pragmatic Software
57630e7c12 Update version 2019-06-25 18:23:25 -07:00
Pragmatic Software
0310145c7d Interpreter: commands can now be split with ;; 2019-06-25 18:23:21 -07:00
Pragmatic Software
9d6604da19 Update version 2019-06-25 14:42:01 -07:00
Pragmatic Software
21ffced2d7 Update version 2019-06-24 19:02:06 -07:00
Pragmatic Software
8e21de1f60 Interpreter: split_line is now smarter about JSON and code 2019-06-24 16:47:31 -07:00
Pragmatic Software
3e2395370f AntiRepeat: strip nick-like prefixes 2019-06-24 12:59:09 -07:00
Pragmatic Software
87e0d33870 AntiRepeat: pay attention to /me 2019-06-24 12:52:41 -07:00
Pragmatic Software
bbd015e607 Update version 2019-06-23 10:34:46 -07:00
Pragmatic Software
8f8b11b9e6 ChanOpCommands: respect effective-level override for chan op commands 2019-06-23 10:34:41 -07:00
Pragmatic Software
0f81e39276 WebPaste: remove ptpb.pw 2019-06-22 18:48:06 -07:00
Pragmatic Software
ee33d9f5d6 Update version 2019-06-22 18:30:44 -07:00
Pragmatic Software
1e15848442 FactoidCommands: quote arugments only if necessary 2019-06-22 18:30:40 -07:00
Pragmatic Software
5cf13c1bdd Factoids: Remove use of shellwords 2019-06-22 18:29:54 -07:00
Pragmatic Software
51fa020de2 Commands: Remove unused reference 2019-06-22 18:28:38 -07:00
Pragmatic Software
5c8eab8a4c Update version 2019-06-21 12:36:55 -07:00
Pragmatic Software
624c036146 AntiFlood: minor text changes for unbanme 2019-06-21 12:36:43 -07:00
Pragmatic Software
baa33d9fce Update version 2019-06-20 08:55:05 -07:00
Pragmatic Software
3676aed1eb Update version 2019-06-14 18:49:44 -07:00
Pragmatic Software
2832298af3 FactoidModuleLauncher: remove obsoleted escape-handling "magic" 2019-06-10 11:53:04 -07:00
Pragmatic Software
4826b1c851 Interpreter: add default options to split_line() 2019-06-10 11:51:48 -07:00
Pragmatic Software
f0181c7a69 Factoids: add default options for named parameters 2019-06-10 09:21:35 -07:00
Pragmatic Software
75a31458b0 FactoidCommands: factlog/factundo/factredo now work with keywords containing spaces 2019-06-09 21:50:40 -07:00
Pragmatic Software
e1abf1a1a7 MessageHistory: remove no-longer-necessary single-quote logic 2019-06-09 21:49:47 -07:00
Pragmatic Software
982d4b4b8d Factoids: find_factoid now takes an options hash instead 2019-06-09 16:33:27 -07:00
Pragmatic Software
8480d3ce61 FactoidCommands: factchange closing delimiter now optional 2019-06-09 15:36:48 -07:00
Pragmatic Software
6b0d2d0835 Update version 2019-06-09 13:57:58 -07:00
Pragmatic Software
22f899612b FactoidCommands: factchange is now aware of quoted keywords; factchange and factshow now preserve spaces in output 2019-06-09 13:57:52 -07:00
Pragmatic Software
0f81584d8f Interpreter: split_line() now takes an options hash; now accepts "strip_quotes" and "keep_spaces" 2019-06-09 13:57:08 -07:00
Pragmatic Software
b3ac27758d Factoids: keywords can now contain spaces 2019-06-09 09:54:42 -07:00
Pragmatic Software
5d102ee574 Update version 2019-06-09 08:30:05 -07:00
Pragmatic Software
5f0a581096 ParseDate: fix time zones 2019-06-09 08:30:00 -07:00
Pragmatic Software
119d9617bc Update version 2019-06-08 17:57:36 -07:00
Pragmatic Software
90f3d390bd Factoids: er, preserve the quotes in arguments 2019-06-08 17:57:31 -07:00
Pragmatic Software
e0e9cbed25 Update version 2019-06-08 17:52:28 -07:00
Pragmatic Software
f00cabe4ec Factoids: correct edge-case mishandling of quoted arguments 2019-06-08 17:52:25 -07:00
Pragmatic Software
39a2f612f8 Update version 2019-06-08 17:24:54 -07:00
Pragmatic Software
7824a5e6db ParseDate: encourage DateTime::Format::Flexible to understand more kinds of natural input 2019-06-08 17:24:50 -07:00
Pragmatic Software
7523fbcede FactoidCommands: fix an issue where factchange could sometimes fail 2019-06-08 16:00:11 -07:00
Pragmatic Software
be0c487694 Update version 2019-06-07 13:57:13 -07:00
Pragmatic Software
648537f427 Quotegrabs: use split_line instead of parse_arguments 2019-06-07 13:57:05 -07:00
Pragmatic Software
0979ac86d9 Interpreter: split_line now accepts a parameter to strip quotes 2019-06-07 13:56:41 -07:00
Pragmatic Software
ed0c857389 Update version 2019-06-07 13:16:57 -07:00
Pragmatic Software
5d1310adb3 Factoids: variable modifiers such as :ucfirst now pass through to replacements 2019-06-07 13:16:54 -07:00
Pragmatic Software
8f35fa3430 ParseDate: correct typo in sanitizer 2019-06-07 00:41:19 -07:00
Pragmatic Software
23d20abd59 ParseDate: add a couple of more sanitizers 2019-06-07 00:32:06 -07:00
Pragmatic Software
bf77f9e3dc Update version 2019-06-06 23:08:47 -07:00
Pragmatic Software
5496d1a481 ParseDate now understands concise things like "1w5d" or "7h30m" 2019-06-06 23:08:42 -07:00
Pragmatic Software
61004dd077 ParseDate: clarified a couple of comments 2019-06-06 21:52:39 -07:00
Pragmatic Software
dd4dcf2e0a Update version 2019-06-06 21:46:19 -07:00
Pragmatic Software
b1729a13e2 ParseDate: complete rewrite, replacing Time::ParseDate with DateTime::Format::Flexible
Now supports more types of input, including those containing timezones!

Converted PBot::Utils::ParseDate to an internal PBot module.
2019-06-06 21:46:00 -07:00
Pragmatic Software
4a27a7e59f Factoids: factoid variable identifiers can now be delimited with braces (e.g.: ${foo}) 2019-06-06 15:21:15 -07:00
Pragmatic Software
8fc3594bcd Update version 2019-06-03 08:50:49 -07:00
Pragmatic Software
bffbc8b3d0 Factoids: add requires_arguments metadata to tell usage metadata if a usage is required in a pipe or other expansion 2019-06-03 08:50:42 -07:00
Pragmatic Software
563f8da40f Factoids: usage metadata now understands $0 for keyword 2019-06-03 08:01:52 -07:00
Pragmatic Software
21acc5ed55 Update version 2019-06-02 22:35:17 -07:00
Pragmatic Software
ff3ffea15e Factoids: factoid variables can now be quoted properly 2019-06-02 22:34:54 -07:00
Pragmatic Software
8814fdfe9b FactoidCommands: factadd now supports -f option to force overwriting existing factoid 2019-06-02 22:34:17 -07:00
Pragmatic Software
460df9ef64 Factoids: Remove packages left-over from execute_code_factoid_using_safe's removal 2019-06-02 19:37:34 -07:00
Pragmatic Software
939d96141a Update version 2019-06-02 19:31:29 -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
838b52f6b5 Update version 2019-06-02 16:59:31 -07:00
Pragmatic Software
f87e3c7cd8 Factoids: add usage metadata to show usage message if no arguments supplied 2019-06-02 16:59:27 -07:00
Pragmatic Software
63b523dbc7 Update version 2019-06-02 16:29:10 -07:00
Pragmatic Software
6e98c471d2 Factoids: add allow_empty_args metadata to prevent empty $args from expanding as $nick 2019-06-02 16:28:55 -07:00
Pragmatic Software
47c05cfdac FactoidCommands: factundo/factlog can now express deleted metadata keys 2019-06-02 16:21:42 -07:00
Pragmatic Software
ef96ba21cb Interpreter: slightly increase human-like delay 2019-06-01 18:55:08 -07:00
Pragmatic Software
4c9496a2b3 UrlTitles: Do not show titles for bot-commands 2019-05-31 08:59:59 -07:00