Commit Graph

1060 Commits

Author SHA1 Message Date
Brandon Keepers
2352493d92 Fix error on push event 2016-12-05 21:28:23 -06:00
Brandon Keepers
0b0aba805c Merge pull request #70 from bkeepers/delete-comment
Add deleteComment action
2016-12-04 23:32:05 -06:00
Brandon Keepers
e01c865e1c Add docs for deleteComment 2016-12-04 23:29:44 -06:00
Brandon Keepers
80aedee988 Support for deleting pull request review comments 2016-12-04 23:29:24 -06:00
Brandon Keepers
74fbdeda6b Support deleting commit comments 2016-12-04 23:19:24 -06:00
Brandon Keepers
6cbd97138e DEBUG=github to enable API request debugging 2016-12-04 22:52:40 -06:00
Brandon Keepers
f6c6869456 Add deleteComment plugin action 2016-12-04 22:52:40 -06:00
Brandon Keepers
ecd2317b46 Merge pull request #69 from bkeepers/contents
Add method for getting repository contents
2016-12-04 18:41:43 -06:00
Brandon Keepers
e801e80feb Debug when loading contents 2016-12-04 18:38:18 -06:00
Brandon Keepers
4ec037b3ec Add method for getting repository contents 2016-12-04 18:22:46 -06:00
Brandon Keepers
249809f9d2 Merge pull request #67 from bkeepers/load
Load configuration from another file
2016-12-04 16:40:12 -06:00
Brandon Keepers
fc6fefa1f1 Rename load => include 2016-12-04 16:36:42 -06:00
Brandon Keepers
fe698f09f8 Add docs for load 2016-12-04 16:20:52 -06:00
Brandon Keepers
a20c245a8f Fix headings 2016-12-04 16:20:36 -06:00
Brandon Keepers
df59026ad3 load from another repo 2016-12-04 14:20:01 -06:00
Brandon Keepers
eec408b252 Allow overwriting of attributes
Now that each intallation gets an authed API client, this should be safe
2016-12-04 14:17:59 -06:00
Brandon Keepers
0b7ffb3a3a Add load method in config API 2016-12-04 13:13:55 -06:00
Brandon Keepers
8fabd7ccc1 Refactor config loading 2016-12-04 13:13:54 -06:00
Brandon Keepers
6968e6182a Merge pull request #68 from bkeepers/refactor
A few refactorings
2016-12-04 13:01:29 -06:00
Brandon Keepers
4e60ad56cf Refactor out dispatcher 2016-12-04 12:59:42 -06:00
Brandon Keepers
7de384e6a2 Move sandbox API back into config class 2016-12-04 12:59:42 -06:00
Brandon Keepers
0b717e68a2 Move payload helpers to context 2016-12-04 12:57:28 -06:00
Brandon Keepers
98f870c4a3 Merge pull request #66 from bkeepers/scripts
Add script/simulate and script/tunnel
2016-12-04 12:45:31 -06:00
Brandon Keepers
c0b8e9141b Docs for script/tunnel 2016-12-04 12:44:53 -06:00
Brandon Keepers
5c0df54076 Add script/tunnel 2016-12-04 12:42:51 -06:00
Brandon Keepers
8076bd2d04 Add script/simulate for simulating webhook events 2016-12-04 12:42:37 -06:00
Brandon Keepers
ed18101304 Merge pull request #59 from bkeepers/pure-js-implemented-refactored
Cleanup plugin interface
2016-11-24 21:09:33 -06:00
Brandon Keepers
75305c448a Remove commented out conditions for now
We can figure out how to guard against plugins receiving the wrong events later
2016-11-24 21:07:55 -06:00
Brandon Keepers
cc18091356 Add plugin base class 2016-11-24 21:02:40 -06:00
Brandon Keepers
838f4801d9 Unnecessary test changes 2016-11-22 23:46:20 -06:00
Brandon Keepers
dd962b1f05 Remove unused evaluator 2016-11-22 23:43:27 -06:00
Brandon Keepers
f13c96b5a2 Pass fn to proxy method 2016-11-22 23:35:56 -06:00
Brandon Keepers
b8a71dcfdc Remove scratchpad 2016-11-22 22:49:54 -06:00
Brandon Keepers
65eaf9300b Reimplement workflow with new plugin system 2016-11-22 22:44:24 -06:00
Brandon Keepers
8dd579c7f4 Fix lint errors 2016-11-22 21:34:47 -06:00
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