Commit Graph

325 Commits

Author SHA1 Message Date
Brandon Keepers d986a18c56
Fix comments, add reject example 2016-11-22 21:26:37 -06:00
Brandon Keepers 0e24a04f70
Sketch out an idea for the plugin API 2016-11-22 21:10:21 -06:00
Brandon Keepers d67e637bb1
Merge branch 'master' into pure-js-implemented-refactored
* master: (33 commits)
  Simplify event filter logic
  Move logic for filtering workflows
  add label example
  Remove reactions, which are not supported by integrations
  Use installation id from webhook
  Create robot module
  Update github client library
  Remove listening for invites
  Move vm code into sandbox
  GITHUB_TOKEN only needed for console
  Log unhandled errors
  Warn that reactions does not work
  Update docs on running app locally
  Ignore .env
  Add debugging
  Fix lint errors
  Remove useless tests
  Clean up installation implementation
  Ignore priate-key.pem
  Remove unused github api instance
  ...
2016-11-22 19:48:54 -06:00
Brandon Keepers 1fa008c39c Merge pull request #65 from mlinksva/patch-1
Add appropriate LICENSE file
2016-11-22 19:45:59 -06:00
Brandon Keepers 80733c28e7 Merge pull request #64 from bkeepers/move-filter
Move logic for filtering workflows
2016-11-22 19:41:21 -06:00
Mike Linksvayer bb01c83692 Add appropriate LICENSE file
Based on 66573e43e9/package.json (L10-L11)
2016-11-22 14:20:42 -08:00
Brandon Keepers 104d59e1d6
Simplify event filter logic 2016-11-22 12:34:32 -06:00
Brandon Keepers 2d2b8b00f6
Move logic for filtering workflows 2016-11-22 12:26:43 -06:00
Brandon Keepers 66573e43e9
add label example 2016-11-20 22:01:48 -06:00
Brandon Keepers 3c19bc96ec Merge pull request #36 from bkeepers/integration
GitHub Integration
2016-11-20 21:40:15 -06:00
Brandon Keepers 90708f3fba
Remove reactions, which are not supported by integrations 2016-11-20 21:31:36 -06:00
Brandon Keepers 84f33fd454
Use installation id from webhook 2016-11-20 21:25:01 -06:00
Brandon Keepers 4b2182dce1
Create robot module 2016-11-18 18:10:26 -06:00
Brandon Keepers 19e94d41b7
Update github client library 2016-11-18 15:24:29 -06:00
Brandon Keepers 24a6b535c4
Remove listening for invites 2016-11-18 15:09:42 -06:00
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