Joe Chen
ce25881c88
refactor(db): move some methods off user.go
( #7199 )
2022-10-22 20:01:38 +08:00
Joe Chen
c502dc6ed8
refactor(db): move some methods from user.go
to users.go
( #7195 )
2022-10-22 14:41:40 +08:00
Unknwon
f545faa06d
templates: make state changing routes to POST method ( #5541 )
...
- pkg/context: add ParamsUser to unify the injection process
2018-12-06 22:58:02 -05:00
Federico Culloca
81effe674d
templates/user/profile: added rel="me" to website link on user profile ( #5485 )
...
* Added rel="me" to website link on user profile
See issue #5008
* Added `nofollow` as per feedback
2018-11-12 20:49:30 -05:00
cezar97
87b229d280
templates: add 'rel=noopener noreferrer' to <a> tags ( #5319 )
...
Signed-off-by: cezar97 <cezar97@protonmail.com>
2018-07-02 19:33:14 +08:00
Unknwon
5c2de3a9ea
pkg/template: fix Gravatar URLs are badly generated ( #5157 )
2018-04-18 19:40:35 -04:00
Unknwon
ac43eab51f
Refactoring: rename Signed -> Logged
2017-04-06 23:48:49 -04:00
Unknwon
90b9f7e08c
pkg/setting: rename {AppUrl, AppSubUrl} -> {AppURL, AppSubURL}
2017-04-06 17:27:57 -04:00
Unknwon
a9d2480c7f
templates/user/profile: fix link to avatar settings ( #4251 )
2017-03-06 23:23:37 -05:00
Unknwon
50422f1fc2
#3348 always use relative avatar link in the template
2016-08-05 12:12:54 -07: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
971e2c3bd6
Upgrade octicon to 4.3.0
2016-07-16 12:45:13 +08:00
Sandro Santilli
76a0e43e88
Do not assume avatar needs be changed from gravatar.com ( #3209 )
...
Always send user to settings screen to change avatar.
Drops "change_custom_avatar" localized message, keeps "change_avatar"
for the generic one.
NOTE: only changes the en-US locale, as per
https://github.com/gogits/gogs/wiki/Contributing-Code#those-we-do-not-accept
NOTE: requires rebuild of bindata.go to fully see effects
2016-06-27 01:51:09 +08: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
Unknwon
dccfadf7b8
hide section with user has no organizations
2016-01-14 21:29:25 +08:00
Unknwon
29b07693dd
minor fix to #2383
...
- add tooltip for organization name in profile
2016-01-14 21:21:56 +08:00
ExMex
40413c5c6c
Added improvement from Unknwon
2016-01-14 11:48:24 +01:00
ExMex
53a63de9dc
Added links to org profile icons
2016-01-12 03:19:46 +01:00
ExMex
f610bfa8a2
Added organization display on profile
...
Fixed "Follower" Icon too big
2016-01-12 03:09:59 +01:00
Unknwon
21d7b5acaf
fix #2367
2016-01-09 14:45:06 +08: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
cadf03db68
#2180 fix avatar link when disable gravatar
2015-12-19 22:21:00 -05:00
Adam Strzelecki
da2585c11e
Indent all templates with tabs
...
This commit improves templates readability, since all of them use consistent
indent with all template command blocks indented too.
1. Indents both HTML containers such as <div>, <p> and Go HTML template blocks
such as {{if}} {{with}}
2. Cleans all trailing white-space
3. Adds trailing last line-break to each file
2015-12-08 00:57:46 +01:00
Unknwon
52c8f69163
fix #650
2015-11-22 01:32:09 -05:00
Unknwon
ff5f14431e
fix #1448
2015-11-17 02:18:05 -05:00
Unknwon
cceb3364bb
CSS fix
2015-11-16 11:33:46 -05:00
Unknwon
5dc3dd1704
fix #1960
2015-11-16 11:11:59 -05:00
Unknwon
043ded0896
fix #1683
2015-09-24 18:42:29 -04:00
Unknwon
f183c855d1
minor fix on #1464
2015-08-11 00:09:28 +08:00
James Anderson
59a475163f
Hide avatar-changing instructions unless it's your profile ( resolves #1107 )
2015-08-10 10:40:07 -05:00
Unknwon
eea9302d8f
fix #1204
2015-07-31 13:53:14 +08: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
Peter Smit
7759b9ee6e
Remove the "PHP" style formatting function
...
The "PHP" formatting function doesn't add anything, except an undocumented date format.
All usages in the templates have been replaced with DateFmtShort and DateFmtLong for convenience.
2015-02-16 14:44:27 +02:00
Unknwon
6b7d35eade
fix mirror issues uncaught #941
2015-02-13 02:14:57 -05:00
Unknwon
55dfe2c978
custom avatar upload
2014-11-21 10:58:08 -05:00
Unknwon
23eec25274
Fix #605 , fix #255 , fix #101
2014-11-06 22:06:41 -05:00
Unknwon
d88ebd9a4b
Fix #554
2014-10-19 02:22:38 -04:00
Unknwon
71e4689d11
Page: User profile
2014-09-25 19:33:39 -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
Tristan Storch
69e332f432
Removed trailing white spaces
...
Removed trailing whitespaces with
```sh
for file in `grep -r " $" * | cut -d : -f 1 | sort | uniq | grep -v " "`; do sed -i 's/[ \t]*$//' $file; done
```
and some handwork.
2014-08-30 15:12:53 +02:00
Unknwon
5c4bc3c848
Huge updates!!!!! Be careful to merge!!!!
2014-07-26 02:28:04 -04:00
Unknown
bbdfe25769
User code clean and ui improve
2014-05-05 16:21:43 -04:00
FuXiaoHei
1c88a541cb
fix profile ui
2014-05-01 21:27:12 +08:00
Unknown
89c99167b2
Fix #149
2014-05-01 08:26:41 -04:00
Unknown
62d23e9154
HTTP no follow and offline mode
2014-04-27 01:05:13 -06:00
twitchyliquid64
d304a23787
Corrected grammar and spelling mistakes in templates. Normalizing to American English.
2014-04-20 16:54:26 +10:00
Unknown
c36e7d322e
Mirror updates
2014-04-14 04:11:33 -04:00
Unknown
4b9b8024ba
Clean oauth code
2014-04-13 18:12:07 -04:00