1
0
mirror of https://github.com/interviewstreet/go-jira.git synced 2025-03-23 21:09:19 +02:00

22 Commits

Author SHA1 Message Date
Andy Grunwald
146229d2ab
fix(product): Make product naming consistent, rename JIRA to Jira ()
Atlassian names the product "Jira".
In this library, the product name is used different (JIRA) and
inconsistent (sometimes JIRA, sometimes Jira).

closes issue 
2020-05-14 17:18:31 +02:00
Andy Grunwald
ef6d633ae1 style: Fix typos
go-jira/examples/renderedfields/main.go
	Line 51: warning: "Targetting" is a misspelling of "Targeting" (misspell)

go-jira/authentication.go
	Line 169: warning: "authenticaiton" is a misspelling of "authentication" (misspell)

go-jira/issue.go
	Line 802: warning: "specifiying" is a misspelling of "specifying" (misspell)
2020-05-03 17:46:02 +02:00
Suhaib Mujahid
e1f4265e2b
feat(context): Add support for context package 2020-05-03 15:38:32 +02:00
Andy Grunwald
43e8242f2c
style: Fix staticcheck (static analysis) errors for this library ()
* style: Fix staticcheck errors for "error strings should not be capitalized (ST1005)"

staticcheck is a static analysis tool for go.
It reports several "error strings should not be capitalized (ST1005)" messages.
Here, we fix it to be more compliant with the go coding styleguide.

Related: 

* style: Fix staticcheck errors for "printf-style function with dynamic format ... (SA1006)"

staticcheck is a static analysis tool for go.
It reports several "printf-style function with dynamic format string and no further arguments should use print-style function instead (SA1006)" messages.
Here, we fix it to be more compliant with the go coding styleguide.

Related: 

* style: Fix staticcheck errors for "type X is unused (U1000)"

staticcheck is a static analysis tool for go.
It reports several "type X is unused (U1000)" messages.
Here, we fix it to be more compliant with the go coding styleguide.

Related: 

* style: Fix staticcheck errors for "should use X instead (S1003 & SA6005)"

staticcheck is a static analysis tool for go.
It reports several

- should use !bytes.Contains(b, []byte(`"password":"bar"`)) instead (S1003)
- should use strings.EqualFold instead (SA6005)

messages.
Here, we fix it to be more compliant with the go coding styleguide.

Related: 

* style: Fix staticcheck errors for "unnecessary use of fmt.Sprintf (S1039)"

staticcheck is a static analysis tool for go.
It report several "unnecessary use of fmt.Sprintf (S1039)" messages.
Here, we fix it to be more compliant with the go coding styleguide.

Related: 

* style: Fix staticcheck errors for "this value of X is never used (SA4006)"

staticcheck is a static analysis tool for go.
It report several "this value of X is never used (SA4006)" messages.
Here, we fix it to be more compliant with the go coding styleguide.

Related: 

* style: Fix staticcheck errors for "redundant return statement (S1023)"

staticcheck is a static analysis tool for go.
It report several "redundant return statement (S1023)" messages.
Here, we fix it to be more compliant with the go coding styleguide.

Related: 

* style: Fix staticcheck errors for "possible nil pointer dereference (SA5011)"

staticcheck is a static analysis tool for go.
It report several

    file.go:Line:character: possible nil pointer dereference (SA5011)
        file.go:Line:character: this check suggests that the pointer can be nil

messages.
Here, we fix it to be more compliant with the go coding styleguide.

Related: 

* style: Fix staticcheck errors for "this value of X is never used (SA4006)"

staticcheck is a static analysis tool for go.
It report several "this value of X is never used (SA4006)" messages.
Here, we fix it to be more compliant with the go coding styleguide.

Related: 
2020-05-02 23:08:01 +02:00
Bob Briski
56d87db29c Cleaning a bunch of go vet issues 2018-02-28 22:46:54 -08:00
Bob Briski
02b410e02f Deprecating auth service 2018-02-28 08:36:22 -08:00
Andy Grunwald
1c3a3519ff go fmt and docs 2017-05-01 15:06:18 +02:00
Andy Grunwald
880a13c107 Fixed typos 2017-05-01 15:03:03 +02:00
Andy Grunwald
69e7535b62 go fmt and fixed some typos 2017-05-01 14:59:27 +02:00
Florian Krauthan
cf2bcefedb Added basic auth support to the library 2017-02-08 14:37:57 -08:00
Andy Grunwald
31508ce192 Fixed a few fmt and debug outputs 2016-10-03 13:33:46 +02:00
Bidesh Thapaliya
e75e7750f2 Adds test for authentication on expected json. Adds test to metaissue 2016-09-27 13:26:07 +02:00
Bidesh Thapaliya
d3ec8f16c0 Removes check for statuscode as jiraclient already does it. Adds test for nonok status code returned 2016-09-27 12:18:30 +02:00
Bidesh Thapaliya
eb07612cbf Completes the APi for session. Adds logout and GetCurrentUser 2016-09-07 14:24:02 +02:00
Brent Hughes
dbaf2d76f2 Fixed a nil response when getting a session cookie 2016-08-16 12:56:26 -05:00
Andy Grunwald
883aca79c0 Refactored struct types by reusing already existing components 2016-06-03 23:14:27 +02:00
Andy Grunwald
077933ab00 Fixed typo in Cookies 2016-06-03 22:43:41 +02:00
Evgen Kostenko
be2f16214f get Authenticated reports session from main repository 2016-06-01 15:52:52 +03:00
Evgen Kostenko
f0e5259584 Change Coocke session get from request 2016-05-27 13:01:54 +03:00
Andy Grunwald
559b76c3ef Fixed possible panic if resp is nil 2016-04-23 15:23:15 +02:00
Andy Grunwald
36ff795367 Updated JIRA API doc links 2016-03-27 14:24:48 +02:00
Andy Grunwald
e848968f58 Added the first go code 2015-09-03 12:25:21 +02:00