Commit Graph

9 Commits (dev)

Author SHA1 Message Date
ByteList c50a2e5a2a
Vendor updated 2021-04-21 11:35:33 +02:00
ByteList 29e68260f4 v1.14.1
* BUGFIXES
   * Fix bug clone wiki (#15499) (#15502)
   * Github Migration ignore rate limit, if not enabled (#15490) (#15495)
   * Use subdir for URL (#15446) (#15493)
   * Query the DB for the hash before inserting in to email_hash (#15457) (#15491)
   * Ensure review dismissal only dismisses the correct review (#15477) (#15489)
   * Use index of the supported tags to choose user lang (#15452) (#15488)
   * Fix wrong file link in code search page (#15466) (#15486)
   * Quick template fix for built-in SSH server in admin config (#15464) (#15481)
   * Prevent superfluous response.WriteHeader (#15456) (#15476)
   * Fix ambiguous argument error on tags (#15432) (#15474)
   * Add created_unix instead of expiry to migration (#15458) (#15463)
   * Fix repository search (#15428) (#15442)
   * Prevent NPE on avatar direct rendering if federated avatars disabled (#15434) (#15439)
   * Fix wiki clone urls (#15430) (#15431)
   * Fix dingtalk icon url at webhook (#15417) (#15426)
   * Standardise icon on projects PR page (#15387) (#15408)
 * ENHANCEMENTS
   * Add option to skip LFS/attachment files for `dump` (#15407) (#15492)
   * Clone panel fixes (#15436)
   * Use semantic dropdown for code search query type (#15276) (#15364)
 * BUILD
   * Build go-git variants for windows (#15482) (#15487)
   * Lock down build-images dependencies (Partial #15479) (#15480)
 * MISC
   * Performance improvement for list pull requests (#15447) (#15500)
   * Fix potential copy lfs records failure when fork a repository (#15441) (#15485)
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEtW48dDeknhNoYvXenYpXraojLpUFAmB49LoACgkQnYpXraoj
 LpU5qg//VeGo6XqAvilX9xFbX1Q6ZgtiASE1tFGBZhj13Os2U7tFSPsSfYCtloQu
 MUD1Bvdh87bLztg5X/x8u2uHKVnLed7Nuur3o5JATeR54qvA0ySguTX3al+PDTD9
 JOKcEECCcRgLOqJpYjNBj9h2tOjgjBHKN4VmJWv14epmE+5U/TTKxRmbUS6famFA
 C0YeqMg5VSiWjv1J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0XPdjEWWVN1ZvbY0Gvafx9nj0qFBtQ8wcd56JpnBIOoy
 X6Z7+SBFcu5lsOH6h2IlT0flsB4J3iypdvRG4RXSVmWKoGjpKli8UnP4yzryiILq
 hGpSTmp9SM8wyFEr5aJvsxVq7QttzqHEWjAXYEFp1Wn8HSu7kSOMJgGtI/BwNF68
 KhJVz4J7boYVToAIHGO1g0eDhvRy+AIYOv3HfCA5fzLCIjiy8gg=
 =3sN9
 -----END PGP SIGNATURE-----

Merge tag 'v1.14.1' of github.com:go-gitea/gitea into dev

v1.14.1

* BUGFIXES
  * Fix bug clone wiki (#15499) (#15502)
  * Github Migration ignore rate limit, if not enabled (#15490) (#15495)
  * Use subdir for URL (#15446) (#15493)
  * Query the DB for the hash before inserting in to email_hash (#15457) (#15491)
  * Ensure review dismissal only dismisses the correct review (#15477) (#15489)
  * Use index of the supported tags to choose user lang (#15452) (#15488)
  * Fix wrong file link in code search page (#15466) (#15486)
  * Quick template fix for built-in SSH server in admin config (#15464) (#15481)
  * Prevent superfluous response.WriteHeader (#15456) (#15476)
  * Fix ambiguous argument error on tags (#15432) (#15474)
  * Add created_unix instead of expiry to migration (#15458) (#15463)
  * Fix repository search (#15428) (#15442)
  * Prevent NPE on avatar direct rendering if federated avatars disabled (#15434) (#15439)
  * Fix wiki clone urls (#15430) (#15431)
  * Fix dingtalk icon url at webhook (#15417) (#15426)
  * Standardise icon on projects PR page (#15387) (#15408)
* ENHANCEMENTS
  * Add option to skip LFS/attachment files for `dump` (#15407) (#15492)
  * Clone panel fixes (#15436)
  * Use semantic dropdown for code search query type (#15276) (#15364)
* BUILD
  * Build go-git variants for windows (#15482) (#15487)
  * Lock down build-images dependencies (Partial #15479) (#15480)
* MISC
  * Performance improvement for list pull requests (#15447) (#15500)
  * Fix potential copy lfs records failure when fork a repository (#15441) (#15485)
2021-04-21 09:43:56 +02:00
techknowlogick 47f6a4ec3f
go1.16 (#14783) 2021-02-28 18:08:33 -05:00
ByteList 30e1901439 Merge branch 'master' of github.com:go-gitea/gitea 2020-06-30 10:24:24 +02:00
Antoine GIRARD 256b178176
Update swagger to 0.20.1 (#8010)
* update swagger to 0.20.1

* fiw swagger version for validate
2019-08-28 08:55:22 +02:00
Lunny Xiao d2958d9f46 Move status table to cron package (#7370) 2019-07-15 20:13:03 -04:00
Antoine GIRARD 4c1f1f9646 Remove x/net/context vendor by using std package (#5202)
* 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
2018-11-10 18:55:36 -05:00
Antoine GIRARD 3f3383dc0a Migrate to dep (#3972)
* 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
2018-05-21 15:34:20 +03:00
Willem van Dreumel 01d957677f Oauth2 consumer (#679)
* 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)
2017-02-22 08:14:37 +01:00