Commit Graph

552 Commits

Author SHA1 Message Date
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
Denis Gukov
fa4e13a0f1 refactor(be): remove global vars of task pool and schedule pool 2022-01-29 23:14:36 +05:00
Denis Gukov
b5eac6ca2f refactor(be): move schedules to package services 2022-01-29 16:24:51 +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
6ce208d0f2 Merge branch 'develop' of github.com:ansible-semaphore/semaphore into develop 2022-01-27 19:30:41 +05:00
Denis Gukov
ec39816cf1 feat: add personal access token suport 2022-01-27 19:21:46 +05:00
Denis Gukov
2716a3989b fix(be): clear repository cache if access key changed 2022-01-27 17:55:01 +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
f5ad81f7c0 fix(be): checking build version by nil 2022-01-26 16:52:31 +05:00
Denis Gukov
ef46f9b175 fix(ci): default access key encryption key in dockerfile 2022-01-25 13:33:32 +05:00
Denis Gukov
1d166cd1f7 fix(be): directory of git commands 2022-01-24 02:29:37 +05:00
Denis Gukov
1b88630348 fix(be): bug with git clone parameters 2022-01-24 00:45:12 +05:00
Denis Gukov
9520c0cd1b feat(be): implement migrations for BoltDB 2022-01-23 18:03:23 +05:00
Denis Gukov
f704379dfa test(be): fix repo creating test 2022-01-22 13:21:11 +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
755dca67e2 feat(be): small changes in semaphore_vars 2022-01-20 03:08:34 +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
54eaad249f test(be): remove unused test 2022-01-19 13:11:36 +05:00
Denis Gukov
34a6df651b feat: demo-mode label 2022-01-19 04:55:32 +05:00
Denis Gukov
f28364dc35 fix(be): pass linter 2022-01-19 04:09:21 +05:00
Denis Gukov
948bb8d1c3 feat(be): in demo mode user can stop task 2022-01-19 03:53:42 +05:00
Denis Gukov
2cd95afb29 feat(be): add demo mode 2022-01-19 03:19:31 +05:00
Denis Gukov
85d489a064 feat(be): non-admin users can manage keys in project, now it is secure because api doesn't return secrets 2022-01-19 03:07:53 +05:00
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
Denis Gukov
c12c490b5c fix(be): ignore host 0.0.0.0 in api router 2020-10-03 00:09:06 +05:00
Stanislav Simovski
d356286796 Use official images + fix linter 2020-02-09 15:48:24 +02:00
Stanislav Simovski
c768328a50 Migrated to golang module system 2020-02-09 14:25:06 +02:00
pedroelbanquero
902c6e5ca6
PUT DELETE ADMIN METHODS FIX 2020-02-08 02:44:33 -05:00
Stanislav Simovski
d64a46fac8 Removed explicit static file path declaration 2019-09-12 21:35:44 +03:00
Stanislav Simovski
7f8f972ecc Fixed repeating struct property 2019-09-08 10:38:06 +03:00
Stanislav Simovski
a368d30ef1 Fixed mux router usage 2019-09-08 10:19:46 +03:00
Stanislav Simovski
5ccae272d4 Remove mulekick, move functions to util 2019-07-09 20:45:27 +03:00
Stanislav Simovski
ab5927427d Remove mulekick router, use mux directly
Revert one more commit
2019-07-09 20:39:18 +03:00
Stanislav Simovski
09a2b31eb3 mux != Koa, undo refactor before it gets worse 2019-07-09 19:11:01 +03:00
Stanislav Simovski
bb97b8d757 Execute next middleware in stack only if present 2019-07-09 18:55:42 +03:00
Stanislav Simovski
23d65ba0c2 Refactored all routes to use native mux Middelware 2019-07-09 16:07:16 +03:00
Stanislav Simovski
23fdc8550b Set version on windows taskfile
It doesn't otherwise build on windows since by default it's `1`:
```powershell
Taskfiles versions should match. First is "2" but second is "1"
```

