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

2796 Commits

Author SHA1 Message Date
Pragmatic Software
c815ccbc0d Use event queue for unban/unmute timeouts 2020-03-06 13:31:22 -08:00
Pragmatic Software
f5927c8761 Interpreter: use event queue for output queue and command queue 2020-03-06 13:30:09 -08:00
Pragmatic Software
74b3f35d3e ProcessManager: properly add "can-kill" cap without triggering saving 2020-03-06 13:29:37 -08:00
Pragmatic Software
16ac6d95fb Give sensible names to various existing timers 2020-03-06 13:28:06 -08:00
Pragmatic Software
e98072f98d IgnoreList: use event queue for ignore timeouts 2020-03-06 13:23:40 -08:00
Pragmatic Software
25623ac80e Timer: refactor to use event queue 2020-03-06 13:21:44 -08:00
Pragmatic Software
41728783ed AntiFlood: fix private message ignorelist 2020-03-04 18:26:39 -08:00
Pragmatic Software
326fac5a6e Update version 2020-03-04 13:25:48 -08:00
Pragmatic Software
c467f92904 DualIndexHashObject: get_keys: ensure index actually exists 2020-03-04 13:25:41 -08:00
Pragmatic Software
6c4f56f9df IgnoreList: refactored to use DualIndexHashObject 2020-03-04 13:24:40 -08:00
Pragmatic Software
c46783eca1 Update version 2020-03-04 09:56:29 -08:00
Pragmatic Software
e28d664cd5 Factoids: /msg caller for unknown command instead of silently disregarding 2020-03-04 09:56:22 -08:00
Pragmatic Software
48361191bd DualIndexSQLiteObject: Add comment about compatibility with DualIndexHashObject 2020-03-04 05:54:20 -08:00
Pragmatic Software
dc0c00e847 Update version 2020-03-03 12:51:04 -08:00
Pragmatic Software
c5f137e853 FactoidCommands: optimize histogram, top20 and count 2020-03-03 12:51:00 -08:00
Pragmatic Software
82b4e51f09 DualIndexSQLiteObject: get_each(): put parentheses around related OR clauses 2020-03-03 10:10:20 -08:00
Pragmatic Software
b7240d3bdc DualIndexSQLiteObject: make _sort prefix more consistent 2020-03-03 08:55:34 -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
786dfc8c6c Update version 2020-02-29 01:46:34 -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
178c02de72 DualIndexSQLiteObject: replace get() with get_all(), get_each() and get_next() 2020-02-29 01:45:17 -08:00
Pragmatic Software
3ca3917891 MessageHistory: minor improvements to recall 2020-02-27 21:06:52 -08:00
Pragmatic Software
d327d24c1c Update version 2020-02-27 20:42:22 -08:00
Pragmatic Software
cb80857927 Update version 2020-02-27 11:14:50 -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
97b2394166 Update version 2020-02-26 17:51:29 -08:00
Pragmatic Software
b7fcb909dc DualIndexSQLiteObject: minor improvements 2020-02-26 17:49:59 -08:00
Pragmatic Software
c489b6eac7 Factoids: replace get_all_by_trigger() with DualIndexSQLiteObject->get() 2020-02-26 17:48:34 -08:00
Pragmatic Software
978fa255b2 Update version 2020-02-26 02:33:14 -08:00
Pragmatic Software
4c7b7551e2 FactoidCommands: Optimize factfind() 2020-02-26 02:32:52 -08:00
Pragmatic Software
5d3dca94b9 Factoids: Optimize find_factoid() 2020-02-26 02:32:22 -08:00
Pragmatic Software
91b2b1e7c7 MessageHistory_SQLite: move extension loading to inside eval block 2020-02-26 02:31:08 -08:00
Pragmatic Software
999ee4a33c Interpreter: Fix potential undefined variable 2020-02-26 02:30:26 -08:00
Pragmatic Software
e24835ea95 Switch over to SQLite backend for Factoids 2020-02-26 02:29:02 -08:00
Pragmatic Software
fb1eda51ee DualIndexHashObject needs create_metadata() for compatibility with DualIndexSQLiteObject 2020-02-26 02:24:15 -08:00
Pragmatic Software
e73d890246 Add FactoidsSQLite
This is a subclass of DualIndexSQLiteObject with additional methods
specific to Factoid-related functionality.
2020-02-26 02:22:43 -08:00
Pragmatic Software
c93602a34e Add DualIndexSQLiteObject
DualIndexSQLiteObject is a class that provides an interface for SQLite objects.
This interface is compatible with DualIndexHashObject.

