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

262 Commits

Author SHA1 Message Date
Pragmatic Software
158b13006c Factoids: minor whitespace reformatting 2020-05-31 15:32:05 -07:00
Pragmatic Software
945b81f12d Factoids: properly set range for pick $variable modifier 2020-05-30 02:47:08 -07:00
Pragmatic Software
0a4ef4eb40 Factoids: change sort+/sort- to +sort/-sort in $var modifier 2020-05-30 01:28:59 -07:00
Pragmatic Software
2e3fed5bae Factoids: more improvements to $variable expansion:
* removed debug code
* index() with a negative value will index from tail end
* improved handling of trailing modifier punctuation
2020-05-30 01:03:07 -07:00
Pragmatic Software
6f9170ecbc Factoids: improvements to $var modifiers 2020-05-29 23:05:51 -07:00
Pragmatic Software
76863dea5c Factoids: strip quotes from pick() $var modifier 2020-05-29 22:34:29 -07:00
Pragmatic Software
9a165a129c Factoids: fix index() $var modifier 2020-05-29 22:22:22 -07:00
Pragmatic Software
669bf7460c Factoids: add more :modifiers to $var expansion: index(x), pick(x, y), enumerate, etc 2020-05-29 22:18:07 -07:00
Pragmatic Software
b57fea8120 Factoids: fix export errors upon exit by correcting atexit registration order 2020-05-29 20:43:07 -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
fdc8cd54d5 Factoids: fix spelling of cmd_factfind in interpreter() 2020-05-04 23:49:59 -07:00
Pragmatic Software
a26411fbc4 Factoids: remove debug statement 2020-05-02 23:54:49 -07:00
Pragmatic Software
33f8c5aeab Factoid rate-limit no longer affects factoids piped/substituted/splitted within the same command 2020-05-02 23:49:29 -07:00
Pragmatic Software
cfba96e8ae Rename $stuff to $context throughout 2020-05-01 20:59:51 -07:00
Pragmatic Software
cac4ac81ad Factoids: Fix undo/redo via DualIndexSQLiteObject 2020-03-19 18:58:24 -07:00
Pragmatic Software
55115d8d16 Factoids: improve "No such factoid" message when no matches found 2020-03-17 23:08:56 -07:00
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