Commit Graph

185 Commits

Author SHA1 Message Date
Petr Bubenik
9b737b22cc fix: Add pagination to AzureDevops modified files call (#5298)
Signed-off-by: Petr Bubenik <petr.bubenik@drmax.eu>
2025-02-16 20:22:18 +00:00
Patrick Vinograd
1f83f13cb5 feat: New API endpoint to list locks (#5328)
Signed-off-by: Patrick Vinograd <patrick.vinograd@devoted.com>
2025-02-16 15:49:05 +00:00
Luke Massa
cf0b3f3295 chore: Add nil checks before returning wrapped error (#5309)
Signed-off-by: Luke Massa <lukefrederickmassa@gmail.com>
2025-02-11 00:10:58 -05:00
Hajime Terasawa
766dac9022 fix: ensure cloning workingdir before calling plan api (#3584)
Signed-off-by: Hajime Terasawa <terako.studio@gmail.com>
Co-authored-by: PePe Amengual <2208324+jamengual@users.noreply.github.com>
2025-02-04 21:33:41 -08:00
Luke Massa
aa4a98032e chore: Remove dependency on multierror (#5275)
Signed-off-by: Luke Massa <lukefrederickmassa@gmail.com>
2025-02-02 12:44:39 -05:00
Simon Heather
be06063668 fix: Pre Workflow Hook VCS Combined Status Check Set to Pending Twice (#5242)
Signed-off-by: X-Guardian <32168619+X-Guardian@users.noreply.github.com>
2025-02-01 19:12:54 +00:00
Joshua Spork
05659b8cdb feat: BitBucket Cloud: add support for webhook secrets (#4275)
Signed-off-by: Joshua Spork <almightyfoon@gmail.com>
2025-01-25 19:03:51 +00:00
Joe Cai
7fa50b4869 feat: hide successful policy check results when --quiet-policy-checks is set with multiple projects (#5168)
Signed-off-by: Joe Cai <joe.cai@bigcommerce.com>
2025-01-17 13:15:44 +00:00
Andrew Borg
9e0f3d1bb5 feat: Support project-level Terraform distribution selection (#5167)
Signed-off-by: Andrew Borg <andrew.b.borg@gmail.com>
Co-authored-by: PePe Amengual <2208324+jamengual@users.noreply.github.com>
Co-authored-by: Simon Heather <32168619+X-Guardian@users.noreply.github.com>
2025-01-02 21:06:01 -08:00
renovate[bot]
d473fe0092 fix(deps): update module github.com/google/go-github/v66 to v68 in go.mod (main) (#5209)
Signed-off-by: Rui Chen <rui@chenrui.dev>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Rui Chen <rui@chenrui.dev>
2024-12-31 18:45:20 +00:00
Rui Chen
e99a91b770 chore: migrate from xanzy/go-gitlab to gitlab-org/api/client-go (#5210)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-12-31 13:24:53 -05:00
Rui Chen
591931a81c chore: fix typos (#5202)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-12-28 17:50:53 -05:00
Simon Heather
e468a23e0b feat: Refine the Atlantis Info Message Logging (#5034)
Signed-off-by: Simon Heather <32168619+X-Guardian@users.noreply.github.com>
2024-11-19 12:54:55 -05:00
Takahiro Suzuki
5e0f854cea chore: Regenerates mock files with pegomock v4.1.0 (#5090)
Signed-off-by: tkasuz <63289889+tkasuz@users.noreply.github.com>
2024-11-16 15:00:42 +00:00
renovate[bot]
fca4be1820 fix(deps): update module github.com/google/go-github/v65 to v66 in go.mod (main) (#5086)
Signed-off-by: X-Guardian <simonheather99@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: X-Guardian <simonheather99@gmail.com>
2024-11-16 14:25:31 +00:00
Simon Heather
aedc1b0d9a fix: code scanning alert no. 12: Reflected cross-site scripting (#5078)
Signed-off-by: Simon Heather <32168619+X-Guardian@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2024-11-07 16:32:36 -08:00
bakayolo
841f7b4277 feat: add ignore-vcs-status-names (github only) (#4978)
Signed-off-by: bakayolo <benjamin.apprederisse@gmail.com>
2024-11-04 22:04:13 +00:00
renovate[bot]
50ace7de5c fix(deps): update module github.com/google/go-github/v63 to v65 in go.mod (main) (#4968)
Signed-off-by: X-Guardian <simonheather99@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: X-Guardian <simonheather99@gmail.com>
2024-11-02 15:14:55 +00:00
Henry Muru Paenga
9c7e5fcac8 feat: OpenTofu support (#4499)
Co-authored-by: PePe Amengual <2208324+jamengual@users.noreply.github.com>
2024-09-29 18:13:20 -07:00
nitrocode
1c1c50556f chore(deps): upgrade go-github 63.x (#4943)
Signed-off-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-23 12:36:24 -05:00
Henry Muru Paenga
76b0148fce fix: Update lock for e2e tests (#4939) 2024-09-22 19:17:43 -04:00
renovate[bot]
96dfe0d886 chore(deps): update terraform random to v3.6.3 in server/controllers/events/testdata/test-repos/state-rm-workspace/dir1/versions.tf (main) (#4931)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-17 19:26:54 -07:00
renovate[bot]
454658edcf chore(deps): update terraform null to v3.2.3 in server/controllers/events/testdata/test-repos/workspace-parallel-yaml/staging/versions.tf (main) (#4929)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-16 18:39:42 -07:00
Henrik Lundström
5f1e53ed8c fix: Permission for GitHub app to support mergeable minus apply check (#4902) 2024-09-06 08:13:39 -07:00
Rui Chen
37580ba79e chore: bump to use go 1.23.0 (#4843)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-08-15 11:55:48 -04:00
David Glasser
5a918e382c feat: Add --max-comments-per-command configuration (#3905)
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
Co-authored-by: Benoit Toulme <benoit.toulme@gmail.com>
2024-06-26 23:13:09 -04:00
renovate[bot]
f2f439d4de chore(deps): update terraform random to v3.6.2 in server/controllers/events/testdata/test-repos/state-rm-workspace/dir1/versions.tf (main) (#4686)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-18 20:01:06 -07:00
Rui Chen
8dccb2beb4 chore(lint): linting the codebase (#4668)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-06-17 11:22:30 -04:00
James Brookes
a6a3b21787 refactor: use hc-install for TF downloads + constraints (#4494)
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2024-06-16 01:54:45 +00:00
renovate[bot]
1b5ad2c1d2 chore(deps): bump tf to 1.8.5 and fix tests (#4653)
Signed-off-by: Rui Chen <rui@chenrui.dev>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Rui Chen <rui@chenrui.dev>
2024-06-12 19:34:38 -04:00
Luke Massa
a1f7e980cb chore: pin terraform versions in CI (#4645) 2024-06-10 14:24:10 -04:00
Caio Augusto
388bbfdd90 feat: do not react with emoji if "EmojiReaction" flag is empty (#4378)
Co-authored-by: caio.rocha <caio.rocha@ifood.com.br>
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
Co-authored-by: Rui Chen <rui@chenrui.dev>
2024-05-22 14:36:10 -04:00
Rui Chen
a630646b8f chore(deps): terraform 1.8.3, opentofu 1.7.1, conftest 0.52.0 (#4534)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-05-14 10:38:50 -07:00
Xing Yahao
267b2f133b feat: make api plan apply support workflow hooks (#4482)
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2024-05-01 09:06:35 -07:00
Joseph Mulloy
93578d86b3 fix: Use ISO 8601 date format (#4141)
Co-authored-by: Luke Massa <lmassa@tripadvisor.com>
2024-05-01 00:24:56 -04:00
lvyaoting
5e25c00e17 chore: fix function names in comment (#4412)
Signed-off-by: lvyaoting <lvyaoting@outlook.com>
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2024-04-26 09:46:07 -07:00
Christian Winther
287add4086 fix: GitHub tests emitting unexpected keepers = {} (#4462) 2024-04-24 12:50:07 -07:00
Simon Heather
f0312e38ca chore: Move Web Templates to External Files (#4384) 2024-04-01 10:37:00 +00:00
Simon Heather
b221fdc0af feat: Refine the logging in the Working Dir Package (#4294)
Co-authored-by: Dylan Page <dylan.page@autodesk.com>
2024-03-27 16:20:45 +00:00
Simon Heather
fb69965fd7 chore: Rename templates package to web_templates (#4383) 2024-03-27 12:05:52 -04:00
Simon Heather
566b15f356 feat: Refine the Atlantis VCS Pull Request Comments (#4254) 2024-03-23 11:58:30 -04:00
Martijn van der Kleijn
722c4a9372 feat: Add Gitea support (#4229)
* Add initial Gitea client structure

* Add various missing config flags

* initial gitea support added

* Fix some post-merge issues

* Replace HidePrevCommandComments by version from @florianbeisel

* Update mocks

* feat: add Webhook Signature Verification

This changes adds support for Gitea Webhook Signatures by wrapping the
function from the Gitea SDK and calling it from `handleGiteaPost()`.

* fix: use release version in go.mod

1.22 as in the previous go.mod is a development version. When referencing
a minimum release version the correct format is 1.22.0

* Set default Gitea url to cloud.gitea.com

* Fix and Add tests for Gitea

* Fix missing copyright header

* Changed comment to reflect no max comment length

Apparently there's no max comment length in Gitea at this point in time.

* Implement GetCloneURL()

* Decode Base64 before passing on downloaded file content

* Enable Gitea client as API Client

* Remove unneded comments

* Remove old redundant file

* fix: invalid version number in go.mod

* fix: remove unnecessary type conversions

* fix: removed unused function

* fix: remove unnecessary type conversion of decodedData

* fix: fixes some tests

* Correct gitea.com URL

* Add Gitea to website docs

* fix: TestPost_UnsupportedGiteaEvent

* revert version downgrades

* docs: add Gitea documentation to Guide section

* docs: fix copy paste mistake

* Update cmd/server_test.go

Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>

* Clarify usage msg for --gitea-base-url

* Apply suggestions from code review

Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>

* Turn ebreak number into const with comments

* Add --gitea-page-size server argument

Defaults to 30 based on https://docs.gitea.com/1.18/advanced/config-cheat-sheet#api-api

* Fix broken test

* Fix event parser and comment parser

* Add missing app permission to docs

* Make Gitea client conform to updated interface

* Update server/events/vcs/gitea/client.go

Co-authored-by: Simon Heather <32168619+X-Guardian@users.noreply.github.com>

* Remove no longer needed logger

* Add extra logging statements for Gitea client

* Add debug statements

---------

Co-authored-by: Florian Beisel <florian@pacey.me>
Co-authored-by: Florian Beisel <florian@beisel.it>
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
Co-authored-by: Rui Chen <rui@chenrui.dev>
Co-authored-by: Simon Heather <32168619+X-Guardian@users.noreply.github.com>
2024-03-18 14:21:45 +00:00
renovate[bot]
6884238cd1 fix(deps): update module github.com/google/go-github/v58 to v59 in go.mod (main) (#4241)
* fix(deps): update module github.com/google/go-github/v58 to v59 in go.mod

* Update fixtures.go

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
2024-02-27 23:47:57 -06:00
Simon Heather
67b5740053 feat: Refine The Atlantis VCS Logging Configuration (#4285)
* Refine VCS Logging

* Remove github/gitlab client logger

* Remove fmtLogSrc from instrumented_client and format

* Add staticcheck lint exception for NewGitHubClient

* Fix tests
2024-02-26 13:07:41 -05:00
Simon Heather
d432b0b4c8 chore(deps): Update xterm.js to v5.3.0 and enable Smooth Scrolling (#4257) 2024-02-25 15:24:04 +00:00
Thomas Lorreyte
9fa4cd3c34 fix: unnamed jobs in ui (#4137) 2024-02-02 05:21:17 -08:00
Isaac Gaskin
fe32f8645c feat(4157): adding option to hide UI button to disable apply commands (#4158) 2024-01-24 00:10:44 -05:00
renovate[bot]
ef766d2ec1 fix(deps): update module github.com/google/go-github/v57 to v58 in go.mod (main) (#4138)
* fix(deps): update module github.com/google/go-github/v57 to v58 in go.mod

* Update remaining go-github to v58

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Luke Massa <lmassa@tripadvisor.com>
2024-01-19 10:30:38 -05:00
Simon Heather
310fc8a44c feat: Add Summaries to Plan And Apply PR Comments (#3889) 2024-01-02 09:07:07 +00:00
Simon Heather
31802675da fix: Atlantis Does Not Consider the Plan Directory When Hiding Previous Plan Comments (#4012)
* Fix Hide Previous Plan Comments

* Update GitLab client tests

* Update GitLab client test

* Update github client test

* Add nolint: errcheck to test

* format github_client.go
2023-12-29 13:15:17 -05:00