Commit Graph

160 Commits (8a3ee795d2d069bbb57b3d134367078c8e8391d5)

Author SHA1 Message Date
Unknwon 68b9d78386 remove sync.Pool and support go1.2 again
Unknwon 4b43ffc96c Generate random avatar based on e-mail when disable Gravatar
Unknwon b1f08d3218 more on
Unknwon d922b7e504 set first user to be admin
...not just ID=1
Unknwon 39a3b768bc : Add Deployment Key Support
Unknwon b9527cd1bf force downcase e-mail
Unknwon e50982f5ec allow anonymous SSH clone
Lunny Xiao 673a76d638 Merge pull request from mephux/hotfix/type-fix-ValidatePassword
Hotfix/type fix validate password
Dustin Willis Webber e57594dc31 typo fix for comment
Dustin Willis Webber f78046fc3b typo fix
Unknwon 698b9e2acc Clearer error message for illegal characters
Unknwon 466facc009 : Deleting users should remove them from collaborator lists
- fix delete user but repository watches are not decreased
Unknwon b72e75e522 : OFFLINE_MODE Still Uses Gravatar
Unknwon ee68a826a5 v4 migration, merge 'dev', clean code and mirror fix
Unknwon 7ccab9cd09 Merge branch 'dev' of github.com:gogits/gogs into access
Conflicts:
	gogs.go
	models/models.go
	models/user.go
	templates/.VERSION
	templates/org/home.tmpl
Unknwon 04164eada3 models: able to rename user with diff letter cases
- templates/org: mirror fix on name output
- routers: add missing error check
Unknwon 1654e9ecab templates/user/settings/emial.tmpl: little fix on UI
- routers/user: little code format
- conf/locale: update French locale
Unknwon 6d0f3a07d4 code fix caution: undertest
Peter Smit 6c1ee384f1 Merge remote-tracking branch 'mine/access_refactor' into access_refactor
Conflicts:
	cmd/serve.go
	models/access.go
	models/migrations/migrations.go
	models/org.go
	models/repo.go
	models/user.go
	modules/middleware/org.go
	modules/middleware/repo.go
	routers/api/v1/repo.go
	routers/org/teams.go
	routers/repo/http.go
	routers/user/home.go
Peter Smit 0a4cda0dd4 Refactoring of the Access Table
This commit does a lot of the work of refactoring the access table in a table with id's instead of strings.

The result does compile, but has not been tested. It may eat your kittens.
Unknwon 7e7160eefd first pass work on migration
Peter Smit 4e79adf6b5 Refactoring of the Access Table
This commit does a lot of the work of refactoring the access table in a table with id's instead of strings.

The result does compile, but has not been tested. It may eat your kittens.
Unknwon f706102890 models: sanitize user full name when update settings
Unknwon 63c1f9a23f fix 500: E-mail already used in user settings page
Peter Smit 66e2016eeb Fix for wrong email query
Changing EmailAdress.OwnerId to EmailAddress.Uid should have accompanied this change
无闻 a18decf4cc Merge pull request from phsmit/multiple_emails
Multiple emails
Peter 20b5c23a19 Small fixes to multiple_emails feature
Unknwon c4820f119d work on
Peter 6919c80f0b Add function to the model for email address management (add/delete/activate)
Peter Smit 99599c099f Add alternative email addresses to the model
A new struct is created named EmailAddress that contains alternative
email addresses for users. Also the email related methods; IsEmailUsed
and GetUserByEmail are updated.

DeleteUser deletes the extra email addresses and DeleteInactivateUsers
also deletes inactive accounts. This could be factored out, but should
do it for now.
Joseph Crail 39c068400e Fix spelling errors in comments.
Andrew Burns 00cf3e4dab Use the avatar.HashEmail function instead of hashing email directly. Fixes
Unknwon 5338808600 fix
Unknwon d75013a0e8 fix
Unknwon dc53270da9 Fix 653
Unknwon 8ea7ba3afa fix
Unknwon ef275ebf62 more on change avatar
Unknwon 55dfe2c978 custom avatar upload
Unknwon 32dcaefafa fox
Unknwon 340a4595dd support duoshuo mirror of gravatar
Unknwon 9e22840483 fix
Unknwon 0c5ba4573a fix session API broken and SQL pretection
Unknwon 83283bca4c Safe work
Unknwon f1d8746264 Fix fork repo and macaron API broken
Unknwon 963354c5d7 Add raw, history file button, and other mirror fixes
Unknwon 405ee14711 Fix SMTP auth logic
无闻 c1d047d16e Merge pull request from chadoe/homelink
Fix user HomeLink when using a suburl
Martin van Beurden bb05ef907b Fix AvatarLink when using a suburl and gravatar is disabled or avatars are cached
Martin van Beurden 204952439a Fix user HomeLink when using a suburl
Unknwon b8368f98ff Add directory level commit message