Commit Graph

212 Commits

Author SHA1 Message Date
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
Denis Gukov
fd259a4af4 fix(be): empty env field in environment, https://github.com/ansible-semaphore/semaphore/issues/980 2022-06-30 11:04:51 +05:00
Denis Gukov
2bc9a338d3 fix(be): number of args in sql requst 2022-06-29 22:27:14 +05:00
Denis Gukov
fbe30b25c2 fix(be): merge conflict in migration 2022-06-29 21:50:54 +05:00
Dino Paškvan
0462c89afa Rename migration file 2022-06-24 12:34:35 +02:00
Dino Paskvan
545df6fb87
Merge branch 'ansible-semaphore:develop' into develop 2022-06-24 12:31:30 +02:00
Dino Paškvan
9c5d911e71 Add environment variables to model and provide migrations 2022-06-24 12:30:52 +02:00
Denis Gukov
23c3947e18 feat(be): add migration for new limit option 2022-06-23 20:37:00 +05:00
quantumsheep
d60323ea26
fix(be): set backup id column as primary key 2022-05-24 18:02:12 +02:00
Denis Gukov
f5b66a1d14 fix(be): Change of user password fails when using postgres https://github.com/ansible-semaphore/semaphore/issues/896 2022-03-27 02:55:33 +05:00
Denis Gukov
b127e054d8 feat(be): add max parallel tasks to project settings and ability to suppress success alerts for tasks 2022-02-14 16:52:28 +05:00
Denis Gukov
1993a14fb6 fix(be): migration for dropping foreign key 2022-02-06 14:29:56 +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
31d667c57c fix(be): migration 2.8.39 2022-02-03 22:37:37 +05:00
Denis Gukov
6d23eff005 fix(ui): resouce usage message 2022-02-03 16:33:25 +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
6cc3d0f250 feat(be): remove column from template table 2022-02-01 03:35:13 +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
46a9b5103c fix(be): sql query for schedule updating 2022-01-31 18:04:47 +05:00
Denis Gukov
208e615a6e feat(be): cron task with condition 2022-01-30 22:43:15 +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
6799208b62 feat(be): add ability to override template extra args in task https://github.com/ansible-semaphore/semaphore/issues/832 2022-01-27 00:51:20 +05:00
Denis Gukov
ef46f9b175 fix(ci): default access key encryption key in dockerfile 2022-01-25 13:33:32 +05:00
Denis Gukov
bc89b7d0fa fix(be): broken event migration 2022-01-25 02:25:39 +05:00
Denis Gukov
caf47c2bf6 style(be): rename go-migration 2022-01-23 21:47:31 +05:00
Denis Gukov
7737567a21 fix(be): migrations 2022-01-23 21:34:42 +05:00
Denis Gukov
ae0a471c8d refactor(be): move sql migration to separate file 2022-01-23 20:36:32 +05:00
Denis Gukov
9520c0cd1b feat(be): implement migrations for BoltDB 2022-01-23 18:03:23 +05:00
Denis Gukov
c5a70c9794 refactor(be): move Version up from sql to db package 2022-01-23 13:22:12 +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
f6b5a39432 fix(be): remove checking of updates from system info endpoint 2022-01-20 19:53:48 +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
e734904f98 fix(be): template sql query 2022-01-19 15:41:39 +05:00
Denis Gukov
5b6bd552a5 fix(be): schedule query 2022-01-19 15:30:22 +05:00
Denis Gukov
da99bfb842 fix(be): schedule query 2022-01-19 14:17:39 +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
73443a9612 feat: display Register form if no users in database 2021-12-16 02:22:52 +05:00
Denis Gukov
5d89a766f4 fix(be): event migration 2021-11-13 15:10:09 +05:00
Denis Gukov
8b2fb74074 fix(be): add missed column in migration 2021-11-11 13:17:51 +05:00
Denis Gukov
3b1bbd6779 feat(be): id column to event table 2021-11-10 13:28:10 +05:00
Denis Gukov
54773d0c35 feat(be): data validation 2021-11-03 00:30:45 +05:00
Denis Gukov
f9b842e5da fix(be): bug with filterging view templates 2021-10-28 15:04:50 +05:00
Denis Gukov
001ddd3ae3 feat(fe): view tabs 2021-10-28 00:48:51 +05:00
Denis Gukov
106a53bcae test(be): fix dredd tests 2021-10-27 21:22:52 +05:00
Denis Gukov
793d74dac6 feat(be): sql implementation of views 2021-10-27 17:15:36 +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
64e16e2c80 feat(be): remove task arguments 2021-10-26 20:43:45 +05:00
Denis Gukov
852e06f1f7 fix(be): mariadb migrations 2021-10-26 14:36:07 +05:00
Denis Gukov
793d1a36e2 fix(be): recursive 2021-10-25 16:21:49 +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
da361848cc fix(be): add empty default values for some columns 2021-10-15 01:13:18 +05:00
Denis Gukov
85ef96320d feat(be): store commit message to task 2021-10-14 15:36:33 +05:00
Denis Gukov
ad9846e338 feat(be): no default value for template type, null mean task 2021-10-14 00:40:46 +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
e692d2403e refactor(be): add enum for event object type 2021-10-13 19:07:22 +05:00
Denis Gukov
a46b0e3ae3 feat(be): retreaving commit hash from repo 2021-10-13 01:44:10 +05:00
Denis Gukov
e7e807bc51 feat(be): build versioning 2021-10-13 00:43:15 +05:00