SQLite objects are loaded on-demand when needed, unlike Hash objects which
are stored in working memory. The SQLite objects are temporarily cached in
working memory, for optimal performance.
2020-02-26 02:20:11 -08:00
Pragmatic Software
d74fb24c96 PBot: cancel alarm timeout when exiting 2020-02-26 02:11:42 -08:00
Pragmatic Software
1be0c9cd0a Update version 2020-02-22 07:33:40 -08:00
Pragmatic Software
25e09e3480 FactoidCommands: prefix factalias return with "/say" 2020-02-21 13:42:47 -08:00
Pragmatic Software
88ddd5a4b9 ProcessManager: replace "unknown process" with "process" 2020-02-20 08:20:54 -08:00
Pragmatic Software
e65dac6c1a Update version 2020-02-19 21:05:00 -08:00
Pragmatic Software
e23ea61a70 Update version 2020-02-19 20:59:57 -08:00
Pragmatic Software
d9d44ff4f5 Update version 2020-02-19 15:09:54 -08:00
Pragmatic Software
36579b02fe SQLiteLogger: set pbot object in class 2020-02-19 15:09:41 -08:00
Pragmatic Software
108f61d40e Interpreter: subtract IRC command length from truncation length 2020-02-19 15:07:25 -08:00
Pragmatic Software
bf7979a4f1 Update version 2020-02-18 20:11:42 -08:00
Pragmatic Software
2fd0ed93ba ProcessManager: unmark $stuff as being forked once child dies 2020-02-18 20:11:39 -08:00
Pragmatic Software
f13df2245a Fix incorrect truncation length when web-pasting content containing Unicode 2020-02-18 20:05:47 -08:00
Pragmatic Software
3c2a24781d Update version 2020-02-18 17:05:11 -08:00
Pragmatic Software
66fe71fc7e Update version 2020-02-18 15:06:34 -08:00
Pragmatic Software
ec99b205e8 Capabilities: fix cap-overriding 2020-02-18 09:50:02 -08:00
Pragmatic Software
10a9ef465c Update version 2020-02-16 17:45:50 -08:00
Pragmatic Software
dca8e4482a ProcessManager: log process start, end, and duration 2020-02-16 17:45:45 -08:00
Pragmatic Software
64ea719042 ProcessManager: remove PBot:: prefix from timed-out message 2020-02-16 16:49:10 -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
a63a5308d5 Refresher: ignore more types of redefined subroutines 2020-02-16 16:12:31 -08:00
Pragmatic Software
f067723c4a Update version 2020-02-16 15:57:44 -08:00
Pragmatic Software
376c077c90 FactoidCommands: fix typo 2020-02-16 15:56:43 -08:00
Pragmatic Software
7b0f192d8e ProcessManager: remove debug statement 2020-02-16 15:56:27 -08:00
Pragmatic Software
eb94c566b9 ValidateString: localize $@ 2020-02-16 15:55:48 -08:00
Pragmatic Software
d60270192a Update version 2020-02-16 14:13:46 -08:00
Pragmatic Software
e2cb6e5d5e Replace GetOptionsFromString() with superior split_line() and GetOptionsFromArray() 2020-02-16 14:13:41 -08:00
Pragmatic Software
ba065dbca8 Update version 2020-02-16 12:36:32 -08:00
Pragmatic Software
a6fc2f6064 Refresher: improve error handling 2020-02-16 12:36:30 -08:00
Pragmatic Software
2524c06b65 Update version 2020-02-16 11:03:34 -08:00
Pragmatic Software
8b81873602 ProcessManager: add useful options to ps and kill 2020-02-16 11:03:25 -08:00
Pragmatic Software
212ae97122 Interpreter: minor quote change 2020-02-16 10:46:26 -08:00
Pragmatic Software
394fc4d083 Refresher: improve error handling 2020-02-16 09:51:59 -08:00
Pragmatic Software
08c1a539de RegistryCommands: fix typo in regunset 2020-02-16 09:29:55 -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
c14402dd04 Update version 2020-02-15 07:41:38 -08:00
Pragmatic Software
8232106f54 ProcessManager: properly remove completed processes 2020-02-15 07:41:35 -08:00
Pragmatic Software
ecd1e4dc86 Registerable: add unregister_all() subroutine 2020-02-15 07:26:29 -08:00
Pragmatic Software
edf735f88a Fix undefined variable warning 2020-02-15 07:15:26 -08:00
Pragmatic Software
58a3303173 Update version 2020-02-14 23:27:47 -08:00
Pragmatic Software
a5435e03cb Commands: support process-timeout metadata 2020-02-14 23:27:44 -08:00
Pragmatic Software
7e49d65e4f Commands: rename execute-process to background-process 2020-02-14 23:17:19 -08:00
Pragmatic Software
4a2b6e18e9 Update version 2020-02-14 22:42:22 -08:00
Pragmatic Software
2ce5f8688d Commands now check for execute-process metadata 2020-02-14 22:42:15 -08:00
Pragmatic Software
7d2a746c2c Wait until connected before starting timer 2020-02-14 22:07:58 -08:00
Pragmatic Software
130f1ae81b ProcessManager: remove unused modules 2020-02-14 21:57:30 -08:00
Pragmatic Software
7889e654be Update version 2020-02-14 21:56:16 -08:00
Pragmatic Software
6d2221e8f0 ProcessManager: improve timed-out message 2020-02-14 21:54:38 -08:00
Pragmatic Software
681438c27d ProcessManager: execute_process() can now take a $timeout value 2020-02-14 21:25:09 -08:00
Pragmatic Software
19aff1d59d Update version 2020-02-14 20:04:19 -08:00
Pragmatic Software
1a2d4064a1 ProcessManager: clean up kill command; add can-kill to admin cap group 2020-02-14 20:04:14 -08:00
Pragmatic Software
42dbf468b2 ProcessManager: add kill command 2020-02-14 19:58:44 -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
515c5c2c52 Improve PBot start-up logging; improve handling of general.daemon override 2020-02-14 13:32:12 -08:00
Pragmatic Software
5ce1e69b49 Rename FactoidModuleLauncher -> ProcessManager 2020-02-14 12:46:05 -08:00
Pragmatic Software
ce3f8dfe0e Update version 2020-02-13 23:22:13 -08:00
Pragmatic Software
936ce8d49d Update version 2020-02-13 22:42:12 -08:00
Pragmatic Software
232546f807 Rename FuncCommands.pm to Functions.pm; Functions can now be registered 2020-02-13 22:36:05 -08:00
Pragmatic Software
2eed49a264 Update version 2020-02-13 13:46:46 -08:00
Pragmatic Software
21c1eba0a0 No longer directly access DualIndexHashObject internals 2020-02-13 13:31:36 -08:00
Pragmatic Software
fae9e866ee HashObject: improve error messages for removing non-existing items 2020-02-11 22:56:42 -08:00
Pragmatic Software
afe4638b0a No longer directly access HashObject internals 2020-02-11 21:49:43 -08:00
Pragmatic Software
382d15b975 PBot: reload: replace whitelist with ban-exemptions 2020-02-11 21:19:31 -08:00
Pragmatic Software
bee6e18b8e PBot: capabilities can now be reloaded 2020-02-11 21:14:27 -08:00
Pragmatic Software
3be1299dd3 Capabilities: cap userhas now finds any channel from /msg 2020-02-10 14:55:14 -08:00
Pragmatic Software
dea1d8469d Update version 2020-02-10 14:52:05 -08:00
Pragmatic Software
213740316a Capabilities: minor fix to cap userhas 2020-02-10 14:52:01 -08:00
Pragmatic Software
1c7ead9953 Users: actually, make $any_channel less any channel 2020-02-10 14:46:43 -08:00
Pragmatic Software
eb40f3b2cd Update version 2020-02-10 14:42:33 -08:00
Pragmatic Software
95a4c9114c Commands: improve output of user account errors 2020-02-10 14:42:29 -08:00
Pragmatic Software
6b6dfa9c53 Users: make any channel more any channel 2020-02-10 14:41:54 -08:00
Pragmatic Software
94ee5f03a5 Correct user cross-channel contamination 2020-02-10 14:31:28 -08:00
Pragmatic Software
cb0b39a0e5 Update version 2020-02-10 01:29:31 -08:00
Pragmatic Software
0abdb8c84e Interpreter: use command/factoid metadata to toggle pronoun replacement and self-protection 2020-02-10 01:07:30 -08:00
Pragmatic Software
224ace9e80 Factoids: add get_meta() 2020-02-10 01:06:38 -08:00
Pragmatic Software
d0d1ae5194 Users: users command now strictly filters to channel argument if provided 2020-02-10 00:17:31 -08:00
Pragmatic Software
12be1e87dd Capabilities: cap group and cap ungroup now accept multiple capabilities 2020-02-10 00:11:57 -08:00
Pragmatic Software
70abebeb90 Update version 2020-02-09 21:30:57 -08:00
Pragmatic Software
1f94973bd2 Users: improve find_user 2020-02-09 21:30:55 -08:00
Pragmatic Software
cfc3ad855f Users: my: lock chanop and admin capabilities behind admin capability 2020-02-09 21:08:52 -08:00
Pragmatic Software
90a5c47f4b Update version 2020-02-09 20:58:31 -08:00
Pragmatic Software
04f624729a Users: my command now properly finds user account in other channels 2020-02-09 20:55:30 -08:00
Pragmatic Software
9afb8c506d Users: improve find_user_account 2020-02-09 20:38:44 -08:00
Pragmatic Software
c9fed700ef Users: my command is now aware of is- capabilities 2020-02-09 20:18:55 -08:00
Pragmatic Software
3c3e642bb9 Users: fix undefined value warning 2020-02-09 20:16:29 -08:00
Pragmatic Software
1c779195b5 Capabilities: improve output of cap whohas 2020-02-09 19:32:52 -08:00
Pragmatic Software
0848c5752f Add built-in users command 2020-02-09 19:29:32 -08:00
Pragmatic Software
55d7561479 AntiFlood: remove "user is whitelisted" log message 2020-02-09 19:29:06 -08:00
Pragmatic Software
c4b71347bf Whitelist is now a user-capability
Rework ban-whitelist to ban-exemptions
2020-02-09 16:20:58 -08:00
Pragmatic Software
f32dec200b Plugins: minor style clean-up 2020-02-09 13:10:34 -08:00
Pragmatic Software
6d6689b06e Class: minor grammar fix 2020-02-09 13:10:07 -08:00
Pragmatic Software
8c654bb956 Util/LWPUserAgentCached: minor style clean-up 2020-02-08 20:53:05 -08:00
Pragmatic Software
c6f3a9aab4 Util/LWPUserAgentCached: minor style clean-up 2020-02-08 20:49:14 -08:00
Pragmatic Software
81b9a11ccb Update version 2020-02-08 19:48:07 -08:00
Pragmatic Software
e58044f2f1 NickList: fix undefined value warning 2020-02-08 15:11:29 -08:00
Pragmatic Software
f698840bd0 Update version 2020-02-08 14:42:23 -08:00
Pragmatic Software
525b2ee056 Interpreter: do not dehighlight nicks that are followed by a colon 2020-02-08 14:42:20 -08:00
Pragmatic Software
30494e54b2 Update version 2020-02-08 11:05:20 -08:00
Pragmatic Software
02f93c8721 Significant refactor and clean-up of PBot class instantiation 2020-02-08 11:04:13 -08:00
Pragmatic Software
78a0f32e17 Update version 2020-02-07 20:48:14 -08:00
Pragmatic Software
bcacab7af2 EventDispatcher: use most recent caller frame to determine package 2020-02-07 20:45:29 -08:00
Pragmatic Software
dae922bae2 Update version 2020-02-07 12:24:23 -08:00
Pragmatic Software
cf9c45f3e9 EventDispatcher: can now unregister handlers 2020-02-07 12:12:55 -08:00
Pragmatic Software
270df1551f Update version 2020-02-07 11:22:19 -08:00
Pragmatic Software
57a706ab48 Update version 2020-02-06 10:47:39 -08:00
Pragmatic Software
d4bd248f9d Interpreter: clean up nick-dehighlighter 2020-02-06 10:47:34 -08:00
Pragmatic Software
d9aa585949 NickList: add get_nicks() function 2020-02-06 10:47:19 -08:00
Pragmatic Software
2de9ad516f Update version 2020-02-06 04:01:44 -08:00
Pragmatic Software
d38402754e Interpreter: minor bugfix 2020-02-06 04:01:41 -08:00
Pragmatic Software
f7d3c7b755 Update version 2020-02-06 03:49:37 -08:00
Pragmatic Software
c7c0b49515 Interpreter: preserve case of dehighlight 2020-02-06 03:49:33 -08:00
Pragmatic Software
c3369f7bea Update version 2020-02-06 03:37:14 -08:00
Pragmatic Software
2f11ae7114 Interpreter: case-insensitive dehighlight 2020-02-06 03:37:07 -08:00
Pragmatic Software
1a2d463f5b Interpreter: minor clean-up 2020-02-06 03:29:48 -08:00
Pragmatic Software
d5ec26c8b3 Interpreter: whoops 2020-02-06 03:26:35 -08:00
Pragmatic Software
405cceb77f Update version 2020-02-06 03:14:16 -08:00
Pragmatic Software
9811bf3ff7 Interpreter: dehighlight nicks before outputting messages 2020-02-06 03:14:14 -08:00
Pragmatic Software
c0b401c281 Capabilities: use correct channel name 2020-02-06 02:24:43 -08:00
Pragmatic Software
62e2207527 Update version 2020-02-06 02:20:50 -08:00
Pragmatic Software
569e42cac0 Capabilities: add cap whohas 2020-02-06 02:20:47 -08:00
Pragmatic Software
4583a1e52a Update version 2020-02-06 01:17:22 -08:00
Pragmatic Software
b82dd92278 Users: restore missing join handler 2020-02-06 01:17:09 -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
03c5418718 Update version 2020-02-05 22:33:02 -08:00
Pragmatic Software
b33971c820 Improvements to capabilities 2020-02-05 22:32:58 -08:00
Pragmatic Software
1016dd678f Commands: fix typo 2020-02-05 18:30:34 -08:00
Pragmatic Software
bf05a8cb57 Update version 2020-02-05 18:29:02 -08:00
Pragmatic Software
97a913ef32 Add more capabilities to default groups 2020-02-05 17:55:31 -08:00
Pragmatic Software
0656c7841d Update version 2020-02-05 17:39:15 -08:00
Pragmatic Software
176a7b6192 ChanOpCommands: op, voice, kick wildcards now restricted by capabilities 2020-02-05 17:38:56 -08:00
Pragmatic Software
a02e20da77 ChanOpCommands: unban * and unmute * now restricted by capabilities 2020-02-05 17:12:57 -08:00
Pragmatic Software
04585d3ae1 ChanOpCommands: unban * and unmute * now clears banlists; clean-up output of ban and mute with multiple targets 2020-02-05 17:03:39 -08:00
Pragmatic Software
d11cfa8362 Update version 2020-02-05 01:49:02 -08:00
Pragmatic Software
6d9179913f AntiFlood: less verbose logging of check_ban 2020-02-05 01:48:56 -08:00
Pragmatic Software
61f13f6b40 IRCHandlers: remove trailing space when setting mode without target 2020-02-05 01:41:09 -08:00
Pragmatic Software
2c9f805f4d IRCHandlers: cleaned up mode log output 2020-02-05 01:26:22 -08:00
Pragmatic Software
47687f9e4f Interpreter: remove unnecessary slash 2020-02-05 01:21:00 -08:00
Pragmatic Software
4432338515 Update version 2020-02-05 01:18:50 -08:00
Pragmatic Software
96c5f0dfb1 AntiFlood: do not check botowner for ban-evasion 2020-02-05 01:18:47 -08:00
Pragmatic Software
6ff93c0190 Interpreter: no need to use regex here 2020-02-05 01:13:46 -08:00
Pragmatic Software
0a278a743c Update version 2020-02-05 01:09:45 -08:00
Pragmatic Software
3162660cf9 Significant clean-up of log output for command invocations 2020-02-05 01:09:43 -08:00
Pragmatic Software
52509f1786 RegistryCommands: regset value argument now optional; shows value if omitted 2020-02-04 21:51:27 -08:00
Pragmatic Software
537f6ad5e2 Update version 2020-02-04 03:13:48 -08:00
Pragmatic Software
9d1cdef881 WebPaste: restart alarm after pasting with UA::Paranoid 2020-02-04 03:13:44 -08:00
Pragmatic Software
623ed7d317 PBot: remove debug statement 2020-02-04 02:59:39 -08:00
Pragmatic Software
87fab87efd FactoidCommands: allow normal users to factset "interpolate" 2020-02-04 02:27:33 -08:00
Pragmatic Software
9b30016a59 Capabilities: minor text change 2020-02-04 00:05:50 -08:00
Pragmatic Software
28899f05da Update version 2020-02-04 00:03:44 -08:00
Pragmatic Software
bd252c5201 Capabilities: improve output of listings 2020-02-04 00:03:40 -08:00
Pragmatic Software
e79d8bf710 Update version 2020-02-03 23:56:12 -08:00
Pragmatic Software
5d1037e05b Capabilities: cap add/remove is now cap group/ungroup 2020-02-03 23:56:07 -08:00
Pragmatic Software
64f814fa8d Commands: create can-cmd caps only for cmds with cap-required 2020-02-03 23:55:24 -08:00
Pragmatic Software
0ef5f74f92 Update version 2020-02-03 20:45:15 -08:00
Pragmatic Software
d0e19a2b64 Capabilities: restrict cap add and cap remove 2020-02-03 20:45:10 -08:00
Pragmatic Software
9519fe0348 Update version 2020-02-03 19:27:03 -08:00
Pragmatic Software
437da18ac7 StdinReader: add general.daemon registry item; give stdin bot account botowner capability 2020-02-03 19:25:21 -08:00
Pragmatic Software
58233293fb Capabilities: cap command now supports "add" and "remove" 2020-02-03 18:52:21 -08:00
Pragmatic Software
9b86da6047 Users: allow botowner to userset/userunset capabilities they do not have 2020-02-03 18:13:03 -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
2ca9634c66 Capabilities: improve list output; add admin capabilities group 2020-02-03 13:03:08 -08:00
Pragmatic Software
f8ffe2214a WebPaste: fix syntax error 2020-02-03 13:02:08 -08:00
Pragmatic Software
66201585fe WebPaste: increase timeout back to 10 seconds; minor clean-ups 2020-02-03 12:27:45 -08:00
Pragmatic Software
866d802850 Replaced admin-levels with user-capabilities [WIP commit 1 of 2] 2020-02-03 09:50:38 -08:00
Pragmatic Software
186f0d3d65 Refresher: very minor clean-up 2020-02-03 09:48:19 -08:00
Pragmatic Software
0881f54c6d HashObject: add get_data() function 2020-02-03 09:47:21 -08:00
Pragmatic Software
19386a7a51 WebPaste: use LWP::UserAgent::Paranoid for stricter timeout 2020-02-03 09:46:44 -08:00
Pragmatic Software
b89d41796f EventDispatcher: no longer remove handlers on error 2020-02-02 15:00:30 -08:00
Pragmatic Software
c37900d69e Update version 2020-02-02 14:53:42 -08:00
Pragmatic Software
12a568354f Update version 2020-02-01 22:47:07 -08:00
Pragmatic Software
03df0ae139 Update version 2020-02-01 22:20:51 -08:00
Pragmatic Software
5e0a3a7035 Factoids/FactoidCommands: properly preserve quotes when splitting arguments 2020-02-01 22:19:53 -08:00
Pragmatic Software
20159ad929 Commands: make in command more intuitive 2020-02-01 22:17:20 -08:00
Pragmatic Software
4e0e39ea52 BlackList: minor clean-up 2020-02-01 22:16:21 -08:00
Pragmatic Software
b2a26100c0 AntiFlood: very, very minor clean-up 2020-02-01 22:15:06 -08:00
Pragmatic Software
f358cd9c73 Interpreter: split_args() now accepts option to toggle preserving of quotes in rest of arguments 2020-02-01 22:14:32 -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
d4fd86d690 Update version 2020-02-01 01:04:15 -08:00
Pragmatic Software
e8e26512bc ChanOps: fix checkmute command 2020-02-01 01:03:16 -08:00
Pragmatic Software
989f072f1a Update version 2020-01-31 23:17:04 -08:00
Pragmatic Software
4883b5effd Update version 2020-01-31 22:51:33 -08:00
Pragmatic Software
3843e24eaa Update version 2020-01-31 22:46:21 -08:00
Pragmatic Software
2d38f71682 ChanOps/ChanOpCommands: make checkban/checkmute API 2020-01-31 22:46:19 -08:00
Pragmatic Software
a9c1f1eebd Update version 2020-01-31 22:03:53 -08:00
Pragmatic Software
7cb7ec0d6c Update version 2020-01-31 19:35:30 -08:00
Pragmatic Software
0af8fc4c5c Commands: add set_meta function 2020-01-31 19:35:22 -08:00
Pragmatic Software
164e4d94ae Update version 2020-01-31 18:53:05 -08:00
Pragmatic Software
0dd8b1587e Update version 2020-01-31 18:42:19 -08:00
Pragmatic Software
78c5200007 Update version 2020-01-31 18:30:14 -08:00
Pragmatic Software
b798fee183 Update version 2020-01-31 12:33:24 -08:00
Pragmatic Software
7373ae6315 Users: Whoops, used $user instead of $u 2020-01-31 12:33:20 -08:00
Pragmatic Software
a5fbb74095 Users: my: must be admin to set "name" 2020-01-31 03:09:24 -08:00
Pragmatic Software
7dda42a181 Update version 2020-01-31 01:56:54 -08:00
Pragmatic Software
cfd6925d0f MessageHistory: add a couple of necessary API functions 2020-01-31 01:56:02 -08:00
Pragmatic Software
f557307a8a EventDispatcher: remove handler if it has errors 2020-01-31 00:58:04 -08:00
Pragmatic Software
b7e622a32e Utils: remove debug statements 2020-01-30 22:33:27 -08:00
Pragmatic Software
1baff41267 Refresher: version factoid does not exist any longer 2020-01-30 22:07:54 -08:00
Pragmatic Software
6081ee11e1 Update version 2020-01-30 21:18:05 -08:00
Pragmatic Software
609523fd67 Add LWPUserAgentCached: always caches get() for specified duration 2020-01-30 21:17:17 -08:00
Pragmatic Software
4a85f79d0d Plugins: minor text change 2020-01-30 19:44:40 -08:00
Pragmatic Software
9446317116 Update version 2020-01-30 11:17:33 -08:00
Pragmatic Software
462be8c3d2 Users: minor bugfix 2020-01-30 11:17:17 -08:00
Pragmatic Software
4288785932 Update version 2020-01-29 20:41:35 -08:00
Pragmatic Software
761b737ccc Update version 2020-01-29 19:14:22 -08:00
Pragmatic Software
61fa6bbb66 Interpreter: recall/mock "me" works again 2020-01-29 16:09:38 -08:00
Pragmatic Software
7d3e49eaa0 Update version 2020-01-29 14:09:37 -08:00
Pragmatic Software
33d9faac52 Users: useradd now properly returns "added" message 2020-01-29 14:09:34 -08:00
Pragmatic Software
95f2cfdd55 DualIndexHashObject: fix removing secondary index on "empty" 2020-01-29 14:09:09 -08:00
Pragmatic Software
4c3f752132 Update version 2020-01-29 13:40:52 -08:00
Pragmatic Software
77119ba978 Do not /msg usage messages 2020-01-29 13:40:48 -08:00
Pragmatic Software
1a8e784b88 Update version 2020-01-29 13:35:59 -08:00
Pragmatic Software
fbc50184dc Fix misc usage messages 2020-01-29 13:35:56 -08:00
Pragmatic Software
af3dbaa5d3 Update version 2020-01-29 12:40:49 -08:00
Pragmatic Software
f2140569f2 FactoidCommands: remove single-quote from some messages 2020-01-29 08:34:30 -08:00
Pragmatic Software
95854497ce Update version 2020-01-29 08:31:20 -08:00
Pragmatic Software
460e7b6ffa Users: oops, forgot about global 2020-01-28 23:21:50 -08:00
Pragmatic Software
7dd486b0dc Users: userset/userunset channel argument now optional 2020-01-28 23:14:17 -08:00
Pragmatic Software
539e599b61 Improve login/logout related messages 2020-01-28 22:58:44 -08:00
Pragmatic Software
cc710fc478 Users: find_user_account() now returns undef for $channel if no account found 2020-01-28 18:01:25 -08:00
Pragmatic Software
5536d55da2 Interpreter: sigh, add more commands to exempt from my->nick -- I really need to change this to use metadata instead 2020-01-26 20:03:50 -08:00
Pragmatic Software
a321adce9b Update version 2020-01-26 19:08:55 -08:00
Pragmatic Software
46940827e0 Interpreter: do not translate my->nick for help, etc 2020-01-26 18:56:45 -08:00
Pragmatic Software
91d80571e0 Users: my command now lists keys if no args 2020-01-26 18:53:30 -08:00
Pragmatic Software
aab2a2b445 Update version 2020-01-26 12:28:42 -08:00
Pragmatic Software
4db3a2ec01 Users.pm: fixes 2020-01-26 12:28:38 -08:00
Pragmatic Software
6a1fbc1c78 Update version 2020-01-26 06:01:57 -08:00
Pragmatic Software
86f59fd304 Update version 2020-01-26 05:29:53 -08:00
Pragmatic Software
4ea8f4ee42 Update version 2020-01-26 05:20:23 -08:00
Pragmatic Software
5952f264e0 Update version 2020-01-25 21:18:47 -08:00
Pragmatic Software
e3d52c7d55 Users: use much more strict hostmask for my accounts 2020-01-25 21:18:42 -08:00
Pragmatic Software
153d2c111f address_to_mask() is now member function 2020-01-25 21:09:17 -08:00
Pragmatic Software
791fd4b660 DualIndexHashObject: hide _name key from set output 2020-01-25 20:35:56 -08:00
Pragmatic Software
c586a08db6 Update version 2020-01-25 20:19:29 -08:00
Pragmatic Software
e9dfcfb825 PBot: list users/admins now easier to read 2020-01-25 20:19:23 -08:00
Pragmatic Software
71ec3ea44a Update version 2020-01-25 19:55:49 -08:00
Pragmatic Software
b0388fa9a6 Users: drop "my_" prefix; ensure account does not already exist 2020-01-25 19:55:43 -08:00
Pragmatic Software
7a326ba7fe PBot: missing exit on fatal error 2020-01-25 19:55:08 -08:00
Pragmatic Software
9839cb814e Update version 2020-01-25 16:30:43 -08:00
Pragmatic Software
07a6c32416 Users: my commands now ignores leading "is " in value 2020-01-25 16:30:39 -08:00
Pragmatic Software
2f7afb6e39 Update version 2020-01-25 16:09:46 -08:00
Pragmatic Software
c36f9d72bb Users: my command: add level sanity check 2020-01-25 16:09:43 -08:00
Pragmatic Software
dc0909cbcc Update version 2020-01-25 15:44:32 -08:00
Pragmatic Software
7ba505faf5 HashObject: do not make copy of $data hash 2020-01-25 15:08:05 -08:00
Pragmatic Software
02f1995654 DualIndexHashObject: do not make copy of $data hash 2020-01-25 15:07:40 -08:00
Pragmatic Software
3e031f3874 Users: fix issues 2020-01-25 14:31:10 -08:00
Pragmatic Software
7322906e5d Update version 2020-01-25 14:14:12 -08:00
Pragmatic Software
4e27b036cd Fix issues with Users and add date command 2020-01-25 14:13:57 -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
cc8f2b827a Update version 2020-01-24 09:53:11 -08:00
Pragmatic Software
75c17b2ec0 Admins: find_admin now returns highest level admin 2020-01-24 09:53:08 -08:00
Pragmatic Software
496a07ab9a Update version 2020-01-23 22:46:57 -08:00
Pragmatic Software
61d5c6dd5f Commands: restore accidentally removed use statements 2020-01-23 22:46:41 -08:00
Pragmatic Software
ba1eb9c745 Update version 2020-01-23 21:47:42 -08:00
Pragmatic Software
7dc8ac0623 Channels: chanrem now removes ban and mute timeouts as well 2020-01-23 21:46:51 -08:00
Pragmatic Software
4e2a17a5ed Commands: add uptime command 2020-01-23 21:09:57 -08:00
Pragmatic Software
7feb528024 Factoids: remove version factoid 2020-01-23 21:09:36 -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
c0ad02e6a3 Move creation of stdin admin to StdinReader 2020-01-23 20:47:18 -08:00
Pragmatic Software
9fb0d5d8bc NickList: * should not be greedy 2020-01-22 16:53:18 -08:00
Pragmatic Software
f2590ec83b Update version 2020-01-22 16:51:19 -08:00
Pragmatic Software
a6040609b9 IRCHandlers: give send_who() a registry toggle 2020-01-22 16:51:14 -08:00
Pragmatic Software
5e54712a7b NickList: fix set_meta on wildcard hostmasks 2020-01-22 16:50:45 -08:00
Pragmatic Software
eaecc81762 Update version 2020-01-22 15:56:47 -08:00
Pragmatic Software
2270196937 Admins: add autoop, autovoice and autologin metadata 2020-01-22 15:56:39 -08:00
Pragmatic Software
3086d96fdc FuncCommand: improve listing and add uc, lc, etc 2020-01-21 21:15:44 -08:00
Pragmatic Software
d61b1217bb Interpreter: properly check $from for $botnick 2020-01-21 21:15:01 -08:00
Pragmatic Software
f7f5409e4a Update version 2020-01-21 21:10:47 -08:00
Pragmatic Software
c84b837e97 Update version 2020-01-21 21:04:10 -08:00
Pragmatic Software
cada72fdb2 Update version 2020-01-20 16:52:46 -08:00
Pragmatic Software
3eb8bd15a6 AdminCommands: reload can now reload commands metadata 2020-01-20 16:52:44 -08:00
Pragmatic Software
942a152681 Update version 2020-01-20 16:48:36 -08:00
Pragmatic Software
cec026705b Commands: add help command 2020-01-20 16:37:51 -08:00
Pragmatic Software
fa9bb06606 Rename BotAdmin* to Admin* 2020-01-20 15:25:26 -08:00
Pragmatic Software
fb9117b6aa VERSION: minor clean-up 2020-01-19 21:43:04 -08:00
Pragmatic Software
02285c51fd Update version 2020-01-19 21:13:22 -08:00
Pragmatic Software
4f33dc3dd7 VERSION: add ratelimit to version command update check 2020-01-19 21:13:09 -08:00
Pragmatic Software
db8351b0d5 Update version 2020-01-19 20:17:26 -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
437ad88248 VERSION: update header 2020-01-19 20:10:46 -08:00
Pragmatic Software
ba61b0b2be Update version 2020-01-19 20:04:13 -08:00
Pragmatic Software
406f8e3207 VERSION: version check show new version only if new version is GREATER 2020-01-19 20:04:10 -08:00
Pragmatic Software
76b5c6a2b7 Update version 2020-01-19 20:02:34 -08:00
Pragmatic Software
5a2f57494b VERSION: remove parentheses around date in version check 2020-01-19 20:02:29 -08:00
Pragmatic Software
a0dd5728a3 Update version 2020-01-19 20:00:03 -08:00
Pragmatic Software
ed874c2dec Minor style clean-up 2020-01-19 20:00:01 -08:00
Pragmatic Software
349266b598 Update version 2020-01-19 19:53:48 -08:00
Pragmatic Software
64cba56698 VERSION: add built-in version command 2020-01-19 19:53:45 -08:00
Pragmatic Software
d14ab77764 Update version 2020-01-18 22:13:47 -08:00
Pragmatic Software
a10a2594c9 ChanOpCommands: skip admin check if command level is 0 2020-01-18 22:13:43 -08:00
Pragmatic Software
727d086df1 Commands: ensure "level" metadata is always set 2020-01-18 22:13:08 -08:00
Pragmatic Software
6eeec3b26c Commands: remove "metadata" from name of HashObject 2020-01-18 21:58:58 -08:00
Pragmatic Software
aadc9c00d8 Update version 2020-01-18 21:57:57 -08:00
Pragmatic Software
3c7950b82e Remove single-quotes from set/unset output 2020-01-18 21:57:54 -08:00
Pragmatic Software
99c889faf7 Update version 2020-01-18 21:49:58 -08:00
Pragmatic Software
f3ef8a56c0 Commands: add metadata 2020-01-18 21:49:55 -08:00
Pragmatic Software
5eaa3591c7 Minor style clean-up 2020-01-18 21:41:47 -08:00
Pragmatic Software
20f767e2f2 RegistryCommands: fix regfind 2020-01-17 23:00:55 -08:00
Pragmatic Software
fc851a069d Update version 2020-01-16 21:51:09 -08:00
Pragmatic Software
898a84c4f0 Factoids: use _name fields 2020-01-16 21:51:03 -08:00
Pragmatic Software
6f9133f982 PBot: ignore leading hypen on registry command-line arguments too 2020-01-16 21:30:01 -08:00
Pragmatic Software
bd11d501e3 Update version 2020-01-16 21:20:18 -08:00
Pragmatic Software
1f0e1b77cb PBot: ignore one leading hyphen in command-line arguments 2020-01-16 20:42:58 -08:00
Pragmatic Software
95d82f57d7 Update version 2020-01-14 20:17:29 -08:00
Pragmatic Software
0a31d17fef ChanOpCommands: fix typo 2020-01-14 20:17:26 -08:00
Pragmatic Software
1ff7c73152 Update version 2020-01-14 20:01:24 -08:00
Pragmatic Software
f789bd1206 ChanOpCommands: invite now catches events to send responses
Clean up previous commit a lot
2020-01-14 20:01:19 -08:00
Pragmatic Software
753328b77b Update version 2020-01-14 18:55:26 -08:00
Pragmatic Software
ebf5206ff6 ChanOpCommands: invite now behaves more like ChanServ when used from /msg 2020-01-14 18:55:20 -08:00