mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	| @@ -16,7 +16,7 @@ github.com/gogits/go-gogs-client = commit:92e76d616a | |||||||
| github.com/lib/pq = commit:30ed2200d7 | github.com/lib/pq = commit:30ed2200d7 | ||||||
| github.com/macaron-contrib/binding = commit:548a793679 | github.com/macaron-contrib/binding = commit:548a793679 | ||||||
| github.com/macaron-contrib/cache = commit:928d5c35cd | github.com/macaron-contrib/cache = commit:928d5c35cd | ||||||
| github.com/macaron-contrib/captcha = commit:fbb8b1ebb5 | github.com/macaron-contrib/captcha =  | ||||||
| github.com/macaron-contrib/csrf = commit:98ddf5a710 | github.com/macaron-contrib/csrf = commit:98ddf5a710 | ||||||
| github.com/macaron-contrib/i18n = commit:da2b19e90b | github.com/macaron-contrib/i18n = commit:da2b19e90b | ||||||
| github.com/macaron-contrib/oauth2 = commit:8f394c3629 | github.com/macaron-contrib/oauth2 = commit:8f394c3629 | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								gogs.go
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								gogs.go
									
									
									
									
									
								
							| @@ -17,7 +17,7 @@ import ( | |||||||
| 	"github.com/gogits/gogs/modules/setting" | 	"github.com/gogits/gogs/modules/setting" | ||||||
| ) | ) | ||||||
|  |  | ||||||
| const APP_VER = "0.6.1.0325 Beta" | const APP_VER = "0.6.1.0327 Beta" | ||||||
|  |  | ||||||
| func init() { | func init() { | ||||||
| 	runtime.GOMAXPROCS(runtime.NumCPU()) | 	runtime.GOMAXPROCS(runtime.NumCPU()) | ||||||
|   | |||||||
| @@ -282,7 +282,7 @@ type IssueUser struct { | |||||||
| } | } | ||||||
|  |  | ||||||
| // NewIssueUserPairs adds new issue-user pairs for new issue of repository. | // NewIssueUserPairs adds new issue-user pairs for new issue of repository. | ||||||
| func NewIssueUserPairs(repo *Repository, issueID, orgID, posterID, assigneeID int64) (err error) { | func NewIssueUserPairs(repo *Repository, issueID, orgID, posterID, assigneeID int64) error { | ||||||
| 	users, err := repo.GetCollaborators() | 	users, err := repo.GetCollaborators() | ||||||
| 	if err != nil { | 	if err != nil { | ||||||
| 		return err | 		return err | ||||||
| @@ -295,6 +295,7 @@ func NewIssueUserPairs(repo *Repository, issueID, orgID, posterID, assigneeID in | |||||||
|  |  | ||||||
| 	isNeedAddPoster := true | 	isNeedAddPoster := true | ||||||
| 	for _, u := range users { | 	for _, u := range users { | ||||||
|  | 		iu.Id = 0 | ||||||
| 		iu.Uid = u.Id | 		iu.Uid = u.Id | ||||||
| 		iu.IsPoster = iu.Uid == posterID | 		iu.IsPoster = iu.Uid == posterID | ||||||
| 		if isNeedAddPoster && iu.IsPoster { | 		if isNeedAddPoster && iu.IsPoster { | ||||||
| @@ -306,6 +307,7 @@ func NewIssueUserPairs(repo *Repository, issueID, orgID, posterID, assigneeID in | |||||||
| 		} | 		} | ||||||
| 	} | 	} | ||||||
| 	if isNeedAddPoster { | 	if isNeedAddPoster { | ||||||
|  | 		iu.Id = 0 | ||||||
| 		iu.Uid = posterID | 		iu.Uid = posterID | ||||||
| 		iu.IsPoster = true | 		iu.IsPoster = true | ||||||
| 		iu.IsAssigned = iu.Uid == assigneeID | 		iu.IsAssigned = iu.Uid == assigneeID | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								public/css/gogs.min.css
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								public/css/gogs.min.css
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @@ -1,5 +1,5 @@ | |||||||
| .home { | .home { | ||||||
| 	padding-bottom: @footer-margin * 2; | 	padding-bottom: @footer-margin * 3; | ||||||
| 	.logo { | 	.logo { | ||||||
| 		max-width: 250px; | 		max-width: 250px; | ||||||
| 	} | 	} | ||||||
|   | |||||||
| @@ -1 +1 @@ | |||||||
| 0.6.1.0325 Beta | 0.6.1.0327 Beta | ||||||
		Reference in New Issue
	
	Block a user