It was little bit difficult to modify existed codes to support
proper name renderin for each users whose have their own lang.
I don't want to be a prayer, but I hope it will work properly.
If it isn't, mail sending will stop.
Problem: When getting watchers only to know whether a specific user is watching
the resource, checking every user, who watches the resource, has the proper
permission to read the resource is not necessary.
Solution: Add a boolean parameter to getWatcher() methods to tell whether
permission check is necessary.
This makes it two times faster, to get an issue with 19 comments, in a project
watched by 344 users.
from pull-request 1548
code-browser: rename and add help popover at 'open with browser' button
code-browser: fix navigation bug at branch select dropdown menu
code-browser: change url to use branchName at code browser
Currently, when a user click file 'open' button in the git project's
code browser, always commit hash id is used.
This commit will change to use branch name in stead of commit hash id.
Also, when a user select branch at branch selection dropdown list,
cleaner url is used which is removed encoded HEAD strings.
After : http://yobi.io/dlab/hive/code/master/AUTHORS
Do not use jquery template for the url. We can't create a template
string by routes.CodeApp.codeBrowserWithBranch because the method
encodes path segments.
It is a kind of duplication with the routes file, but currently I think
there is no better way to solve this problem.