Unknwon
2d76de2574
#3281 fix x.Iterate returns nothing inside session scope with SQLite3
2016-07-26 17:26:48 +08:00
Unknwon
e74630ae3b
#1384 add pagination for repositories
2016-07-24 14:32:46 +08:00
Unknwon
1f2e173a74
Refactor User.Id to User.ID
2016-07-24 01:08:22 +08:00
Unknwon
46e96c008c
Use struct for UI settings
2016-07-24 00:23:54 +08:00
Unknwon
250be011c7
Remove redundant Unix timestamp method call
...
Unix() already uses UTC as timezone
2016-07-23 20:24:44 +08:00
Unknwon
69f5308761
#2903 use different reversed words and patterns for repository and user
2016-07-23 18:58:18 +08:00
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>
2016-07-21 15:31:14 +08:00
Unknwon
c083d76567
#2937 able to prohibit user login
2016-07-16 10:22:16 +08:00
Unknwon
52322ef624
models/user_mail: refactor EmailAddress
2016-07-16 10:08:04 +08:00
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
2016-07-16 08:19:30 +08:00
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)
2016-06-27 18:12:30 +08:00
Unknwon
ff731ea07d
#2814 LOWER() column value within search
2016-03-16 16:55:19 -04:00
Odin Ugedal
6ccb2d36cf
Remove email from user search
2016-03-15 19:44:58 +01:00
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.
2016-03-15 14:16:58 +01:00
Unknwon
263304b6b7
#13 fix postgres aggregate
2016-03-11 16:11:33 -05:00
Unknwon
2bf8494332
#13 finish user and repository search
...
Both are possible on explore and admin panel
2016-03-11 15:33:12 -05:00
Unknwon
ad513a20e9
#2302 Replace time.Time with Unix Timestamp (int64)
2016-03-09 19:53:30 -05:00
Unknwon
13bd16af92
Minor fixes for #2766
2016-03-06 13:24:42 -05:00
Tamás Molnár
9c91e27933
Added: Ability to delete org avatar.
2016-03-06 17:36:30 +01:00
Unknwon
a5b0400be7
#1146 finish new access rights for collaborators
2016-03-05 20:45:23 -05:00
Unknwon
a2f13eae55
#1157 some avatar setting changes
...
- Allow to delete current avatar
2016-03-05 00:51:51 -05:00
Unknwon
2d2d85bba4
#1597 support pull requests in same repository
2016-03-04 15:43:01 -05:00
Unknwon
d5a3021a7d
Make markdown as an independent module
2016-02-20 17:10:05 -05:00
Unknwon
58e004f7da
Remove cache avatar support and add its tests
2016-02-14 23:14:55 -05:00
Unknwon
f8182ac521
#2558 delete local wiki copy when rename repo and user
2016-02-05 14:11:53 -05:00
Unknwon
5a27aea8e0
Fix random avatar does not work on Windows
...
path.Dir can't handle Windows case, must use filepath.Dir
2016-02-02 10:22:27 -05:00
Unknwon
4deb876343
Minor fix for #2494
...
- Change tooltip size from mini to tiny in profile page
2016-01-28 06:07:16 -05:00
Martin Hartkorn
674c5c37be
Change user name in Pull Requests
2016-01-27 22:45:03 +01:00
Unknwon
f43cc90841
#2287 Truncate repository name if too long
2016-01-11 20:41:43 +08:00
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.
2015-12-22 11:09:28 +11:00
Unknwon
a49af93faf
#1692 APIs: Users Followers
...
- User profile un/follow
- List user's followers/following
2015-12-21 04:24:11 -08:00
Unknwon
9cd16c5b12
#1692 add organization APIs
2015-12-17 02:28:47 -05:00
Unknwon
b117befc2b
#1692 add user email APIs
2015-12-15 22:57:18 -05:00
Unknwon
19423957b1
rename import path
2015-12-15 17:25:45 -05:00
Unknwon
5d95ffe3eb
#2155 The owner has reached maximum creation limit of 0 repositories
2015-12-11 15:11:13 -05:00
Unknwon
3d5d61778a
#1938 #1374 disable password change for non-local users
2015-12-10 19:02:57 -05:00
Unknwon
99e9bbef6c
fix bool check for repo max limit and fix hang when push repo with tons of commits
2015-12-10 16:27:47 -05:00
Unknwon
0e96a46020
fix user repo limit default value
2015-12-10 12:48:45 -05:00
Unknwon
df5ed64cca
#1301 "read-only" users
2015-12-10 12:46:05 -05:00
Unknwon
2a0bb1fa90
#1575 Limit repo creation
2015-12-10 12:37:53 -05:00
Unknwon
9a2e43bff2
move out git module and #1573 send push hook
2015-12-09 20:46:05 -05:00
Unknwon
830d000667
finish wiki
2015-11-30 20:45:55 -05:00
Unknwon
392f3ee210
wiki: finish new
2015-11-27 00:24:24 -05:00
Unknwon
3ca544912f
#1944 Drop /org/ URL path prefix in organization home page
2015-11-24 19:14:00 -05:00
Unknwon
ec8d41765d
some fix to #2026
2015-11-23 20:43:04 -05:00
Unknwon
f04d773f4f
UI: long organization name in create repository owner list
2015-11-18 17:42:20 -05:00
Unknwon
5dc3dd1704
fix #1960
2015-11-16 11:11:59 -05:00
Unknwon
134d8e7681
work on #1961
2015-11-16 10:14:12 -05:00
Unknwon
1d57f0d64f
Show custom avatars in commits
2015-11-13 17:10:25 -05:00
Unknwon
1559bd58e7
save custom avatar as PNG
2015-11-13 16:43:43 -05:00
Unknwon
f255b1e86d
#1896 fatal when no needed update task
2015-11-04 21:57:10 -05:00
Unknwon
6f0a41b8b2
#1511 Allow local import only for admin users
2015-11-03 18:40:52 -05:00
Unknwon
022820103d
#1657 allow forcing all private repos
2015-10-25 04:26:26 -04:00
Unknwon
3fb1b6a608
drop oauth2 feature support
2015-09-17 16:11:44 -04:00
Unknwon
373731f5e8
user gomail and new activate account email tpl
...
- #1496 : fallback plain text
- #1002 : add date header
- #913 : fix encoding of header
2015-09-17 01:54:12 -04:00
Unknwon
2d1bb0cf49
#1633 admin delete user
2015-09-13 13:26:20 -04:00
Unknwon
be89802bd8
new admin user list UI
2015-09-11 20:42:26 -04:00
Unknwon
52ec80fa18
finish all new user settings UI
2015-09-10 11:40:34 -04:00
Unknwon
3d9b98fae4
#1585 order owners list by last changed time
2015-09-07 13:58:23 -04:00
Unknwon
0806725ca5
minor fix on #1589
...
Signed-off-by: Unknwon <u@gogs.io>
2015-09-06 18:19:30 -04:00
Unknwon
80701d45bb
#1193 Make organization emails non-mandatory
2015-09-06 10:08:14 -04:00
Unknwon
aa67de910a
fix #1558
2015-09-06 08:54:08 -04:00
Unknwon
1fd5f8edf8
fix #1568
2015-09-03 03:58:44 -04:00
Unknwon
6ea28f2a47
work on #1558
2015-09-02 05:16:30 -04:00
Unknwon
63fecac537
XSS in username
2015-09-01 12:19:52 -04:00
Unknwon
d01f688257
fix repository count of user is messed up
2015-08-30 01:13:24 +08:00
Unknwon
f509c59ac1
new create webhook event
2015-08-28 23:36:13 +08:00
Unknwon
46bee50e45
complate list of gitignores and licenses
2015-08-28 16:44:04 +08:00
Unknwon
b900863d60
rename a user method
2015-08-27 13:26:38 +08:00
Unknwon
2881456421
new webhooks list UI
2015-08-26 21:45:51 +08:00
Unknwon
260301bf2e
#1535 Removing deploy key does not remove key
2015-08-25 03:30:39 +08:00
Unknwon
47ac579f09
only assign auto-admin when sign up by web
2015-08-19 04:58:45 +08:00
Unknwon
407385db7e
work on #1493
2015-08-17 17:05:37 +08:00
Unknwon
30b428bf0e
#1419 : 500 when visit a issue with issue/comments of deleted user
2015-08-15 02:48:05 +08:00
Unknwon
817b48ed1e
Show owner/poster tags of comments and fix #1312
2015-08-14 02:43:40 +08:00
Unknwon
cafde1287e
delete avatar when del user
2015-08-12 03:46:08 +08:00
无闻
9c0c16bb5a
Merge pull request #1464 from jamesa/hide-gravatar-tooltip
...
Hide avatar tooltips unless you're looking at your own profile
2015-08-10 23:55:43 +08:00
James Anderson
e5146155a0
Resize avatars to the same size they are displayed
2015-08-10 10:43:14 -05:00
Unknwon
cbc7b7132f
finish new issue action and mentions
2015-08-10 23:31:59 +08:00
Unknwon
75aff60c90
finish create issue with milestone and assignee
2015-08-10 21:47:23 +08:00
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
2015-08-10 00:37:42 +08:00
Unknwon
68b9d78386
remove sync.Pool and support go1.2 again
2015-08-09 12:06:08 +08:00
Unknwon
4b43ffc96c
Generate random avatar based on e-mail when disable Gravatar
2015-08-09 11:46:10 +08:00
Unknwon
dea3a8c6a4
WIP: create PR - choose branch
2015-08-08 22:43:14 +08:00
Unknwon
b1f08d3218
more on #1443
2015-08-07 00:09:28 +08:00
Unknwon
d922b7e504
#1443 set first user to be admin
...
...not just ID=1
2015-08-07 00:00:11 +08:00
Unknwon
39a3b768bc
#334 : Add Deployment Key Support
2015-08-06 22:48:11 +08:00
Unknwon
b9527cd1bf
#1299 force downcase e-mail
2015-08-05 17:36:22 +08:00
Unknwon
e50982f5ec
allow anonymous SSH clone
2015-08-05 11:14:17 +08:00
Lunny Xiao
673a76d638
Merge pull request #1211 from mephux/hotfix/type-fix-ValidatePassword
...
Hotfix/type fix validate password
2015-04-24 15:03:21 +08:00
Dustin Willis Webber
e57594dc31
typo fix for comment
2015-04-16 14:40:39 -04:00
Dustin Willis Webber
f78046fc3b
typo fix
2015-04-16 14:36:32 -04:00
Unknwon
698b9e2acc
#1070 Clearer error message for illegal characters
2015-03-26 17:11:47 -04:00
Unknwon
466facc009
#1067 : Deleting users should remove them from collaborator lists
...
- fix delete user but repository watches are not decreased
2015-03-17 21:51:39 -04:00
Unknwon
b72e75e522
#1024 : OFFLINE_MODE Still Uses Gravatar
2015-03-12 20:32:38 -04:00
Unknwon
ee68a826a5
v4 migration, merge 'dev', clean code and mirror fix
2015-02-23 02:15:53 -05:00
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
2015-02-22 22:51:25 -05:00
Unknwon
04164eada3
models: able to rename user with diff letter cases #981
...
- templates/org: mirror fix on name output
- routers: add missing error check
2015-02-22 18:24:49 -05:00
Unknwon
1654e9ecab
templates/user/settings/emial.tmpl: little fix on UI
...
- routers/user: little code format
- conf/locale: update French locale
2015-02-21 22:13:47 -05:00
Unknwon
6d0f3a07d4
code fix #941 caution: undertest
2015-02-13 00:58:46 -05:00
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
2015-02-12 14:25:07 +02:00
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.
2015-02-12 14:14:45 +02:00
Unknwon
7e7160eefd
first pass work on migration #925
2015-02-11 21:58:37 -05:00
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.
2015-02-06 13:18:11 +02:00
Unknwon
f706102890
models: sanitize user full name when update settings
2015-02-04 20:04:01 -05:00
Unknwon
63c1f9a23f
fix 500: E-mail already used in user settings page
2014-12-29 20:00:07 +08:00
Peter Smit
66e2016eeb
Fix for wrong email query
...
Changing EmailAdress.OwnerId to EmailAddress.Uid should have accompanied this change
2014-12-21 09:16:56 +02:00
无闻
a18decf4cc
Merge pull request #755 from phsmit/multiple_emails
...
Multiple emails
2014-12-20 22:47:05 -05:00
Peter
20b5c23a19
Small fixes to multiple_emails feature
2014-12-20 09:26:51 +02:00
Unknwon
c4820f119d
work on #754
2014-12-18 03:26:09 -05:00
Peter
6919c80f0b
Add function to the model for email address management (add/delete/activate)
2014-12-17 17:40:10 +02:00
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.
2014-12-17 10:26:19 +02:00
Joseph Crail
39c068400e
Fix spelling errors in comments.
2014-12-06 20:22:48 -05:00
Andrew Burns
00cf3e4dab
Use the avatar.HashEmail function instead of hashing email directly. Fixes #700
2014-12-03 16:19:35 -07:00
Unknwon
5338808600
fix #676
2014-11-30 18:29:16 -05:00
Unknwon
d75013a0e8
fix #580
2014-11-30 02:26:29 -05:00
Unknwon
dc53270da9
Fix 653
2014-11-22 10:22:53 -05:00
Unknwon
8ea7ba3afa
fix #644
2014-11-21 13:10:00 -05:00
Unknwon
ef275ebf62
more on change avatar
2014-11-21 12:51:36 -05:00
Unknwon
55dfe2c978
custom avatar upload
2014-11-21 10:58:08 -05:00
Unknwon
32dcaefafa
fox #620
2014-11-17 14:53:41 -05:00
Unknwon
340a4595dd
support duoshuo mirror of gravatar
2014-11-16 20:27:04 -05:00
Unknwon
9e22840483
fix #622
2014-11-13 05:27:01 -05:00
Unknwon
0c5ba4573a
fix session API broken and SQL pretection
2014-11-04 11:37:15 -05:00
Unknwon
83283bca4c
Safe work
2014-10-25 07:50:19 -04:00
Unknwon
f1d8746264
Fix fork repo and macaron API broken
2014-10-24 18:43:17 -04:00
Unknwon
963354c5d7
Add raw, history file button, and other mirror fixes
2014-10-11 18:02:48 -04:00
Unknwon
405ee14711
Fix SMTP auth logic
2014-10-03 13:12:54 -04:00
无闻
c1d047d16e
Merge pull request #508 from chadoe/homelink
...
Fix user HomeLink when using a suburl
2014-09-28 18:05:58 -04:00
Martin van Beurden
bb05ef907b
Fix AvatarLink when using a suburl and gravatar is disabled or avatars are cached
2014-09-28 14:27:13 +02:00
Martin van Beurden
204952439a
Fix user HomeLink when using a suburl
2014-09-28 13:55:58 +02:00
Unknwon
b8368f98ff
Add directory level commit message
2014-09-26 08:55:13 -04:00
Unknwon
71e4689d11
Page: User profile
2014-09-25 19:33:39 -04:00
Unknwon
bd55b78775
Page: Commits and fix #249
2014-09-23 23:18:14 -04:00
Unknwon
5bbeeb0f1b
Page: Commits and fix #249
2014-09-23 15:30:04 -04:00
Unknwon
7ba9257a7f
Add suburl support
2014-09-19 20:11:34 -04:00
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
2014-09-18 20:50:48 +02:00
Christopher Brickley
f94d7c3f51
clarify name/username/owner/pusher for webhook
2014-09-17 09:20:14 -04:00
Unknwon
d2aff9a46a
Continue working on new admin pages
2014-08-29 20:50:43 +08:00
Unknwon
1aec1a2dda
Finish new admin dashboard
2014-08-28 22:29:00 +08:00
Unknwon
74b31566cf
Finsih add/remove repo in organization
2014-08-26 18:11:15 +08:00
Unknwon
21a1b8e5a3
Finish new edit team page, add member to team
2014-08-24 21:09:05 +08:00
Unknwon
36b4c57ff1
Finish new organization members and invitation page
2014-08-15 18:29:41 +08:00
Unknwon
755eec745f
Finish new repo settings page
2014-08-02 13:47:33 -04:00
Unknwon
5e81383413
Git installation check, show image in single file view, show short SHA1 instead of 40-length string, complete log module
2014-07-26 18:37:18 -04:00
Unknwon
8dd07c0ddd
New UI merge in progress
2014-07-26 00:24:27 -04:00
Justin Nuß
cbcd08aa17
Mention organisation users when organisation gets mentioned
2014-07-24 19:15:31 +02:00
Unknown
3969d704a0
Merge branch 'dev' of github.com:gogits/gogs into dev
2014-07-12 00:55:35 -04:00
Unknown
0f907301b7
Fix #285
2014-07-12 00:55:19 -04:00
Christopher Brickley
63e47405b2
Only update access usernames where the username is changing #282
2014-07-11 20:57:00 -04:00