itdoxy-lab/routers
Lanre Adelowo 094263db4d Show email if the authenticated user owns the profile page being requested for (#4981)
* Show email if the authenticated user owns the profile page being
requested for.

Also removed `setting.UI.ShowUserEmail` as it's documentation says it
only controls the email setting on the explore page

* fix current user check... This prevents a panic as a user must be signed in before ctx.User is called

* fix panic in tests

* try to fix tests

* Update year

* Test CI fail

* Revert change

* User 3 is not allowed to authorize

* Set user2 email to be private

* Change to user4 in explore page as user2 now has private email option set
2019-02-19 09:11:50 -05:00
..
admin Show private organization for admin, fix #6111 (#6112) 2019-02-19 09:16:06 +08:00
api/v1 Implement "conversation lock" for issue comments (#5073) 2019-02-18 22:55:04 +02:00
dev Make time diff translatable (#2057) 2017-06-28 13:43:28 +08:00
org Allow to set organization visibility (public, internal, private) (#1763) 2019-02-18 18:00:27 +02:00
private Fix ssh deploy and user key constraints (#1357) (#5939) 2019-02-03 23:56:53 +00:00
repo Implement "conversation lock" for issue comments (#5073) 2019-02-18 22:55:04 +02:00
routes Implement "conversation lock" for issue comments (#5073) 2019-02-18 22:55:04 +02:00
user Show email if the authenticated user owns the profile page being requested for (#4981) 2019-02-19 09:11:50 -05:00
utils Slack webhook channel name cannot be empty or just contain an hashtag (#4786) 2018-09-10 10:31:08 -04:00
home.go Fix prohibit login check on authorization (#6106) 2019-02-19 09:19:28 +02:00
init.go Ensure error is logged on db reconnection attempts (#5780) 2019-01-20 09:30:37 +00:00
install.go Remove traces of embedded TiDB (#4906) 2018-09-11 10:42:40 -04:00
metrics.go Fix metrics auth token detection (#6006) 2019-02-09 00:58:31 -05:00
swagger_json.go Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00