538 Commits (477a1cc40ebd3ecb116c632b0717bba748e914d2)

Author SHA1 Message Date
Unknwon 250be011c7 Remove redundant Unix timestamp method call
Unix() already uses UTC as timezone
8 years ago
Unknwon 69f5308761 #2903 use different reversed words and patterns for repository and user 8 years ago
Dennis Chen 6488ee12be avatar: make custom and generated avatars equal (#3301)
Sets all avatars to use PNG image format.
Keeps avatars consistent at 290x290px resolution.

Signed-off-by: Dennis Chen <barracks510@gmail.com>
8 years ago
Unknwon c083d76567 #2937 able to prohibit user login 8 years ago
Unknwon 52322ef624 models/user_mail: refactor EmailAddress 8 years ago
Sandro Santilli a4ea3bd015 Return avatar link as absolute url (#3235)
Fixes relative urls coming from api/v1

See https://github.com/drone/drone/issues/1701
8 years ago
Sandro Santilli 8a248696e9 Use a gopher as default avatar (rather than the gravatar logo) (#3208)
Also changes the avatar from a jpeg to a png, to allow for
transparent background. The indexed png is also smaller in size.

Note that at the moment the default avatar is only used when
the user requested a custom avatar and the custom avatar file
is not found (should never happen).

In the future the default avatar could be used as a default
return when by-mail avatar lookups fail too (both gravatar
and libravatar support passing a default)
8 years ago
Unknwon ff731ea07d #2814 LOWER() column value within search 8 years ago
Odin Ugedal 6ccb2d36cf Remove email from user search 8 years ago
Odin Ugedal 3253e3c5aa Make user search look in username, name and email
Make user search function look in username (lower_name), full name
(full_name) and primary email (email). This will benefit searching after
user in "explore", admin panel and when adding new collaborators.
8 years ago
Unknwon 263304b6b7 #13 fix postgres aggregate 8 years ago
Unknwon 2bf8494332 #13 finish user and repository search
Both are possible on explore and admin panel
8 years ago
Unknwon ad513a20e9 #2302 Replace time.Time with Unix Timestamp (int64) 8 years ago
Unknwon 13bd16af92 Minor fixes for #2766 8 years ago
Tamás Molnár 9c91e27933 Added: Ability to delete org avatar. 8 years ago
Unknwon a5b0400be7 #1146 finish new access rights for collaborators 8 years ago
Unknwon a2f13eae55 #1157 some avatar setting changes
- Allow to delete current avatar
8 years ago
Unknwon 2d2d85bba4 #1597 support pull requests in same repository 8 years ago
Unknwon d5a3021a7d Make markdown as an independent module 8 years ago
Unknwon 58e004f7da Remove cache avatar support and add its tests 8 years ago
Unknwon f8182ac521 #2558 delete local wiki copy when rename repo and user 9 years ago
Unknwon 5a27aea8e0 Fix random avatar does not work on Windows
path.Dir can't handle Windows case, must use filepath.Dir
9 years ago
Unknwon 4deb876343 Minor fix for #2494
- Change tooltip size from mini to tiny in profile page
9 years ago
Martin Hartkorn 674c5c37be Change user name in Pull Requests 9 years ago
Unknwon f43cc90841 #2287 Truncate repository name if too long 9 years ago
Angus Gibson e914969e4c Add default for NumFollowing field (fixes #2261)
We set the default value for the non-NULL field NumFollowing of the User
model to 0, which stops an error when the ORM tries to sync.
9 years ago
Unknwon a49af93faf #1692 APIs: Users Followers
- User profile un/follow
- List user's followers/following
9 years ago
Unknwon 9cd16c5b12 #1692 add organization APIs 9 years ago
Unknwon b117befc2b #1692 add user email APIs 9 years ago
Unknwon 19423957b1 rename import path 9 years ago
Unknwon 5d95ffe3eb #2155 The owner has reached maximum creation limit of 0 repositories 9 years ago
Unknwon 3d5d61778a #1938 #1374 disable password change for non-local users 9 years ago
Unknwon 99e9bbef6c fix bool check for repo max limit and fix hang when push repo with tons of commits 9 years ago
Unknwon 0e96a46020 fix user repo limit default value 9 years ago
Unknwon df5ed64cca #1301 "read-only" users 9 years ago
Unknwon 2a0bb1fa90 #1575 Limit repo creation 9 years ago
Unknwon 9a2e43bff2 move out git module and #1573 send push hook 9 years ago
Unknwon 830d000667 finish wiki 9 years ago
Unknwon 392f3ee210 wiki: finish new 9 years ago
Unknwon 3ca544912f #1944 Drop /org/ URL path prefix in organization home page 9 years ago
Unknwon ec8d41765d some fix to #2026 9 years ago
Unknwon f04d773f4f UI: long organization name in create repository owner list 9 years ago
Unknwon 5dc3dd1704 fix #1960 9 years ago
Unknwon 134d8e7681 work on #1961 9 years ago
Unknwon 1d57f0d64f Show custom avatars in commits 9 years ago
Unknwon 1559bd58e7 save custom avatar as PNG 9 years ago
Unknwon f255b1e86d #1896 fatal when no needed update task 9 years ago
Unknwon 6f0a41b8b2 #1511 Allow local import only for admin users 9 years ago
Unknwon 022820103d #1657 allow forcing all private repos 9 years ago
Unknwon 3fb1b6a608 drop oauth2 feature support 9 years ago
Unknwon 373731f5e8 user gomail and new activate account email tpl
- #1496: fallback plain text
- #1002: add date header
- #913: fix encoding of header
9 years ago
Unknwon 2d1bb0cf49 #1633 admin delete user 9 years ago
Unknwon be89802bd8 new admin user list UI 9 years ago
Unknwon 52ec80fa18 finish all new user settings UI 9 years ago
Unknwon 3d9b98fae4 #1585 order owners list by last changed time 9 years ago
Unknwon 0806725ca5 minor fix on #1589
Signed-off-by: Unknwon <u@gogs.io>
9 years ago
Unknwon 80701d45bb #1193 Make organization emails non-mandatory 9 years ago
Unknwon aa67de910a fix #1558 9 years ago
Unknwon 1fd5f8edf8 fix #1568 9 years ago
Unknwon 6ea28f2a47 work on #1558 9 years ago
Unknwon 63fecac537 XSS in username 9 years ago
Unknwon d01f688257 fix repository count of user is messed up 9 years ago
Unknwon f509c59ac1 new create webhook event 9 years ago
Unknwon 46bee50e45 complate list of gitignores and licenses 9 years ago
Unknwon b900863d60 rename a user method 9 years ago
Unknwon 2881456421 new webhooks list UI 9 years ago
Unknwon 260301bf2e #1535 Removing deploy key does not remove key 9 years ago
Unknwon 47ac579f09 only assign auto-admin when sign up by web 9 years ago
Unknwon 407385db7e work on #1493 9 years ago
Unknwon 30b428bf0e #1419: 500 when visit a issue with issue/comments of deleted user 9 years ago
Unknwon 817b48ed1e Show owner/poster tags of comments and fix #1312 9 years ago
Unknwon cafde1287e delete avatar when del user 9 years ago
无闻 9c0c16bb5a Merge pull request #1464 from jamesa/hide-gravatar-tooltip
Hide avatar tooltips unless you're looking at your own profile
9 years ago
James Anderson e5146155a0 Resize avatars to the same size they are displayed 9 years ago
Unknwon cbc7b7132f finish new issue action and mentions 9 years ago
Unknwon 75aff60c90 finish create issue with milestone and assignee 9 years ago
Unknwon a79586cc54 Merge branch 'develop' of github.com:gogits/gogs into feature/pull_request2
# Conflicts:
#	modules/bindata/bindata.go
#	public/css/gogs.min.css
#	templates/repo/header.tmpl
9 years ago
Unknwon 68b9d78386 remove sync.Pool and support go1.2 again 9 years ago
Unknwon 4b43ffc96c Generate random avatar based on e-mail when disable Gravatar 9 years ago
Unknwon dea3a8c6a4 WIP: create PR - choose branch 9 years ago
Unknwon b1f08d3218 more on #1443 9 years ago
Unknwon d922b7e504 #1443 set first user to be admin
...not just ID=1
9 years ago
Unknwon 39a3b768bc #334: Add Deployment Key Support 9 years ago
Unknwon b9527cd1bf #1299 force downcase e-mail 9 years ago
Unknwon e50982f5ec allow anonymous SSH clone 9 years ago
Lunny Xiao 673a76d638 Merge pull request #1211 from mephux/hotfix/type-fix-ValidatePassword
Hotfix/type fix validate password
9 years ago
Dustin Willis Webber e57594dc31 typo fix for comment 9 years ago
Dustin Willis Webber f78046fc3b typo fix 9 years ago
Unknwon 698b9e2acc #1070 Clearer error message for illegal characters 9 years ago
Unknwon 466facc009 #1067: Deleting users should remove them from collaborator lists
- fix delete user but repository watches are not decreased
9 years ago
Unknwon b72e75e522 #1024: OFFLINE_MODE Still Uses Gravatar 9 years ago
Unknwon ee68a826a5 v4 migration, merge 'dev', clean code and mirror fix 9 years ago
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
9 years ago
Unknwon 04164eada3 models: able to rename user with diff letter cases #981
- templates/org: mirror fix on name output
- routers: add missing error check
9 years ago
Unknwon 1654e9ecab templates/user/settings/emial.tmpl: little fix on UI
- routers/user: little code format
- conf/locale: update French locale
9 years ago
Unknwon 6d0f3a07d4 code fix #941 caution: undertest 10 years ago
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
10 years ago
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.
10 years ago
Unknwon 7e7160eefd first pass work on migration #925 10 years ago
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.
10 years ago
Unknwon f706102890 models: sanitize user full name when update settings 10 years ago
Unknwon 63c1f9a23f fix 500: E-mail already used in user settings page 10 years ago
Peter Smit 66e2016eeb Fix for wrong email query
Changing EmailAdress.OwnerId to EmailAddress.Uid should have accompanied this change
10 years ago
无闻 a18decf4cc Merge pull request #755 from phsmit/multiple_emails
Multiple emails
10 years ago
Peter 20b5c23a19 Small fixes to multiple_emails feature 10 years ago
Unknwon c4820f119d work on #754 10 years ago
Peter 6919c80f0b Add function to the model for email address management (add/delete/activate) 10 years ago
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.
10 years ago
Joseph Crail 39c068400e Fix spelling errors in comments. 10 years ago
Andrew Burns 00cf3e4dab Use the avatar.HashEmail function instead of hashing email directly. Fixes #700 10 years ago
Unknwon 5338808600 fix #676 10 years ago
Unknwon d75013a0e8 fix #580 10 years ago
Unknwon dc53270da9 Fix 653 10 years ago
Unknwon 8ea7ba3afa fix #644 10 years ago
Unknwon ef275ebf62 more on change avatar 10 years ago
Unknwon 55dfe2c978 custom avatar upload 10 years ago
Unknwon 32dcaefafa fox #620 10 years ago
Unknwon 340a4595dd support duoshuo mirror of gravatar 10 years ago
Unknwon 9e22840483 fix #622 10 years ago
Unknwon 0c5ba4573a fix session API broken and SQL pretection 10 years ago
Unknwon 83283bca4c Safe work 10 years ago
Unknwon f1d8746264 Fix fork repo and macaron API broken 10 years ago
Unknwon 963354c5d7 Add raw, history file button, and other mirror fixes 10 years ago
Unknwon 405ee14711 Fix SMTP auth logic 10 years ago
无闻 c1d047d16e Merge pull request #508 from chadoe/homelink
Fix user HomeLink when using a suburl
10 years ago
Martin van Beurden bb05ef907b Fix AvatarLink when using a suburl and gravatar is disabled or avatars are cached 10 years ago
Martin van Beurden 204952439a Fix user HomeLink when using a suburl 10 years ago
Unknwon b8368f98ff Add directory level commit message 10 years ago
Unknwon 71e4689d11 Page: User profile 10 years ago
Unknwon bd55b78775 Page: Commits and fix #249 10 years ago
Unknwon 5bbeeb0f1b Page: Commits and fix #249 10 years ago
Unknwon 7ba9257a7f Add suburl support 10 years ago
Martin van Beurden 0055cbd365 Allow Gogs to run from a suburl behind a reverse proxy. e.g. http://mydomain.com/gogs/
Conflicts:
	modules/setting/setting.go

Conflicts:
	templates/repo/release/list.tmpl
	templates/user/dashboard/dashboard.tmpl

Conflicts:
	routers/repo/setting.go
10 years ago
Christopher Brickley f94d7c3f51 clarify name/username/owner/pusher for webhook 10 years ago
Unknwon d2aff9a46a Continue working on new admin pages 10 years ago
Unknwon 1aec1a2dda Finish new admin dashboard 10 years ago
Unknwon 74b31566cf Finsih add/remove repo in organization 10 years ago
Unknwon 21a1b8e5a3 Finish new edit team page, add member to team 10 years ago
Unknwon 36b4c57ff1 Finish new organization members and invitation page 10 years ago
Unknwon 755eec745f Finish new repo settings page 10 years ago
Unknwon 5e81383413 Git installation check, show image in single file view, show short SHA1 instead of 40-length string, complete log module 10 years ago
Unknwon 8dd07c0ddd New UI merge in progress 10 years ago
Justin Nuß cbcd08aa17 Mention organisation users when organisation gets mentioned 10 years ago
Unknown 3969d704a0 Merge branch 'dev' of github.com:gogits/gogs into dev 10 years ago
Unknown 0f907301b7 Fix #285 10 years ago
Christopher Brickley 63e47405b2 Only update access usernames where the username is changing #282 10 years ago
Unknown 63cc14062a Paging function for users and repositories 10 years ago
Unknown be8ac7fb75 fix #273 10 years ago
Unknown 5dbfe3c26c Finish organization homepage 10 years ago
Unknown 6e448b0714 Finish delete organization 10 years ago
Unknown 19e9104289 Organization settings page 10 years ago
Unknown 43b33440b5 Work on create organization repo and #257 10 years ago
Unknown e0f9c628c5 Add create organization 10 years ago
Unknown ad5ec45dd6 Fix #165 10 years ago
Unknown f160b4f33c Add tar.gz download button and other mirror updates 10 years ago
Unknown 4f2f3c2857 Code convention 10 years ago
Unknown e1332c5239 Fix #230 10 years ago
Unknown 688ec6ecbd Fixed #209 10 years ago
Unknown 80055bde86 Code convention 10 years ago
Unknown 5e9a45f74a Code convention 10 years ago
Unknown 4744996f9a Make gmail auth work 10 years ago
Lunny Xiao 55019bfbc5 merge all login methods 10 years ago
Lunny Xiao 4d6de6c7b9 add login name for auth type 10 years ago
Unknown e05b1385fb Bug fix 10 years ago
Unknown 33d32585b1 Add mention, read/unread support of issue tracker 10 years ago
Unknown 8ca14e2109 Improve delete SSH key 10 years ago
Lunny Xiao d8136c9c3c Merge branch 'dev-ldap' into dev 10 years ago
Lunny Xiao 1652dd5068 basic authentications 10 years ago
Unknown e7d8fadb08 Add disable gravatar option 10 years ago
Unknown a7584d16e4 Fix #150 10 years ago
Unknown 480a4ae8c5 Fix #150 10 years ago
Unknown 89c99167b2 Fix #149 10 years ago
Unknown 49dc57e336 Add /api/v1/users/search 10 years ago
Unknown 62240b6bc1 Add login by email 10 years ago
juju2013 efc05ea1de initial support for LDAP authentication/MSAD 10 years ago
Christopher Brickley b9a1d13c29 change gravatar image to match URL scheme 10 years ago
Unknown 4b9b8024ba Clean oauth code 10 years ago
Unknown 33aa4f7438 Support private repo 10 years ago
Unknown 7d07b58114 UPDATE README 10 years ago
zhsso a4cbe79567 fix 10 years ago
zhsso f3ed11d177 mistakes 10 years ago
Unknown 5d4025cb5a Add go get meta support 10 years ago
Unknown 9ea9818d32 Fix issue with log in with GitHub but need more error handle after 10 years ago
Unknown e7c8a3cb8d Add salt for every single user 10 years ago
Unknown b7c3b0cc73 Add reset password, fix #58 10 years ago
Unknown e41ab839c7 Use session for rolling back 10 years ago
Unknown eb803ec5eb Add transfer repository 10 years ago
Unknown e9c4156c87 Add: rename user 10 years ago
Unknown 2a0066420a Fix bug work with sqlite3 10 years ago
slene 4c70249f75 fix some link 10 years ago
Unknown ae92f92dee Locating issue 10 years ago
Unknown 59bbddb318 Mirror fix 10 years ago
Unknown f8cfb81fb0 Mirror updates 10 years ago
skyblue 4bac361605 merge with branch master 10 years ago
Unknown 97debac185 SSL enable config option 10 years ago
Gogs 964e537479 append route to web 10 years ago
Unknown 59ffdbf6f8 Add create, list, view issue 10 years ago
Unknown b3cfd9fe0c Fix SSH key bug in windows 10 years ago
Unknown 932f717adb Fixing bug 10 years ago
Unknown 06631ab91f Basic admin data table, models changes 10 years ago
Unknown 3b387336bf Add Repository/user name filter 10 years ago
Unknown 4cf6cc63b0 Work on admin 10 years ago
Unknown 9f9cd6bfc6 Work on admin 10 years ago
Unknown 6f68620860 Pools limit concurrent nums 10 years ago
Unknown 35d473f04a Finish verify email 10 years ago
Unknown de087c7b4a Add send register confirm mail 10 years ago
Unknown fbbae2b721 Working on register mail confirmation 10 years ago
Unknown a3a93aef11 Add some config options 10 years ago
Unknown 9eabbe68a6 Bug fix 10 years ago
Unknown e51afe4621 Add postgres support, clean code, code review 10 years ago
Unknown 757e4f658c Completely rule out the cgo 10 years ago
Unknown 425a58afd6 Bug fix 10 years ago
slene f6e32b1b08 finish delete ssh key and delete account. all with confirm. 10 years ago
Unknown 0754dd2f95 Add delete all feeds when delete account 10 years ago
Unknown ab747f2790 Fix delete SSH key in file 10 years ago
slene 06deed820d Add HomeLink and AvatarLink to User model. Please use .SignedUser in template. 10 years ago
Unknown 47edf7f4f9 Finish update password and profile 10 years ago
Unknown 57bc2d1ca0 Add update user profile back end, add new gitignore and license, add template data to public profile page 10 years ago
FuXiaoHei 37fae304d3 single repository page ui, add spec handler to get repo 10 years ago
Unknown 12f81de349 Finish delete user 10 years ago
Lunny Xiao 23400dd0a2 add GetReposFiles 10 years ago
Lunny Xiao b5cc4078a9 add repo list of dashboard 10 years ago
Unknown 5a05d6633d Merge utils to modules 10 years ago
Unknown a2a59f8ad1 Change /user/profile URL to /user/:username 10 years ago
Unknown 56a7ab4da5 Finish log in user 10 years ago
Unknown 1249392c83 Finish register user 10 years ago
Unknown c6f2c23b05 Add binding form for register user 10 years ago
Unknown e59f90b8fe Update 10 years ago
Lunny Xiao 9c3a8ff299 add run user 10 years ago
Lunny Xiao f7826d4ed7 create repository from web 10 years ago
Lunny Xiao b1b6def5bc improved ssh supports 11 years ago
Unknown 4b92a6c2df Add code of delete user 11 years ago
Lunny Xiao be0ba9ea88 add ssh supports(unfinished) 11 years ago
Unknown 94311e187f Finish register user 11 years ago
Unknown b455478df8 Finish register user 11 years ago
Unknown 3eb1ab9e8b Add UI for register user 11 years ago
Unknown 8ef198dfac Formatting 11 years ago
Lunny Xiao 237193ef2a add user models 11 years ago