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: 백기선
from pull-request 1495
* refs/heads/fix/accept-ko-kr:
Update backward compatibility notes for 0.8.0
Fix messages are not shown in preferred language
Reviewed-by: 채수원
from pull-request 1433
* refs/heads/issue-1023:
adds tests for models.NotificationEvent.getNewMentionedUsers method.
Adds a method to get new mentioned users when issues are edited.
Reviewed-by: 채수원
from pull-request 1493
* refs/heads/fix/by-idea-and-findbugs:
Organize imports of classes in models package
Remove unused method
Fix unnecessary boxing/unboxing
Implements Cloneable if defines clone()
Make fields final if possible
Make availableStates immutable
Update FastHttpDateFormat to fix thread-safe bug
Cleanup unnecessary code
Fix reliance on default encoding
Fix possible NPE
Fix possible NPE
Add missed assignments
Fix incorrect comparision
Property: Make sure check() returns nonnull list
Fix incorrect string format
Remove redundant null-check
Rename merger to mergeResult
Remove redundant codes
Fix possible NPE of rm_rf()
Remove redundant null-check
Reviewed-by: 채수원
* Issue
When issues are edited, all mentioned users in issue contents receives notification emails. It is not what Yobi want. The notifications have to be sent to only new mentioned users.
* Solution
A method to get new mentioned users is added. It gets mentioned users from old body and new body, subtracts old from new and returns it.
Private-issue: 1023
- Failed to defence XSS attack after markdown rendering on server
- XSS attack : https://www.owasp.org/index.php/Cross-site_Scripting_(XSS)
- Fix : escape string to html special character and using xss.js on server rendering
Add receiving branch's name if the branch is not refs/heads/master.
Omit sending project's owner and name if the project is same with receiving project.