Commit Graph

552 Commits

Author SHA1 Message Date
fiftin
bccfcd1cba
feat(secrets): add env secrets 2024-07-02 14:42:12 +05:00
fiftin
586a0377b4
feat(schedule): update form and table 2024-07-01 02:12:49 +05:00
Denis Gukov
4bf2f1352a feat(be): query optimization 2024-06-29 21:23:41 +05:00
fiftin
477c0dfe7d
fix(web): schedule form 2024-06-23 22:24:22 +05:00
Denis Gukov
91601eb0eb
task stages (#2103)
* feat(be): add stages

* feat(tf): split to plan/apply

* fix(be): blocking
2024-06-17 23:37:45 +05:00
Denis Gukov
074e303085
Support TF/Bash (#2077)
Support OpenTofu and Bash
2024-06-13 01:20:57 +05:00
fiftin
3a600becfc
feat(ldap): use claims like in open id 2024-05-29 21:11:06 +02:00
fiftin
afd2f59e4a
fix(runners): pass inventory repo to the runner 2024-05-27 22:00:40 +02:00
Denis Gukov
00140cb8ab
Inventory repo (#2040)
* feat: add repo for inventory

* feat: add inventory repo

* feat: cloning inventory repo

* fix: error message for inventory path

* fix: error message for inventory path
2024-05-22 19:00:28 +02:00
fiftin
3157397665
fix: merge conflict 2024-05-21 16:06:30 +02:00
fiftin
737a1a5ef7
chore: change integration field to integration id 2024-05-21 16:05:38 +02:00
fiftin
476cd97711
fix(integrations): remove debug mode 2024-05-11 19:50:51 +05:00
Thomas Boerger
a7b065d706
fix: return string instead of func for version 2024-05-03 23:01:49 +02:00
Andreas Marschke
27e9fb1aa2 fix(integrations): Use payload instead of re-reading closed Body 2024-05-03 14:14:52 +02:00
Denis Gukov
37ccbade63 fix(be): error message 2024-04-27 12:00:15 +05:00
Denis Gukov
f93969f340
feat: allow null for template's inventory (#1953)
* feat: allow null for template's inventory

* fix(web): show - if no inventory or environment provided

* test: fix tests

* test: fix tests

* test: fix tests

* fix: compile dredd test
2024-04-19 21:47:08 +05:00
Denis Gukov
576344aa04
Merge pull request #1929 from tboerger/remove-lib-package
Get rid of lib package, use non-generic package names
2024-04-15 12:35:13 +05:00
Thomas Boerger
d9d149fbc3
feat: move task logger into dedicated package 2024-04-12 12:32:54 +02:00
Thomas Boerger
1d7244a8c4
feat: move sshagent to separate package, update log interface 2024-04-12 12:21:05 +02:00
Thomas Boerger
ca684a7b05
feat: move random string to separate package 2024-04-12 10:00:44 +02:00
Thomas Boerger
3565a2d391
feat: simplify call to store event logs 2024-04-12 09:23:13 +02:00
fiftin
2a2b2cc67c
fix(integrations): int value matcher 2024-04-03 16:06:52 +02:00
fiftin
0c9c611cb3
fix(backups): add the user to the restored project 2024-04-03 00:05:07 +02:00
fiftin
5fe5ae388d
refactor(errors): add method WriteErrorStatus 2024-04-02 23:10:42 +02:00
Denis Gukov
49cd47e8f8
fix(templates): delete template -> delete schedule (#1889)
* fix(templates): delete template -> delete schedule

* fix(templates): reset build temlate id and version if type is task
2024-04-02 19:43:49 +02:00
fiftin
e26b9fafcb fix(oauth): remove extra slash 2024-03-27 18:01:18 +01:00
Denis Gukov
d33d752bea
unregister runner (#1875)
* fix(login): expire cookie on error with login

* feat: allows to unregister runner via cli

* feat(runner): add subcommands

* feat(runners): unregister command

* refactor(runner): move config to util.gol

* Revert "fix(login): expire cookie on error with login"

This reverts commit 6d726e3475.
2024-03-27 14:43:41 +01:00
fiftin
60d759872a feat(runners): unregister endpoint 2024-03-27 12:11:33 +01:00
fiftin
c20a70e3a6 feat: empty env for new projects 2024-03-25 01:24:04 +01:00
fiftin
b2b2d8f484 fix: apply prepareClaims 2024-03-25 00:47:14 +01:00
fiftin
15d670eea0 feat: add prepareClaims to fix float fields 2024-03-25 00:35:11 +01:00
fiftin
2457cbc13e test(login): claim | which always false 2024-03-24 23:08:23 +01:00
fiftin
54587b0e07 test: add tests for parseClaim 2024-03-24 22:08:49 +01:00
fiftin
f31a3500d1 feat: support claim pipes 2024-03-24 21:54:40 +01:00
fiftin
b03c5dcf32 feat: add format for oidc claims 2024-03-24 21:45:54 +01:00
fiftin
8f9b9a74fe feat(integrations): add global alias 2024-03-23 13:37:15 +01:00
fiftin
4c27e0a70d fix(integrations): hmac auth 2024-03-23 00:11:43 +01:00
fiftin
194a889957 feat(integrations): github auth method 2024-03-22 23:01:32 +01:00
fiftin
d725fbca81 fix(integrations): auth check 2024-03-22 21:44:15 +01:00
fiftin
18c071e050 feat(integrations): use gojsonq instead of jsonq 2024-03-22 18:34:03 +01:00
fiftin
b75a8a7189 feat(integartions): add logs 2024-03-22 17:23:43 +01:00
fiftin
d09095739c chore(be): rename var 2024-03-22 16:39:33 +01:00
fiftin
b7c4339171 feat(integrations): support searchable integrations 2024-03-21 00:53:54 +01:00
fiftin
6f4ec9ac8f fix(integrations): public url 2024-03-21 00:23:55 +01:00
fiftin
02e13c7314 feat(integrations): allow multiple indices 2024-03-20 22:35:47 +01:00
fiftin
7b9506367e fix(integrations): alias url 2024-03-20 16:35:13 +01:00
fiftin
cfe279c6dc feat(integrations): implement alias gen/regen/remove 2024-03-20 16:30:55 +01:00
fiftin
dc799809a1 feat(integrations): add alias manipulations methods for sql 2024-03-20 14:55:47 +01:00
fiftin
65d7a467fa feat(integrations): add alias management endpoints 2024-03-20 14:01:52 +01:00
fiftin
5551cd1a1e feat: validate repo before save 2024-03-18 15:37:40 +01:00
fiftin
6e5bac8130 fix: validate inventory before save 2024-03-18 15:33:40 +01:00
fiftin
02899c9ccb feat: status updating 2024-03-12 01:44:04 +01:00
fiftin
0ee2d5fc16 fix(auth): check redirect urls 2024-03-11 19:39:11 +01:00
fiftin
3404c40c57 feat(auth): support redirect path for oauth 2024-03-11 18:25:32 +01:00
fiftin
d2db315eac feat(auth): support redirect path for oauth 2024-03-11 18:25:19 +01:00
fiftin
123135dd9d feat(be): sort oauth providers 2024-03-11 15:17:53 +01:00
fiftin
678260970f fix(be): create none access key 2024-03-11 02:22:17 +01:00
fiftin
f59d48c641 feat(ui): forward query string 2024-03-11 00:23:34 +01:00
fiftin
4a5ca60c70 feat: create none inventory by default 2024-03-10 23:06:17 +01:00
fiftin
8a6d5821f8 Revert "feat: make inventory optional for template"
This reverts commit f6f3e4228f.
2024-03-10 22:56:58 +01:00
fiftin
f6f3e4228f feat: make inventory optional for template 2024-03-10 22:51:28 +01:00
fiftin
bdd758e59d feat(be): add confirm endpoint 2024-03-09 14:54:27 +01:00
fiftin
80407b36b5 feat: pass integations flag to user info 2024-03-06 22:48:40 +01:00
fiftin
e8a679cec6 feat: add flag for integrations 2024-03-06 22:47:01 +01:00
fiftin
193d57a66c fix(be): add migation 2024-03-06 22:17:34 +01:00
fiftin
2ec8609fd8 feat: remove usage of extractors 2024-03-06 15:02:16 +01:00
fiftin
c540e3b6ef feat: remove extractor from routes 2024-03-06 15:02:16 +01:00
fiftin
77c2c87033 feat: remove extractor 2024-03-06 15:02:16 +01:00
fiftin
50615d0d96 test: inject id 2024-03-04 20:05:18 +01:00
fiftin
3f73cc7747 fix(integration): project id 0 2024-03-04 18:53:20 +01:00
fiftin
b1ce6d1e97 fix(integrations): project id 2024-03-04 18:44:15 +01:00
fiftin
e944cf2db8 fix(integration): return correct value list 2024-03-04 18:39:15 +01:00
fiftin
bf20ffb6cf feat(bolt): use project id 2024-03-04 14:39:48 +01:00
fiftin
fac442013c refactor(integrations): remove extra code 2024-03-04 14:21:51 +01:00
fiftin
f4a54d9010 feat: use project id 2024-03-04 14:00:06 +01:00
fiftin
09a37ee6f9 feat(integrations): use project id 2024-03-04 12:42:21 +01:00
fiftin
582a3c91e4 feat(integrations): add project param 2024-03-04 12:36:24 +01:00
fiftin
1ef9012067 feat(integrations): add param 2024-03-04 12:24:47 +01:00
fiftin
88ef65af49 feat(integrations): use only explicit intergations 2024-03-03 18:01:18 +01:00
fiftin
06cf90770b feat: integration tests 2024-03-03 16:39:18 +01:00
fiftin
251376887a fix: merge conflict 2024-03-03 11:57:39 +01:00
Thomas Boerger
67954b95aa
feat: replace packr and add basic cache headers
Since packr have been deprecated in favor of go:embed for quite some
time now I have replaced it with plain go:embed functionality which
makes it more future proof.

The only downside is that go:embed can use relativ paths only, that's
why I have moved the web/dist folder into api/public.

Besides that I have refactored the static asset handling which includes
basic last modification and cache control headers to improve the cache
cache behavior for static assets.
2024-03-01 15:52:30 +01:00
Thomas Boerger
3b7436e22c
feat: upgrade all dependencies
I have updated all dependencies within go.mod by executing `go get -u
./...`, beside that I had to replace the imports for logrus, mergo and
squirrel to match the right names from their modules.
2024-02-27 12:06:05 +01:00
Denis Gukov
ce757f3622 feat(integrations): use verification 2024-02-12 15:20:50 +05:00
Denis Gukov
39ad2c905b feat(integrations): add hmac verification method 2024-02-12 14:53:49 +05:00
Denis Gukov
75d59d0890 fix(integrations): route and sql 2024-02-12 03:27:03 +05:00
Denis Gukov
a6e541ed64 Merge branch 'feat-support-integrations' into feat-support-webhooks 2024-02-12 02:03:13 +05:00
Denis Gukov
006d14ac2f refactor(integrations): rename files 2024-02-12 02:02:08 +05:00
Denis Gukov
8358feed3b fix(runners): return webhook name 2024-02-12 01:34:45 +05:00
Denis Gukov
2215fb5c87 fix(webhooks): merge conflict 2024-02-12 01:24:53 +05:00
Denis Gukov
647501b90b refactor: webhook -> integration 2024-02-12 00:52:14 +05:00
Andreas Marschke
b1177a287a Try to make Webhook API more consistent 2024-02-10 18:18:56 +01:00
Denis Gukov
540669afd9
Merge pull request #1748 from samerbahri98/backup_restore
Backup and Restore Projects
2024-02-10 18:38:20 +05:00
Denis Gukov
dd38199b93 fix(ldap): remove whoami check 2024-02-10 14:26:22 +05:00
samerbahri98
84a3841c80
feat(api): restore 2024-02-07 22:19:23 +01:00
samerbahri98
6a2cfcc3ac
feat(api): backup 2024-02-07 22:19:22 +01:00
fiftin
f3ef216208 fix(be): static assets 404 error when web host not empty 2024-02-08 01:19:03 +05:00
fiftin
61309c5ef6 fix(oidc): merge conflict 2024-02-02 12:54:40 +05:00
fiftin-quiz
989be6df68 feat(login): support oauth without email 2024-02-01 13:30:23 +05:00
fiftin-quiz
f9b8e810b8 fix(login): use correct variable 2024-02-01 11:48:24 +05:00