03ea72595d
* Initial Commit for OAuth API This builds and run and return the right error. Need to test it and then adding all users as possible client * Added mising dependency * just compile already... * Fixing template test * Imrpovements Moved db stuff in models Added some tests Added form in modpanel to add/update a client Added controllers for add/update of client * Added Forms + speed improvements Controller oauth client listing + html Controller oauth client delete + messages Messages on comment delete New ES config that disable ES if set to false. Improve load speed on local development Fix a load config bug Fix index admin & translation string sign_out broken by @ewhal * Sanitize empty strig in form array + css Multiple empty array of strings are sanitized for the oauth client create form Added some css for the form display * Upload and Create form works * Fix splitting response types * Removing required on secret when updating * fix travis error * Fix travis template test * Update dependency * Moved to jinzhu instead of azhao * randomizen secret on creation * Final touch on oath api improved display name fix grant form csrf fix login csrf on oauth * Fix gorm test * fix template test * Fixing deleted dependency issue * Make travis faster * Fix typo * Fix csrf for api calls * This shouldn't be exempt * Removing hard coded hash @ewhal Don't forget to replace the hash in tokens.go with another one * Added an example on how to use OAuth middleware * Renamed fosite utils to oauth2 utils
123 lignes
3,2 Kio
Text
123 lignes
3,2 Kio
Text
Changelog
|
|
=========
|
|
|
|
v0.2.15 (2016-08-30)
|
|
|
|
Features
|
|
* Allow float and boolean in Query()'s queryStruct @davyzhang
|
|
* Support Map in Query() @yangmls
|
|
* Support Map in Send() @longlongh4
|
|
* Document RedirectPolicy @codegoalie
|
|
* Enable Debug mode by ENV variable @heytitle
|
|
* Add Retry() @xild
|
|
Bug/Fixes
|
|
* Allow bodies with all methods @pkopac
|
|
* Change std "errors" pkg to "github.com/pkg/errors" @pkopac
|
|
|
|
v0.2.14 (2016-08-30)
|
|
|
|
Features
|
|
* Support multipart @fraenky8
|
|
* Support OPTIONS request @coderhaoxin
|
|
* Add EndStruct method @franciscocpg
|
|
* Add AsCurlCommand @jaytaylor
|
|
* Add CustomMethod @WaveCutz
|
|
* Add MakeRequest @quangbuule
|
|
Bug/Fixes
|
|
* Disable keep alive by default
|
|
|
|
|
|
v0.2.13 (2015-11-21)
|
|
|
|
Features
|
|
* Add DisableTransportSwap to stop gorequest from modifying Transport settings.
|
|
Note that this will effect many functions that modify gorequest's
|
|
tranport. (So, use with caution.) (Bug #47, PR #59 by @piotrmiskiewicz)
|
|
|
|
|
|
v0.2.12 (2015-11-21)
|
|
|
|
Features
|
|
* Add SetCurlCommand for printing comparable CURL command of the request
|
|
(PR #60 by @QuentinPerez)
|
|
|
|
v0.2.11 (2015-10-24)
|
|
|
|
Bug/Fixes
|
|
* Add support to Slice data structure (Bug #40, #42)
|
|
* Refactor sendStruct to be public function SendStruct
|
|
|
|
v0.2.10 (2015-10-24)
|
|
|
|
Bug/Fixes
|
|
* Fix incorrect text output in tests (PR #52 by @QuentinPerez)
|
|
* Fix Panic and runtime error properly (PR #53 by @QuentinPerez)
|
|
* Add support for "text/plain" and "application/xml" (PR #51 by
|
|
@smallnest)
|
|
* Content-Type header is also equivalent with Type function to identify
|
|
supported Gorequest's Target Type
|
|
|
|
v0.2.9 (2015-08-16)
|
|
|
|
Bug/Fixes
|
|
* ParseQuery accepts ; as a synonym for &. thus Gorequest Query won't
|
|
accept ; as in a query string. We add additional Param to solve this (PR
|
|
#43 by @6david9)
|
|
* AddCookies for bulk adding cookies (PR #46 by @pencil001)
|
|
|
|
v0.2.8 (2015-08-10)
|
|
|
|
Bug/Fixes
|
|
* Added SetDebug and SetLogger for debug mode (PR #28 by @dafang)
|
|
* Ensure the response Body is reusable (PR #37 by alaingilbert)
|
|
|
|
v0.2.7 (2015-07-11)
|
|
|
|
Bug/Fixes
|
|
* Incorrectly reset "Authentication" header (Hot fix by @na-ga PR #38 & Issue #39)
|
|
|
|
v0.2.6 (2015-07-10)
|
|
|
|
Features
|
|
* Added EndBytes (PR #30 by @jaytaylor)
|
|
|
|
v0.2.5 (2015-07-01)
|
|
|
|
Features
|
|
* Added Basic Auth support (pull request #24 by @dickeyxxx)
|
|
|
|
Bug/Fixes
|
|
* Fix #31 incorrect number conversion (PR #34 by @killix)
|
|
|
|
v0.2.4 (2015-04-13)
|
|
|
|
Features
|
|
* Query() now supports Struct as same as Send() (pull request #25 by @figlief)
|
|
|
|
v0.2.3 (2015-02-08)
|
|
|
|
Features
|
|
* Added Patch HTTP Method
|
|
|
|
Bug/Fixes
|
|
* Refactored testing code
|
|
|
|
v0.2.2 (2015-01-03)
|
|
|
|
Features
|
|
* Added TLSClientConfig for better control over tls
|
|
* Added AddCookie func to set "Cookie" field in request (pull request #17 by @austinov) - Issue #7
|
|
* Added CookieJar (pull request #15 by @kemadz)
|
|
|
|
v0.2.1 (2014-07-06)
|
|
|
|
Features
|
|
* Implemented timeout test
|
|
|
|
Bugs/Fixes
|
|
* Improved timeout feature by control over both dial + read/write timeout compared to previously controlling only dial connection timeout.
|
|
|
|
v0.2.0 (2014-06-13) - Send is now supporting Struct type as a parameter
|
|
|
|
v0.1.0 (2014-04-14) - Finished release with enough rich functions to do get, post, json and redirectpolicy
|
|
|