2
0
Commit Graph

25 Commits

Author SHA1 Message Date
derSuessmann
59bc880e0d 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.
2017-01-08 11:12:03 +08:00
Thiago Avelino
c2de95b28b 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)
2017-01-01 10:51:10 +08:00
Bwko
5753c68f36 Added sorting to organizations, repos & users page (#222) 2016-12-24 22:42:26 +08:00
Lunny Xiao
e3b8b6984b Resolved #296 (#324)
* resolved #296

* Indentation fixed
2016-12-01 18:52:57 +08:00
Lunny Xiao
3e8496822c bug fixed caused by #295 (#299) 2016-11-29 14:57:36 +08:00
Kim "BKC" Carlbäcker
65cb0b4ab0 Merge all pagination-templates into 'base/paginate'
to reduce code-duplicity
2016-11-07 12:44:29 +01:00
Daniel Oaks
6cdcdc8a31 Add the ability to explore organizations (#3573)
* Add ability to explore organizations

* Use right icon for org explore links
2016-09-01 09:08:05 -04:00
Unknwon
53a0407083 #3348 always use relative avatar link in the template 2016-08-05 12:12:54 -07:00
Unknwon
48b0d21673 Refactor User.Id to User.ID 2016-07-24 01:08:22 +08:00
Unknwon
916a896f01 Upgrade octicon to 4.3.0 2016-07-16 12:45:13 +08:00
Unknwon
e84cef16cf #13 finish user and repository search
Both are possible on explore and admin panel
2016-03-11 15:33:12 -05:00
Jan Christophersen
77391f9802 Using HTML Description of repositories in the 'Explore' view. Fixes #2800 2016-03-10 21:31:13 +01:00
Andrey Nering
bd36b1e48a Render emojis in more places. 2016-03-02 21:54:05 -03:00
Unknwon
ee97f04f27 #2287 Truncate repository name if too long 2016-01-11 20:41:43 +08:00
Adam Strzelecki
14c04615a0 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
a552fce3e3 fix #650 2015-11-22 01:32:09 -05:00
Unknwon
05cf023b6a fix #1960 2015-11-16 11:11:59 -05:00
Unknwon
a06bd770b7 minor fixes on #1551 2015-09-01 07:04:35 -04:00
Michael Peppler
3a0b7ba3c5 use localization string 2015-08-31 18:41:22 -04:00
Michael Peppler
8643bbc0f2 new explore UI 2015-08-31 18:23:43 -04:00
Dhuan
252d2ccee5 Fix HTML indentation 2015-04-18 16:22:27 +00:00
Dhuan
b03e55eea1 Display author's name on explore page 2015-04-18 16:19:01 +00: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
Unknwon
ab7206d6b7 Fix #348 2014-09-05 17:28:09 -04:00