Commit Graph

23 Commits

Author SHA1 Message Date
Marcos Diez
57fdc5a641 feat: full window sized terminal (#3781)
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2023-11-14 23:03:23 -08:00
Tom Baker
a791fbfff6 feat: Add username to main lock screen (#3597)
* Add username to lock screen
2023-07-17 16:18:52 +00:00
Simon Heather
79a42ee90c Plan Discarded Fix (#3550) 2023-07-07 10:26:22 -04:00
Simon Heather
8552607c2b Web Console Scrollbar Fix (#3574)
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2023-07-05 21:33:14 +00:00
Simon Heather
c6801990db feat: update the lock detail web page to use a modern grid layout (#3552)
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2023-06-27 23:14:38 -04:00
Ken Kaizu
3954955e13 fix(deps): update module github.com/petergtz/pegomock/v3 to v4 (#3534)
* fix(deps): update module github.com/petergtz/pegomock/v3 to v4 in go.mod

* remove pegomock generate m option, which is not support after v4

* make regen-mocks

* replace pegomock v4 primitive eq/matchers

* convert pegomock v4 Eq/Any matchers

* remove custom models.Repo matcher

* pegomock v4 cannot use result method args

ref https://github.com/petergtz/pegomock/issues/123

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-20 15:05:23 -04:00
nitrocode
e505817a7d chore(deps): bump pegomock v3.0.1 (#3515) 2023-06-13 11:36:09 -07:00
Simon Heather
c5d03edd1a feat: Update Lock Index Page to Use a CSS Grid Layout (#3509)
* Update Lock Index Page to Use a CSS Grid Layout

* Update styles

* Modify css
2023-06-11 22:45:13 -05:00
Simon Heather
7fa9b9c925 fix: Remove the 'Plan Discarded' Message from the Enable/Disable Apply Commands (#3511)
* Remove `/?discard=true`

* Restore forward slash
2023-06-11 09:01:08 -05:00
Simon Heather
fa6a77a6ea Add xterm-addon-search-bar (#3507) 2023-06-11 01:22:09 -05:00
nitrocode
8374e570b6 fix(website): rm redundant v prefix (#3229)
* fix(website): rm redundant v prefix

* fix(footer): scroll should maintain version position

* fix(test): Use ~> 1.3 for 1.3.9 match
2023-03-15 14:31:34 -05:00
Ken Kaizu
da48fb515d chore(test): add no test dir tests, rename testdata dir (#2986)
* add web_templates render tests

* add ansic strip tests

* move fixtures into testdata dir which is golang specific test dir name

* add server/metrics tests

* add recovery test

* add runtime stats test
2023-01-15 23:14:23 -06:00
Ken Kaizu
27b9897517 chore(build): rm pegomock experimental feature for smooth mock generation (#2886)
* disable pegomock --use-experimental-model-gen, cause random fail by segv

* make regen-mocks

* fix mock code which uses non experimental pegomock codes
2022-12-27 19:58:15 -06:00
Luke Massa
752d86173e feat: Add status to the real-time logs page (#2426)
* Add status of the terminal to the footer

* Change function call

Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
2022-11-13 21:08:25 -06:00
Aiden Scandella
80ac130d08 fix: update homepage link on project job output page (#2262)
Currently the link goes to "" on my install, which browsers interpret as
the current page. Looking at the other templates in this file, it was
missing a trailing `/`.
2022-05-18 20:19:09 -04:00
Petr Stroganov
4c0a44979f Add missing CleanedBasePath to GithubSetupData created by GithubAppController (#2142) 2022-05-13 14:36:36 -07:00
Sarvar Muminov
90e92e3a13 chore: move CommandContext and CommandResult to models (#193) (#2093)
* Moved CommandContext and CommandResult to models (#193)

* Moved CommandContext and CommandResult to models

* move from models to command

rename CommandContext -> Context
rename CommandResult -> Result

* moved command related helpers into command package

* move ProjectCommandContext and ProjectResult to command/project package

* move project command context and project result

* revert unrelated code

* move tests

* fix left over

* fix linting

* fix tests

* remove unused import

* fix project context dependencies

* fix depenedecies

* fix typo
2022-03-21 10:36:13 -07:00
Javier Palomo
7c89523319 fix(web-templates): use CleanedBasePath for titles (#2091)
A follow-up to https://github.com/runatlantis/atlantis/pull/2079

After upgrading to https://github.com/runatlantis/atlantis/releases/tag/v0.18.3 in our own
infra, I noticed a minor issue with the links in the titles, they are still pointing to /
even when '--atlantis-url' is provided.
2022-03-01 14:18:03 -05:00
Javier Palomo
51d434d46b fix(web-templates): use CleanedBasePath for static content (#2079)
* fix(web-templates): use CleanedBasePath for static content

When setting '--atlantis-url' this static content 404s.

For example, we can see this when comparig:
- /lock --> works seamless with a custom `--atlantis-url`
- /jobs --> doesn't work when using a custom `--atlantis-url`

* fix(web-templates): regenerate bindata_assetfs
2022-02-28 10:43:39 -05:00
Aayush Gupta
58e9b42bbc feat: Use UUIDs to identify log streaming jobs (#2051)
* Add UUID for Log Streaming Job ID (#167)

* Update log handler to close buffered  channels when an operation is complete (#170)

* Add preliminary check before registering new receivers in the log handler (#173)

* Using projectOutputBuffers to check for jobID instead of receiverBuffers (#181)

* Refactor log handler  (#175)

* Reverting go.mod and go.sum

* Fix lint errors

* Fix linting
2022-02-09 13:15:49 -08:00
Jordy Ruiter
0092cfbd56 Add XTerm JS to the server static files (#1985) 2022-01-12 14:52:43 -08:00
Aayush Gupta
004074a29f feat: streaming terraform logs in real-time (#1937) 2021-12-30 09:52:52 -05:00
Nish Krishnan
712498da58 Refactor controllers into package. (#1597) 2021-06-01 11:58:01 -07:00