Commit graph

4294 commits

Author SHA1 Message Date
jesopo
6a02accb63 Merge branch 'master' into develop 2019-11-27 10:43:32 +00:00
jesopo
e56e2d3e48 WHOX can effect hostmask permissions too 2019-11-26 18:45:13 +00:00
jesopo
7a5eb765c4 use " | " as location & temp separator 2019-11-26 18:42:33 +00:00
jesopo
d216ce3345 check hostmask on WHO too 2019-11-26 18:42:27 +00:00
jesopo
14c30c4c05 add check.command.permission and check.command.authenticated callbacks 2019-11-26 15:32:24 +00:00
jesopo
e4a5bd01e9 explicitly use "lxml" for finding page encoding 2019-11-26 14:34:48 +00:00
jesopo
1d41bc7c34 page is already a soup 2019-11-26 14:34:41 +00:00
jesopo
8bb20bcb17 default first_item to None or it doesn't exist when there's no toots 2019-11-26 14:31:22 +00:00
jesopo
76ccbbbc46 show urls in !wikipedia output 2019-11-26 14:18:18 +00:00
jesopo
63d9ab19d5 add more.py 2019-11-26 14:18:12 +00:00
jesopo
c3ce47b19d update wikipedia.py to use Response.json() 2019-11-26 14:14:38 +00:00
jesopo
f97cf60434 update CHANGELOG.md 2019-11-26 14:07:18 +00:00
jesopo
989277e5df remove .github/ 2019-11-26 14:02:10 +00:00
jesopo
cf229a0ed4 remove .github/ 2019-11-26 14:01:44 +00:00
jesopo
8e9da0d681 _find_encoding takes bytes and soupifies now 2019-11-26 13:58:37 +00:00
jesopo
c898bc4be1 utils.http.request_many() shouldn't decode data for Response 2019-11-26 13:54:17 +00:00
jesopo
252e540f00 self._out takes a tags arg 2019-11-26 13:42:16 +00:00
jesopo
2d21dfa229 utils.http.Response.data should always be bytes - add .decode and .soup 2019-11-26 13:42:01 +00:00
jesopo
9eb51740b3 remove all eagle stuff from nr.py 2019-11-26 13:37:30 +00:00
jesopo
ed775ddbe3 remove parser from utils.http.Request, add Request.soup() 2019-11-26 11:35:56 +00:00
jesopo
93aea08818 utils.datetime.datetime_utcnow() -> utils.datetime.utcnow() 2019-11-25 18:18:09 +00:00
jesopo
6a6e789ec9 add cookies and .json() to utils.http.Response objects 2019-11-25 18:17:30 +00:00
jesopo
8626a29a69 include <title> with !google/!g output 2019-11-25 17:48:31 +00:00
jesopo
4586bc7903 remove tags from StdOut objects - expose through event_kwargs 2019-11-25 16:28:03 +00:00
jesopo
896dc480a5 slightly nicer format for weather output 2019-11-25 16:20:40 +00:00
jesopo
0bb7800934 .append_prefix() doens't exist anymore 2019-11-25 16:09:35 +00:00
jesopo
ab8bc65cc9 change utils.http.Request to be a dataclass 2019-11-25 13:42:10 +00:00
jesopo
985e4704a0 switch !to to !tell, add !to as an alias of !tell 2019-11-25 12:18:07 +00:00
jesopo
e476fc44e7 update CHANGELOG.md 2019-11-25 12:04:30 +00:00
jesopo
531bc65889 explicitly say when an issue/PR was renamed
closes #209
2019-11-25 12:01:33 +00:00
jesopo
76286e2bd0 switch scripts module to no longer use set_prefix() 2019-11-25 10:53:16 +00:00
jesopo
73232b40e1 new_event doesn't exist when check_success is false 2019-11-25 10:43:30 +00:00
jesopo
7f7a31720c USERAGENT no longer exists 2019-11-25 05:55:22 +00:00
jesopo
0fc607b344 switch all hide_prefix() calls to .prefix = None 2019-11-22 17:30:17 +00:00
jesopo
be44244a71 reimplement send.stdout/send.stderr events 2019-11-22 17:29:49 +00:00
jesopo
5730d6fe59 refactor commands (mostly stdout/stderr) and split typing/reply out
closes #208
2019-11-22 16:23:30 +00:00
jesopo
bcb2cc73f9 update CHANGELOG.md 2019-11-22 12:43:10 +00:00
jesopo
3935bf3a30 IRCUser.get_identified_account() doesn't exist anymore 2019-11-22 11:50:23 +00:00
jesopo
6f67bf0c97 correctly detect when a track has tags (lastfm) 2019-11-22 11:48:10 +00:00
jesopo
090d46720a also set _account_override when registering 2019-11-21 16:53:27 +00:00
jesopo
0d13725ab7 check part of array, not whole array, for "*" 2019-11-21 16:36:06 +00:00
jesopo
50d12e7e1f implement master-password/master-login in permissions module 2019-11-21 16:31:23 +00:00
jesopo
dea29c5d5b authenticated is expected to be a boolean 2019-11-21 16:19:43 +00:00
jesopo
2dfc55fb9f refactor permissions and allow hostmasks to be assigned to accounts 2019-11-21 15:49:08 +00:00
jesopo
9f8c5acf52 add a way to execute commands through bitbotd (use for master-password) 2019-11-21 10:39:26 +00:00
jesopo
352df0fa75 support "$$" as a literal "$" in alias arg replacements 2019-11-20 18:25:32 +00:00
jesopo
6e005f1569 update CHANGELOG.md 2019-11-20 18:19:13 +00:00
jesopo
da1f1fce08 add !notitle to bypass auto-title 2019-11-20 17:59:26 +00:00
jesopo
72d418a307 pattern-url isn't used anymore 2019-11-20 17:06:37 +00:00
jesopo
4d30263315 give bitbot a unique User-Agent
closes #206
2019-11-20 14:42:34 +00:00