Commit Graph

389 Commits

Author SHA1 Message Date
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
Anton Markelov
fe5dcdc1c8 minor fixes after code review 2018-02-17 09:46:23 +10:00
Tom Whiston
99d5f201fa make default permissions more open to keep tmp folders happy. Fix include error 2018-02-15 21:53:36 +01:00
Tom Whiston
8aeaf7507c Adds check for tmp dir and create if missing
also test for function
2018-02-15 21:29:16 +01:00
Tom Whiston
7a7b5972d8 Add environment key ENV
This adds the optional key ENV to the environment that allows you to pass command execution level arguments to the run
2018-02-14 15:54:14 +01:00
Tom Whiston
7982c2cdb5 fixes issue where ansible asking for user entry could case semaphore to hang completely 2018-02-05 19:51:14 +01:00
Anton Markelov
10ade65f62 Fix crash when new role added to requirements 2017-11-22 11:45:01 +10:00
Denis Gukov
472aa30d61 feat: add File type of Inventory 2017-10-26 12:33:03 +05:00
Matej Kramny
f48c7fa8c2 Merge pull request #402 from strangeman/367-limit-activity-list
Limit activity and tasks lists in dashboards
2017-08-19 10:08:12 +01:00
Matej Kramny
56f22f9673
gofmt 2017-08-19 09:45:01 +01:00
Anton Markelov
05a1b3cbd8 add admin role, restrict users without it 2017-07-26 15:55:34 +10:00
Anton Markelov
df8933be32 limit tasks list on project dashboard 2017-07-25 14:44:09 +10:00
Anton Markelov
06c3446cde add default dashboard limit (200 events), add button to load all tasks 2017-07-25 14:21:36 +10:00
Anton Markelov
0561f777f7 don't panic on logPipe errors 2017-07-12 14:48:49 +10:00
Anton Markelov
6be1f3e4fc add error handling, name variables more clear 2017-07-12 14:24:02 +10:00
Anton Markelov
664cb4bbde use bufio.Reader instead bufio.Scanner 2017-07-12 12:08:00 +10:00
Anton Markelov
bca53cd10a add error handling when we work with task output 2017-07-12 11:26:55 +10:00
Viktor Anderling
8bc1b7f2d2 Allow concurrency for tasks that does not collide
Two different concurrency modes are implemented, and is enabled by
setting "concurrency_mode" in the config file to either "project" or "node".

When "project" concurrency is enabled, tasks will run in parallel if and
only if they do not share the same project id, with no regard to the
nodes/hosts that are affected.

When "node" concurrency is enabled, a task will run in parallel if and
only if the hosts affected by tasks already running does not intersect
with the hosts that would be affected by the task in question.

If "concurrency_mode" is not specified, no task will start before the
previous one has finished.

The collision check is based on the output from the "--list-hosts"
argument to ansible, which uses the hosts specified in the inventory.
Thus, if two different hostnames are used that points to the same node,
such as "127.0.0.1" and "localhost", there will be no collision and two
tasks may connect to the same node concurrently. If this behaviour is
not desired, one should make sure to not include aliases for their hosts
in their inventories when enabling concurrency mode.

To restrict the amount of parallel tasks that runs at the same time, one
can add the "max_parallel_tasks" to the config file. This defaults to a
humble 10 if not specified.
2017-05-29 17:27:56 +02:00
Matej Kramny
ca66c6d6f8 rewrite login functions 2017-05-20 18:46:36 +02:00
Matej Kramny
68c5c49fdc base path resources
fixes #350
2017-05-20 16:14:36 +02:00
Matej Kramny
0c6bf78a5f Merge pull request #355 from TeliaSweden/master
Fix nil pointer dereference when updating Template. Solves #337
2017-05-20 15:07:58 +02:00
Matej Kramny
37d8c71bba Merge pull request #345 from strangeman/alert-setting-343
Add option for per-project telegram alert to different chats
2017-05-20 15:07:42 +02:00
Eric Cornely
26fa3267a0 Get tasks details
Reference issue #356

