Commit graph

1178 commits

Author SHA1 Message Date
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