Commit Graph

283 Commits

Author SHA1 Message Date
laeshiny
7196c86e61 when requesting Task Templates, sort in ascending order by Name 2017-03-16 23:56:09 +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
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
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
laeshiny
a47657d5a2 Merge remote-tracking branch 'origin/259' into develop 2017-03-13 22:35:17 +09: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
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
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
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
Matej Kramny
80a34026e3 bump version to 2.2.0 2017-02-22 13:30:05 -08:00
Matej Kramny
edab838083 update add templates, gh release script 2017-02-22 13:29:49 -08:00
Matej Kramny
6b26502cf5 compile with go1.8 2017-02-22 03:52:50 -08:00
Matej Kramny
002b7209b7 Merge branch 'master' of github.com:ansible-semaphore/semaphore 2017-02-22 03:51:31 -08:00
Matej Kramny
80538908a8 update contributing.md
- fix ./make.sh watch
- rename .jade -> .pug
2017-02-22 03:51:23 -08:00
Matej Kramny
900db2abd3 Merge pull request #257 from strangeman/dashboard-alias
Add task template names to dashboard
2017-02-22 02:50:07 -08:00
Matej Kramny
c828cc7e4a Merge pull request #262 from strangeman/templateid-ui
Add/Update Template dialog: Add Template ID field, mark some fields as required
2017-02-22 02:49:18 -08:00
Matej Kramny
d6f12251c6 Merge pull request #268 from nightvisi0n/fix_go-github-api-break
fix api breaking of google/go-github
2017-02-21 12:52:42 -08:00
julian
245a033456
fix api breaking of google/go-github
google/go-github broke the api of their functions with 23d6cb9cac
This commit adds the context `context.TODO()` to the call of `gh.Repositories.ListReleases` which is meant to be used "when it's unclear which Context to use or it is not yet available (because the surrounding function has not yet been extended to accept a Context parameter)" (citing https://godoc.org/context)

Signed-off-by: julian <dev@jneureuther.de>
2017-02-21 20:44:35 +01:00
Matej Kramny
ce596b810d Merge pull request #265 from ansible-semaphore/fix-264
Reload on modal dismiss
2017-02-15 12:02:04 -08:00
Alan Campbell
20b601f45b Reload on modal dismiss 2017-02-15 01:20:57 -05:00
Alan Campbell
68b9d10bb7 Merge pull request #258 from strangeman/docs-improve
Small documentation improvements
2017-02-11 22:42:34 -05:00
Anton Markelov
7c5370269d Add/Update Template dialog: Add Template ID field, mark some fields as required 2017-02-12 12:15:05 +10:00
Anton Markelov
4cf992c3e9 Add task template name to log too 2017-02-11 21:44:15 +10:00