3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-26 22:09:26 +01:00
Commit Graph

246 Commits

Author SHA1 Message Date
Pragmatic Software
e28d664cd5 Factoids: /msg caller for unknown command instead of silently disregarding 2020-03-04 09:56:22 -08:00
Pragmatic Software
3ff232decd DualIndexSQLiteObject: refactor get_each() to use array instead of hash 2020-03-03 07:40:23 -08:00
Pragmatic Software
941b3327c6 Factoids: Optimize export_factoids() with get_each() and get_next() 2020-02-29 01:46:29 -08:00
Pragmatic Software
b178b718f0 Factoids: DualIndexSQLiteObject->get() is now powerful enough to replace FactoidsSQLite 2020-02-27 11:14:43 -08:00
Pragmatic Software
c489b6eac7 Factoids: replace get_all_by_trigger() with DualIndexSQLiteObject->get() 2020-02-26 17:48:34 -08:00
Pragmatic Software
5d3dca94b9 Factoids: Optimize find_factoid() 2020-02-26 02:32:22 -08:00
Pragmatic Software
e24835ea95 Switch over to SQLite backend for Factoids 2020-02-26 02:29:02 -08:00
Pragmatic Software
891a586409 Factoids can now be run as background processes and have process-timeout override 2020-02-16 16:31:06 -08:00
Pragmatic Software
a6b2f60175 Tidy things up 2020-02-16 08:41:45 -08:00
Pragmatic Software
fe56b9f0db Tidy things up 2020-02-15 15:16:38 -08:00
Pragmatic Software
5c4e10a35c Tidy things up 2020-02-15 14:38:32 -08:00
Pragmatic Software
dc7cdd8a2c Add ProcessManager and Modules
Improve everything to behave nicely with ProcessManager and Modules
2020-02-14 18:52:41 -08:00
Pragmatic Software
f37dcaf7f9 Plugins/Wttr: Increase timeout to 30 seconds 2020-02-14 18:41:00 -08:00
Pragmatic Software
21c1eba0a0 No longer directly access DualIndexHashObject internals 2020-02-13 13:31:36 -08:00
Pragmatic Software
224ace9e80 Factoids: add get_meta() 2020-02-10 01:06:38 -08:00
Pragmatic Software
02f93c8721 Significant refactor and clean-up of PBot class instantiation 2020-02-08 11:04:13 -08:00
Pragmatic Software
6267cc04d2 Finished replacing admin-levels with user-capabilities [FIN commit 2 of 2]; misc clean-ups 2020-02-03 17:19:04 -08:00
Pragmatic Software
5e0a3a7035 Factoids/FactoidCommands: properly preserve quotes when splitting arguments 2020-02-01 22:19:53 -08:00
Pragmatic Software
a24ddd765d Factoids: fix minor issue with factrem 2020-02-01 20:51:45 -08:00
Pragmatic Software
f173b43c8d Factoids: fix minor issue with factadd 2020-02-01 20:48:34 -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
7feb528024 Factoids: remove version factoid 2020-01-23 21:09:36 -08:00
Pragmatic Software
3a5224ef26 Factoids: find_factoid no longer cares about built-in commands 2020-01-19 20:17:22 -08:00
Pragmatic Software
898a84c4f0 Factoids: use _name fields 2020-01-16 21:51:03 -08:00
Pragmatic Software
02552081d5 Fix all potential case-sensitivity issues
Misc clean-ups and refactors
2020-01-14 18:10:53 -08:00
Pragmatic Software
e6039b6369 Factoids now exported to data_dir 2019-12-30 19:57:47 -08:00
Pragmatic Software
37b7570c7f Factoids/Quotegrabs: use botnick value when exporting 2019-12-19 23:39:46 -08:00
Pragmatic Software
eef14f68c9 Factoids: improve factoid variable expansion (now aware of --keyword-override and ref_from) 2019-12-14 10:09:28 -08:00
Pragmatic Software
b8c77abd47 Improve and simplify pipe/subcmd logic 2019-09-04 20:18:32 -07:00
Pragmatic Software
6115d73639 Factoids: revert $var channel expansion -- now strict again; will improve shortly 2019-08-20 14:57:12 -07:00
Pragmatic Software
50ebf52371 Factoids: turn debugging back off for $var expansions 2019-08-17 10:11:34 -07:00
Pragmatic Software
15f8a3683e Factoid improvements
- support braced ${variables}
 - $var expansion improvements
2019-08-17 10:09:26 -07:00
Pragmatic Software
b7f2c188bc Improve handling of newlines in factoids 2019-08-06 10:38:46 -07:00
Pragmatic Software
3553692b5a Fix some more Unicode encoding issues 2019-07-10 18:40:53 -07:00
Pragmatic Software
30992af811 Add some whitespace around this one line 2019-07-06 01:29:14 -07:00
Pragmatic Software
0cc1c67862 Factoids: /code factoids can now contain newlines 2019-06-30 20:48:15 -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
5e2cb09744 Fix trailing whitespace throughout 2019-06-26 09:34:19 -07:00
Pragmatic Software
5cf13c1bdd Factoids: Remove use of shellwords 2019-06-22 18:29:54 -07:00
Pragmatic Software
f0181c7a69 Factoids: add default options for named parameters 2019-06-10 09:21:35 -07:00
Pragmatic Software
982d4b4b8d Factoids: find_factoid now takes an options hash instead 2019-06-09 16:33:27 -07:00
Pragmatic Software
b3ac27758d Factoids: keywords can now contain spaces 2019-06-09 09:54:42 -07:00
Pragmatic Software
90f3d390bd Factoids: er, preserve the quotes in arguments 2019-06-08 17:57:31 -07:00
Pragmatic Software
f00cabe4ec Factoids: correct edge-case mishandling of quoted arguments 2019-06-08 17:52:25 -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
4a27a7e59f Factoids: factoid variable identifiers can now be delimited with braces (e.g.: ${foo}) 2019-06-06 15:21:15 -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