Commit Graph

402 Commits

Author SHA1 Message Date
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
ba8ea4c650 feat(ui): add survey vars to ui 2022-01-19 00:17:48 +05:00
Denis Gukov
312cafa23c style(be): joining path 2022-01-17 01:23:49 +05:00
Denis Gukov
5860e1378b fix(be): test for register user 2022-01-17 01:14:44 +05:00
Denis Gukov
458ee316ba feat(be): placeholder user 2021-12-18 18:16:34 +05:00
Denis Gukov
b839c95573 test(be): register new user tests 2021-12-17 01:44:07 +05:00
Denis Gukov
edddc78098 Merge branch 'develop' of github.com:ansible-semaphore/semaphore into develop 2021-12-16 02:23:02 +05:00
Denis Gukov
73443a9612 feat: display Register form if no users in database 2021-12-16 02:22:52 +05:00
Denis Gukov
ee3432724d fix(be): fail task in repo source code not found for file:// repo 2021-12-14 23:07:10 +05:00
Denis Gukov
e06287fb86 fix(be): correct cropping file prefix 2021-12-14 20:24:17 +05:00
Denis Gukov
2287be34ce feat(fe): return to view from template 2021-11-03 18:06:28 +05:00
Denis Gukov
a36b948691 fix(be): Access key file not found https://github.com/ansible-semaphore/semaphore/issues/783 2021-11-03 17:51:36 +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
d44a3f6681 test(be): pass tests 2021-11-02 23:02:44 +05:00
Denis Gukov
6e07b8ec84 feat(be): pass username and task message to ansible playbook 2021-11-02 22:57:02 +05:00
Denis Gukov
fa47a24078 feat(be): merge task environment with template environment 2021-11-02 22:44:09 +05:00
Denis Gukov
4dc9106fe7 test(be): tests for task.populateDetails 2021-11-02 22:37:31 +05:00
Denis Gukov
c7a0396144 fix(be): passing deploy version to ansible-playbook 2021-11-02 12:16:20 +05:00
Denis Gukov
101bccc5a9 chore: remove Link from telegram message 2021-11-01 14:56:20 +05:00
Denis Gukov
3a6bc0f7b6
Merge branch 'develop' into develop 2021-10-30 01:07: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
Denis Gukov
6d05ea434e fix(be): send email alert only for failed tasks 2021-10-26 22:18:31 +05:00
Denis Gukov
4410a39a4c feat(be): telegram message format 2021-10-26 21:54:19 +05:00
Denis Gukov
a3755e70da feat(be): remove arguments for task 2021-10-26 03:00:10 +05:00
Denis Gukov
eb20640262 feat(fe): extendable task 2021-10-26 01:15:14 +05:00
Denis Gukov
bc1594329d refactor(be): move BuildTask to TaskWithTpl 2021-10-25 23:09:46 +05:00
Denis Gukov
e0b309b2e1 fix: updating task status on templates page 2021-10-25 14:42:34 +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
89240737a0 feat(fe): ui docs 2021-10-18 17:41:54 +05:00
Denis Gukov
0a454b0d97 refactor(be): add enum TemplateType based on string 2021-10-15 01:25:12 +05:00
Denis Gukov
191c6ed438 feat(be): passing semaphore vars via extra vars 2021-10-15 00:14:21 +05:00
Denis Gukov
8c10b9fc6e feat(fe): display commit hash and message on deploy window 2021-10-14 20:13:21 +05:00
Denis Gukov
85ef96320d feat(be): store commit message to task 2021-10-14 15:36:33 +05:00
Denis Gukov
f8b9fcf3d4 fix(ui): small UI issues 2021-10-13 23:51:35 +05:00
Denis Gukov
d87a0147d5 refactor(be): remove duplication 2021-10-13 19:33:07 +05:00
Denis Gukov
e692d2403e refactor(be): add enum for event object type 2021-10-13 19:07:22 +05:00
Denis Gukov
dfb0415e93 refactor(runner): add validate repo method 2021-10-13 02:17:11 +05:00
Denis Gukov
5f1351e04a chore(be): remove unused env vars from git command 2021-10-13 01:58:18 +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
Denis Gukov
b32b42b817 feat(be): add support ldaps 2021-10-11 20:49:07 +05:00
Loïc Tosser
a59a0ed99f Secure Mail sender 2021-09-22 08:01:53 +04:00
Loïc Tosser
942aa537f5 Secure Email 2021-09-22 07:43:19 +04:00
Denis Gukov
d4dd2052bb refactor(be): rename column vault_pass_id to vault_key_id 2021-09-17 02:20:59 +05:00
Denis Gukov
1d46aa72a8 test(be): fix access key tests 2021-09-13 18:22:08 +05:00
Denis Gukov
749291a690 feat(be): pass ansible_user/password to ansible-playbook via file 2021-09-12 03:18:26 +05:00
Denis Gukov
b771068369 feat(be): ignore known hosts file 2021-09-11 02:54:35 +05:00
Denis Gukov
2c9bc5ba0f fix(be): add \n to end of private key 2021-09-10 23:48:23 +05:00
Denis Gukov
f207aa6bff feat(be): change error message for access key decryption 2021-09-10 03:41:36 +05:00
Denis Gukov
554e797e24 fix(be): use correct config field for access key encryption 2021-09-10 02:31:06 +05:00
Denis Gukov
9451c3791e fix(fe): do not check empty cron format 2021-09-07 13:42:06 +05:00
Denis Gukov
28cea3543e fix(fe): validate cron format before send save request 2021-09-06 21:36:25 +05:00
Denis Gukov
c236737473 fix(fe): error message for invalid cron format 2021-09-06 21:15:37 +05:00
Denis Gukov
813eae8fa3 refactor(be): refreshing schedule pool after schedule updated 2021-09-06 20:45:43 +05:00
Denis Gukov
efc44277ee feat(fe): implement schedule for template 2021-09-06 19:12:57 +05:00
Denis Gukov
0b5998274d refactor(be): remove schedule global variable 2021-09-06 17:01:38 +05:00
Denis Gukov
6eeb6706d4 feat: add schedule functionality 2021-09-06 16:05:10 +05:00
Denis Gukov
54a35c61d4 fix: access key validation 2021-09-04 11:39:16 +05:00
Jason Cameron
89e64fcbcc forcing local repo checks for 'file://' prefixed repositories 2021-09-02 08:57:46 -05:00
Denis Gukov
ecf8331e57 fix(style): pass linter 2021-09-02 02:22:31 +05:00
Denis Gukov
efe6c02793 feat: support vault pass file and ansible user login / password in inventory 2021-09-02 02:14:32 +05:00
Denis Gukov
3e223e2359 fix(be): don't return error when tring install non-ssh key 2021-09-01 23:11:24 +05:00
Denis Gukov
b950dacd73 test(dredd): fix api docs and return key secret validation 2021-09-01 22:56:44 +05:00
Denis Gukov
6194fb6036 refactor(be): use method instead of string statement 2021-09-01 21:18:49 +05:00
Denis Gukov
53e15d7bb2 fix(be): requirements path 2021-09-01 21:14:52 +05:00
Denis Gukov
aa6cb856b7 feat: add password file for Access Key 2021-09-01 19:38:28 +05:00
Denis Gukov
290c876045 feat(ui): add help 2021-08-31 17:27:33 +05:00
Denis Gukov
64b5dea6fa feat(ui): add help 2021-08-31 17:03:52 +05:00
Denis Gukov
e991800693 feat: removed public key. fix: encrypt private key for new access key 2021-08-31 10:47:19 +05:00
Denis Gukov
7443671059 feat(be): add access key encryption 2021-08-31 04:02:41 +05:00
Denis Gukov
ab098b8b82 fix(be): checking error by nil before log it 2021-08-31 03:15:00 +05:00
Denis Gukov
c1c8a9ebf9 feat(be): use chan for storing logs to database 2021-08-31 03:12:33 +05:00
Denis Gukov
21c14d82dc feat(be): use separate repository for each task template 2021-08-31 01:55:46 +05:00
Denis Gukov
fe36b8ce9f feat(be): do not return private key in rest api 2021-08-31 01:48:53 +05:00
Denis Gukov
974f3066e5 feat(be): stopping hung tasks 2021-08-31 00:42:11 +05:00
Denis Gukov
c6a02a81fe fix(be): handing empty forign column name 2021-08-30 21:04:18 +05:00
Denis Gukov
92895f9f3c refactor(be): remove unused columns 2021-08-30 19:24:20 +05:00
Denis Gukov
07559d61b3 fix(be): issue with login after new ldap user creaded 2021-08-30 11:05:41 +05:00
Denis Gukov
e3f9b32abb fix(be): move goodman import to separate package to fix tests 2021-08-27 11:58:31 +05:00
Denis Gukov
fe97469fde chore: add goodman to fake helper 2021-08-26 17:03:25 +05:00
Denis Gukov
ef545f89e6 test(be): fix tests 2021-08-26 16:41:42 +05:00
Denis Gukov
931a9cafb2 fix: add goodman dep 2021-08-26 15:24:26 +05:00
Denis Gukov
5b3402ef9d fix: add goodman dep 2021-08-26 15:17:06 +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
d269a53625 feat(be): add user id to activity log 2021-08-20 11:28:50 +05:00
Denis Gukov
a1b2d2dc7f fix(be): returns correct error object if user not found 2021-08-11 19:54:27 +05:00
Denis Gukov
2b8a942e33 fix(be): remove boltdb user 2021-05-17 02:44:42 +05:00
Denis Gukov
c607b20b26 feat: remove old ui 2021-05-15 17:59:06 +05:00
Denis Gukov
bdd0977706 test(be): add some tests for bolt db 2021-05-15 17:23:47 +05:00
Denis Gukov
ca05dd94db fix(be): return correct http error code 2021-05-14 17:31:24 +05:00
Denis Gukov
82c3b62660 refactor: user auth via Store 2021-05-06 17:41:31 +05:00
Denis Gukov
d21b32fe6c refactor(be): remove method fetch, use Store instaed of it 2021-05-06 13:34:44 +05:00
Denis Gukov
421c05a962 fix(fe): add field project_id to each mutation request from class ItemFormBase.js 2021-04-22 15:36:23 +05:00
derks.patrick
a1d39652c1 change log for missing requirements file in roles directory 2021-04-15 18:51:44 +02:00
derks.patrick
63d3f88b08 added GetMd5Hash func in helpers. Add import and refactor imports 2021-04-15 18:46:00 +02:00
derks.patrick
ea1640c6a9 add dependency for md5 hash func. Refactor imports 2021-04-15 18:45:00 +02:00
derks.patrick
6481d95cc6 use hasrequirementsChanges check for galaxy run 2021-04-15 18:42:47 +02:00
derks.patrick
64d53abd61 added function to write requirement hash to file 2021-04-15 18:39:36 +02:00
derks.patrick
50236966d0 add function for checking requirements changes 2021-04-15 18:39:19 +02:00
derks.patrick
3a3450d85c Check in install requirements for the file and log if not exists 2021-04-15 18:07:49 +02:00
derks.patrick
ceea57351a move galaxy run commands to func. Remove -p for collection
The parameter -p doesnt work with collections, it simply skip any collection
2021-04-15 18:06:22 +02:00
Denis Gukov
696353ffdf feat(be): init boltdb 2021-04-10 02:02:35 +05:00
Denis Gukov
0787920d97 fix(web2): password field for new/edited user 2021-03-13 02:13:39 +05:00
Denis Gukov
779760d6aa fix(be): lint 2021-03-13 01:30:17 +05:00
Denis Gukov
ac2132f290 fix(ci): capabilities 2021-03-13 01:20:18 +05:00
Denis Gukov
d0392485eb feat: migrate logging to Store 2021-03-12 22:41:41 +05:00
Denis Gukov
d10b421538 refactor(be): split SqlDb to several files 2020-12-20 23:00:59 +05:00
Denis Gukov
c472dc66dd refactor(be): migrate users to Store 2020-12-17 19:00:05 +05:00
Denis Gukov
0c3a7c0c7e fix(be): events endpoint 2020-12-17 16:52:00 +05:00
Denis Gukov
d32f35f2ec refactor(be): events via Store 2020-12-17 01:57:54 +05:00
Denis Gukov
027e45fc86 refactor(be): migrate projects to Store 2020-12-17 00:19:20 +05:00
Denis Gukov
49fea98db3 refactor(be): migrate key to Store 2020-12-08 13:24:54 +05:00
Denis Gukov
19c7b7cbf9 refactor(be): migrate repos to Store 2020-12-08 00:48:52 +05:00
Denis Gukov
4707bd92ee refactor(be): delete inventory via Store 2020-12-07 23:51:11 +05:00
Denis Gukov
385e788795 feat(be): migrate inventories to Store 2020-12-07 17:13:59 +05:00
Denis Gukov
78f2474fb6 chore(be): remove unused function 2020-12-06 20:11:49 +05:00
Denis Gukov
fd1d42782b refactor(be): return models to db package 2020-12-05 14:13:43 +05:00
Denis Gukov
1295435f18 test(be): fix dredd tests 2020-12-05 03:26:24 +05:00
Denis Gukov
6291647d5b refactor(be): migrate environment endpoints to Store 2020-12-04 21:29:37 +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
b083f74322 fix(be): delete global Mysql variable and add interface Store for dialect-independent communication with database. 2020-12-04 13:46:02 +05:00
Denis Gukov
400d2f6933 chore: fix merge conflicts 2020-12-01 23:35:50 +05:00
Denis Gukov
cc3a8539d2 fix(api): user management endpoint 2020-12-01 22:16:29 +05:00
Denis Gukov
d09fc1d26c feat(be): support sqlite 2020-12-01 21:37: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
33adc2b063 fix(be): remove excess panic 2020-11-22 05:32:49 +05:00
Denis Gukov
6263dfbdbc fix(be): galaxy args order 2020-11-21 01:50:07 +05:00
Denis Gukov
7b7ae01add fix(be): run galaxy install for collections
Issue: https://github.com/ansible-semaphore/semaphore/issues/620
2020-11-21 01:48: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
221f8db31c test: fix dredd tests 2020-10-03 01:10:41 +05:00