Commit Graph

1060 Commits

Author SHA1 Message Date
Brandon Keepers
a8d73722a2 Merge remote-tracking branch 'origin/master' into integration
* origin/master: (65 commits)
  Move vm code into sandbox
  Update docs
  Look for config in .probot.js
  Remove URL stuff for now
  Use handlebars in comment templates
  Remove unnecessary semicolon
  Extract Sanbox class, remove workflows.push
  Move evaluator to its own file
  Remove unused modules
  More style fixes
  Fix style
  Reimplement reactions
  Implement unlock
  Implement locking
  Implement open
  Implement unlabel
  Implement unassign
  Implement issue assignment
  Implement comment test
  Move label tests into plugin
  ...
2016-11-18 14:51:23 -06:00
Brandon Keepers
5112c3c86d Merge pull request #60 from bkeepers/isolate-sandbox
Move vm code into sandbox
2016-11-18 14:12:03 -06:00
Brandon Keepers
d025e80529 Move vm code into sandbox
This is just a minor refactor that makes it so all the code for executing the configuration is isolated to the Sandbox class
2016-11-18 14:09:42 -06:00
Brandon Keepers
a917bfe9a0 Merge pull request #58 from bkeepers/pure-js-implemented
Use JS for .probots language
2016-11-18 13:48:09 -06:00
Matt Colyer
f9d7d5eabe Cleanup evaluator plugin interface 2016-11-18 10:00:34 -08:00
Brandon Keepers
7187c9c258 Update docs 2016-11-17 22:38:09 -06:00
Brandon Keepers
0c237b4fce Look for config in .probot.js 2016-11-17 22:09:20 -06:00
Brandon Keepers
48d306d499 Remove URL stuff for now 2016-11-17 21:52:11 -06:00
Brandon Keepers
e7a197f6a1 Use handlebars in comment templates 2016-11-17 21:42:51 -06:00
Brandon Keepers
08ac127571 Remove unnecessary semicolon 2016-11-17 21:13:02 -06:00
Brandon Keepers
1bae707257 Extract Sanbox class, remove workflows.push 2016-11-17 21:05:49 -06:00
Brandon Keepers
1946b9adc2 Move evaluator to its own file 2016-11-17 19:22:09 -06:00
Brandon Keepers
72f27464ce Remove unused modules 2016-11-17 18:49:31 -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
Matt Colyer
4368632c0d Fix paren matching 2016-11-17 08:52:03 -08:00
Matt Colyer
280cab1013 Reimplement comment 2016-11-17 08:48:31 -08:00
Matt Colyer
8f2c92aad9 reimplement labeling 2016-11-16 17:46:15 -08:00
Matt Colyer
a21e03bee9 reimplement close action 2016-11-16 17:41:25 -08:00
Matt Colyer
484bdfe19d First working version of purejs 2016-11-16 16:57:41 -08:00
Matt Colyer
b58d51d4df Update docs, js arrow functions don't have this 2016-11-16 14:36:25 -08:00
Brandon Keepers
6ddb997b7c Experiment with examples as pure JS 2016-11-15 22:42:17 -06:00
Brandon Keepers
a2a56f38b1 Merge pull request #55 from bkeepers/refactor-parser
Refactor parser
2016-11-04 10:16:46 -05: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
a26d96ba27 Merge pull request #54 from bkeepers/not
Not
2016-11-03 21:14:34 -05:00
Brandon Keepers
2397c7070a Add docs on negation 2016-11-03 20:37:04 -05:00
Brandon Keepers
fb59548881 Implement negation 2016-11-03 20:33:24 -05:00
Brandon Keepers
c526432b73 Fix headings 2016-10-30 11:50:06 -05:00
Brandon Keepers
ff3a0106da Update examples 2016-10-30 11:48:52 -05:00
Brandon Keepers
f0ec15aa19 Move files that are not conditions 2016-10-30 11:42:49 -05:00
Brandon Keepers
44650ceb65 Tweaks 2016-10-30 10:23:06 -05:00
Brandon Keepers
cfe39ffe68 Fix links to source 2016-10-30 10:18:17 -05:00
Brandon Keepers
6f5b00cc85 Merge pull request #52 from bkeepers/more-docs
Add docs on implementing actions and conditions
2016-10-30 10:15:41 -05:00
Brandon Keepers
e3fa0afa3a Add docs on implementing actions and conditions 2016-10-30 10:14:48 -05:00
Brandon Keepers
338b15f6b4 Update examples 2016-10-29 15:09:08 -05:00
Brandon Keepers
a4f637746b Merge pull request #51 from bkeepers/pegjs-util
Use pegjs-util
2016-10-29 15:04:15 -05:00