Commit Graph

73 Commits (be48397945c77748d412baad3493bb5bd1c95e2a)

Author SHA1 Message Date
Antoine GIRARD 8371f94d06 Rework SSH key management UI to add GPG ()
* Rework SSH key management UI to add GPG

* Add more detail to gpg key display

* Update CHANGELOG.md

* Implement deletion UI

* Implement adding gpg UI

* Various fixes

- Fix duplicate entry in locale
- Re-generate hash before verification since they are consumed

* Add missing translation

* Split template

* Catch not found/verified email error
Ethan Koenig 09fe4a2ae9 Batch updates for issues ()
Patrick G 64214a9426 Search bar fixes for and ()
Willem van Dreumel 01d957677f Oauth2 consumer ()
* 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)
Denis Denisov fd941db246 Protected branches system ()
* Protected branches system

* Moved default branch to branches section (`:org/:reponame/settings/branches`).
* Initial support Protected Branch.
  - Admin does not restrict
  - Owner not to limit
  - To write permission restrictions

* reformat tmpl

* finished the UI and add/delete protected branch response

* remove unused comment

* indent all the template files and remove ru translations since we use crowdin

* fix the push bug
Bo-Yi Wu 4c12e2a4b9 fix: fill in ssh key title on setting of repo ()
* fix: fill in ssh key title on setting of repo

* fix: Don't overwrite ssh key title if exist.
Andrew Boyarshin dc8248f8a4 Markdown rendering overhaul ()
* Markdown rendering overhaul

Cleaned up and squashed commits into single one.

Signed-off-by: Andrew Boyarshin <boyarshinand@gmail.com>

* Fix markdown API, add markdown module and API tests, improve code coverage

Signed-off-by: Andrew Boyarshin <boyarshinand@gmail.com>
Bo-Yi Wu 40f4377717 feat: fill in ssh key title automatically. ()
Lunny Xiao f35b20b042 track issue title changes ()
Shyim de81f68d4d Fixed form control is not focusable ()
Lunny Xiao 081485ecfd add milestone changed traker on issue view ()
Lunny Xiao 77ab60df83 fix bug caused by ()
Lunny Xiao f94869d2d1 Track labels changed on issue view & resolved ()
* track labels changed on issue view & resolved 

* add missing head comment & sort & fix refresh
Bo-Yi Wu d078aa30d6 feat: add search repository on dashboard. ()
Andrey Nering d2bb8ef503 Notifications: trying to get a better layout ()
* i18n button titles

* Improvements on notification page layout

* Notification count badge fixes

* Make table <tr> clickable

* Fix octicon aligment

* Fix use of AppSubUrl
Shyim 88f45ce38c Fix ()
Kazuki Sawada e5620f07a4 Fix: Issues cannot be created with labels ()
Signed-off-by: Kazuki Sawada <kazuki@6715.jp>
vz 19570f2d43 Fix install.tmpl input default value ()
* Fix install.tmpl input default value

* Update db_user to gitea

* Add when INSTALL_LOCK = false
Bwko 9ccc3698d5 Fix wrong anchors for non-latin headings () ()
Change Javascript regular expression to match non-latin characters
The regex comes from here: http://stackoverflow.com/questions/150033/regular-expression-to-match-non-english-characters#comment22322603_150078

And this patch should fixed these two issues:  
btrepp 25b5ffb6af Enables mssql support ()
* 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>
Bwko 39d0db52de Fix for , renamed username to login
Joubert RedRat 28bee28102 Replace Gogs to Gitea in installation options
Joubert RedRat ff54e4d929 Set default less and css to new default name