72 Commits (ceae143e78dabe9c5ef6bafff739aa487f79ca70)

Author SHA1 Message Date
Bo-Yi Wu a90a215662 feat: Add search bar on user profile page. (#787) 8 years ago
derSuessmann 51d578ff33 Add Keep email private (see issue #571). (#571)
- Add site-wide option DEFAULT_KEEP_EMAIL_PRIVATE.
- Add the new option to the install and admin/config pages.
- Add the new option to app.ini in the service section.
- Add the new option to the settings struct.
- Add English text strings to i18n.
- Add field KeepEmailPrivate to user struct.
- Add field KeepEmailPrivate to user form.
- Add option to UI.
- Add using noreply email address if user has "Keep Email Private".
An email address <LowerName>@<NO_REPLY_ADDRESS> is now used in commit
messages (and hopefully all other git log relevant places). The
change relies on the fact that git commands should use
user.NetGitSig().
- Add hiding of email address in UI, if user has set "Keep Email Private".
- Add condition to show email address only on explore/users and user
pages, if user has not set "Keep Email Private".
- Add noreply email in API if set "Keep Email Private".
- Add a new service setting NO_REPLY_ADDRESS. The value of this
setting is used as the domain part for the user's email address in
git log, iff he decides to keep his email address private.
If the user decides to keep his email address private and this
option is not set 'noreply.example.org' is used, which no MTA
should send email to.

Add NO_REPLY_ADDRESS to conf/app.ini.
8 years ago
Thiago Avelino 787fda53ef UI config to toggle whether user email shows up in Explore Users (#336)
* UI config to toggle whether user email shows up in Explore Users

* Recommendation made by @tboerger
66a1c59fe7 (r94122732)

* fixed typo, rename ShowUserEmailInExplore to ShowUserEmail

* Fixed typo merged conflict

* Hide email in the user profile page

if you are active ShowUserEmail
ref https://github.com/go-gitea/gitea/pull/336#issuecomment-269843725

* Please replace MustBool() with MustBool(true)
8 years ago
Andrey Nering b992858883 Tab on user profile to show starred repos (#519)
* Tab on user profile to show starred repos

* Make golint happy and use transactions on StarRepo function

* x -> sess

* Use sess.Close() instead of sess.Rollback()

* Add copyright

* Fix lint
8 years ago
Bwko 5ab85372da Added rel="noopener" to target="_blank" hrefs (#327)
* Added rel="noopener" to target="_blank" hrefs

* Replaced gogs.io/docs with docs.gitea.io
8 years ago
Matthias Loibl 7b6cc9244d Update link on user’s profile avatar to avatar settings (#287) 8 years ago
Kim "BKC" Carlbäcker 562f9b6eae Merge all pagination-templates into 'base/paginate'
to reduce code-duplicity
8 years ago
Unknwon 50422f1fc2 #3348 always use relative avatar link in the template 8 years ago
Unknwon e74630ae3b #1384 add pagination for repositories 8 years ago
Unknwon 1f2e173a74 Refactor User.Id to User.ID 8 years ago
Unknwon 971e2c3bd6 Upgrade octicon to 4.3.0 8 years ago
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
8 years ago
Unknwon 4deb876343 Minor fix for #2494
- Change tooltip size from mini to tiny in profile page
9 years ago
Unknwon dccfadf7b8 hide section with user has no organizations 9 years ago
Unknwon 29b07693dd minor fix to #2383
- add tooltip for organization name in profile
9 years ago
ExMex 40413c5c6c Added improvement from Unknwon 9 years ago
ExMex 53a63de9dc Added links to org profile icons 9 years ago
ExMex f610bfa8a2 Added organization display on profile
Fixed "Follower" Icon too big
9 years ago
Unknwon 21d7b5acaf fix #2367 9 years ago
Unknwon a49af93faf #1692 APIs: Users Followers
- User profile un/follow
- List user's followers/following
9 years ago
Unknwon cadf03db68 #2180 fix avatar link when disable gravatar 9 years ago
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
9 years ago
Unknwon 52c8f69163 fix #650 9 years ago
Unknwon ff5f14431e fix #1448 9 years ago
Unknwon cceb3364bb CSS fix 9 years ago
Unknwon 5dc3dd1704 fix #1960 9 years ago
Unknwon 043ded0896 fix #1683 9 years ago
Unknwon f183c855d1 minor fix on #1464 9 years ago
James Anderson 59a475163f Hide avatar-changing instructions unless it's your profile (resolves #1107) 9 years ago
Unknwon eea9302d8f fix #1204 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
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.
10 years ago
Unknwon 6b7d35eade fix mirror issues uncaught #941 10 years ago
Unknwon 55dfe2c978 custom avatar upload 10 years ago
Unknwon 23eec25274 Fix #605, fix #255, fix #101 10 years ago
Unknwon d88ebd9a4b Fix #554 10 years ago
Unknwon 71e4689d11 Page: User profile 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
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.
10 years ago
Unknwon 5c4bc3c848 Huge updates!!!!! Be careful to merge!!!! 10 years ago
Unknown bbdfe25769 User code clean and ui improve 10 years ago
FuXiaoHei 1c88a541cb fix profile ui 10 years ago
Unknown 89c99167b2 Fix #149 10 years ago
Unknown 62d23e9154 HTTP no follow and offline mode 10 years ago
twitchyliquid64 d304a23787 Corrected grammar and spelling mistakes in templates. Normalizing to American English. 10 years ago
Unknown c36e7d322e Mirror updates 10 years ago
Unknown 4b9b8024ba Clean oauth code 10 years ago
Unknown 90f6aa8cd1 Add repo mirror and import 10 years ago
FuXiaoHei b057cffd85 fix logo ui, add following ui in user-profile page 10 years ago