backup
2019-07-09 16:07:10 +03:00
Anton Markelov
17535f0087
Merge pull request #569 from UnitedTraders/552-relative-path
Fix bug with relative path
2019-07-09 17:13:57 +10:00
Matej Kramny
d5f8335f2a fix dependency 2019-07-09 10:36:20 +08:00
Anton Markelov
32484cbd50 allow o use semaphore via relative path 2018-10-24 15:04:55 +10:00
Anton Markelov
c88f2120ee try to fix relative path 2018-10-23 13:22:49 +10:00
Anton Markelov
14f5f6bb35 return 401 instead of 403 on unauthorized pages 2018-10-22 17:19:33 +10:00
dahyung-kwon
5d1ac1241e Add task.arguments value to getPlaybookArgs() method. 2018-09-11 20:49:03 +09:00
Anton Markelov
cd30536a85 make semaphore less panic 2018-06-14 16:20:16 +10:00
Anton Markelov
b60213aa88 remove task from queue if it failed (on prepare step) 2018-06-08 18:29:12 +10:00
Anton Markelov
a817d2d127 add requested changes, add some logging 2018-06-08 13:09:13 +10:00
Anton Markelov
087acb8ed4 remove collisions on prepareTask stage 2018-06-07 17:29:55 +10:00
tom whiston
cccc00d113 use dredd for api testing
add ci context docker deployment
update api docs
add some small fixes
2018-04-18 18:03:15 +00:00
tom whiston
17fa7bb407 add gometalinter to tools and run it in circle.
extract some error checking and logging in places where linting needed or errors not checked
2018-04-05 21:24:19 +00:00
Tom Whiston
79c1f4f5ab
Merge pull request #502 from UnitedTraders/495-better-feedback
Add stderr for `list-hosts` output
2018-03-20 02:01:17 +01:00
Anton Markelov
9474aac833 remove unused variable 2018-03-20 10:12:43 +10:00
Anton Markelov
bb2946ddee fixes after codacy review 2018-03-16 12:00:14 +10:00
Anton Markelov
52aee98395 add stderr for list-hosts output 2018-03-16 11:26:25 +10:00
Tom Whiston
2e642591f2 fix codacy issues 2018-03-15 00:52:37 +01:00
Tom Whiston
2ce4f0ebf1 Merge branch 'develop' into cmd_environment_vars
# Conflicts:
#	api/tasks/runner.go
2018-03-15 00:49:40 +01:00
Denis
7263101be0 Use npm instead of submodule. Split public to web/public & web/resources
Fix build under Windows

Remove htmls from pug directory

Move package.json to web directory

Remove OS type checking from test

Fix builder.js codestyle

Remove Taskfile_windows.yml
2018-03-13 12:23:20 +05:00
Tom Whiston
88647c887c
Merge pull request #436 from vyulabs/file_inventory
Add "file" type for inventory
2018-03-08 23:51:36 +01:00
Denis
d27a91cca4 Fix inventory test for windows path 2018-03-08 19:15:45 +05:00
Denis
346af83e25 Remove redundant variable 2018-03-08 19:01:10 +05:00
Denis
b849c22559 Use os.Getwd() instend of './' 2018-03-08 19:00:15 +05:00
Denis
16a0374937 Move inventory tests to projects package 2018-03-08 18:45:53 +05:00
Denis
4aeef04369 feat: add tests 2018-03-08 16:37:38 +05:00
Denis
a63fd9d570 Validate inventory path before save 2018-03-08 14:04:34 +05:00
Denis
de7cb3453d Removed AWS/DO/GCloud inventory types 2018-03-08 12:39:20 +05:00
Tom Whiston
b745ec6fa2 change to using packr instead of go-bindata 2018-03-05 19:59:58 +01:00
Tom Whiston
43abd774bc better permissions 2018-02-28 10:02:54 +01:00
Tom Whiston
a2c207c6d9 Merge branch 'develop' into create_tmp_dir 2018-02-28 09:10:20 +01:00
Tom Whiston
0fceedbd48
Merge pull request #405 from UnitedTraders/198-nonpriv-user
Add non-privileged user role
2018-02-27 20:54:43 +01:00
Tom Whiston
a6699ffd6f
Merge pull request #449 from twhiston/fix_stdin_hang
Fix stdIn hanging issue
2018-02-27 20:53:19 +01:00
Tom Whiston
0e0bef5129
Merge pull request #442 from UnitedTraders/441-crash-after-new-role
Fix crash when new role added to requirements
2018-02-27 20:52:52 +01:00
Tom Whiston
000bfecab4
Merge pull request #395 from UnitedTraders/393-big-output
Use bufio.Reader instead of bufio.Scanner for task logging
2018-02-27 20:50:11 +01:00
Anton Markelov
10f2b4b413 another minor grammar fixes 2018-02-20 10:12:19 +10:00
Anton Markelov
910c8bc4e9 another minor fixes after review 2018-02-19 08:49:40 +10:00
Anton Markelov
5e26bfb92c fix for https://github.com/ansible-semaphore/semaphore/issues/158 2018-02-17 09:52:08 +10:00