redmine_code_review
redmine_code_review copied to clipboard
View refactorings
This PR addresses a few potential security problems due to usage of raw and lack of javascript escaping:
- replaces all usages of the
rawhelper in views with safer alternatives. - introduces Javascript-escaping via the
jhelper.
Also some general refactorings:
- extracted the
progress_for_changesethelper method - re-used the existing
show_assignmentshelper in another place - removed controller and request context arguments as these do not needed to be passed around like this