Commit Graph

704 Commits (b6744607484008826d18f129326664105b9d7bfc)

Author SHA1 Message Date
Antoine GIRARD 14fe9010ae GPG commit validation ()
* GPG commit validation

* Add translation

+ some little fix

* Move hash calc after retrieving of potential key + missing translation

* Add some little test
Sandro Santilli a9de85d31d Improve style of user OpenID setting page ()
* Improve user openid list CSS and regenerate CSS
Sandro Santilli 71d16f69ff Login via OpenID-2.0 ()
Antoine GIRARD 925b252927 Fix missing less sources for oauth ()
Patrick G efbb895ebe Cleaner ui for admin, repo settings, and user settings page () ()
Patrick G 03d79983ee Cleaner UI for explore page () ()
* Take navbar out of column
* Add styles to navbar
* Changed navbar classes
* Remove unneeded !important from index.css
* Remove unneeded !important from _explore.less
Ethan Koenig 09fe4a2ae9 Batch updates for issues ()
Sandro Santilli f0efb615c5 Add LibreJS support ()
See See https://www.gnu.org/software/librejs/

Closes 
Patrick G 64214a9426 Search bar fixes for and ()
Patrick G 5463640fe6 Fix double borders on edit page () ()
* Fix double borders on edit page ()

* Add border modifications to less file
Andrew Boyarshin 817710dd47
Fix span wrapping all the things
Signed-off-by: Andrew Boyarshin <andrew.boyarshin@gmail.com>
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
Andrew Boyarshin d4b752def9 Fix table headers ()
Signed-off-by: Andrew Boyarshin <andrew.boyarshin@gmail.com>
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 5348e8b71a Fix color: closed PR was showing as purple instead of red
Bwko 4faf097fb9 Added webkit-font-smoothing ()
Ethan Koenig 833f8b94c2 Search bar for issues/pulls ()
unclejack 8bc431952f public/img: reduce the size of PNG images ()
Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
Kjell Kvinge f9a3aa8737 add scroolbars to wide graphs. ()
* Add scrollbars to graph and revlist if needed.

* Add border
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 ()
Andrey Nering 769e0a3ea6 Notifications: mark as read/unread and pin ()
* Use relative URLs

* Notifications - Mark as read/unread

* Feature of pinning a notification

* On view issue, do not mark as read a pinned notification
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
Andrey Nering 79d527195d Merge pull request from andreynering/notifications-step-2
Notifications - Step 2
Manuel Kuhlmann eb9ce39bb7 Fix unified diff view styling ()
Signed-off-by: Manuel Kuhlmann <manuel@mkuhlmann.org>
Manuel Kuhlmann a5e07da8be Fix diff split view coloring () ()
Signed-off-by: Manuel Kuhlmann <manuel@mkuhlmann.org>
Andrey Nering f59672a18d More fine graned colors
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:  
Andrey Nering 6069abe5fd Notifications - Step 2
Kjell Kvinge 22e1bd31c6 commithgraph / timeline ()
* Add model and tests for graph

* Add route and router for graph

* Add assets for graph

* Add template for graph
Sl@ny c22f9114c7 Implementation of Folder Jumping
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
Thomas Boerger b6a95a8cb3 Integrate public as bindata optionally ()
* 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
Andrey Nering 96c9fef35f Update home page to Gitea ()
Rachid Zarouali c040f2fbb1 first batch of Readme updates ()
Sandro Santilli 864d1b1f9f Fix type in unused constant name ()
* Write LDAP, SMTP, PAM, DLDAP back to all uppercase

* Fix type in unused constant name

* Other MixCased fixes

* Complete MixerCasing of template constants

* Re uppercase LTS and LDAPS suffixes

* Uppercase JSON suffix in constant names

* Proper case LoginNoType

* Prefix unexported template path constants with "tpl"
Joubert RedRat 28bee28102 Replace Gogs to Gitea in installation options
Andrey Nering ef5fc3c959 CSS: Stronger colors for diffs
Joubert RedRat ff54e4d929 Set default less and css to new default name