Commit Graph

448 Commits

Author SHA1 Message Date
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
8f5717d15d when requesting Task Templates, sort in ascending order by Alias 2017-03-16 23:32:22 +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
ecb1958fef Merge branch 'develop' of github.com:ansible-semaphore/semaphore into 260 2017-03-16 10:20:44 +09:00
Matej Kramny
596e8bb8b8 Merge pull request #297 from laeshiny/develop
Add copy button to "Task Templates" page
2017-03-14 18:06:55 -07:00
laeshiny
44d7750b85 correct to reformat from spaces to tabs 2017-03-15 08:06:26 +09:00
Matej Kramny
360c416a77 Merge pull request #300 from galexrt/improved-docker-entrypoint
Improve the docker entrypoint and dockerfile
2017-03-14 12:40:31 -07:00
Alexander Trost
5b68136b63 Improve the docker entrypoint and dockerfile
Improve the Dockerfile build speed and space by flattening all to one
layer

Added env var in Dockerfile for version and arch of semaphore

Show error message when the playbook path can't be created
2017-03-14 18:49:07 +01: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
laeshiny
16579df28a Add css (margin-left: 5px) to button between copy and run 2017-03-14 19:02:27 +09:00
laeshiny
c92e1175f7 Add page title to class at ui-view
there is no criteria that separate between pages.
 if apply css to the specific page, use this class
2017-03-14 19:01:25 +09:00
Matej Kramny
7b457df590 Merge pull request #287 from strangeman/email-alerts
Email alerts
2017-03-13 13:39:49 -07:00
laeshiny
a47657d5a2 Merge remote-tracking branch 'origin/259' into develop 2017-03-13 22:35:17 +09:00
Anton Markelov
f20252e8bf update swagger docs with models changes 2017-03-13 18:45:25 +10:00
Anton Markelov
1e95790197 made changes from review 2017-03-13 12:30:48 +10:00
Matej Kramny
37c6d1708f Merge pull request #286 from strangeman/empty-cli-args
Provide NULL instead of empty string, when Extra CLI Arguments was deleted
2017-03-12 17:13:08 -07:00
Matej Kramny
1bf90662bf Merge pull request #292 from laeshiny/develop
Fix duplicated mapping key mapping key "Task"
2017-03-12 17:12:25 -07:00
Matej Kramny
ef4b1edd51 Merge pull request #294 from galexrt/sql-primary-keys
Added primary keys to the existing tables
2017-03-12 17:11:28 -07:00
Alexander Trost
bf83b7e312 Added v2.2.1 sql migration file that adds primary keys to the tables 2017-03-12 19:51:03 +01:00
laeshiny
c611f2dbbe Add copy feature to task templates.
if the user clicks the copy button, semaphore opens the adding modal with the filled same content (Playbook Alias, Playbook Name, SSH Key, Inventory, Playbook Repository, Environment and Extra CLI Arguments)
2017-03-12 23:50:28 +09:00
laeshiny
024c082be2 Add copy button at Task Templates page 2017-03-12 21:10:34 +09:00
laeshiny
57efc78518 Fix duplicated mapping key mapping key "Task"
- replace key "Task" to "TaskOutput"
2017-03-12 11:14:19 +09:00
Matej Kramny
51c7ea879a Merge pull request #289 from laeshiny/develop
add content to response of post /project/{project_id}/inventory
2017-03-11 12:31:30 -08:00
Anton Markelov
2a66610d78 english muthafucka do you speak it!? 2017-03-11 17:54:52 +10:00
laeshiny
2590b14f9e correct the response code in api document 2017-03-11 15:00:13 +09: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
laeshiny
d853d64fa9 add .idea/ to .gitignore for Pycharm 2017-03-10 22:13:13 +09:00
Anton Markelov
a436e97511 fix user alerts updating 2017-03-10 19:54:38 +10:00
Anton Markelov
ff31d42cca add new config parameters to the setup procedure 2017-03-10 16:59:29 +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
Anton Markelov
4bbedac795 add alert setting for user and (WIP) project 2017-03-10 10:12:55 +10:00
Matej Kramny
82726588cb Merge branch 'master' into develop 2017-03-09 11:25:00 -08:00
Alan Campbell
d1e88706bc Merge pull request #283 from laeshiny/master
add missing package and command
2017-03-08 13:11:01 -05:00
laeshiny
2a63d4372b add missing package and command 2017-03-09 00:28:55 +09:00
Anton Markelov
c8cad513e6 use html/template for mail subject and body 2017-03-07 18:45:37 +10:00
Anton Markelov
a9c994cf35 move mail sending logic to util package 2017-03-07 17:15:35 +10:00
Matej Kramny
6c633fdbf2 Merge branch 'master' into develop
# Conflicts:
#	api/auth.go
#	cli/main.go
#	db/Event.go
2017-03-06 11:34:10 -08:00
Matej Kramny
e6d98c9dc3 Merge pull request #277 from strangeman/wrong-time
Use UTC_TIMESTAMP instead of NOW
2017-02-28 12:01:14 -08:00
Anton Markelov
4ee8f80555 Use UTC_TIMESTAMP instead of NOW 2017-02-28 21:46:27 +10:00
Matej Kramny
4d353d41e5 Merge pull request #275 from commodityvectors/sshcert
Added SSH certificate support
2017-02-23 11:00:02 -08:00
Douglas Temple
09dfe7463e Added SSH certificate support 2017-02-23 11:21:18 +00: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
44017069df update Dockerfile, changelog & release scripts 2017-02-22 13:58:45 -08:00