09fe4a2ae9 
								
							
								 
							
						 
						
							
							
								
								Batch updates for issues ( #926 )  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								64214a9426 
								
							
								 
							
						 
						
							
							
								
								Search bar fixes for  #1187  and  #1205  ( #1207 )  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								817710dd47 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix span wrapping all the things  
							
							... 
							
							
 
							
							Signed-off-by: Andrew Boyarshin <andrew.boyarshin@gmail.com> 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								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) 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								fd941db246 
								
							
								 
							
						 
						
							
							
								
								Protected branches system ( #339 )  
							
							... 
							
							
 
							
							* 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 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								4c12e2a4b9 
								
							
								 
							
						 
						
							
							
								
								fix: fill in ssh key title on setting of repo ( #950 )  
							
							... 
							
							
 
							
							* fix: fill in ssh key title on setting of repo
* fix: Don't overwrite ssh key title if exist. 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								dc8248f8a4 
								
							
								 
							
						 
						
							
							
								
								Markdown rendering overhaul ( #186 )  
							
							... 
							
							
 
							
							* 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> 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								40f4377717 
								
							
								 
							
						 
						
							
							
								
								feat: fill in ssh key title automatically. ( #863 )  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								f35b20b042 
								
							
								 
							
						 
						
							
							
								
								track issue title changes ( #841 )  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								de81f68d4d 
								
							
								 
							
						 
						
							
							
								
								Fixed form control is not focusable  #687  ( #837 )  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								081485ecfd 
								
							
								 
							
						 
						
							
							
								
								add milestone changed traker on issue view ( #804 )  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								77ab60df83 
								
							
								 
							
						 
						
							
							
								
								fix bug caused by  #788  ( #799 )  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								f94869d2d1 
								
							
								 
							
						 
						
							
							
								
								Track labels changed on issue view &  resolved   #542  ( #788 )  
							
							... 
							
							
 
							
							* track labels changed on issue view & resolved  #542 
* add missing head comment & sort & fix refresh 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								d078aa30d6 
								
							
								 
							
						 
						
							
							
								
								feat: add search repository on dashboard. ( #773 )  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								f9a3aa8737 
								
							
								 
							
						 
						
							
							
								
								add scroolbars to wide graphs. ( #608 )  
							
							... 
							
							
 
							
							* Add scrollbars to graph and revlist if needed.
* Add border 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								d2bb8ef503 
								
							
								 
							
						 
						
							
							
								
								Notifications: trying to get a better layout ( #660 )  
							
							... 
							
							
 
							
							* i18n button titles
* Improvements on notification page layout
* Notification count badge fixes
* Make table <tr> clickable
* Fix octicon aligment
* Fix use of AppSubUrl 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								88f45ce38c 
								
							
								 
							
						 
						
							
							
								
								Fix   #646  ( #669 )  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								e5620f07a4 
								
							
								 
							
						 
						
							
							
								
								Fix: Issues cannot be created with labels ( #622 )  
							
							... 
							
							
 
							
							Signed-off-by: Kazuki Sawada <kazuki@6715.jp> 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								19570f2d43 
								
							
								 
							
						 
						
							
							
								
								Fix install.tmpl input default value ( #611 )  
							
							... 
							
							
 
							
							* Fix install.tmpl input default value
* Update db_user to gitea
* Add when INSTALL_LOCK = false 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								9ccc3698d5 
								
							
								 
							
						 
						
							
							
								
								Fix wrong anchors for non-latin headings ( #3981 ) ( #512 )  
							
							... 
							
							
 
							
							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: #3919  #3843  
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								22e1bd31c6 
								
							
								 
							
						 
						
							
							
								
								commithgraph / timeline ( #428 )  
							
							... 
							
							
 
							
							* Add model and tests for graph
* Add route and router for graph
* Add assets for graph
* Add template for graph 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								25b5ffb6af 
								
							
								 
							
						 
						
							
							
								
								Enables mssql support ( #383 )  
							
							... 
							
							
 
							
							* 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> 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								39d0db52de 
								
							
								 
							
						 
						
							
							
								
								Fix for  #361 , renamed username to login  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								28bee28102 
								
							
								 
							
						 
						
							
							
								
								Replace Gogs to Gitea in installation options  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								ff54e4d929 
								
							
								 
							
						 
						
							
							
								
								Set default less and css to new default name  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								9ac46fb983 
								
							
								 
							
						 
						
							
							
								
								Support Editorconfig on web editor  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								c0c1a4b01b 
								
							
								 
							
						 
						
							
							
								
								js: fix comment issue status button title change  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								0114fdcba4 
								
							
								 
							
						 
						
							
							
								
								Web editor: improve delete file process  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								f8a48ffaad 
								
							
								 
							
						 
						
							
							
								
								Web editor: improve code quality  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								7f7216be6e 
								
							
								 
							
						 
						
							
							
								
								Code quality improvement on JS  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								ec332cf903 
								
							
								 
							
						 
						
							
							
								
								Minor naming improvement  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								a00c932bbc 
								
							
								 
							
						 
						
							
							
								
								General code quality improvement  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								4a19fd6441 
								
							
								 
							
						 
						
							
							
								
								Web editor: temporarily disable upload and quick fix for edit and new  
							
							... 
							
							
 
							
							Try to merge into develop branch ASAP, then continue minor fixes afterwards. 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								15845cb287 
								
							
								 
							
						 
						
							
							
								
								Code clean up for new config options  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								d0a0239bac 
								
							
								 
							
						 
						
							
							
								
								Squashed commit of the following:  
							
							... 
							
							
 
							
							commit 0afcb843d7ffd596991c4885cab768273a6eb42c
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Sun Jul 31 17:13:29 2016 -0600
    Removed Upload stats as the upload table is just a temporary table
commit 7ecd73ff5535612d79d471409173ee7f1fcfa157
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Sun Jul 31 08:42:41 2016 -0600
    Fix for CodeMirror mode
commit c29b9ab531e2e7af0fb5db24dc17e51027dd1174
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Sun Jul 31 08:03:33 2016 -0600
    Made tabbing in editor use spaces
commit 23af384c53206a8a40e11e45bf49d7a149c4adcd
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Sun Jul 31 07:56:46 2016 -0600
    Fix for data-url
commit cfb8a97591cb6fc0a92e49563b7b764c524db0e9
Merge: 7fc8a89 991ce42ad7ea88cf85e9e1c7dcdd 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								c8b45ecc27 
								
							
								 
							
						 
						
							
							
								
								Render the Code view on the server (minus syntax highlighting) ( #2942 )  
							
							... 
							
							
 
							
							* render code view server side
* remove debug print
* fix multiline selection bug
* change string concatenation to bytes.Buffer for efficiency
* Fix newlines added by previous for hljs
* fix selection highlighting
* make css changes in .less 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								99385db0c4 
								
							
								 
							
						 
						
							
							
								
								#3320  code cleanup  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								72dd299ca0 
								
							
								 
							
						 
						
							
							
								
								Update .gitattributes  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								991ce42c48 
								
							
								 
							
						 
						
							
							
								
								#2162  improve repository advance options UI display  
							
							... 
							
							
 
							
							Enable/disable input based on user chosen options for wiki and issue tracker. 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								4d8b905541 
								
							
								 
							
						 
						
							
							
								
								models/ssh_key: code cleaning  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								899e799459 
								
							
								 
							
						 
						
							
							
								
								#1601  support delete issue comment  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								c2fb01a257 
								
							
								 
							
						 
						
							
							
								
								#3299  don’t pop up confirm box when leave on signin page  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								401bf944ef 
								
							
								 
							
						 
						
							
							
								
								Use SecurityProtocol to replace UseSSL in LDAP config  
							
							... 
							
							
 
							
							Initially proposed by #2376  and fixes  #3068  as well. 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								326c982660 
								
							
								 
							
						 
						
							
							
								
								Upgrade frontend assets  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								b3c05026df 
								
							
								 
							
						 
						
							
							
								
								[Feature/WIP] Confirm on editing forms ( fixes   #2881 ) ( #2980 )  
							
							... 
							
							
 
							
							* Add and start jQuery AreYouSure
* Update SimpleMDE to 1.10.1 for `forceSync` support
* Forgot to remove old version SimpleMDE 1.10.0
* formatting -.- 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								b35157f4ff 
								
							
								 
							
						 
						
							
							
								
								reduce line number creation to one DOM manipulation  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								0c9a616326 
								
							
								 
							
						 
						
							
							
								
								Update frontend resources  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								045f14fbd0 
								
							
								 
							
						 
						
							
							
								
								#1146  finsih UI work for access mode of collaborators  
							
							... 
							
							
 
							
							Collaborators have write access as default, and can be changed via repository
collaboration settings page to change between read, write and admin. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								a2f13eae55 
								
							
								 
							
						 
						
							
							
								
								#1157  some avatar setting changes  
							
							... 
							
							
 
							
							- Allow to delete current avatar 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								13e71acadf 
								
							
								 
							
						 
						
							
							
								
								Render emojis in more places.  
							
							
 
							
						 
						
							10 years ago