Commit Graph

189 Commits

Author SHA1 Message Date
fiftin
f3f64f6a83
refactor(schedule): replace disabled field to active 2024-07-01 00:57:03 +05:00
Denis Gukov
aca9055abb
Merge pull request #2146 from semaphoreui/bolt_integrations_query_optimization
feat(bolt): optimize query
2024-06-30 23:04:22 +05:00
fiftin
c24bcf1d87
fix(integrations): use correct type 2024-06-30 22:50:46 +05:00
Denis Gukov
6a9760e694 fix(boltdb): cleaning 2024-06-30 18:48:59 +05:00
Denis Gukov
48089343d8 feat(be): cleaning tasks 2024-06-30 12:48:36 +05:00
Denis Gukov
4bf2f1352a feat(be): query optimization 2024-06-29 21:23:41 +05:00
Denis Gukov
8c352ff60e feat(bolt): optimize query 2024-06-29 18:14:47 +05:00
fiftin
b511385465
feat(schedule): don't show repo commit check schedules 2024-06-23 23:59:14 +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
fiftin
3282bc7711
feat(be): add method GetUserCount 2024-04-25 16:28:28 +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
fiftin
dafc6590df
fix(users): update task log for admins 2024-04-02 23:50:52 +02:00
fiftin
8f9b9a74fe feat(integrations): add global alias 2024-03-23 13:37:15 +01:00
fiftin
d3c81c6992 fix(integrations): boltdb support 2024-03-21 11:21:21 +01:00
fiftin
b7c4339171 feat(integrations): support searchable integrations 2024-03-21 00:53:54 +01:00
fiftin
02e13c7314 feat(integrations): allow multiple indices 2024-03-20 22:35:47 +01:00
fiftin
cfe279c6dc feat(integrations): implement alias gen/regen/remove 2024-03-20 16:30:55 +01:00
fiftin
65d7a467fa feat(integrations): add alias management endpoints 2024-03-20 14:01:52 +01:00
fiftin
522513b375 feat(be): implement options for boltdb 2024-03-10 19:00:15 +01:00
fiftin
710c7df275 feat: implement options for boltdb 2024-03-10 18:55:42 +01:00
fiftin
60976d1afb fix(bolt): return not nil 2024-03-08 18:13:16 +01:00
fiftin
13e1cac83e feat(integrations): manipulation by aliases in boltdb 2024-03-07 11:06:12 +01:00
fiftin
2c2e7df311 feat(integrations): add alias methods 2024-03-07 10:32:25 +01:00
fiftin
ab90e98d3b refactor: rename func param 2024-03-06 15:51:59 +01:00
fiftin
77c2c87033 feat: remove extractor 2024-03-06 15:02:16 +01:00
fiftin
7cd250d4bf fix(integrations): correct extractor list 2024-03-04 19:17:40 +01:00
fiftin
e944cf2db8 fix(integration): return correct value list 2024-03-04 18:39:15 +01:00
fiftin
7b6394ae12 chore(bolt): fix integrations 2024-03-04 14:40:40 +01:00
fiftin
bf20ffb6cf feat(bolt): use project id 2024-03-04 14:39:48 +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
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
Denis Gukov
4c706f5876 feat(be): add migration for new template and schedule fields 2022-01-19 02:09:42 +05:00
Denis Gukov
458ee316ba feat(be): placeholder user 2021-12-18 18:16:34 +05:00
Denis Gukov
db89f5487d test(be): pass tests 2021-11-03 00:35:45 +05:00
Denis Gukov
54773d0c35 feat(be): data validation 2021-11-03 00:30:45 +05:00
Denis Gukov
001ddd3ae3 feat(fe): view tabs 2021-10-28 00:48:51 +05:00
Denis Gukov
793d74dac6 feat(be): sql implementation of views 2021-10-27 17:15:36 +05:00
Denis Gukov
339dfa52ce fix(be): set view positions for boltdb 2021-10-27 16:58:45 +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
Denis Gukov
bc1594329d refactor(be): move BuildTask to TaskWithTpl 2021-10-25 23:09:46 +05:00
Denis Gukov
bc3a5a6ac9 feat: use reference to build task by id insead of by version 2021-10-20 16:56:29 +05:00
Denis Gukov
be97e87bb7 feat(fe): Rerun, rebuild, redeploy buttons for tasks 2021-10-14 00:26:19 +05:00
Denis Gukov
f8b9fcf3d4 fix(ui): small UI issues 2021-10-13 23:51:35 +05:00
Denis Gukov
d8ce55ae84 refactor(ui): move constants to file constants.js 2021-10-13 22:14:03 +05:00
Denis Gukov
e692d2403e refactor(be): add enum for event object type 2021-10-13 19:07:22 +05:00
Denis Gukov
ef8f387515 chore: fix confict 2021-09-17 15:07:11 +05:00
Denis Gukov
4c7d21b844 chore: fix confict 2021-09-17 15:06:19 +05:00