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
* enhance/code-browser-open:
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
Reviewed-by: 이응준
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.
eg.
Before: http://yobi.io/dlab/hive/code/refs%252Fheads%252Fmaster/AUTHORS
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.
from pull-request 1514
* refs/heads/fix/incorrectly-selected-branch:
code: Do not show selected branch for a commit
code: Rename getBranchNames() to getRefNames()
Reviewed-by: 백기선