summaryrefslogtreecommitdiffstats
path: root/vendor/golang.org/x
Commit message (Collapse)AuthorAgeFilesLines
* Update to github.com/lafriks/xormstore@v1.3.0 (#8317)Antoine GIRARD2019-10-027-98/+407
|
* migrate gplus to google oauth2 provider (#7885)techknowlogick2019-09-1410-0/+1187
| | | | | | | | | | * migrate gplus to google oauth2 provider. this still provides support for old gplus connections. * Update models/oauth2.go Co-Authored-By: Antoine GIRARD <sapk@users.noreply.github.com> * make vendor
* use go 1.13 (#8088)techknowlogick2019-09-1289-11004/+378
| | | | | | | | | | * use go 1.13 * use go 1.13 in gomod file * Update Makefile * update swagger deps
* Use vendored go-swagger (#8087)Antoine GIRARD2019-09-0466-1/+31319
| | | | | | | | | | | | | | * Use vendored go-swagger * vendor go-swagger * revert un wanteed change * remove un-needed GO111MODULE * Update Makefile Co-Authored-By: techknowlogick <matti@mdranta.net>
* Strict name matching for Repository.GetTagID() (#8074)guillep2k2019-09-0428-0/+1777
| | | | | | | | * Strict name matching for Repository.GetTagID() * Perform make swagger-check swagger-validate vendor * Add test for GetTagID()
* Make CI work (#8057)guillep2k2019-09-0228-335/+200
| | | | | | | | | | | | | | | | | | | | | | | * Use export GOPROXY=https://goproxy.cn before build * Add go version to generate command * Reproduced the entire build procedure - see notes I've used: sudo go clean -i -r -cache -testcache -modcache make clean make generate make golangci-lint make revive make swagger-check make swagger-validate make test-vendor <--- this now fails make vendor <--- this now produced changes git commit -a <--- this commit * Add fix from #8059 to complete CI tests
* Update swagger to 0.20.1 (#8010)Antoine GIRARD2019-08-2835-95/+200
| | | | | | * update swagger to 0.20.1 * fiw swagger version for validate
* update gopkg.in/src-d/go-git.v4 to v4.13.1 (#7705)Antoine GIRARD2019-08-011-1/+1
|
* Update src-d/go-git to v4.13.0 (#7688)Antoine GIRARD2019-07-3183-41/+2854
| | | | | | | | * update gopkg.in/src-d/go-git.v4 v4.13.0 * mod tidy * vendor
* Move status table to cron package (#7370)Lunny Xiao2019-07-156-161/+191
|
* Add additional password hash algorithms (closes #5859) (#6023)EpicCoder2019-07-0716-0/+2815
|
* switch to use gliderlabs/ssh for builtin server (#7250)techknowlogick2019-07-0613-6/+15
| | | | | | resolves git conflicts from #3896 (credit to @belak, in case github doesn't keep original author during squash) Co-Authored-By: Matti Ranta <techknowlogick@gitea.io>
* update go-git to v4.12.0 - fixes #7248 (#7249)techknowlogick2019-06-19235-14006/+69934
|
* Handle CORS requests (#6289)Tamal Saha2019-05-13137-553/+4363
|
* Better logging (#6038) (#6095)zeripath2019-04-02172-6960/+32502
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Panic don't fatal on create new logger Fixes #5854 Signed-off-by: Andrew Thornton <art27@cantab.net> * partial broken * Update the logging infrastrcture Signed-off-by: Andrew Thornton <art27@cantab.net> * Reset the skip levels for Fatal and Error Signed-off-by: Andrew Thornton <art27@cantab.net> * broken ncsa * More log.Error fixes Signed-off-by: Andrew Thornton <art27@cantab.net> * Remove nal * set log-levels to lowercase * Make console_test test all levels * switch to lowercased levels * OK now working * Fix vetting issues * Fix lint * Fix tests * change default logging to match current gitea * Improve log testing Signed-off-by: Andrew Thornton <art27@cantab.net> * reset error skip levels to 0 * Update documentation and access logger configuration * Redirect the router log back to gitea if redirect macaron log but also allow setting the log level - i.e. TRACE * Fix broken level caching * Refactor the router log * Add Router logger * Add colorizing options * Adjust router colors * Only create logger if they will be used * update app.ini.sample * rename Attribute ColorAttribute * Change from white to green for function * Set fatal/error levels * Restore initial trace logger * Fix Trace arguments in modules/auth/auth.go * Properly handle XORMLogger * Improve admin/config page * fix fmt * Add auto-compression of old logs * Update error log levels * Remove the unnecessary skip argument from Error, Fatal and Critical * Add stacktrace support * Fix tests * Remove x/sync from vendors? * Add stderr option to console logger * Use filepath.ToSlash to protect against Windows in tests * Remove prefixed underscores from names in colors.go * Remove not implemented database logger This was removed from Gogs on 4 Mar 2016 but left in the configuration since then. * Ensure that log paths are relative to ROOT_PATH * use path.Join * rename jsonConfig to logConfig * Rename "config" to "jsonConfig" to make it clearer * Requested changes * Requested changes: XormLogger * Try to color the windows terminal If successful default to colorizing the console logs * fixup * Colorize initially too * update vendor * Colorize logs on default and remove if this is not a colorizing logger * Fix documentation * fix test * Use go-isatty to detect if on windows we are on msys or cygwin * Fix spelling mistake * Add missing vendors * More changes * Rationalise the ANSI writer protection * Adjust colors on advice from @0x5c * Make Flags a comma separated list * Move to use the windows constant for ENABLE_VIRTUAL_TERMINAL_PROCESSING * Ensure matching is done on the non-colored message - to simpify EXPRESSION
* Use Go1.11 module (#5743)Mura Li2019-03-2774-9661/+17798
| | | | | | | | | | | | | | | | | | * Migrate to go modules * make vendor * Update mvdan.cc/xurls * make vendor * Update code.gitea.io/git * make fmt-check * Update github.com/go-sql-driver/mysql * make vendor
* Integrate OAuth2 Provider (#5378)Jonas Franz2019-03-085-0/+779
|
* Implement git refs API for listing references (branches, tags and other) (#5354)Lauris BH2018-11-2733-0/+9453
| | | | | | | | | | | | | | | | * Inital routes to git refs api * Git refs API implementation * Update swagger * Fix copyright * Make swagger happy add basic test * Fix test * Fix test again :)
* Remove x/net/context vendor by using std package (#5202)Antoine GIRARD2018-11-1012-149/+388
| | | | | | | | | | | | * Update dep github.com/markbates/goth * Update dep github.com/blevesearch/bleve * Update dep golang.org/x/oauth2 * Fix github.com/blevesearch/bleve to c74e08f039e56cef576e4336382b2a2d12d9e026 * Update dep golang.org/x/oauth2
* Update vendor/golang.org/x/sys (#5059)Antonio Huete Jimenez2018-10-26256-28824/+107186
|
* Update x/net (#5169)Antoine GIRARD2018-10-2614-3031/+3448
|
* add letsencrypt to Gitea (#4189)Fluf2018-08-2129-278/+4444
|
* Migrate to dep (#3972)Antoine GIRARD2018-05-2151-2074/+9676
| | | | | | | | | | | | * Update makefile to use dep * Migrate to dep * Fix some deps * Try to find a better version for golang.org/x/net * Try to find a better version for golang.org/x/oauth2
* Update to last common x/text (#3994)Antoine GIRARD2018-05-2028-7562/+4081
|
* Fix govendor for x/crupto curve25519 (#2925)Lauris BH2017-11-171-0/+834
|
* Update golang x/crypto dependencies (#2923)Lauris BH2017-11-1630-1290/+1305
|
* Improve issue search (#2387)Ethan Koenig2017-09-1611-0/+10933
| | | | | | | | | | * Improve issue indexer * Fix new issue sqlite bug * Different test indexer paths for each db * Add integration indexer paths to make clean
* Switch to keybase go-crypto (for some elliptic curve key) + test (#1925)Antoine GIRARD2017-06-1428-7361/+0
| | | | | | | | | | | | * Switch to keybase go-crypto (for some elliptic curve key) + test * Use assert.NoError and add a little more context to failing test description * Use assert.(No)Error everywhere 🌈 and assert.Error in place of .Nil/.NotNil
* Fix races in the log module by using syncmap (#1421)Mura Li2017-04-033-0/+421
|
* Implement GPG api (#710)Antoine GIRARD2017-03-1628-0/+7361
| | | | | | | | | | * Implement GPG API * Better handle error * Apply review recommendation + simplify database operations * Remove useless comments
* Oauth2 consumer (#679)Willem van Dreumel2017-02-2212-0/+1157
| | | | | | | | | | | | | | | | | | | | | | | | | * initial stuff for oauth2 login, fails on: * login button on the signIn page to start the OAuth2 flow and a callback for each provider Only GitHub is implemented for now * show login button only when the OAuth2 consumer is configured (and activated) * create macaron group for oauth2 urls * prevent net/http in modules (other then oauth2) * use a new data sessions oauth2 folder for storing the oauth2 session data * add missing 2FA when this is enabled on the user * add password option for OAuth2 user , for use with git over http and login to the GUI * add tip for registering a GitHub OAuth application * at startup of Gitea register all configured providers and also on adding/deleting of new providers * custom handling of errors in oauth2 request init + show better tip * add ExternalLoginUser model and migration script to add it to database * link a external account to an existing account (still need to handle wrong login and signup) and remove if user is removed * remove the linked external account from the user his settings * if user is unknown we allow him to register a new account or link it to some existing account * sign up with button on signin page (als change OAuth2Provider structure so we can store basic stuff about providers) * from gorilla/sessions docs: "Important Note: If you aren't using gorilla/mux, you need to wrap your handlers with context.ClearHandler as or else you will leak memory!" (we're using gorilla/sessions for storing oauth2 sessions) * use updated goth lib that now supports getting the OAuth2 user if the AccessToken is still valid instead of re-authenticating (prevent flooding the OAuth2 provider)
* Search bar for issues/pulls (#530)Ethan Koenig2017-01-253-0/+528
|
* Enables mssql support (#383)btrepp2016-12-242-0/+207
| | | | | | | | | | | | | | | | | | | * Enables mssql support Port of dlobs work in gogs. Enables options in index.js Enables MSSQL as a database option in go. Sets ID to 0 on initial migration. Required for MSSQL insert statements. Signed-off-by: Beau Trepp <beautrepp@gmail.com> * Vendors in denisenkom/go-mssqldb Includes golang.org/x/crypto/md4 as this is required by go-msssqldb Signed-off-by: Beau Trepp <beautrepp@gmail.com>
* Don't use custom PBKDF2 function (#382)Lunny Xiao2016-12-151-0/+77
|
* Integrate public as bindata optionally (#293)Thomas Boerger2016-11-30209-0/+114663
| | | | | | | | | | | | | | | | | | | | | | | | * Dropped unused codekit config * Integrated dynamic and static bindata for public * Ignore public bindata * Add a general generate make task * Integrated flexible public assets into web command * Updated vendoring, added all missiong govendor deps * Made the linter happy with the bindata and dynamic code * Moved public bindata definition to modules directory * Ignoring the new bindata path now * Updated to the new public modules import path * Updated public bindata command and drop the new prefix
* Added all required dependenciesThomas Boerger2016-11-04102-0/+189416