Commit graph

4430 commits

Author SHA1 Message Date
jesopo
3c6eb6f8e7 update ignore.py to use command spec (and not docstrings) 2020-02-07 12:48:37 +00:00
jesopo
39db6dea55 update modules.py to use command spec (and not docstrings) 2020-02-07 12:42:47 +00:00
jesopo
a19f6304c5 update admin.py to use command spec (and not docstrings) 2020-02-07 10:36:25 +00:00
jesopo
29fdc3ce53 regression: readd lost USERPASS SASL meta-mechanism 2020-02-07 00:14:05 +00:00
jesopo
d588760fc4 update other modules to use categorised require_access 2020-02-07 00:11:28 +00:00
jesopo
fe1c9ef746 allow multipe require_accces (comma sep), support "low"/"high"/"admin" 2020-02-06 23:50:19 +00:00
jesopo
822a44570c accept "1"/"0" as "true"/"false" for !config 2020-02-06 17:58:29 +00:00
jesopo
ceb0a19679 typo in !hostmask, 'spect' -> 'spec' 2020-02-06 16:52:26 +00:00
jesopo
83bc75c9cc add a setting to only track words from registered users 2020-02-06 16:52:09 +00:00
jesopo
e0e31b977e rewrite words.py to track words per-day (in it's own table) 2020-02-06 16:43:13 +00:00
jesopo
c0af477373 add Database.users.by_id() 2020-02-06 16:40:20 +00:00
jesopo
f52a824ffb fix SpecTypeArgumentDate simple() 2020-02-06 16:40:02 +00:00
jesopo
01441efe75 only pull 'charset' from <meta> content-type when it definitely exists 2020-02-06 11:54:04 +00:00
jesopo
5bbae499d1 chghost events no longer have 'username'/'hostname' kwargs 2020-02-05 18:21:08 +00:00
jesopo
fc83d4fe50 move !alias variables in to alias_variables.py, add RNICK (random nick) 2020-02-05 18:18:32 +00:00
jesopo
11e2475d52 aliases.py get.command doesn't need to be PRIORITY_URGENT 2020-02-05 18:06:30 +00:00
jesopo
e4f85ce6b3 update !apikey to use command spec 2020-02-05 16:40:15 +00:00
jesopo
460cda87bb add command spec type "words" - array of remaining words 2020-02-05 16:32:41 +00:00
jesopo
c4136a50ec refactor -b/-q/-m timer logic in to 1 function 2020-02-05 16:29:07 +00:00
jesopo
87bc9bab9e is8601_format_now() -> iso8601_now() 2020-02-05 10:15:57 +00:00
jesopo
d706c4ab91 !voice should target a nickname, not a user object 2020-02-04 16:01:10 +00:00
jesopo
8e611c451e switch module whitelist/blacklist to its own config file 2020-02-04 15:31:17 +00:00
jesopo
150148b4e0 INFO log on successful SASL authentication 2020-02-03 23:22:04 +00:00
jesopo
e79e3f0315 set username and hostmask on chghost before event dispatch 2020-02-03 23:13:57 +00:00
jesopo
96a74747dc implement !modinfo
closes #234
2020-02-03 23:01:36 +00:00
jesopo
7a15e5b2bf store timestamp and current git commit when loading a module 2020-02-03 23:00:53 +00:00
jesopo
e65fecd1b2 actually return gitlab _note result 2020-02-03 19:35:54 +00:00
jesopo
c0f5367d34 pull project name from "project_name" when "project" doesn't exist 2020-02-03 11:36:47 +00:00
jesopo
b713cf7659 init usages variable, for the case that there's no usage 2020-02-03 10:37:27 +00:00
jesopo
30aadda093 ratify labeled-response 2020-02-03 10:23:12 +00:00
jesopo
18b27c256e check git-show-private *after* we have unfiltered_targets 2020-02-01 00:23:41 +00:00
jesopo
b4b610ec18 Revert "support gitea respository["private"] as well as project["visibility_level"]"
This reverts commit 7f659837ab.
2020-02-01 00:09:28 +00:00
jesopo
e239d7a09c throw helpful errors when RSS pages cannot be decoded 2020-01-31 11:47:00 +00:00
jesopo
7105ba01de also detect encoding for http.request_many() 2020-01-31 11:40:17 +00:00
jesopo
7f659837ab support gitea respository["private"] as well as project["visibility_level"] 2020-01-31 08:00:21 +00:00
jesopo
5d3e1ea492 add 'date' command spec type 2020-01-30 21:21:12 +00:00
jesopo
d0d5cc4d08 split utils.datetime out in to .parse and .format 2020-01-30 21:20:56 +00:00
jesopo
53c6cc8538 replace "/" in channel logfile names with "," 2020-01-30 17:12:57 +00:00
jesopo
90c8805cb5 allow !msearch to work in PM 2020-01-30 16:31:38 +00:00
jesopo
2a950b6c5b give messages.py a shorter _name 2020-01-30 16:28:16 +00:00
jesopo
927fd7e3e7 "found messages: (n/j) ..." -> "found: (n/j) ..." 2020-01-30 15:37:10 +00:00
jesopo
402872b3f8 show "i/found_i" on each !msearch line 2020-01-30 15:13:15 +00:00
jesopo
24e84af4d2 add !msearch, to search for patterns in recent messages 2020-01-30 15:00:34 +00:00
jesopo
1674ef325b add utils.datetime.seconds_since(); compare utcnow to datetime 2020-01-30 14:58:32 +00:00
jesopo
82d20869e1 actually use count (for best_count), dont +=1 spec arg for non-consume 2020-01-30 14:57:40 +00:00
jesopo
73aeb6bde4 add IRCBuffer.find_all() 2020-01-30 14:57:24 +00:00
jesopo
b296a2df05 add IRCBuffer.BufferLine.format() - /me vs message formatting 2020-01-30 14:56:57 +00:00
jesopo
5fb3057814 bump IRCBuffer MAX_LINES to 1024 2020-01-30 14:55:30 +00:00
jesopo
d2d774a644 update rainbow.py to use command spec 2020-01-30 11:54:40 +00:00
jesopo
d0c5fc097c show target user in !ping response 2020-01-30 11:54:24 +00:00