Commit Graph

211 Commits

Author SHA1 Message Date
Pragmatic Software dfae9bebc0 Relicense under MIT 2021-07-10 15:00:22 -07:00
Pragmatic Software 61881535fa Rename various duplicated backend keys, e.g., $pbot->{factoids}->{factoids} to, e.g., $pbot->{factoids}->{storage} 2021-07-09 14:39:35 -07:00
Pragmatic Software f0fa806fd6 Factoids: restore missing log_factoid() when creating factoids; minor clean-ups 2021-07-05 11:41:25 -07:00
Pragmatic Software 1c2b4da9ab Consolidate imports into PBot::Imports 2021-06-18 21:23:34 -07:00
Pragmatic Software 613890707a Progress on refactoring and polishing everything
More to come!
2021-06-06 19:12:14 -07:00
Pragmatic Software 7deefb242a FactoidCommands: `factadd -f` no longer requires ownership to overwrite 2020-07-01 21:02:57 -07:00
Pragmatic Software 6e4ea442db FactoidCommands: fix another case-sensitivity location 2020-06-05 15:23:16 -07:00
Pragmatic Software 041646676f FactoidCommands: fix a couple of minor issues 2020-06-05 15:12:52 -07:00
Pragmatic Software 8aabfe96bb Factoidcommands: fix case-sensitivity issue with channel name 2020-06-05 14:50:33 -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 66d0369990 FactoidCommands: fix display of owner text in `factfind` 2020-04-16 20:03:59 -07:00
Pragmatic Software a7df1a3be7 FactoidCommands: fix `factfind` to show usage message if no arguments 2020-03-23 17:49:50 -07:00
Pragmatic Software 0b9bc60690 FactoidCommands: simplify factfind 2020-03-23 16:35:58 -07:00
Pragmatic Software c5f137e853 FactoidCommands: optimize histogram, top20 and count 2020-03-03 12:51:00 -08:00
Pragmatic Software 0a034814ad FactoidCommands: reinstate `regex` command 2020-03-03 07:41:07 -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 178c02de72 DualIndexSQLiteObject: replace get() with get_all(), get_each() and get_next() 2020-02-29 01:45:17 -08:00
Pragmatic Software 4c7b7551e2 FactoidCommands: Optimize factfind() 2020-02-26 02:32:52 -08:00
Pragmatic Software 25e09e3480 FactoidCommands: prefix `factalias` return with "/say" 2020-02-21 13:42:47 -08:00
Pragmatic Software 376c077c90 FactoidCommands: fix typo 2020-02-16 15:56:43 -08:00
Pragmatic Software e2cb6e5d5e Replace GetOptionsFromString() with superior split_line() and GetOptionsFromArray() 2020-02-16 14:13:41 -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 21c1eba0a0 No longer directly access DualIndexHashObject internals 2020-02-13 13:31:36 -08:00
Pragmatic Software 02f93c8721 Significant refactor and clean-up of PBot class instantiation 2020-02-08 11:04:13 -08:00
Pragmatic Software 63f6ccb80c Remove unnecessary use of delete keyword 2020-02-06 01:14:08 -08:00
Pragmatic Software 6424e7c601 Remove unnecessary return statements 2020-02-06 01:07:44 -08:00
Pragmatic Software 87fab87efd FactoidCommands: allow normal users to factset "interpolate" 2020-02-04 02:27:33 -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 f2140569f2 FactoidCommands: remove single-quote from some messages 2020-01-29 08:34:30 -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 9a79d025e9 FactoidCommands: anybody can now factset and unset action_with_args 2020-01-23 20:53:55 -08:00
Pragmatic Software ed874c2dec Minor style clean-up 2020-01-19 20:00:01 -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 d9fa465bb7 FactoidCommands: correct header 2020-01-10 18:59:15 -08:00
Pragmatic Software 6124bc5029 `list admins` now sorts by name field instead of hostmask 2020-01-04 23:09:25 -08:00
Pragmatic Software 4dacbfeb7a `list admins` now lists only current channel when used in-channel 2020-01-04 22:13:07 -08:00
Pragmatic Software 9c803b2d14 `factlog` now logs renames on both sides instead of only destination side 2019-08-25 08:53:59 -07:00
Pragmatic Software be528094b6 FactoidCommands: use full hostmask when testing for owner of locked factoid 2019-08-22 09:49:14 -07:00
Pragmatic Software c953962bd4 FactoidCommands: disable word-wrapping for `show -p` 2019-08-06 18:23:37 -07:00
Pragmatic Software 3553692b5a Fix some more Unicode encoding issues 2019-07-10 18:40:53 -07:00
Pragmatic Software b4ce94e655 Replace https:// with http:// in -url usage messages 2019-07-01 21:36:08 -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 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