Commit Graph

223 Commits

Author SHA1 Message Date
Matt Colyer
f9d7d5eabe Cleanup evaluator plugin interface 2016-11-18 10:00:34 -08:00
Brandon Keepers
0c237b4fce Look for config in .probot.js 2016-11-17 22:09:20 -06:00
Brandon Keepers
e7a197f6a1 Use handlebars in comment templates 2016-11-17 21:42:51 -06:00
Brandon Keepers
1bae707257 Extract Sanbox class, remove workflows.push 2016-11-17 21:05:49 -06:00
Matt Colyer
db87bcec17 More style fixes 2016-11-17 13:26:58 -08:00
Matt Colyer
11040392e2 Fix style 2016-11-17 12:16:13 -08:00
Matt Colyer
4d068ce491 Reimplement reactions 2016-11-17 12:09:26 -08:00
Matt Colyer
7976c94ae7 Implement unlock 2016-11-17 12:00:08 -08:00
Matt Colyer
24d2c21420 Implement locking 2016-11-17 11:57:28 -08:00
Matt Colyer
af85ae1bee Implement open 2016-11-17 11:52:12 -08:00
Matt Colyer
8d965b1ce9 Implement unlabel 2016-11-17 11:47:03 -08:00
Matt Colyer
f0f44afadc Implement unassign 2016-11-17 11:38:56 -08:00
Matt Colyer
5b68c71d72 Implement issue assignment 2016-11-17 11:25:27 -08:00
Matt Colyer
3802c1d115 Implement comment test 2016-11-17 11:20:40 -08:00
Matt Colyer
0a060b670d Move label tests into plugin 2016-11-17 11:17:05 -08:00
Matt Colyer
09f0d7fa11 Add issues plugin test 2016-11-17 11:08:18 -08:00
Matt Colyer
9348b522c0 Fix configuration tests 2016-11-17 10:22:44 -08:00
Matt Colyer
2d567034d2 Fix dispatcher tests 2016-11-17 09:37:40 -08:00
Brandon Keepers
fea4f2cc8a Refactor args 2016-11-03 23:11:29 -05:00
Brandon Keepers
f252b79af9 Clean up parser implementation 2016-11-03 23:11:28 -05:00
Brandon Keepers
e6f523efdb logical-expression => binary-expression 2016-11-03 21:25:10 -05:00
Brandon Keepers
fb59548881 Implement negation 2016-11-03 20:33:24 -05:00
Brandon Keepers
f0ec15aa19 Move files that are not conditions 2016-10-30 11:42:49 -05:00
Brandon Keepers
1ab58d32f1 Add pegjs-util and asty, consolidate uses of parser 2016-10-29 14:41:27 -05:00
Brandon Keepers
6ba47b439d Fix operator precidence 2016-10-29 12:33:42 -05:00
Brandon Keepers
6381f8e80b Add "is", "is not", and "contains" 2016-10-29 11:01:02 -05:00
Brandon Keepers
deb87a4589 Add matches operator and refactor 2016-10-29 08:18:29 -05:00
Brandon Keepers
0ed8c8c106 Support n logical expressions 2016-10-28 23:09:23 -05:00
Brandon Keepers
a16d38982a Add logical and 2016-10-28 21:09:18 -05:00
Brandon Keepers
05b2786777 Add logical or 2016-10-28 20:17:06 -05:00
Brandon Keepers
7044b4fd95 Refactor conditions 2016-10-28 11:50:46 -04:00
Brandon Keepers
01bd168c2f rename "then" to "actions" in ast 2016-10-28 11:32:31 -04:00
Brandon Keepers
1572100fff Fix lint errors 2016-10-28 11:30:10 -04:00
Brandon Keepers
f9db96b7fd Rename "on" to "events" in ast 2016-10-28 11:24:00 -04:00
Brandon Keepers
71542de659 Refactor to add a transformer 2016-10-28 11:18:27 -04:00
Brandon Keepers
bf03127fe8 Implement conditions 2016-10-23 23:19:00 -05:00
Brandon Keepers
d1844da0d6 Add conditions 2016-10-23 08:17:26 -05:00
Brandon Keepers
9969849fde Merge remote-tracking branch 'origin/master' into integration
* origin/master: (34 commits)
  Update docs
  Fix lint error
  Add comment syntax
  "or" instead of "and"
  Add instruction to turn on verbose logging
  Update docs
  Fall back to generating parser at runtime
  Fix lint errrors
  Remove yaml dependency
  Use parser in place of yaml syntax
  Fix lint errors
  Behaviors are separated by a semicolon
  Separate events by 'and' instead of comma
  Implement 'then'
  Implement simple actions
  Implement "on" part of the syntax
  Add pegjs as a dev dep
  Document react action
  Remove 'why' section
  No longer aspirational
  ...
2016-10-19 23:48:19 -05:00
Brandon Keepers
5b9146b0b8 Fix lint error 2016-10-19 23:29:24 -05:00
Brandon Keepers
06479a2be5 Add comment syntax 2016-10-19 22:58:11 -05:00
Brandon Keepers
258fe27bdb "or" instead of "and"
...because @arfon said so
2016-10-19 22:47:03 -05:00
Brandon Keepers
e4166cfe29 Fix lint errrors 2016-10-18 00:05:34 -05:00
Brandon Keepers
66451ef3ee Use parser in place of yaml syntax 2016-10-18 00:03:55 -05:00
Brandon Keepers
0838ce47de Fix lint errors 2016-10-17 01:42:21 -05:00
Brandon Keepers
b4a45bb2a6 Behaviors are separated by a semicolon 2016-10-17 01:38:08 -05:00
Brandon Keepers
2456a8c254 Separate events by 'and' instead of comma 2016-10-17 01:23:17 -05:00
Brandon Keepers
6b5e3d74e3 Implement 'then' 2016-10-17 01:21:31 -05:00
Brandon Keepers
f5ff1bca79 Implement simple actions 2016-10-17 00:59:38 -05:00
Brandon Keepers
8313bb0219 Implement "on" part of the syntax 2016-10-17 00:48:14 -05:00
Brandon Keepers
acbf2ce7ed Remove useless tests 2016-10-14 00:12:28 -05:00