Commit Graph

31 Commits

Author SHA1 Message Date
760e43b59a Reformat project 2022-07-21 13:39:59 +01:00
7ffdc63eeb Rename time to ts 2022-07-21 13:39:54 +01:00
ff1ee63900 Reformat code with pre-commit 2022-07-21 13:39:41 +01:00
14daa9dfef Don't discard server messages 2020-11-02 20:13:36 +00:00
abdfc48b95 Prepare command loader for reloading commands 2020-11-01 03:38:47 +00:00
9e17223258 Don't deduplicate global messages (NICK/QUIT) 2020-10-31 16:51:24 +00:00
eaeb4b72c2 Use zero-padded numbers to maximise usuable ports 2020-10-31 00:13:59 +00:00
8deac2ab17 Implement another level of logging for tracing 2020-10-31 00:10:33 +00:00
812db95995 Add checks in dedup for time-less messages 2020-10-28 22:46:22 +00:00
1640955e5c Fix various bugs in the event system
Squash many bugs in the event notification system and simplify the
code.
2020-06-02 21:34:15 +01:00
f34de8940f Improve performance in userinfo
* Implement a nick -> user mapping, preventing a superfluous SSCAN on
the entire dataset for when networks are disconnected
* Use one thread for all channels when a network instance is
disconnected, instead of one thread per channel
* Made returns comprising of only a list into tuples
2019-10-17 20:19:35 +01:00
a64765121a Allow multiple arguments for the logging functions 2019-10-13 12:40:16 +01:00
c3d0cb04b6 Pass all arguments from debug into print
Allows for multi-argument debug() statements without ugly + or %s
operators.
2019-10-11 13:04:58 +01:00
32309ecec2 Change alias definitions to be global, so aliases can be reused across different networks 2019-09-29 22:45:16 +01:00
15ca45e5df Implement Ctrl-C handling and fix a large number of small bugs 2019-09-28 19:46:10 +01:00
006f8db6f6 Update the class name in the single command loader and import the debug function which it uses 2019-08-25 23:12:51 +01:00
2d70d5af11 Add error checking in places, set up automatic relay provisioning and fix starting bots 2019-08-25 21:29:11 +01:00
ff74968ff8 Merge branch 'master' into datarestructure 2019-08-19 20:19:42 +01:00
545282e201 Add deduplication precision toggle, fix printing odd characters and implement sending messages to all instances of a certain network, or all networks associated with a certain alias 2019-08-16 21:27:23 +01:00
f34ddab6fc Improvements to query and self event detection, implement all command and debug flags 2019-08-15 21:20:49 +01:00
Al Beano
88077782f3 Rename classes representing commands to <CommandName>Command 2019-08-09 23:49:21 +01:00
488d81dac8 Fix a race condition in disabling networks post-creation, remove redundant bindhost code and fix a minor bug in the load command 2019-03-16 17:05:16 +00:00
8926cb76ec Renovate the module system and implement adding and resuming pool instances using the new relay/alias/network system 2019-01-26 18:58:21 +00:00
4efea3f535 Implement the backend for automatically provisioning relays 2019-01-26 01:57:24 +00:00
6046329a83 Start implementing relay abstractions for smarter network handling and minor cosmetic changes 2019-01-20 19:56:54 +00:00
bc87ffddf7 Implement monitoring system for flexible metadata matching 2018-07-27 22:58:37 +01:00
d168d69732 Import the main module properly and fix some oddities in Twisted to prevent it from discarding some data 2018-03-14 20:14:02 +00:00
da6c45f093 Implement counting keyword events and a unified buffers system for when the master channel is unavailable 2018-03-10 13:54:04 +00:00
378c4d9bba Implement loading new modules at runtime 2018-02-23 23:26:21 +00:00
cb7142ef88 Separate out everything into files and implement a modules system to segment commands 2018-02-23 22:05:40 +00:00
4b3541625a Separate out the logging functions 2018-02-22 19:30:31 +00:00