Commit Graph

38 Commits

Author SHA1 Message Date
Luke Kysow
e9b7001266 Add godocs. Refactor ProjectResult. Golint errors. 2018-08-30 16:47:17 -06:00
Luke Kysow
da236e953b Test Bitbucket Server 2018-07-24 20:34:01 +02:00
Luke Kysow
e8c0f7c5bb Add webhook secret checking. 2018-07-24 20:25:20 +02:00
Luke Kysow
33926a01f2 WebHook -> Webhook 2018-07-24 20:24:27 +02:00
Luke Kysow
a4c48f5d47 Add provisional Bitbucket Server support 2018-07-24 20:23:51 +02:00
Luke Kysow
718619c045 Rename Bitbucket to BitbucketCloud 2018-07-24 20:23:51 +02:00
Luke Kysow
ea08e7f2a1 Fix gometalint check 2018-07-20 14:37:42 +02:00
Luke Kysow
1fc4667c63 WIP bitbucket 2018-07-19 21:52:33 +02:00
Luke Kysow
d3ec832eff WIP 2018-06-21 18:18:54 +01:00
Luke Kysow
d359131a29 RepoWhitelist -> RepoWhitelistChecker 2018-06-20 15:20:10 +01:00
Luke Kysow
0c966d50e9 GitlabRequestParser -> GitlabRequestParserValidator 2018-06-20 15:11:44 +01:00
Luke Kysow
45d80fc695 Fix gometalint errors. 2018-06-19 20:59:25 +01:00
Luke Kysow
6b507eb721 Add -p flag. 2018-06-19 20:51:59 +01:00
Luke Kysow
d9a47361e5 Implement when_modified. 2018-06-18 19:55:14 +01:00
Luke Kysow
a9e9e18f2e Enable multiple cases for e2e testing 2018-06-16 18:11:30 +01:00
Luke Kysow
e97b98e4a0 Add first e2e test with mocks. 2018-06-15 17:52:14 +01:00
Luke Kysow
3525ab3bd9 WIP 2018-06-12 14:54:38 +01:00
Luke Kysow
f21cf09417 Refactor to use VCS Host in Repo model. 2018-03-27 12:43:20 -07:00
Luke Kysow
8aca81966f Add Apache 2 license and copyright.
Add Apache 2 license and Hootsuite copyright to all golang
files. Add a disclaimer that the files have been modified
hereafter by contributors to this repo in order to abide
by the Apache 2 license requirements.
2018-03-15 17:25:02 -07:00
Luke Kysow
d9595867cd Fix gometalint errors. 2018-03-11 14:19:16 -07:00
Luke Kysow
32e0b4003e Small refactor to events_controller. Final tests. 2018-03-11 13:30:01 -07:00
Luke Kysow
31dc84853a [Draft] Add --repo-whitelist option.
- this option is now required which breaks BC
- will validate that an event is coming from a repo that we trust
- started refactoring event_controller tests to use less mocks
2018-03-08 17:49:47 -08:00
Luke Kysow
a24d940f5d Rename DetermineCommand to Parse 2018-02-28 11:04:28 -08:00
Luke Kysow
a09ad79405 Refactor comment parsing into own class. 2018-02-28 10:42:21 -08:00
Luke Kysow
ab1d36d2c8 Comment back on pull request sooner on error.
- Refactor EventParser so it returns a comment we can send to the pull
request when a bad command or help command is commented.
- Remove now unneeded HelpExecutor because we comment right from the
EventsController now
- Use pflag package to parse commands instead of doing it manually
- Comment back when user types terraform instead of atlantis
2018-02-27 17:45:05 -08:00
Luke Kysow
6c159feff4 Rename to runatlantis from atlantisnorth. 2018-02-18 21:28:18 -08:00
Luke Kysow
0299d3ee12 Move to new atlantisnorth repo 2018-02-06 13:29:36 -08:00
Luke Kysow
cc924899e5 Add documentation for server, bootstrap and server/events packages 2017-11-26 21:41:06 -08:00
Luke Kysow
fa43febf60 Gitlab (#190)
Gitlab initial implementation
2017-11-16 13:22:28 -08:00
Luke Kysow
1caaaa03f7 Test pull request closed handling 2017-10-18 07:55:23 -07:00
Luke Kysow
aadd9ce367 Test EventsController Post() 2017-10-18 07:36:43 -07:00
Luke Kysow
fa047c5435 Refactor EventParser to not take reference to ctx 2017-10-18 06:44:44 -07:00
Luke Kysow
75a71a9bbf Extract GHRequestValidator 2017-10-18 06:44:44 -07:00
Luke Kysow
c59b422949 Fmt 2017-10-18 06:44:44 -07:00
Luke Kysow
4dbe8cd0ba Move non-server packages under events 2017-10-18 06:44:44 -07:00
Luke Kysow
1c3fb84112 Move non-server code into events package 2017-10-18 06:44:44 -07:00
Luke Kysow
a20a5e7474 Run fmt 2017-10-18 06:44:44 -07:00
Luke Kysow
99e4f79f60 Refactor POST /events into its own controller 2017-10-18 06:44:44 -07:00