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

2543 Commits

Author SHA1 Message Date
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