Commit graph

4000 commits

Author SHA1 Message Date
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
jesopo
cec260ea3c add optional duration for !ignore 2019-11-18 15:57:27 +00:00
jesopo
65023dc84b move "+5m" syntax parsing out to utils.parse 2019-11-18 15:57:23 +00:00
jesopo
fe25c6bc26 switch some utils.irc functions to use f-strings 2019-11-18 14:16:30 +00:00
jesopo
d89a3125ab truncate nickname hash operations to 64bit 2019-11-18 14:09:47 +00:00
jesopo
a8b1bd95f7 implement weechat-style djb2 colour hashing 2019-11-18 13:51:55 +00:00
jesopo
3e54a631ee v1.15.0 release 2019-11-18 12:20:09 +00:00
jesopo
a7e21abfad import missing comma, 'Events'->'Event' 2019-11-18 12:10:20 +00:00
jesopo
06161b326c remove unused imports in src/utils/__init__.py 2019-11-18 12:09:18 +00:00
jesopo
9c4902dcfe "EventsResultsError"->"EventResultsError", move errors to utils.error 2019-11-18 12:06:59 +00:00
jesopo
4ba4a8ad76 v1.15.0-rc1 release 2019-11-18 11:38:11 +00:00
jesopo
d1c8357f97 combine both youtube API queries for playlists in to 1 query 2019-11-18 10:55:18 +00:00
jesopo
15e5d7d9bc handle a youtube video having no reported views
closes #203
2019-11-18 10:52:22 +00:00
jesopo
d8ea5e9ce8 combine all 3 youtube API queries in to one (for speed!) 2019-11-18 10:52:01 +00:00
jesopo
0d4ddb709e from_pretty_time was moved to utils.datetime 2019-11-17 19:48:05 +00:00
jesopo
79a6fd6609 refactor lastfm.py 2019-11-15 17:00:38 +00:00
jesopo
90baf17d10 boldify track/artist in !np output 2019-11-15 16:34:28 +00:00
jesopo
177f029c07 add missing ">" in CHANGELOG.md 2019-11-15 15:06:04 +00:00
jesopo
dd58dbf99b update CHANGELOG.md 2019-11-15 15:05:12 +00:00
jesopo
982f3b4912 refactor formatting privmsg/notice, show symbols on notice 2019-11-15 15:00:46 +00:00
jesopo
5d55086847 move utils.consts.BITBOT_MAGIC to utils.decorators 2019-11-15 14:09:35 +00:00
jesopo
5d01db8514 move all datetime-related code from utils/__init__ to utils.datetime 2019-11-15 13:59:09 +00:00