Commit Graph

376 Commits

Author SHA1 Message Date
Denis Gukov
ed3693472f fix(config): bug with handing maps in config 2023-09-16 23:47:06 +02:00
Denis Gukov
a70688ffba fix(oidc): github auth 2023-09-16 23:16:24 +02:00
Denis Gukov
b8c208070b feat(config): default value for map items 2023-09-16 22:15:55 +02:00
Denis Gukov
aef7cbca04 feat: add status starting 2023-09-12 20:58:44 +02:00
Denis Gukov
8308f7ecce chore(runners): descrypt secrets before send 2023-09-11 03:15:33 +02:00
Denis Gukov
d990a4da8f fix(runner): decrypt key 2023-09-11 02:30:40 +02:00
Denis Gukov
0304e7cac3 fix(runners): pass vault key 2023-09-11 02:00:10 +02:00
Denis Gukov
a8921e6e82
Runners (#1458)
* feat(runners): update task status

* feat(config): add remote runner flag

* feat(runners): kill remote job

* feat(runners): update state
2023-09-10 23:18:25 +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
b5a99eba7f
Runners (#1439)
* refactor(runners): extract jobs to separate entity
2023-08-27 18:02:51 +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
9de5a0ebd3
Merge pull request #1420 from skorobkov/develop
Issue #1376
2023-08-26 23:31:45 +02:00
Denis Gukov
4398544e91 feat(fe): handle permissions on UI 2023-08-26 20:43:42 +02:00
Denis Gukov
b522169832 test: check role permissions 2023-08-26 18:48:16 +02:00
Denis Gukov
d9a0a4d0fa fix(be): do not expire session for demo mode 2023-08-26 13:16:25 +02:00
Serhii Korobkov
3208dbfaf7 Issue #1376 2023-08-16 17:12:15 +03:00
Denis Gukov
1145eec9a4 feat(be): add config options 2023-07-24 16:04:03 +02:00
Denis Gukov
076bb19910 fix(ui): merge conflict 2023-07-09 11:43:23 +02:00
Denis Gukov
93e42b7023 fix(roles): validate user role in project when add or update 2023-07-09 10:24:03 +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
Denis Gukov
9c9c005955 refactor(be): add struct UserWithProjectRole 2023-07-08 12:41:57 +02:00
Denis Gukov
49a06d540f feat(be): add migration project__user.admin -> project_user.role 2023-07-07 23:16:43 +02:00
s3lph
2896dc72d9 feat(oidc): add config option to manually configure provider endpoints 2023-04-17 22:57: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
8d0a27822d fix(be): creating task/output for boltdb with no keep connection mode 2022-11-09 22:31:52 +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
9614ca04a8 fix(be): validate data which returns LDAP server 2022-11-06 20:25:25 +05:00
Denis Gukov
38f16c81b8 fix(be): remove panic from login 2022-10-30 22:29:06 +05:00
Denis Gukov
f4c9cbff1e fix: merge conflict 2022-10-30 21:49:15 +05:00
Denis Gukov
f3f9c71358 refactor(be): split auth process to serveral functions 2022-10-30 21:34:03 +05:00
Denis Gukov
3eb55aacd6 refactor(be): simplify ldap auth code 2022-10-30 20:57:08 +05:00
Denis Gukov
d382a822fe refactor: rename directory web2 to web 2022-10-29 18:37:20 +05:00
Robert Rettig
b48e4e8645 fixes #1026 2022-09-08 18:14:19 +02:00
Denis Gukov
bd855dab9b test: fix dredd tests 2022-06-29 21:25:28 +05:00
quantumsheep
5761b4e15e
feat: support yaml static inventories 2022-05-24 17:55:20 +02:00
Jean-Yves LEBLEU
e4086609f7 fix: force username to lower case when creating LDAP user 2022-05-09 18:44:09 +02:00
Denis Gukov
7774378d8c fix(be): bug with ldap tls https://github.com/ansible-semaphore/semaphore/issues/756 2022-02-10 10:53:10 +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
751eeb4204 fix(be): bug with ldap auth related to https://github.com/ansible-semaphore/semaphore/issues/808 2022-02-04 14:22:02 +05:00
Denis Gukov
a09a1fc6d1 chore(be): update ldap deps 2022-02-04 04:00:49 +05:00
Denis Gukov
05dd7c5653 feat: remove soft delete functionality 2022-02-03 12:06:24 +05:00