Commit Graph

42 Commits

Author SHA1 Message Date
Kyle Spier-Swenson
733d88d1bd [ready] Adds discord webhook support to the github webhook processor. (#42537)
* Adds discord webhook support to the github webhook processor.

* Fix odd bug

* Add discordwebhook config to secrets with example urls

* Forgot a semicolon

* Remove debug lines

* Hide html comments inside pr bodies.

* Add a bunch of configs to announcement endpoints

include_repos
exclude_repos
exclude_events
announce_secret
announce_unvalidated
embed
no_text

* Add support for those configs.

* Fix minor bug

* Fix no embed messages not working

* Adds spoiler support to discord_sanitize
2019-02-02 08:25:07 +01:00
Jordan Brown
74b54620c8 Test merge candidate is removed on commit push (#36266) 2018-03-10 02:09:06 -06:00
Jordan Brown
0eff6e60b0 Fixes unicode changelog tags (#35905) 2018-02-24 00:03:46 -05:00
Jordan Brown
8d88b6a825 Tests give 3 GBP (#35551) 2018-02-12 13:47:42 -05:00
Jordan Brown
8cbbe65f13 Split up Revert/Removal 2018-02-12 09:21:19 -06:00
JJRcop
f6dc5a82f7 $remove is optional in set_labels 2018-01-27 11:25:03 -05:00
JJRcop
7b3d27c695 Fixes webhook diff selecting partial match
By disabling multiline mode, $ becomes the end of the string, so we can match either \Rdiff or $, so that the lazy modifier must match the rest of the string if it can't find \Rdiff
2018-01-11 14:41:54 -05:00
Jordan Brown
04ebd0eb82 Revert "another test for the hook (#34277)" (#34278)
This reverts commit cd1722af8c.
2018-01-10 12:14:51 -08:00
JJRcop
cd1722af8c another test for the hook (#34277)
i could install php and do this myself i guess?
2018-01-10 12:14:12 -08:00
Jonathan (JJRcop)
07d1f7cf19 Fixes webhook diff generator 2018-01-10 14:39:27 -05:00
Jordan Brown
b911805942 Autotag .github => GitHub (#33965) 2017-12-31 15:25:56 -05:00
Jordan Brown
d740691463 Webhook processor will comment negative PR balances on unlabelled PRs (#32771) 2017-11-16 17:07:45 -05:00
Kyle Spier-Swenson
afc266c3ac Fix webhook
again
2017-11-04 17:18:20 -07:00
JJRcop
63370eff30 Fixes Sounds detection in webhook (#32319) 2017-11-02 14:26:30 -04:00
oranges
a5b4d3011a Huge atmos nerf, tweak buff (#32285)
It's not that different from other subsystems to justify the huge extra point cost, and the people who make atmos related changes have attained a great number of points.

Tweak is for small things that shouldn't affect the point balance either way
2017-11-02 03:15:40 -06:00
JJRcop
204330a32e Contributors can add the ready tag to their own prs (#32062)
* Contributors can add the ready tag

* Webhook synchronize case pushes update at the end

* Fixes pr not getting tagged when opened
2017-11-02 10:01:26 +13:00
Kyle Spier-Swenson
3d6e9a72c1 Fixes the other thing 2017-10-31 13:50:50 -07:00
Kyle Spier-Swenson
7ce48884f2 Fix the error. 2017-10-31 13:44:56 -07:00
Kyle Spier-Swenson
da7d046f98 Improves php logging 2017-10-31 13:31:22 -07:00
JJRcop
f7ed9b5f7e Webhook now comments its diff (#32151)
* Webhook now comments its diff instead of its dump

* Fixes variable access in webhook

* Fixes webhook regex flaw

* Missing semicolon in webhook

well... I don't have much to say to you
this is... i mean... 😀😀😁😁😁😁😂😂😂😂😂😂😂😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭

* Fixes anoher webhook regex issue

* Re-adds content to webhook update

* Encapsulates webhook diff in <details>
2017-11-01 09:20:28 +13:00
JJRcop
fd26a28843 Fixes webhook tagging when tree is found anywhere 2017-10-27 13:53:31 -04:00
Kyle Spier-Swenson
b5fde72459 Webhook processor no longer removes [tags] from titles (#32053)
* Webhook processor no longer removes [tags] from titles

This was shit

* Does the oranges
2017-10-26 23:07:26 +13:00
Jordan Brown
82b893953b Renames 'Ready for Review' to 'Review Again' (#31995) 2017-10-23 01:09:58 -04:00
Cyberboss
628a6ca261 Changes starting PR balance to 5 2017-10-16 15:10:50 -05:00
Jordan Brown
6a3e0c2d8e Fixes maintainer detection for review auto-tagging (#31307)
* Fixes maintainer detection for review auto-tagging

* User not author

* oranges was right
2017-10-06 22:33:43 -04:00
Jordan Brown
8ffdbb0d7a Autotagging tgui tree to UI label (#31353) 2017-10-06 22:28:55 -04:00
Jordan Brown
3e1dfddb08 Edits to code/controllers/configuration/entries autotag Config Update 2017-09-30 14:26:58 -04:00
Jordan Brown
abfd57b80f Gives 1 GBP for Grammar and formatting 2017-09-28 12:15:21 -04:00
Jordan Brown
bf575871f7 Fixes webhook processor 2017-09-20 15:26:46 -04:00
oranges
d3804af2c8 Merge pull request #30839 from Cyberboss/ReadyUp
Adding [READY] to PR titles will remove 'Work In Progress'
2017-09-20 21:18:56 +12:00
Jordan Brown
864276ae14 More changelog functions (#30711)
* Comprehensive changelogs

* FrozenGuy5's images

* Revert CONTRIBUTING.md

* Fix PULL_REQUEST_TEMPLATE.md wording

* Default the setting to off in the webhook procesor

* And in secret.php
2017-09-20 20:57:44 +12:00
Cyberboss
b7afe5ff26 Adding [READY] to PR titles will remove 'Work In Progress' 2017-09-17 16:06:12 -04:00
Jordan Brown
3d5458366e Various webhook processor fixes (#30732) 2017-09-17 13:40:46 +02:00
Jordan Brown
94fac71434 Ready for Review won't be added to WIP/DNM (#30634) 2017-09-16 12:24:58 -05:00
Jordan Brown
6652595efe Fixes editing PRs dismissing reviews (#30718)
* Fixes editing PRs dismissing reviews

* bass ackwards
2017-09-14 15:24:25 +02:00
Jordan Brown
365541b5e1 Wow I'm dumb 2017-09-13 15:58:48 -04:00
KorPhaeron
3e81ac2914 Merge pull request #30659 from Cyberboss/AlsoOnComment
Update Ready for Review when a review comment is created by a maintainer
2017-09-13 14:42:19 -05:00
Jordan Brown
592a8a63b2 Dismiss approved reviews after synchronize 2017-09-13 09:44:17 -04:00
Jordan Brown
cfd077d4d0 Caches the github diff for has_tree_been_edited (#30578) 2017-09-12 14:55:21 -03:00
Jordan Brown
1faf29bf06 Update Ready for Review when a review comment is created 2017-09-12 11:34:50 -04:00
Kyle Spier-Swenson
ca7ca712e8 Tweak some things about the webhook processor.
These are already live, (kinda) but i'm putting them here mainly so we can test the auto-update again
2017-09-11 19:13:33 -07:00
Jordan Brown
07c1c4aeed Gives the webhook processor the ability to self update (#30448)
* Gives the webhook processor the ability to self update

* Correct syntax highlighting

* Remove unecessary globals

* Add $repoOwnerAndName to secret.php

* Use configured github URL

* Move configs to secret.php

* Configuarable tracked branch

* Ensure the PR is against the tracked branch

* Add default settings
2017-09-11 21:59:51 -04:00