Commit Graph

189 Commits

Author SHA1 Message Date
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
Denis Gukov
472aa30d61 feat: add File type of Inventory 2017-10-26 12:33:03 +05: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
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
Matej Kramny
6b60329fe1 fix #323 2017-04-19 18:16:04 +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
Krasilnikov Andrey
69410bb0e8 Add JSON validation in environment model 2017-03-17 17:34:30 +03: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
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
86100939bd provide NULL instead of empty string, when Extra CLI Arguments was deleted 2017-03-10 10:40:11 +10:00
Anton Markelov
4bbedac795 add alert setting for user and (WIP) project 2017-03-10 10:12:55 +10:00
Matej Kramny
2a2b7e8aed merge models -> db 2017-02-22 21:12:16 -08:00
Matej Kramny
3f3da12d37 🎉 gin -> net/http 2017-02-22 15:21:49 -08:00
Matej Kramny
1ddfcd5b5f moar refactor
- c.MustGet( -> context.Get(r,
- c.Get( -> context.GetOk(r,
2017-02-22 14:21:52 -08:00
Matej Kramny
2f16f70e98 begin refactor gin -> net/http 2017-02-22 14:17:36 -08:00
Matej Kramny
556affc8d8 fix #183 2016-12-21 17:56:38 +09:00
gcavalcante8808
ed46338da5 Fixes #188. 2016-11-15 13:44:41 -02:00
Tokuhiro Matsuno
0d33a7df5e Clear repository cache after update/delete repository information.
Close #159
2016-06-30 19:54:09 -04:00
Matej Kramny
b4cab16fda Improved UI
- Fixes #94
- Fixes admin permissions (needed to manipulate users)
2016-06-17 13:16:46 -07:00
Matej Kramny
d960ec53f0 Update repositories 2016-06-13 19:37:40 -07:00
Matej Kramny
c58d9ac34f refactoring 2016-05-24 10:55:48 +01:00