Brandon Keepers
86374dd07f
Initial test for setup app
2018-08-09 23:54:35 -04:00
Brandon Keepers
b0f18b078b
Convert test helper to typescript
2018-08-09 23:54:20 -04:00
Ben Scott
d712141868
Refer to instances of ApplicationFunction as appFn ( #633 )
...
Stop using the names 'plugin' and 'app' to refer to instances of
ApplicationFunction.
This renames all variable names, but leaves the plugins folder in place,
to be renamed later
2018-08-02 14:47:27 -04:00
Jason Etcovitch
de18b9000b
feat: app.load() ( #554 )
2018-06-15 20:14:41 -04:00
Brandon Keepers
2efa0b24b7
chore: Rename robot to app ( #542 )
...
This replaces all internal references to "robot" with "app" or
"Application". There should be no functional change in public APIs, but
may cause some issues for anyone using internal APIs.
2018-06-01 17:45:23 -05:00
Tommy Byrd
d2fe925e1a
chore: Rewrite core in Typescript ( #372 )
2018-05-25 15:17:19 -05:00
Brandon Keepers
61393304f0
chore: Commit version number, remove snapshot tests ( #535 )
2018-05-19 08:26:01 -05:00
Bex Warner
c0140b5d7b
add ignore spammy/abusive user option for stats endpoint ( #513 )
...
* add spammy user ignorance and test - not sure why failing 😭
* set account.stars to 0
* use id 1 for test user to properly authenticate
* delete process.env.ignored_accounts on aftereach
* add extra line
2018-05-13 15:28:18 -05:00
Richard Littauer
4524ada62c
docs: suggested changes from audit #522 ( #523 )
2018-05-13 01:16:43 -04:00
Kautilya Tripathi
72d0d81bf8
chore: Add icon to title of probot ( #483 )
2018-04-05 13:59:44 -05:00
greenkeeper[bot]
0060098fd7
chore(package): Update standard to the latest version 🚀 ( #436 )
2018-02-28 10:09:40 -05:00
Gregor
5bf1c315c7
test: adapt for @octokit/rest
...
Turns out that the `per_page` & `page` params are missing in [routes.json](https://github.com/octokit/rest.js/blob/master/lib/routes.json#L1682-L1687 ), which means, with the previous implementations, they have been ignored!
The new implementation automatically passes all remaining options as query parameter (for `GET` requests) so it works anyway.
So tl;dr: the new release actually fixed a bug, getting the stats will be more performant now, as it gets 100 results instead of 30
2018-01-29 11:07:17 -08:00
Wilhelm Klopp
dcd0e32c3c
Add option to disable stats ( #392 )
2018-01-12 08:20:25 -06:00
Brandon Keepers
27b7c8d406
refactor: Extract Sentry logging to a built-in plugin ( #353 )
2017-11-27 20:57:52 -06:00
Brandon Keepers
e35028890a
Improve GitHub logging ( #351 )
...
* Extract github client extensions into module
* Add logging to extended GitHub client
* Update test to check output
* Inline GitHub App methods
* Update node-github links
* Remove src, which does not show up with LOG_FORMAT=simple anyway
* Fix lint errors
2017-11-27 10:18:58 -06:00
Jason Etcovitch
9eeac3a57e
refactor: switch ejs for hbs
2017-11-21 09:21:39 -05:00
Brandon Keepers
5dde8405c5
chore: remove unnecessary test config ( #313 )
2017-11-02 20:39:12 -05:00
Jason Etcovitch
5d29945dd2
feat: /probot homepage ( #279 )
...
* Add /probot route with tests
* Add index route, write tests
* Remove unused arg
* Pass tests
* Tweak HTML string and pkg require
* Add static directory
* Design welcome page
* Rename to probot.html
* Implement EJS
* Remove duplicate load
* Extract default homepage into plugin
* Fix issue after merge conflict
* Refactor app loading
* Remove autoloading of plugings
BREAKING CHANGE: `probot run` without any arguments will no longer autoload apps named `probot-*`.
* Move setup
* Look for `apps` key instead of `plugins`
* Update simulate command
* Simplify resolver
* Remove unused routes variable
* Move views to default path
* Call probot.setup to properly initialize default apps
* Simplify package loading
* Specify extension
* Add links to docs/slack
* Remove stats link
* Add helper to jest ignore
* Fix ejs views error
* Move a require to top of file
* Remove unnecessary (and breaking) test
2017-10-17 09:35:58 -04:00
Brandon Keepers
6d8ddaf3f7
feat: Expose public stats about installations ( #181 )
2017-10-11 21:09:13 -07:00
Brandon Keepers
ffbee1c16d
The shell of a robot
2017-03-11 15:58:36 -06:00
Lee Dohm
e4aac40b2b
Add Context.halt() function to make halting a rule simple
2017-03-02 10:08:41 -08:00
Lee Dohm
bb6909bcf2
Add specs for Filter.on()
2017-02-28 14:33:54 -08:00
Lee Dohm
735b545ee6
Add Filter plugin
2017-02-28 13:30:54 -08:00
Michael Johnson
c8f5f24ccc
Add labels and assignees
2017-01-24 12:35:36 -07:00
Michael Johnson
a0eda23611
Refactor createIssue for multiple arguments
2017-01-24 10:00:49 -07: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
f6c6869456
Add deleteComment plugin action
2016-12-04 22:52:40 -06:00
Brandon Keepers
4e60ad56cf
Refactor out dispatcher
2016-12-04 12:59:42 -06:00
Brandon Keepers
838f4801d9
Unnecessary test changes
2016-11-22 23:46:20 -06:00
Brandon Keepers
65eaf9300b
Reimplement workflow with new plugin system
2016-11-22 22:44:24 -06:00
Brandon Keepers
90708f3fba
Remove reactions, which are not supported by integrations
2016-11-20 21:31:36 -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
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