Get a single task
2017-05-18 14:29:57 +02:00
Viktor Anderling
bb064198dd Fix nil pointer dereference when updating Template
When updating a template with empty "Extra CLI Arguments" field, the
template.Arguments pointer becomes nil. The previous check whether this
variable is the empty string fails if it is already nil.
The fix introduces a lazy nil check before the empty string-check.
2017-05-16 16:49:56 +02:00
Anton Markelov
bff8297145 add option for per-project telegram alert to different chats 2017-05-03 14:27:58 +10:00
Anton Markelov
6a8bebe32b fix login logic when ldap is enabled 2017-04-24 20:05:41 +10:00
Anton Markelov
336773698c fix alert templates after 5bcb34e 2017-04-22 13:22:16 +10:00
Matej Kramny
6b60329fe1 fix #323 2017-04-19 18:16:04 +01:00
Matej Kramny
fe8851bcfe fixes for #310 2017-04-18 16:37:44 +01:00
Matej Kramny
9fd49333de Merge branch 'develop' of github.com:ansible-semaphore/semaphore into develop 2017-04-18 15:54:51 +01:00
Matej Kramny
60a6570bdc Merge pull request #299 from galexrt/improve-sql-error
Fix the primary key creation queries in v2.2.1 migration
2017-04-18 15:54:40 +01:00
Matej Kramny
5bcb34ef62 improvements for #287 2017-04-18 15:36:09 +01:00
Matej Kramny
96140045ae improve codebase after #275 2017-04-18 15:21:20 +01:00
Matej Kramny
4b6a518b73 fixes resulting from master merge 2017-04-18 14:58:48 +01:00
Matej Kramny
db4948cb89 Merge branch 'master' into develop
# Conflicts:
#	Dockerfile
#	api/login.go
#	api/projects/environment.go
#	api/projects/project.go
#	api/projects/templates.go
#	api/tasks/runner.go
#	api/users.go
#	db/versionHistory.go
#	util/bindata.go
2017-04-18 14:48:31 +01:00
Matej Kramny
9d65c7e81a Merge pull request #304 from z010107/master
Add JSON validation in environment model
2017-04-18 14:36:21 +01:00
Anton Markelov
68f5aec9b6 make ldap searched parameters configurable 2017-04-04 22:27:06 +10:00
Anton Markelov
ce4278ae97 merge with actual master 2017-04-04 21:49:00 +10:00
Anton Markelov
e11af62892 add logrus logging, disable LDAP username and password editing on backend 2017-03-28 11:38:53 +10:00
Anton Markelov
308c1e64ef add simple LDAP authentification to the config and login page 2017-03-27 14:53:00 +10:00
Anton Markelov
ffa4d70037 add response code check for telegram 2017-03-24 17:50:26 +10:00
Anton Markelov
90d7708647 add basic telegram alerting 2017-03-22 17:22:09 +10:00
Anton Markelov
5f956c6013 add more verbosity about tasks to the Events description 2017-03-21 12:40:00 +10:00
Andrey Krasilnikov
3a60b4c166 Add extra validation for environment JSON 2017-03-18 12:57:41 +03:00
Krasilnikov Andrey
69410bb0e8 Add JSON validation in environment model 2017-03-17 17:34:30 +03:00
Alexander Trost
afd2a720f7 Fix the primary key creation queries
Add id column to task__output table "instead"
Print error message in case of database errors
2017-03-16 17:32:42 +01:00
laeshiny
c2a1165fc4 Add sort, order parameter to Get Request of "project/id/users"
For sorting the list, add parameters to Get Request
- sort: sorting target name
 example) name (or username or email or admin)

- order: ordering manner
 example) asc (or desc)
2017-03-17 00:41:44 +09:00
laeshiny
addf6c2f1a Add sort, order parameter to Get Request of "project/id/repositories"
For sorting the list, add parameters to Get Request
- sort: sorting target name
 example) name (or git_url or ssh_key)

- order: ordering manner
 example) asc (or desc)
2017-03-17 00:31:34 +09:00
laeshiny
2ac4ace2f4 Removed comment 2017-03-17 00:19:46 +09:00
laeshiny
6c80cee3ea Add sort, order parameter to Get Request of "project/id/key"
For sorting the list, add parameters to Get Request
- sort: sorting target name
 example) name (or type)

- order: ordering manner
 example) asc (or desc)
2017-03-17 00:18:16 +09:00
laeshiny
dba2a44c39 Add sort, order parameter to Get Request of "project/id/environment"
For sorting the list, add parameters to Get Request
- sort: sorting target name
 example) name

- order: ordering manner
 example) asc (or desc)
2017-03-17 00:09:52 +09:00
laeshiny
fa69fd13d8 Add sort, order parameter to Get Request of "project/id/inventory"
For sorting the list, add parameters to Get Request
- sort: sorting target name
 example) name (or type)

- order: ordering manner
 example) asc (or desc)
2017-03-16 23:55:50 +09:00
laeshiny
b61833d4fb Add missing prefix pt to query 2017-03-16 23:53:38 +09:00
laeshiny
d87ca8b8e3 Add sort, order parameter to Get Request of "project/id/templates"
For sorting the list, add parameters to Get Request
- sort: sorting target name
 example) alias (or playbook or ssh_key or inventory or environment or repository)

- order: ordering manner
 example) asc (or desc)
2017-03-16 23:30:41 +09:00
laeshiny
8c30b75c57 Rearrange list of Task Template, Inventory, Environment, Team in UI
- Add "order by alias (or name)" to query of getting list in Task Template, Inventory, Environment, Team
2017-03-15 00:04:48 +09:00
Matej Kramny
7b457df590 Merge pull request #287 from strangeman/email-alerts
Email alerts
2017-03-13 13:39:49 -07:00
Anton Markelov
1e95790197 made changes from review 2017-03-13 12:30:48 +10:00
Anton Markelov
2a66610d78 english muthafucka do you speak it!? 2017-03-11 17:54:52 +10:00
laeshiny
89fc1f77c8 correct the response content and code
- add an inventory id to the response content
- replace the response code to 201 (Created)
2017-03-11 14:47:26 +09:00
laeshiny
d944f252c7 add content to response of post /project/{project_id}/inventory 2017-03-10 23:56:23 +09:00
Anton Markelov
a436e97511 fix user alerts updating 2017-03-10 19:54:38 +10:00
Anton Markelov
8ada2d0b95 Merge branch 'master' into email-alerts 2017-03-10 16:28:52 +10:00
Anton Markelov
0993a002ea add alert setting for project 2017-03-10 16:25:42 +10:00
Anton Markelov
86100939bd provide NULL instead of empty string, when Extra CLI Arguments was deleted 2017-03-10 10:40:11 +10:00