Commit graph

1253 commits

Author SHA1 Message Date
jesopo
381e0ae336 Error log failure to get title of a url (title.py) 2019-01-21 14:39:20 +00:00
jesopo
8bf8097dd7 bus_stop isnt a Response object (tfl.py) 2019-01-21 10:46:23 +00:00
jesopo
3cefe87c5e Show default github web hook event categories in ghwebhook.md (github) 2019-01-20 20:08:46 +00:00
jesopo
c6545ca847 Use the correct namespace for HTTPTimeoutException (wolframalpha) 2019-01-20 19:05:50 +00:00
jesopo
65f9184a54 Gracefully handle a timeout (wolframalpha) 2019-01-20 19:04:32 +00:00
jesopo
491db4fea4 Typo, '9)' -> '()' (github) 2019-01-20 13:03:36 +00:00
jesopo
7a7400922e Add !ghwebhook list to ghwebhook.md 2019-01-20 13:02:19 +00:00
jesopo
be772cb730 Add a !ghwebhook subcommand to list all registered web hooks (github) 2019-01-20 13:01:31 +00:00
jesopo
f9186d7334 typo, commit["pusher"] -> data["pusher"] (github) 2019-01-19 08:02:34 +00:00
jesopo
202991a268 use data["pusher"]["name"] as data["author"]["login"] doesn't exist (github) 2019-01-19 08:00:31 +00:00
jesopo
8c1b40e785 Clarify [hook] and add sections for branches subcommand (github) 2019-01-19 07:53:30 +00:00
jesopo
3835930bdb Allow users to specify what branches are shown for github webhooks (github) 2019-01-19 07:48:24 +00:00
jesopo
0f9592063e Show user login not user name (e.g. show username not display name) for
commits (github)
2019-01-19 07:23:35 +00:00
jesopo
1753329aaf Show an error when a user specifies an unknown subcommand to !ghwebhook (github) 2019-01-18 14:21:53 +00:00
jesopo
3d2c11991e Clarify wording of what can be in the list of shown events (github) 2019-01-18 14:12:29 +00:00
jesopo
d2b572849c Correct markdown url (github) 2019-01-18 14:04:06 +00:00
jesopo
1950f1335f Point out that users can use raw github events, not just event categories
(github)
2019-01-18 14:02:54 +00:00
jesopo
c7ba2b778b Delete github-hooks channel setting when it's empty (github) 2019-01-18 13:25:53 +00:00
jesopo
9bbf3147d0 Display event categories in a smaller font (ghwebhook.md) 2019-01-18 13:14:11 +00:00
jesopo
8c4c9ab90a Added help file for !ghwebhook 2019-01-18 13:13:01 +00:00
jesopo
69edf039b3 Support modules being in their own folder and move github.py to github/module.py 2019-01-18 12:49:11 +00:00
jesopo
b7864ffb41 Typo, 'all_hook' -> 'all_hooks' (github.py) 2019-01-18 12:13:01 +00:00
jesopo
0414ed34e2 Move github hooks away from !channelset in to their own !ghwebhook command
(github.py)
2019-01-18 12:05:56 +00:00
jesopo
8addca13ec Copypaste fail, 'c' -> 'category' 2019-01-18 08:20:03 +00:00
jesopo
be5c5e6c21 Allow non-category items to be placed in a channel's event categories, allowing
users to specify specific events (github.py)
2019-01-18 08:18:47 +00:00
jesopo
4981d70be4 combine github events and their actions to be able to filter by event type and
action. add/change event categories to use these (github.py)
2019-01-18 08:08:39 +00:00
jesopo
5dc5e3fbfd LIGHTGREEN -> GREEN for successful commands (commands.py) 2019-01-17 21:10:12 +00:00
jesopo
72d4375e55 Only show specific actions for pull requests and issues (github.py) 2019-01-17 17:01:12 +00:00
jesopo
776f2faced Actually use new sender arg for _on_notice() (print_activity.py) 2019-01-17 14:51:44 +00:00
jesopo
2a7df864ef ping events don't need to know full_name of repo (github.py) 2019-01-17 14:50:23 +00:00
jesopo
588b54b40b Print when we send notices (print_activity.py) 2019-01-17 14:50:07 +00:00
jesopo
89d0c83acb Clarify github webhook event names with some comments (github.py) 2019-01-17 14:31:23 +00:00
jesopo
ce1d1aa5f8 'issue' -> 'issues' (github.py) 2019-01-17 14:19:31 +00:00
jesopo
75b85e76c9 Add a channel setting for github webhook event filters (github.py) 2019-01-16 22:36:19 +00:00
jesopo
5bf603bbfa typo, 'respository' -> 'repository' (github.py) 2019-01-16 22:32:17 +00:00
jesopo
77c7084e9d Don't try to parse username and repo name from a full name if there's no full
name (github.py)
2019-01-16 22:28:12 +00:00
jesopo
a342f82f40 Do filtering of github events based on categories of events (github.py) 2019-01-16 22:26:31 +00:00
jesopo
f9bf1d03e8 Correct order of string formatting for github membership events (github.py) 2019-01-16 22:14:26 +00:00
jesopo
f50f2a6d51 Support organisation membership event (github.py) 2019-01-16 22:13:38 +00:00
jesopo
e49389232e Support github events only related to an organisation, not a repo (github.py) 2019-01-16 22:13:14 +00:00
jesopo
8e5642f5d7 Check if page is null before trying to access page.data (eval_python.py) 2019-01-15 12:39:27 +00:00
jesopo
3eb87b06e1 'guid' -> 'uuid' as apparently guid is microsoft's name for a uuid
(random_number.py)
2019-01-14 21:37:14 +00:00
jesopo
7e85197d47 Change !gh to be an alias of !github (github.py) 2019-01-13 22:06:41 +00:00
jesopo
598fcb80b9 'to_ansi_colors(' -> 'parse_format(' as it's become a lot more than just colors.
strip \x08 (in case hexchat users paste it) (print_activity.py, src.utils.irc)
2019-01-13 21:56:36 +00:00
jesopo
9ab9400b46 Only show issue comment edit events when the body text of the comment has
actually changed (github.py)
2019-01-13 01:34:07 +00:00
jesopo
e523671633 Made positive karma show as LIGHTGREEN, not GREEN (karma.py) 2019-01-11 21:00:09 +00:00
jesopo
eadb49d41a Don't use bolding for command colors (commands.py) 2019-01-11 20:57:52 +00:00
jesopo
3cc9bc9dbb Karma is now being used as karma_str, thus we need a %s not a %d (karma.py) 2019-01-11 17:35:18 +00:00
jesopo
415afe7e27 Show positive karma as green and negative karma as red (karma.py) 2019-01-11 17:33:43 +00:00
jesopo
e5a5241615 Only try to regex match a youtube url if we actually have a search string
(youtube.py)
2019-01-11 12:03:23 +00:00
jesopo
59094568e0 Add youtube-safesearch channel setting, to allow channels to opt-in to turning
off any safe search filters (youtube.py)
2019-01-11 11:30:29 +00:00
jesopo
e62b3b58f4 "set" -> "channelset" for channel-related unset (set.py) 2019-01-10 22:43:12 +00:00
jesopo
0e9d2b3180 Add !unset and !channelunset (and !channelunsetoverride) (set.py) 2019-01-10 22:41:35 +00:00
jesopo
2f74100666 Don't have duplicate repo full name in ping events (github.py) 2019-01-10 22:24:04 +00:00
jesopo
cbc0e81fb3 Send a notice to a channel when a new webhook registration is received
(github.py)
2019-01-10 22:14:40 +00:00
jesopo
73392e8a20 Pass username, repository, number to _gh_issue and _gh_pull (github.py) 2019-01-10 13:36:13 +00:00
jesopo
2d346e73bc Seperate out issue/pr logic into their own functions and add !gh that will get
info on either an issue or a pull request (github.py)
2019-01-10 13:32:19 +00:00
jesopo
8da6036894 Show issue/pr state in !ghissue and !ghpull (github.py) 2019-01-10 13:23:32 +00:00
jesopo
d26a945c49 Show an error if !ghissue or !ghpull doesn't find the specified issue/pr
(github.py)
2019-01-10 13:18:58 +00:00
jesopo
86810290f7 rpartition (instead of partition) #number for github issues/pull, so that we
don't have to specify "#" when we're got a default repo (github.py)
2019-01-10 13:11:35 +00:00
jesopo
55b61649f4 copypaste fail, event["args_split"][0] -> ref (github.py) 2019-01-09 23:03:34 +00:00
jesopo
bba5733736 Command events don't have "channel", they have "target" (github.py) 2019-01-09 23:02:39 +00:00
jesopo
5514c2b9c9 Add a way to set the default github repo for a channel (github.py) 2019-01-09 23:01:27 +00:00
jesopo
470f9fc945 from_repo/to_repo -> repo_from/repo_to (github.py) 2019-01-09 22:51:55 +00:00
jesopo
2afe2d1c57 Show which branch is being merged in to which (github.py) 2019-01-09 22:50:41 +00:00
jesopo
d6da46fac3 to_from -> repo_to (github.py) 2019-01-09 22:50:21 +00:00
jesopo
8399545fe3 Add missing "(" for github pull request message format (github.py) 2019-01-09 22:47:47 +00:00
jesopo
aa04071d89 def github( -> def webhook( (github.py) 2019-01-09 22:47:20 +00:00
jesopo
dc4c711fa0 Actually show deletions as deletions for github pull requests (github.py) 2019-01-09 22:46:57 +00:00
jesopo
8d3064d50c Add !ghpull, to get information on a pull request from github (github.py) 2019-01-09 22:45:33 +00:00
jesopo
56f431176c Boldify sender on a pull request review comment (github.py) 2019-01-09 22:33:02 +00:00
jesopo
ac3c361399 Add !ghissue, to get information on an issue from github (github.py) 2019-01-09 22:30:11 +00:00
jesopo
93336efd38 Handle !soundcloud returning no results (soundcloud.py) 2019-01-08 10:14:21 +00:00
jesopo
38b7a1dadf Typo in words.py: 'strippped_word' -> 'stripped_word' 2019-01-04 12:36:38 +00:00
jesopo
8171c5c492 Allow tracking words that have characters deemed as "start"/"end" characters
(words.py)
2019-01-04 12:13:36 +00:00
jesopo
47b17def99 Sort list of available settings for set/channelset/etc (set.py) 2019-01-03 22:02:51 +00:00
jesopo
e15c7ece5b URL-unquote form-encoded data AFTER parsing it as a query string (github.py) 2019-01-03 21:55:21 +00:00
jesopo
498352d1ac Support adding github webhooks for an entire "username" (github.py) 2019-01-03 21:18:40 +00:00
jesopo
cb3e40a462 Print a topic's set at time when we receive a 333 (print_activity.py) 2019-01-02 13:39:49 +00:00
jesopo
3d60d59510 We need to normalise between a single usage string and multiple (making both
lists) to reuse the formatting code (commands.py)
2018-12-29 21:38:03 +00:00
jesopo
ee8d3a6287 Remove an erroneous level of indentation that prevented the command being
prepended to a usage string when only 1 usage string was available (commands.py)
2018-12-29 21:35:06 +00:00
jesopo
e8b69b0a26 type should be before number in the string formatting of issue_comment
(github.py)
2018-12-29 21:15:50 +00:00
jesopo
5f994e599d Show issue/pr number (github.py) 2018-12-29 19:05:14 +00:00
jesopo
d91e15abfd html unescape tweet text 2018-12-27 21:57:33 +00:00
jesopo
30db81e0da --require-config shouldn't have a space before it 2018-12-27 21:57:24 +00:00
jesopo
b8b0adb811 Sort nicknames case-insensitively (stats.py) 2018-12-26 23:24:43 +00:00
jesopo
e5600a6927 Sort user nicknames on /api/server (stats.py) 2018-12-26 23:22:12 +00:00
jesopo
f0ee00da3a Typo, '==' -> '=' 2018-12-22 09:36:13 +00:00
jesopo
7223e76e24 Copypaste fail from moving logic out to turn a date to a string ('value' -> 'dt)
(badges.py)
2018-12-22 09:35:11 +00:00
jesopo
13cf49ac5d Add !upsertbadge, to update or add a badge with a date (badges.py) 2018-12-22 09:34:38 +00:00
jesopo
6c38f2f637 Better clarify !updatebadge's <date> arg in usage (badges.py) 2018-12-22 09:33:52 +00:00
jesopo
43361961bb Move out logic to case-insensitively find a badge (badges.py) 2018-12-22 09:33:23 +00:00
jesopo
bd8ca2083b Typo, 'aliase' -> 'aliases' (commands.py) 2018-12-22 01:06:42 +00:00
jesopo
be1d06796b Add !removealias (commands.py) 2018-12-22 01:05:47 +00:00
jesopo
3039119f4a Actually set new args_split (commands.py) 2018-12-22 01:02:55 +00:00
jesopo
ae5eb9fc47 .partition returns a tuple of 3 (commands.py) 2018-12-22 01:01:25 +00:00
jesopo
498c1d647e Add basics of a command alias system 2018-12-22 01:00:38 +00:00
jesopo
44d2455766 This regex should have been r"" (commands.py) 2018-12-22 00:49:00 +00:00
jesopo
da42963e5c Add help and usage (badges.py) 2018-12-22 00:36:43 +00:00
jesopo
d2770c9642 Show actual date (not just days since) for !badge (badges.py) 2018-12-22 00:10:44 +00:00