3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-17 01:19:31 +01:00
Commit Graph

184 Commits

Author SHA1 Message Date
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
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
5e2cb09744 Fix trailing whitespace throughout 2019-06-26 09:34:19 -07:00
Pragmatic Software
1e15848442 FactoidCommands: quote arugments only if necessary 2019-06-22 18:30:40 -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
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
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
f00cabe4ec Factoids: correct edge-case mishandling of quoted arguments 2019-06-08 17:52:25 -07:00
Pragmatic Software
7523fbcede FactoidCommands: fix an issue where factchange could sometimes fail 2019-06-08 16:00:11 -07:00
Pragmatic Software
563f8da40f Factoids: usage metadata now understands $0 for keyword 2019-06-03 08:01:52 -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
47c05cfdac FactoidCommands: factundo/factlog can now express deleted metadata keys 2019-06-02 16:21:42 -07:00
Pragmatic Software
925a5e57bd Minor whitespace syntax clean-up throughout 2019-05-28 09:19:42 -07:00
Pragmatic Software
6f282d2968 factset: respect locked metadata 2019-05-27 19:40:24 -07:00
Pragmatic Software
786d1f75b1 Factoids: effective-level override now actually does something; add locked_to_channel metadata 2019-05-13 00:07:08 -07:00
Pragmatic Software
7da4003ffd Factoids: replace hard-coded max length values with registry values 2019-05-09 18:04:52 -07:00
Pragmatic Software
62387c48ef findfactoid now accepts a -regex flag to do a regex search instead of whole-word 2019-05-08 20:48:26 -07:00
Pragmatic Software
4ce8e8b316 Increase minimum factoid name length to 60 2019-05-08 20:09:34 -07:00
Pragmatic Software
02c8cfd83b FactoidCommands: allow non-admins to inspect factset values on factoids they do not own, and to be able to factset admin on any factoids instead of using factchange 2019-05-08 13:06:30 -07:00
Pragmatic Software
8af3682dc3 Add quotes around keywords with spaces in output messages 2018-08-08 17:58:53 -07:00
Pragmatic Software
174de2be8e Update all commands to understand quoted arguments; factoid names, etc, can now contain spaces 2018-08-08 17:38:57 -07:00
Pragmatic Software
6c31f3e1b7 Minor correction 2018-07-31 17:23:15 -07:00
Pragmatic Software
81dcc3bee1 Add strictnamespace registry key 2018-05-12 02:52:52 -07:00
Pragmatic Software
cc11bb4526 factchange: limit repetitions for /g modifier 2018-02-19 13:45:24 -08:00