Commit Graph

176 Commits

Author SHA1 Message Date
fiftin
ffdf8188ef fix(integrations): sql query 2024-03-03 19:49:00 +01:00
fiftin
cfcfc8ea4a fix(integrations): escape pg keyword 2024-03-03 19:21:50 +01:00
fiftin
a5055ff0be fix(integrations): refs 2024-03-03 18:47:31 +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
c9788f15b2 feat(integration): add auth header 2024-02-12 14:50:01 +05:00
Denis Gukov
3a821b5bd1 feat(integrations): add auth fields to db 2024-02-12 14:45:20 +05:00
Denis Gukov
6957f45897 fix(integrations): params order 2024-02-12 03:39:57 +05:00
Denis Gukov
75d59d0890 fix(integrations): route and sql 2024-02-12 03:27:03 +05:00
Denis Gukov
d434909076 fix(integrations): return code deleted by mistake due to a merge conflict 2024-02-12 02:17:17 +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
ae20f7bcbe fix(runners): return webhook name 2024-02-12 01:32:00 +05:00
Denis Gukov
2215fb5c87 fix(webhooks): merge conflict 2024-02-12 01:24:53 +05:00
Denis Gukov
d877277d92 fix(webhooks): merge conflict 2024-02-12 01:22:35 +05:00
Denis Gukov
647501b90b refactor: webhook -> integration 2024-02-12 00:52:14 +05:00
samerbahri98
84a3841c80
feat(api): restore 2024-02-07 22:19:23 +01:00
Denis Gukov
b361695f68
Add app field to template (#1721)
* feat(be): add template app

* feat(be): add field app to template

* fix(be): add app to sql implementation

* refactor(be): extract AnsibleApp class

* refactor(be): rename LocalJobApp -> LocalApp

* feat(app): default app id = empty string

---------

Co-authored-by: fiftin-quiz <157730881+fiftin-quiz@users.noreply.github.com>
2024-01-30 14:26:11 +05:00
samerbahri98
33917ac757
fix(api), return correct template start_version when using sql 2024-01-28 15:03:42 +01:00
Denis Gukov
84fdfa4623 fix(vault): offset in sql query 2024-01-28 17:18:07 +05:00
Denis Gukov
0a31f76300 refactor(vault): getObjects -> getProjectObjects for sql db 2024-01-28 16:24:37 +05:00
Andreas Marschke
fe83cef1be Update Dredd changes 2024-01-15 22:08:16 +01:00
Andreas Marschke
03c894d45a Updating API to support projectID attachment 2024-01-15 22:08:16 +01:00
Andreas Marschke
d09f416423 Undo changes to getObject calls in sql 2024-01-15 22:08:16 +01:00
Andreas Marschke
183a8536f1 Fix param reception 2024-01-15 22:08:16 +01:00
Andreas Marschke
055ecb8a11 Remove dead code and unused dependency 2024-01-15 22:08:16 +01:00
Andreas Marschke
8d0e39b065 Fix method calls, add is null for globals 2024-01-15 22:08:16 +01:00
Andreas Marschke
54d103105f Webhook Feature implementation 2024-01-15 22:08:16 +01:00
Denis Gukov
0f0587d755 fix(backend): add password to update method 2023-12-25 22:08:47 +05:00
Denis Gukov
cb2bcd8f0b feat(be): create demo project 2023-09-17 21:55:14 +02:00
Denis Gukov
d3923f18b3 feat: admin can all 2023-09-17 16:15:44 +02:00
Denis Gukov
0b3394c29d refactor(config): remove type DbDriver 2023-09-14 19:55:09 +02:00
Denis Gukov
6fa3e50198
Runners (#1477)
* feat(runners): add migartion

* feat(runners): sql implementation
2023-09-11 01:02:10 +02:00
Denis Gukov
f981f14d16
Vault cli (#1463)
* feat(be): add cli command vault rekey

* feat(vault): use tx

* feat(vault): docs

* fix(vault): rekey flag
2023-09-09 14:41:41 +02:00
Denis Gukov
b5a99eba7f
Runners (#1439)
* refactor(runners): extract jobs to separate entity
2023-08-27 18:02:51 +02:00
Denis Gukov
0b81623b09 fix(migrations): manager is default role 2023-07-22 22:47:12 +02:00
Denis Gukov
9c9c005955 refactor(be): add struct UserWithProjectRole 2023-07-08 12:41:57 +02:00
Denis Gukov
c1049c8c4c fix(be): column admin -> role in sql request 2023-07-08 11:39:51 +02:00
Denis Gukov
61e43b0da2 fix(be): specify varchat max length 2023-07-08 00:06:43 +02:00
Denis Gukov
07b908f1ef fix(be): update sql query 2023-07-07 23:55:41 +02:00
Denis Gukov
026e5a910b fix(be): sql migration issue 2023-07-07 23:24:56 +02:00
Denis Gukov
49a06d540f feat(be): add migration project__user.admin -> project_user.role 2023-07-07 23:16:43 +02:00
Denis Gukov
668c81a991 fix(be): use DbConfig getter method instead of direct access to fields 2023-01-28 03:25:25 +04:00
Denis Gukov
07c6860ccb feat(be): support session connection for boltdb 2022-11-19 03:23:30 +05:00
Denis Gukov
579f978ffc feat(be): do not keep connection by BoltDB 2022-11-09 21:30:35 +05:00
Denis Gukov
1e06957028 feat: ability to delete api token 2022-11-09 13:10:42 +05:00
anarchistcat
b27611e565 Diff mode test 2022-10-28 05:05:13 +02:00