Commit graph

4021 commits

Author SHA1 Message Date
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
jesopo
11c3104d02 move things like IRCBot.VERSION to before imports (for utils.http) 2019-11-20 14:41:14 +00:00
jesopo
1823371380 bot admins should be allowed to use !calias 2019-11-20 14:33:46 +00:00
jesopo
7a7610acb8 remove shlex from echo.py 2019-11-20 13:33:30 +00:00
jesopo
6c9a04a3ef "alias-%s" -> "command-alias-%s" 2019-11-20 12:41:31 +00:00
jesopo
714d40b79f "!alias show" should be looking at index 1 for alias 2019-11-20 12:05:41 +00:00
jesopo
050bfd29f7 args_split shouldn't be [""] when args is empty 2019-11-20 12:03:02 +00:00
jesopo
cb111f0c93 show error on unknown !alias subcommand 2019-11-20 12:02:51 +00:00
jesopo
84b77b5cb9 add "migration successful" message 2019-11-20 11:59:23 +00:00
jesopo
8eb26a5bd2 better printing for alias migration script 2019-11-20 11:57:38 +00:00
jesopo
dd3d72d8d3 add migration script for old aliases 2019-11-20 11:53:35 +00:00
jesopo
d63294067b find_setting() returns a tuple 2019-11-20 11:53:26 +00:00
jesopo
03e4f780a0 require access for !alias/!calias 2019-11-20 11:39:51 +00:00
jesopo
17edb1c8cb move command aliases out to their own module (aliases.py) 2019-11-20 11:34:36 +00:00
jesopo
2f07c308ea set private NOTICE context so print_activity shows who a notice was sent to 2019-11-19 17:23:23 +00:00
jesopo
77fa2b7b00 separate server name and context name with ":" in print_activity.py 2019-11-19 17:23:00 +00:00
jesopo
2c8a94dc4c show who opened a pull request for pull_request events when appropriate 2019-11-19 17:14:31 +00:00
jesopo
bd176240d6 consecutive HASH_STOP chars at start shouldn't count as a stop 2019-11-19 14:45:47 +00:00
jesopo
554f21a84c HASH_STOP should still be respected if last character 2019-11-19 14:43:24 +00:00
jesopo
2336695f4e boldify important parts in !help output 2019-11-19 12:31:15 +00:00
jesopo
502dae0d75 'event["comment"]' -> 'data["comment"]' 2019-11-19 12:24:30 +00:00
jesopo
024452bbac expirental code to show comment content for github issue_comment webhooks 2019-11-19 12:22:46 +00:00
jesopo
bc6b1dda47 chance src/Cache.py from time.monotonic() to time.time() 2019-11-19 11:41:50 +00:00
jesopo
48cc92cea3 remove double space for youtube views 2019-11-18 18:02:03 +00:00