Commit Graph

106 Commits

Author SHA1 Message Date
Denis Gukov
647501b90b refactor: webhook -> integration 2024-02-12 00:52:14 +05:00
Andreas Marschke
03c894d45a Updating API to support projectID attachment 2024-01-15 22:08:16 +01:00
Andreas Marschke
7e0d5648d1 Clean up logging in backend 2024-01-15 22:08:16 +01:00
Andreas Marschke
203b169962 Fixup api 2024-01-15 22:08:16 +01:00
Andreas Marschke
183a8536f1 Fix param reception 2024-01-15 22:08:16 +01:00
Andreas Marschke
54d103105f Webhook Feature implementation 2024-01-15 22:08:16 +01:00
Denis Gukov
d3923f18b3 feat: admin can all 2023-09-17 16:15:44 +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
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
37e7c4aca1 fix(be): do not panic in boltdb connection 2023-08-28 10:53:49 +02:00
Denis Gukov
b5a99eba7f
Runners (#1439)
* refactor(runners): extract jobs to separate entity
2023-08-27 18:02:51 +02:00
Denis Gukov
517ad4dc97 feat(ui): add roles to UI 2023-07-22 22:48:10 +02:00
Denis Gukov
bfa9a3c00b fix(be): migration for bolt 2023-07-09 11:35:52 +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
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
1139e35ce1 fix(be): return empty array instead of nil for BoltDB 2022-11-09 23:00:35 +05:00
Denis Gukov
cbd441b6fd fix(be): ignore not found error when deleting task output bucket 2022-11-09 22:50:11 +05:00
Denis Gukov
579f978ffc feat(be): do not keep connection by BoltDB 2022-11-09 21:30:35 +05:00
Denis Gukov
cd134b04a6 fix(be): token deletion for boltdb 2022-11-09 14:02:48 +05:00
Denis Gukov
1e06957028 feat: ability to delete api token 2022-11-09 13:10:42 +05:00
Denis Gukov
f70572b484 fix(be): BoltDB issue with deleted user https://github.com/ansible-semaphore/semaphore/issues/1055 2022-10-22 01:56:32 +05:00
Denis Gukov
aa46a392d7 fix(be): adding user to project team for BoltDB 2022-10-22 01:47:43 +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
5185fa4067 fix(be): migration for mysql 2022-02-03 23:24:46 +05:00
Denis Gukov
02a631fbd6 fix(be): refs for boltdb 2022-02-03 14:22:32 +05:00
Denis Gukov
05dd7c5653 feat: remove soft delete functionality 2022-02-03 12:06:24 +05:00
Denis Gukov
8e8ca94126 feat(be): physical delete template from database 2022-02-01 03:16:00 +05:00
Denis Gukov
221454a89f fix(be): migration 2.8.26 for postgres 2022-02-01 02:36:28 +05:00
Denis Gukov
208e615a6e feat(be): cron task with condition 2022-01-30 22:43:15 +05:00
Denis Gukov
8516e31415 fix(be): remove recursive call in BoltDB method 2022-01-29 14:14:42 +05:00
Denis Gukov
db252379c0 Merge branch 'fix_mig' into develop 2022-01-29 14:01:16 +05:00
Denis Gukov
727b6f7326 fix(be): boltdb migration 2022-01-29 14:00:21 +05:00
Denis Gukov
d3d002a818 refactor(be): change params for store method
chore(fe): remove passphrase from key settings because it is not implemented

fix(be): boltdb migration
2022-01-29 13:47:11 +05:00
Denis Gukov
9aca14e839 fix(be): pass linter 2022-01-25 01:28:00 +05:00
Denis Gukov
aef84f8aee fix(be): bug with token creation for BoltDB implementation https://github.com/ansible-semaphore/semaphore/issues/828 2022-01-25 01:14:30 +05:00
Denis Gukov
3be729c1e6 fix(be): boltdb migration 2022-01-24 00:08:34 +05:00
Denis Gukov
caf47c2bf6 style(be): rename go-migration 2022-01-23 21:47:31 +05:00
Denis Gukov
0bc9aab31a fix(be): exit from method on error 2022-01-23 20:07:10 +05:00
Denis Gukov
e9e78adf97 test(be): test for bolt migration 2022-01-23 19:01:11 +05:00
Denis Gukov
d942cce1bc test(be): fix tests after migration refactoring 2022-01-23 18:21:27 +05:00
Denis Gukov
9520c0cd1b feat(be): implement migrations for BoltDB 2022-01-23 18:03:23 +05:00
Denis Gukov
06ad02d391 feat(be): add git_branch to database and add repository validation 2022-01-22 13:16:23 +05:00
Denis Gukov
315dba69fb feat(be): passing to ansible new variable semaphore_vars 2022-01-20 03:07:30 +05:00
Denis Gukov
d8afdb19d8 feat(be): recursive retreaving task version. Now we can make pipelines :) 2022-01-20 01:42:08 +05:00
Denis Gukov
51fc40e9c8 feat(be): triggering autorun tasks 2022-01-20 00:35:59 +05:00
Denis Gukov
7f297a252b feat: add survey vars to task form 2022-01-19 17:05:48 +05:00
Denis Gukov
6be09da63c feat: REMOVE PLACEHOLDER USER FUNCTIONALITY 2022-01-19 02:26:48 +05:00