Commit graph

2684 commits

Author SHA1 Message Date
jesopo
850ddd0ab4 Use self.bot.load_modules in modules.py 2019-05-27 15:47:47 +01:00
jesopo
5b90a1a1d4 ModuleManager's load_module function now takes a ModuleDefinition 2019-05-27 14:57:16 +01:00
jesopo
76b268e60e Switch to using tweepy for tweets module 2019-05-27 14:52:08 +01:00
jesopo
786f04ea16 set changed = True when we pop a module with no dependencies left 2019-05-27 14:50:15 +01:00
jesopo
ce3a0668c6 Throw an exception when we detect a complex circular dependency 2019-05-27 11:42:47 +01:00
jesopo
5b780672a8 Enable TCP keepalives 2019-05-27 07:58:24 +01:00
jesopo
2a93a8f1dd Only check for unknown dependencies once 2019-05-26 20:27:17 +01:00
Anton McClure
8554df6546
add license to readme
email placeholder (<email>) will need set or may be removed if not wanted
2019-05-26 12:03:05 -04:00
jesopo
a9a9878de0 Update CHANGELOG 2019-05-26 16:26:32 +01:00
jesopo
38dd69a71e Only iterate a module's deps, not all modules, when checking for circular deps 2019-05-26 14:47:05 +01:00
jesopo
dad85f6744
Merge pull request #54 from AntonMcClure/revert-53-patch-1
Revert "added license info" - as per https://opensource.stackexchange.com/a/4024
2019-05-26 14:40:21 +01:00
Anton McClure
cebc544dc0
Revert "added license info" 2019-05-26 09:19:32 -04:00
jesopo
5318d8477f
Merge pull request #53 from Abdur-rahmaanJ/patch-1
added license info
2019-05-26 12:32:38 +01:00
Abdur-Rahmaan Janhangeer
19530534c3
added name 2019-05-26 15:23:43 +04:00
jesopo
4048f63538 'cicular' -> 'circular', words are hard 2019-05-26 11:25:52 +01:00
jesopo
9815ddac8a 'cycular' -> 'cicular' 2019-05-26 06:54:29 +01:00
jesopo
69a1f42ecc Add basic comments for dependency-sorting system 2019-05-25 21:47:28 +01:00
jesopo
984274a9e1 fix cve.py helpstring 2019-05-25 21:44:50 +01:00
jesopo
bb475d5cc8 Implement ordering modules by depends-on hashflag 2019-05-25 21:43:32 +01:00
jesopo
eeee2458d3 Fix utils.parse.hashflags type hints 2019-05-25 21:42:42 +01:00
jesopo
268c5adb3c Add depends-on hashflags to relevant modules 2019-05-25 21:40:06 +01:00
jesopo
552902d462 Refactor ModuleManager 2019-05-25 18:24:50 +01:00
jesopo
d0634bb54e Don't store hashflags as a dict before returning them - allow duplicate keys 2019-05-25 12:58:07 +01:00
jesopo
30b7c2419d Actually save blacklist setting when reenabling a module 2019-05-25 12:36:07 +01:00
jesopo
1fb4936fad Don't eat a character when preventing highlights 2019-05-24 21:33:01 +01:00
jesopo
4d4271435d Use regex to prevent highlights in github module 2019-05-24 21:28:43 +01:00
jesopo
6b41834a35 connect_time is on server.socket, not server 2019-05-24 17:36:20 +01:00
jesopo
a3a2c1e5a4 Store IRCSocket connect_time, show bytes read/write per second in stats.py 2019-05-24 17:32:59 +01:00
jesopo
503969abfd Bump version to v1.7.1 2019-05-24 06:52:25 +01:00
jesopo
3e8a31ba73 _match_caps takes 2 args 2019-05-24 05:47:01 +01:00
jesopo
b5aa2a98ac Split CHANGELOG in to sections 2019-05-23 23:09:35 +01:00
jesopo
3961cfa9c6 Add CHANGELOG 2019-05-23 23:05:23 +01:00
jesopo
b12298135e Bump version to v1.7.0 2019-05-23 19:10:22 +01:00
jesopo
61af81c9de Add comment about why we strip non-alnum chars from private commands 2019-05-23 16:10:31 +01:00
jesopo
4b5f839231 Forgot not so it was stripping alnum chars, not non-almun chars 2019-05-23 16:05:41 +01:00
jesopo
f0230eb001 attempted_auth is no longer used 2019-05-23 16:04:09 +01:00
jesopo
0a23e71e4e .lstrip alphanumeric chars from private commands 2019-05-23 16:03:49 +01:00
jesopo
e2a878def1 Remove self param of _validate 2019-05-23 15:36:04 +01:00
jesopo
f4b702fe04 Remove debug printing from config.py 2019-05-23 14:18:15 +01:00
jesopo
3806fd864b Add require_setting to pronouns.py 2019-05-23 12:18:12 +01:00
jesopo
724b3380d3 Use require_setting in user_time.py and weather.py 2019-05-23 11:50:12 +01:00
jesopo
d8b625eaa9 Add setting example in location.py 2019-05-23 11:49:57 +01:00
jesopo
34b7768d42 Use require_setting in birthday.py 2019-05-23 11:46:00 +01:00
jesopo
ac9768fcde Add system to require settings per event hook and show example help if they're
not present
2019-05-23 11:45:35 +01:00
jesopo
9df7b80d00 pass the command_prefix that triggered an event through event kwargs 2019-05-23 11:44:52 +01:00
jesopo
9f2881323f Only show register/identify advice when we're using internal auth 2019-05-23 10:39:24 +01:00
jesopo
fef97bfcd8 Show example usage when a user does not provide a setting value 2019-05-23 10:36:59 +01:00
jesopo
13a878cc17 Remove array-setting log - we don't/shouldn't use it. 2019-05-23 10:34:10 +01:00
jesopo
cf29c37112 Add usage examples for all settings 2019-05-23 10:28:14 +01:00
jesopo
8cc0b84e53 event.eat() for command.regex hooks in github module 2019-05-22 22:31:03 +01:00