Commit Graph

235 Commits

Author SHA1 Message Date
Cory Bennett 37c07fa0b5 fix --noedit flag with "dups" command 2016-08-09 23:51:04 -07:00
Cory Bennett 6f73b8cf0d add "votes" and "labels" to default view template 2016-08-09 23:48:28 -07:00
Cory Bennett 45dbb00683 gofmt 2016-08-09 23:16:41 -07:00
Cory Bennett d96bd464b1 gofmt 2016-08-09 23:16:20 -07:00
Cory Bennett 30fd301a61 add "blockerType" config param, for issueLinkType use for "blocks" command 2016-08-09 23:09:31 -07:00
Cory Bennett a823c59af1 add "debug" make target 2016-08-09 23:06:46 -07:00
Cory Bennett 4b822b100a update gitter room 2016-08-08 00:10:04 -07:00
Cory Bennett 704bce3b23 fix typo 2016-08-05 13:11:31 -07:00
Cory Bennett 3711ff7202 add gitter badge 2016-08-05 13:09:17 -07:00
Cory Bennett a713cfa360 make the bootstrapping simpler, move more setup to 000setup.t 2016-08-04 11:11:03 -07:00
Cory Bennett 25debaad5b fix links 2016-08-03 09:58:00 -07:00
Cory Bennett b6cc91b934 mention osht for testing 2016-08-03 09:56:54 -07:00
Cory Bennett 403a362c5c start adding some basic integration tests 2016-08-03 00:13:53 -07:00
Cory Bennett 0c807b45fe default issuetype to "Bug" for project that have Bug, otherwise try "Task" 2016-08-03 00:09:09 -07:00
Cory Bennett 8238fe87b6 make view template only show fields that have values 2016-08-02 23:16:08 -07:00
Cory Bennett adc2aceb89 make default create template only display fields if they are valid fields for the project 2016-08-02 22:44:24 -07:00
Cory Bennett f5f3e28b23 ignore empty json fields when processing templates 2016-08-02 22:36:51 -07:00
Cory Bennett 469def0296 allow JIRA_LOG_FORMAT env variable to control log output format 2016-08-02 20:12:30 -07:00
Cory Bennett 752a94d94b remove extraneous debug 2016-08-02 20:06:40 -07:00
Cory Bennett 8ad91be1c6 add logout command
modify password prompt to echo masked password
2016-08-02 20:04:11 -07:00
Cory Bennett f93fe7909c tweak cookies to store hostname
dump all http request/response with --verbose
2016-08-02 19:23:24 -07:00
Cory Bennett f54267b523 load configs in order of closest to cwd (/etc/go-jira.yml is last) 2016-08-02 19:20:23 -07:00
Cory Bennett 54df77d181 [#48] fix quoting for "make install" so it actually installs to homedir 2016-08-01 11:31:06 -07:00
Cory Bennett 642db779db Updated Changelog 2016-07-30 20:13:00 -07:00
Cory Bennett dd7d1ccd3a [#43] add support for jira done|todo|prog commands 2016-07-30 20:05:13 -07:00
Cory Bennett fdce34dfc0 [issue #46] add documentation for how to create/edit templates 2016-07-08 12:12:02 -07:00
coryb e7a78a1cc1 Merge pull request #24 from mikepea/edit_template_common
Reporter is not generally editable.
2016-06-30 08:53:34 -07:00
Cory Bennett 055b61d400 Updated Changelog 2016-06-29 23:11:04 -07:00
Cory Bennett 0980f8e197 [#44] Close tmpfile before rename to work around "The process cannot access the file because it is being used by another process" error on windows. 2016-06-29 23:09:27 -07:00
Cory Bennett 4f0dbf5c7b trim out unused platforms, we can add then back in on request
publish windows binaries as .exe
2016-06-29 23:08:54 -07:00
Cory Bennett 0e4e85aafd fix for versions with 'v' prefix 2016-06-28 23:07:06 -07:00
Cory Bennett fa4ac4b7ec fix v in version prefix 2016-06-28 23:02:03 -07:00
Cory Bennett a86642f2f4 Updated Changelog 2016-06-28 23:00:49 -07:00
Cory Bennett adcedc4855 use USERPROFILE instead of HOME for windows, rework paths to use
filepath.Join for better cross platform support
2016-06-29 06:57:59 +01:00
Cory Bennett d5156d54fe Merge branch 'master' of github.com:Netflix-Skunkworks/go-jira 2016-06-29 01:40:21 +01:00
Cory Bennett ab5c185bf3 make binary name .exe for windows 2016-06-29 01:26:28 +01:00
Cory Bennett 1cf943df13 update Makefile so it builds under cygwin on windows 2016-06-27 15:51:21 -07:00
Cory Bennett 1fef349ba2 fix build under Cygwin on Windows 2016-06-27 15:46:14 -07:00
coryb 42e787e042 Merge pull request #39 from mikepea/system_template_dir
Include templates from a system path
2016-03-30 14:47:17 -07:00
Mike Pountney cf10f53789 Include templates from a system path
I've found that several of the built-in templates need a bit of work
to be useful with our JIRA installation (eg #24), so this allows for admins
to make a site-specific set of defaults easily.
2016-03-30 20:20:55 +01:00
coryb 95403a4948 Merge pull request #38 from jglick/patch-1
Noting jira login
2016-03-30 08:48:21 -07:00
Jesse Glick e5053e88cd Noting jira login 2016-03-30 09:39:49 -04:00
coryb 964cf6b4c0 Merge pull request #37 from tobyjoe/add-resource-expansion
Added support for the ```expand``` option for Issues
2016-02-22 09:04:54 -08:00
tobyjoe fb4afc971a Added support for the ``expand`` option for Issues
The ```expand``` option is used to specify resource expansion in the
Jira REST API.

It's particularly useful for things like fetching the ```changelog``` of
an Issue.

This PR adds the support to the ```ListIssues``` and ```ViewIssue```
functions of the ```jira.Cli``` struct.

I'm happy to add tests, but there is currently no test suite in the
master branch, so I did not want to bog down the PR with tangential features.
2016-02-22 08:46:08 -05:00
Cory Bennett 7bfc6e810c change for api changes to go-logging 2016-02-11 15:11:06 -08:00
coryb 7ef8c4fe63 fix #36, build instructions needed updating 2016-02-10 17:03:27 -08:00
coryb b86921351a Merge pull request #35 from QuinnyPig/fix-readme
Fix path for installation instructions
2016-02-02 12:06:48 -08:00
Corey Quinn 4c51e5b1a6 Fix path for command 2016-02-02 11:19:54 -08:00
coryb e4fa47d48c Merge pull request #34 from jonathanio/fix/issuetypes-url-escaping
Fix issuetype calls adding URL escaping
2016-02-01 08:46:21 -08:00
Jonathan Wright e4a25e2ec2 Fix issuetype calls adding URL escaping
It is valid within JIRA to have issue types with spaces (for example we use
"Pro-Active Task") however the issuetype variable is not escaped prior to
formatting into the uri string.

This fix imports "net/url" and escapes all inclusions of issuetype into uri.
The only other variables formatted into uri are c.endpoint and issue which
shouldn't contain special characters.
2016-02-01 11:10:30 +00:00