Commit Graph

136 Commits

Author SHA1 Message Date
Denis Gukov
5a1357724d feat: left project 2023-09-18 21:43:13 +02:00
Denis Gukov
d1b7ad021e
Runners (#1444)
* feat(runners): add register endpoint

* feat(runners): add remote runner

* refactor(runners): move functionality TaskRunner -> AnsibleJobRunner

* fix(runners): init job

* chore(runners): remote unused field

* feat(runners): use external logger from AnsibleJobRunner

* refactor(runners): remove status field

* refactor(runners): remove mutation from job

* feat(runners): pass username and verison to task

* test(runners): fix tests

* fix(runners): params for Run

* feat(runners): implement runner selection

* feat(runners): fill required fields

* fix(runners): session block

* feat(runners): kill process

* refactor(runners): rename fields to public

* feat(runners): remote runner functionallity

* refactor(runners): remove unused class

* fix(runners): send json

* feat(runners): runner registration

* feat(runners): logging

* feat(runners): server <-> running communication works

* feat(runners): pass creds to runenr
2023-08-29 00:51:04 +02:00
Denis Gukov
d32a31f4b6 feat: remove demo mode 2023-08-27 15:00:54 +02:00
Denis Gukov
5c8e518e83 test: pass tests 2023-08-27 00:10:02 +02:00
Denis Gukov
97c0cbbfde fix: merge conflict 2023-08-27 00:05:15 +02:00
Denis Gukov
4398544e91 feat(fe): handle permissions on UI 2023-08-26 20:43:42 +02:00
Serhii Korobkov
3208dbfaf7 Issue #1376 2023-08-16 17:12:15 +03:00
Denis Gukov
076bb19910 fix(ui): merge conflict 2023-07-09 11:43:23 +02:00
Denis Gukov
87d983556f refactor(be): create middleware to check permissions 2023-07-08 23:35:39 +02:00
Denis Gukov
7fac4d34ea feat(ui): add select for project users' role 2023-07-08 13:42:50 +02:00
s3lph
c3cd04fdce feat: implement oidc authentication 2023-04-16 23:57:56 +02:00
Denis Gukov
3e4a62b7f2 fix: authentization bug 2023-03-13 14:04:58 +01:00
Denis Gukov
64b52fba94 fix(be): remove db info from /info 2023-02-23 18:27:25 +04:00
Denis Gukov
04688a786e fix(be): remove db info from /info 2023-02-23 18:26:45 +04: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
b2f5d42a6f test: remove date/time pattern from open api 2022-11-09 22:04:35 +05:00
Denis Gukov
579f978ffc feat(be): do not keep connection by BoltDB 2022-11-09 21:30:35 +05:00
Denis Gukov
d382a822fe refactor: rename directory web2 to web 2022-10-29 18:37:20 +05:00
Denis Gukov
1036af1fc6 fix(be): disable migration for mysql
fix: check refs to template before delete

fix(be): drop breaking foreign key
2022-02-05 13:30:25 +05:00
Denis Gukov
05dd7c5653 feat: remove soft delete functionality 2022-02-03 12:06:24 +05:00
Denis Gukov
fa4e13a0f1 refactor(be): remove global vars of task pool and schedule pool 2022-01-29 23:14:36 +05:00
Denis Gukov
f6b5a39432 fix(be): remove checking of updates from system info endpoint 2022-01-20 19:53:48 +05:00
Denis Gukov
34a6df651b feat: demo-mode label 2022-01-19 04:55:32 +05:00
Denis Gukov
85d489a064 feat(be): non-admin users can manage keys in project, now it is secure because api doesn't return secrets 2022-01-19 03:07:53 +05:00
Denis Gukov
7eca14c2a8 feat(be): only admin can add new project 2022-01-19 02:50:15 +05:00
Denis Gukov
6be09da63c feat: REMOVE PLACEHOLDER USER FUNCTIONALITY 2022-01-19 02:26:48 +05:00
Denis Gukov
458ee316ba feat(be): placeholder user 2021-12-18 18:16:34 +05:00
Denis Gukov
73443a9612 feat: display Register form if no users in database 2021-12-16 02:22:52 +05:00
Denis Gukov
001ddd3ae3 feat(fe): view tabs 2021-10-28 00:48:51 +05:00
Denis Gukov
943ab38768 feat(fe): views edit dialog 2021-10-27 23:05:54 +05:00
Denis Gukov
106a53bcae test(be): fix dredd tests 2021-10-27 21:22:52 +05:00
Denis Gukov
76a81cc29c fix(be): view positions endpoint 2021-10-27 17:25:51 +05:00
Denis Gukov
1285f10201 feat(be): views implementation for bolt 2021-10-27 16:43:04 +05:00
Denis Gukov
3b2f62ffbd feat(be): add view mock 2021-10-26 23:19:12 +05:00
Loïc Tosser
a59a0ed99f Secure Mail sender 2021-09-22 08:01:53 +04:00
Denis Gukov
28cea3543e fix(fe): validate cron format before send save request 2021-09-06 21:36:25 +05:00
Denis Gukov
efc44277ee feat(fe): implement schedule for template 2021-09-06 19:12:57 +05:00
Denis Gukov
6eeb6706d4 feat: add schedule functionality 2021-09-06 16:05:10 +05:00
Denis Gukov
f7f23f999f feat(cli): use cobra library 2021-08-26 01:12:19 +05:00
Denis Gukov
633c5936b2 feat: stop task button 2021-08-25 20:46:40 +05:00
Denis Gukov
63a4a32ac1 feat: refactor to support postgres 2021-08-24 20:20:34 +05:00
Denis Gukov
c607b20b26 feat: remove old ui 2021-05-15 17:59:06 +05:00
Denis Gukov
6e1a6d20ca refactor(be): template and environment endpoints use Store
Rename util to helpers
Bind returns bool instead of error
2020-12-04 13:46:02 +05:00
Denis Gukov
0d64b43f18 refactor(be): move util.go to api directory 2020-12-04 13:46:02 +05:00
Denis Gukov
cc3a8539d2 fix(api): user management endpoint 2020-12-01 22:16:29 +05:00
Denis Gukov
4dbe0182d5 fix(api): endpoint which must delete user from project, delete whole project 2020-12-01 21:34:48 +05:00
Denis Gukov
80616eea27 fix(api): remove redirect for calls without trailing slash 2020-11-27 03:35:49 +05:00
Denis Gukov
1b49bfbe45 fix(fe): use endpoint api/user/ instead of api/user 2020-11-26 03:56:27 +05:00
Denis Gukov
76390c4959 fix: web_host option handing 2020-11-24 17:26:02 +05:00
Denis Gukov
060f4d93eb fix(be): loading static content 2020-11-24 03:13:25 +05:00
Denis Gukov
bcfaca5149 feat(web2): support web2 by backend and go-task 2020-11-05 13:59:14 +05:00
Denis Gukov
cbcfdd6108 fix(web2): small bugs on many pages 2020-11-05 00:30:36 +05:00
Denis Gukov
fdb31800ee feat(web2): team page 2020-11-04 01:56:22 +05:00
Denis Gukov
cca1e33cce feat(web2): add environment page 2020-11-04 00:32:24 +05:00
Denis Gukov
1bff6c2dad feat: inventory page 2020-11-03 23:09:09 +05:00
Denis Gukov
ff82c40d23 feat(api): list tasks for template 2020-11-02 15:57:46 +05:00
Denis Gukov
74bd370a57 feat(web2): template edit 2020-10-05 03:29:02 +05:00
Denis Gukov
c12c490b5c fix(be): ignore host 0.0.0.0 in api router 2020-10-03 00:09:06 +05:00
Stanislav Simovski
d356286796 Use official images + fix linter 2020-02-09 15:48:24 +02:00
pedroelbanquero
902c6e5ca6
PUT DELETE ADMIN METHODS FIX 2020-02-08 02:44:33 -05:00
Stanislav Simovski
d64a46fac8 Removed explicit static file path declaration 2019-09-12 21:35:44 +03:00
Stanislav Simovski
a368d30ef1 Fixed mux router usage 2019-09-08 10:19:46 +03:00
Stanislav Simovski
5ccae272d4 Remove mulekick, move functions to util 2019-07-09 20:45:27 +03:00
Stanislav Simovski
ab5927427d Remove mulekick router, use mux directly
Revert one more commit
2019-07-09 20:39:18 +03:00
Stanislav Simovski
09a2b31eb3 mux != Koa, undo refactor before it gets worse 2019-07-09 19:11:01 +03:00
Stanislav Simovski
bb97b8d757 Execute next middleware in stack only if present 2019-07-09 18:55:42 +03:00
Stanislav Simovski
23d65ba0c2 Refactored all routes to use native mux Middelware 2019-07-09 16:07:16 +03:00
Stanislav Simovski
23fdc8550b Set version on windows taskfile
It doesn't otherwise build on windows since by default it's `1`:
```powershell
Taskfiles versions should match. First is "2" but second is "1"
```

backup
2019-07-09 16:07:10 +03:00
Anton Markelov
17535f0087
Merge pull request #569 from UnitedTraders/552-relative-path
Fix bug with relative path
2019-07-09 17:13:57 +10:00
Matej Kramny
d5f8335f2a fix dependency 2019-07-09 10:36:20 +08:00
Anton Markelov
32484cbd50 allow o use semaphore via relative path 2018-10-24 15:04:55 +10:00
Anton Markelov
c88f2120ee try to fix relative path 2018-10-23 13:22:49 +10:00
tom whiston
cccc00d113 use dredd for api testing
add ci context docker deployment
update api docs
add some small fixes
2018-04-18 18:03:15 +00:00
tom whiston
17fa7bb407 add gometalinter to tools and run it in circle.
extract some error checking and logging in places where linting needed or errors not checked
2018-04-05 21:24:19 +00:00
Denis
7263101be0 Use npm instead of submodule. Split public to web/public & web/resources
Fix build under Windows

Remove htmls from pug directory

Move package.json to web directory

Remove OS type checking from test

Fix builder.js codestyle

Remove Taskfile_windows.yml
2018-03-13 12:23:20 +05:00
Tom Whiston
b745ec6fa2 change to using packr instead of go-bindata 2018-03-05 19:59:58 +01:00
Anton Markelov
df8933be32 limit tasks list on project dashboard 2017-07-25 14:44:09 +10:00
Anton Markelov
06c3446cde add default dashboard limit (200 events), add button to load all tasks 2017-07-25 14:21:36 +10:00
Matej Kramny
68c5c49fdc base path resources
fixes #350
2017-05-20 16:14:36 +02:00
Eric Cornely
26fa3267a0 Get tasks details
Reference issue #356

Get a single task
2017-05-18 14:29:57 +02:00
Matej Kramny
3f3da12d37 🎉 gin -> net/http 2017-02-22 15:21:49 -08:00
Matej Kramny
2f16f70e98 begin refactor gin -> net/http 2017-02-22 14:17:36 -08:00
Matej Kramny
b4cab16fda Improved UI
- Fixes #94
- Fixes admin permissions (needed to manipulate users)
2016-06-17 13:16:46 -07:00
Matej Kramny
d960ec53f0 Update repositories 2016-06-13 19:37:40 -07:00
Matej Kramny
c58d9ac34f refactoring 2016-05-24 10:55:48 +01:00