aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sonar-server/.gitignore15
-rw-r--r--sonar-server/Gruntfile.coffee106
-rw-r--r--sonar-server/package.json5
-rw-r--r--sonar-server/src/main/coffee/coding-rules/app.coffee (renamed from sonar-server/src/main/webapp/coffee/coding-rules/app.coffee)0
-rw-r--r--sonar-server/src/main/coffee/coding-rules/layout.coffee (renamed from sonar-server/src/main/webapp/coffee/coding-rules/layout.coffee)0
-rw-r--r--sonar-server/src/main/coffee/coding-rules/mockjax.coffee (renamed from sonar-server/src/main/webapp/coffee/coding-rules/mockjax.coffee)0
-rw-r--r--sonar-server/src/main/coffee/coding-rules/router.coffee (renamed from sonar-server/src/main/webapp/coffee/coding-rules/router.coffee)0
-rw-r--r--sonar-server/src/main/coffee/coding-rules/views/actions-view.coffee (renamed from sonar-server/src/main/webapp/coffee/coding-rules/views/actions-view.coffee)0
-rw-r--r--sonar-server/src/main/coffee/coding-rules/views/coding-rules-bulk-change-dropdown-view.coffee (renamed from sonar-server/src/main/webapp/coffee/coding-rules/views/coding-rules-bulk-change-dropdown-view.coffee)0
-rw-r--r--sonar-server/src/main/coffee/coding-rules/views/coding-rules-bulk-change-view.coffee (renamed from sonar-server/src/main/webapp/coffee/coding-rules/views/coding-rules-bulk-change-view.coffee)0
-rw-r--r--sonar-server/src/main/coffee/coding-rules/views/coding-rules-detail-quality-profile-view.coffee (renamed from sonar-server/src/main/webapp/coffee/coding-rules/views/coding-rules-detail-quality-profile-view.coffee)0
-rw-r--r--sonar-server/src/main/coffee/coding-rules/views/coding-rules-detail-quality-profiles-view.coffee (renamed from sonar-server/src/main/webapp/coffee/coding-rules/views/coding-rules-detail-quality-profiles-view.coffee)0
-rw-r--r--sonar-server/src/main/coffee/coding-rules/views/coding-rules-detail-view.coffee (renamed from sonar-server/src/main/webapp/coffee/coding-rules/views/coding-rules-detail-view.coffee)0
-rw-r--r--sonar-server/src/main/coffee/coding-rules/views/coding-rules-list-empty-view.coffee (renamed from sonar-server/src/main/webapp/coffee/coding-rules/views/coding-rules-list-empty-view.coffee)0
-rw-r--r--sonar-server/src/main/coffee/coding-rules/views/coding-rules-list-item-view.coffee (renamed from sonar-server/src/main/webapp/coffee/coding-rules/views/coding-rules-list-item-view.coffee)0
-rw-r--r--sonar-server/src/main/coffee/coding-rules/views/coding-rules-list-view.coffee (renamed from sonar-server/src/main/webapp/coffee/coding-rules/views/coding-rules-list-view.coffee)0
-rw-r--r--sonar-server/src/main/coffee/coding-rules/views/coding-rules-quality-profile-activation-view.coffee (renamed from sonar-server/src/main/webapp/coffee/coding-rules/views/coding-rules-quality-profile-activation-view.coffee)0
-rw-r--r--sonar-server/src/main/coffee/coding-rules/views/filter-bar-view.coffee (renamed from sonar-server/src/main/webapp/coffee/coding-rules/views/filter-bar-view.coffee)0
-rw-r--r--sonar-server/src/main/coffee/coding-rules/views/filters/activation-filter-view.coffee (renamed from sonar-server/src/main/webapp/coffee/coding-rules/views/filters/activation-filter-view.coffee)0
-rw-r--r--sonar-server/src/main/coffee/coding-rules/views/filters/characteristic-filter-view.coffee (renamed from sonar-server/src/main/webapp/coffee/coding-rules/views/filters/characteristic-filter-view.coffee)0
-rw-r--r--sonar-server/src/main/coffee/coding-rules/views/filters/inheritance-filter-view.coffee (renamed from sonar-server/src/main/webapp/coffee/coding-rules/views/filters/inheritance-filter-view.coffee)0
-rw-r--r--sonar-server/src/main/coffee/coding-rules/views/filters/quality-profile-filter-view.coffee (renamed from sonar-server/src/main/webapp/coffee/coding-rules/views/filters/quality-profile-filter-view.coffee)0
-rw-r--r--sonar-server/src/main/coffee/coding-rules/views/header-view.coffee (renamed from sonar-server/src/main/webapp/coffee/coding-rules/views/header-view.coffee)0
-rw-r--r--sonar-server/src/main/coffee/common/inputs.coffee (renamed from sonar-server/src/main/webapp/js/common/inputs.coffee)0
-rw-r--r--sonar-server/src/main/coffee/quality-gate/app.coffee (renamed from sonar-server/src/main/webapp/coffee/quality-gate/app.coffee)0
-rw-r--r--sonar-server/src/main/coffee/quality-gate/collections/conditions.coffee (renamed from sonar-server/src/main/webapp/coffee/quality-gate/collections/conditions.coffee)0
-rw-r--r--sonar-server/src/main/coffee/quality-gate/collections/quality-gates.coffee (renamed from sonar-server/src/main/webapp/coffee/quality-gate/collections/quality-gates.coffee)0
-rw-r--r--sonar-server/src/main/coffee/quality-gate/layout.coffee (renamed from sonar-server/src/main/webapp/coffee/quality-gate/layout.coffee)0
-rw-r--r--sonar-server/src/main/coffee/quality-gate/models/condition.coffee (renamed from sonar-server/src/main/webapp/coffee/quality-gate/models/condition.coffee)0
-rw-r--r--sonar-server/src/main/coffee/quality-gate/models/quality-gate.coffee (renamed from sonar-server/src/main/webapp/coffee/quality-gate/models/quality-gate.coffee)0
-rw-r--r--sonar-server/src/main/coffee/quality-gate/router.coffee (renamed from sonar-server/src/main/webapp/coffee/quality-gate/router.coffee)0
-rw-r--r--sonar-server/src/main/coffee/quality-gate/views/quality-gate-actions-view.coffee (renamed from sonar-server/src/main/webapp/coffee/quality-gate/views/quality-gate-actions-view.coffee)0
-rw-r--r--sonar-server/src/main/coffee/quality-gate/views/quality-gate-detail-condition-view.coffee (renamed from sonar-server/src/main/webapp/coffee/quality-gate/views/quality-gate-detail-condition-view.coffee)0
-rw-r--r--sonar-server/src/main/coffee/quality-gate/views/quality-gate-detail-conditions-empty-view.coffee (renamed from sonar-server/src/main/webapp/coffee/quality-gate/views/quality-gate-detail-conditions-empty-view.coffee)0
-rw-r--r--sonar-server/src/main/coffee/quality-gate/views/quality-gate-detail-conditions-view.coffee (renamed from sonar-server/src/main/webapp/coffee/quality-gate/views/quality-gate-detail-conditions-view.coffee)0
-rw-r--r--sonar-server/src/main/coffee/quality-gate/views/quality-gate-detail-header-view.coffee (renamed from sonar-server/src/main/webapp/coffee/quality-gate/views/quality-gate-detail-header-view.coffee)0
-rw-r--r--sonar-server/src/main/coffee/quality-gate/views/quality-gate-detail-projects-view.coffee (renamed from sonar-server/src/main/webapp/coffee/quality-gate/views/quality-gate-detail-projects-view.coffee)0
-rw-r--r--sonar-server/src/main/coffee/quality-gate/views/quality-gate-detail-view.coffee (renamed from sonar-server/src/main/webapp/coffee/quality-gate/views/quality-gate-detail-view.coffee)0
-rw-r--r--sonar-server/src/main/coffee/quality-gate/views/quality-gate-edit-view.coffee (renamed from sonar-server/src/main/webapp/coffee/quality-gate/views/quality-gate-edit-view.coffee)0
-rw-r--r--sonar-server/src/main/coffee/quality-gate/views/quality-gate-sidebar-list-empty-view.coffee (renamed from sonar-server/src/main/webapp/coffee/quality-gate/views/quality-gate-sidebar-list-empty-view.coffee)0
-rw-r--r--sonar-server/src/main/coffee/quality-gate/views/quality-gate-sidebar-list-item-view.coffee (renamed from sonar-server/src/main/webapp/coffee/quality-gate/views/quality-gate-sidebar-list-item-view.coffee)0
-rw-r--r--sonar-server/src/main/coffee/quality-gate/views/quality-gate-sidebar-list-view.coffee (renamed from sonar-server/src/main/webapp/coffee/quality-gate/views/quality-gate-sidebar-list-view.coffee)0
-rw-r--r--sonar-server/src/main/coffee/tests/common/inputsSpec.coffee (renamed from sonar-server/src/main/webapp/coffee/tests/common/inputsSpec.coffee)0
-rw-r--r--sonar-server/src/main/coffee/tests/translateSpec.coffee (renamed from sonar-server/src/main/webapp/coffee/tests/translateSpec.coffee)0
-rw-r--r--sonar-server/src/main/hbs/coding-rules/coding-rules-actions.hbs (renamed from sonar-server/src/main/webapp/templates/coding-rules/coding-rules-actions.hbs)0
-rw-r--r--sonar-server/src/main/hbs/coding-rules/coding-rules-bulk-change-dropdown.hbs (renamed from sonar-server/src/main/webapp/templates/coding-rules/coding-rules-bulk-change-dropdown.hbs)0
-rw-r--r--sonar-server/src/main/hbs/coding-rules/coding-rules-bulk-change.hbs (renamed from sonar-server/src/main/webapp/templates/coding-rules/coding-rules-bulk-change.hbs)0
-rw-r--r--sonar-server/src/main/hbs/coding-rules/coding-rules-detail-quality-profile.hbs (renamed from sonar-server/src/main/webapp/templates/coding-rules/coding-rules-detail-quality-profile.hbs)0
-rw-r--r--sonar-server/src/main/hbs/coding-rules/coding-rules-detail.hbs (renamed from sonar-server/src/main/webapp/templates/coding-rules/coding-rules-detail.hbs)0
-rw-r--r--sonar-server/src/main/hbs/coding-rules/coding-rules-facets-item.hbs (renamed from sonar-server/src/main/webapp/templates/coding-rules/coding-rules-facets-item.hbs)0
-rw-r--r--sonar-server/src/main/hbs/coding-rules/coding-rules-filter-bar.hbs (renamed from sonar-server/src/main/webapp/templates/coding-rules/coding-rules-filter-bar.hbs)0
-rw-r--r--sonar-server/src/main/hbs/coding-rules/coding-rules-header.hbs (renamed from sonar-server/src/main/webapp/templates/coding-rules/coding-rules-header.hbs)0
-rw-r--r--sonar-server/src/main/hbs/coding-rules/coding-rules-layout.hbs (renamed from sonar-server/src/main/webapp/templates/coding-rules/coding-rules-layout.hbs)0
-rw-r--r--sonar-server/src/main/hbs/coding-rules/coding-rules-list-empty.hbs (renamed from sonar-server/src/main/webapp/templates/coding-rules/coding-rules-list-empty.hbs)0
-rw-r--r--sonar-server/src/main/hbs/coding-rules/coding-rules-list-item.hbs (renamed from sonar-server/src/main/webapp/templates/coding-rules/coding-rules-list-item.hbs)0
-rw-r--r--sonar-server/src/main/hbs/coding-rules/coding-rules-quality-profile-activation.hbs (renamed from sonar-server/src/main/webapp/templates/coding-rules/coding-rules-quality-profile-activation.hbs)0
-rw-r--r--sonar-server/src/main/hbs/common/_markdown-tips.hbs (renamed from sonar-server/src/main/webapp/templates/common/_markdown-tips.hbs)0
-rw-r--r--sonar-server/src/main/hbs/quality-gates/quality-gate-actions.hbs (renamed from sonar-server/src/main/webapp/templates/quality-gates/quality-gate-actions.hbs)0
-rw-r--r--sonar-server/src/main/hbs/quality-gates/quality-gate-detail-condition.hbs (renamed from sonar-server/src/main/webapp/templates/quality-gates/quality-gate-detail-condition.hbs)0
-rw-r--r--sonar-server/src/main/hbs/quality-gates/quality-gate-detail-conditions-empty.hbs (renamed from sonar-server/src/main/webapp/templates/quality-gates/quality-gate-detail-conditions-empty.hbs)0
-rw-r--r--sonar-server/src/main/hbs/quality-gates/quality-gate-detail-conditions.hbs (renamed from sonar-server/src/main/webapp/templates/quality-gates/quality-gate-detail-conditions.hbs)0
-rw-r--r--sonar-server/src/main/hbs/quality-gates/quality-gate-detail-header.hbs (renamed from sonar-server/src/main/webapp/templates/quality-gates/quality-gate-detail-header.hbs)0
-rw-r--r--sonar-server/src/main/hbs/quality-gates/quality-gate-detail-projects.hbs (renamed from sonar-server/src/main/webapp/templates/quality-gates/quality-gate-detail-projects.hbs)0
-rw-r--r--sonar-server/src/main/hbs/quality-gates/quality-gate-detail.hbs (renamed from sonar-server/src/main/webapp/templates/quality-gates/quality-gate-detail.hbs)0
-rw-r--r--sonar-server/src/main/hbs/quality-gates/quality-gate-edit.hbs (renamed from sonar-server/src/main/webapp/templates/quality-gates/quality-gate-edit.hbs)4
-rw-r--r--sonar-server/src/main/hbs/quality-gates/quality-gate-sidebar-list-empty.hbs (renamed from sonar-server/src/main/webapp/templates/quality-gates/quality-gate-sidebar-list-empty.hbs)0
-rw-r--r--sonar-server/src/main/hbs/quality-gates/quality-gate-sidebar-list-item.hbs (renamed from sonar-server/src/main/webapp/templates/quality-gates/quality-gate-sidebar-list-item.hbs)0
-rw-r--r--sonar-server/src/main/hbs/quality-gates/quality-gates-layout.hbs (renamed from sonar-server/src/main/webapp/templates/quality-gates/quality-gates-layout.hbs)0
-rw-r--r--sonar-server/src/main/js/application.js (renamed from sonar-server/src/main/webapp/js/application.js)0
-rw-r--r--sonar-server/src/main/js/common/handlebars-extensions.js (renamed from sonar-server/src/main/webapp/js/common/handlebars-extensions.js)0
-rw-r--r--sonar-server/src/main/js/common/select-list.js (renamed from sonar-server/src/main/webapp/js/common/select-list.js)0
-rw-r--r--sonar-server/src/main/js/dashboard.js (renamed from sonar-server/src/main/webapp/js/dashboard.js)0
-rw-r--r--sonar-server/src/main/js/duplication.js (renamed from sonar-server/src/main/webapp/js/duplication.js)0
-rw-r--r--sonar-server/src/main/js/issue.js (renamed from sonar-server/src/main/webapp/js/issue.js)0
-rw-r--r--sonar-server/src/main/js/issues/app.js (renamed from sonar-server/src/main/webapp/js/issues/app.js)0
-rw-r--r--sonar-server/src/main/js/issues/extra.js (renamed from sonar-server/src/main/webapp/js/issues/extra.js)0
-rw-r--r--sonar-server/src/main/js/measures/app.js (renamed from sonar-server/src/main/webapp/js/measures/app.js)0
-rw-r--r--sonar-server/src/main/js/navigator/filters/action-plan-filters.js (renamed from sonar-server/src/main/webapp/js/navigator/filters/action-plan-filters.js)0
-rw-r--r--sonar-server/src/main/js/navigator/filters/ajax-select-filters.js (renamed from sonar-server/src/main/webapp/js/navigator/filters/ajax-select-filters.js)0
-rw-r--r--sonar-server/src/main/js/navigator/filters/base-filters.js (renamed from sonar-server/src/main/webapp/js/navigator/filters/base-filters.js)0
-rw-r--r--sonar-server/src/main/js/navigator/filters/checkbox-filters.js (renamed from sonar-server/src/main/webapp/js/navigator/filters/checkbox-filters.js)0
-rw-r--r--sonar-server/src/main/js/navigator/filters/choice-filters.js (renamed from sonar-server/src/main/webapp/js/navigator/filters/choice-filters.js)0
-rw-r--r--sonar-server/src/main/js/navigator/filters/context-filters.js (renamed from sonar-server/src/main/webapp/js/navigator/filters/context-filters.js)0
-rw-r--r--sonar-server/src/main/js/navigator/filters/date-filter-view.coffee (renamed from sonar-server/src/main/webapp/js/navigator/filters/date-filter-view.coffee)0
-rw-r--r--sonar-server/src/main/js/navigator/filters/date-filter-view.js (renamed from sonar-server/src/main/webapp/js/navigator/filters/date-filter-view.js)0
-rw-r--r--sonar-server/src/main/js/navigator/filters/favorite-filters.js (renamed from sonar-server/src/main/webapp/js/navigator/filters/favorite-filters.js)0
-rw-r--r--sonar-server/src/main/js/navigator/filters/filter-bar.js (renamed from sonar-server/src/main/webapp/js/navigator/filters/filter-bar.js)0
-rw-r--r--sonar-server/src/main/js/navigator/filters/metric-filters.js (renamed from sonar-server/src/main/webapp/js/navigator/filters/metric-filters.js)0
-rw-r--r--sonar-server/src/main/js/navigator/filters/more-criteria-filters.js (renamed from sonar-server/src/main/webapp/js/navigator/filters/more-criteria-filters.js)0
-rw-r--r--sonar-server/src/main/js/navigator/filters/range-filters.js (renamed from sonar-server/src/main/webapp/js/navigator/filters/range-filters.js)0
-rw-r--r--sonar-server/src/main/js/navigator/filters/read-only-filters.js (renamed from sonar-server/src/main/webapp/js/navigator/filters/read-only-filters.js)0
-rw-r--r--sonar-server/src/main/js/navigator/filters/rule-filters.js (renamed from sonar-server/src/main/webapp/js/navigator/filters/rule-filters.js)0
-rw-r--r--sonar-server/src/main/js/navigator/filters/string-filters.js (renamed from sonar-server/src/main/webapp/js/navigator/filters/string-filters.js)0
-rw-r--r--sonar-server/src/main/js/recent-history.js (renamed from sonar-server/src/main/webapp/js/recent-history.js)0
-rw-r--r--sonar-server/src/main/js/require.js (renamed from sonar-server/src/main/webapp/js/require.js)0
-rw-r--r--sonar-server/src/main/js/resource.js (renamed from sonar-server/src/main/webapp/js/resource.js)0
-rw-r--r--sonar-server/src/main/js/select2-jquery-ui-fix.js (renamed from sonar-server/src/main/webapp/js/select2-jquery-ui-fix.js)0
-rw-r--r--sonar-server/src/main/js/sortable.js (renamed from sonar-server/src/main/webapp/js/sortable.js)0
-rw-r--r--sonar-server/src/main/js/tests/main.js (renamed from sonar-server/src/main/webapp/js/tests/main.js)0
-rw-r--r--sonar-server/src/main/js/tests/navigator/filters/BaseFilterViewSpec.js (renamed from sonar-server/src/main/webapp/js/tests/navigator/filters/BaseFilterViewSpec.js)0
-rw-r--r--sonar-server/src/main/js/tests/navigator/filters/ChoiceFilterViewSpec.js (renamed from sonar-server/src/main/webapp/js/tests/navigator/filters/ChoiceFilterViewSpec.js)0
-rw-r--r--sonar-server/src/main/js/third-party/backbone.js (renamed from sonar-server/src/main/webapp/js/third-party/backbone.js)0
-rw-r--r--sonar-server/src/main/js/third-party/backbone.marionette.js (renamed from sonar-server/src/main/webapp/js/third-party/backbone.marionette.js)0
-rw-r--r--sonar-server/src/main/js/third-party/d3.js (renamed from sonar-server/src/main/webapp/js/third-party/d3.js)0
-rw-r--r--sonar-server/src/main/js/third-party/handlebars.js (renamed from sonar-server/src/main/webapp/js/third-party/handlebars.js)0
-rwxr-xr-xsonar-server/src/main/js/third-party/jquery-ui.js (renamed from sonar-server/src/main/webapp/js/third-party/jquery-ui.js)0
-rw-r--r--sonar-server/src/main/js/third-party/jquery.js (renamed from sonar-server/src/main/webapp/js/third-party/jquery.js)0
-rw-r--r--sonar-server/src/main/js/third-party/jquery.mockjax.js (renamed from sonar-server/src/main/webapp/js/third-party/jquery.mockjax.js)0
-rw-r--r--sonar-server/src/main/js/third-party/moment.js (renamed from sonar-server/src/main/webapp/js/third-party/moment.js)0
-rw-r--r--sonar-server/src/main/js/third-party/select2.js (renamed from sonar-server/src/main/webapp/js/third-party/select2.js)0
-rw-r--r--sonar-server/src/main/js/third-party/underscore.js (renamed from sonar-server/src/main/webapp/js/third-party/underscore.js)0
-rw-r--r--sonar-server/src/main/js/top-search.js (renamed from sonar-server/src/main/webapp/js/top-search.js)0
-rw-r--r--sonar-server/src/main/js/translate.js (renamed from sonar-server/src/main/webapp/js/translate.js)0
-rw-r--r--sonar-server/src/main/js/widgets/bubble-chart.js (renamed from sonar-server/src/main/webapp/js/widgets/bubble-chart.js)0
-rw-r--r--sonar-server/src/main/js/widgets/histogram.js (renamed from sonar-server/src/main/webapp/js/widgets/histogram.js)0
-rw-r--r--sonar-server/src/main/js/widgets/pie-chart.js (renamed from sonar-server/src/main/webapp/js/widgets/pie-chart.js)0
-rw-r--r--sonar-server/src/main/js/widgets/stack-area.js (renamed from sonar-server/src/main/webapp/js/widgets/stack-area.js)0
-rw-r--r--sonar-server/src/main/js/widgets/timeline.js (renamed from sonar-server/src/main/webapp/js/widgets/timeline.js)0
-rw-r--r--sonar-server/src/main/js/widgets/widget.js (renamed from sonar-server/src/main/webapp/js/widgets/widget.js)0
-rw-r--r--sonar-server/src/main/less/coding-rules.less (renamed from sonar-server/src/main/webapp/less/coding-rules.less)0
-rw-r--r--sonar-server/src/main/less/dashboard.less (renamed from sonar-server/src/main/webapp/less/dashboard.less)0
-rw-r--r--sonar-server/src/main/less/icons.less (renamed from sonar-server/src/main/webapp/less/icons.less)0
-rw-r--r--sonar-server/src/main/less/jquery-ui.less (renamed from sonar-server/src/main/webapp/less/jquery-ui.less)0
-rw-r--r--sonar-server/src/main/less/layout.less (renamed from sonar-server/src/main/webapp/less/layout.less)0
-rw-r--r--sonar-server/src/main/less/mixins.less (renamed from sonar-server/src/main/webapp/less/mixins.less)0
-rw-r--r--sonar-server/src/main/less/navigator.less (renamed from sonar-server/src/main/webapp/less/navigator.less)0
-rw-r--r--sonar-server/src/main/less/navigator/base.less (renamed from sonar-server/src/main/webapp/less/navigator/base.less)0
-rw-r--r--sonar-server/src/main/less/navigator/config.less (renamed from sonar-server/src/main/webapp/less/navigator/config.less)0
-rw-r--r--sonar-server/src/main/less/navigator/filters.less (renamed from sonar-server/src/main/webapp/less/navigator/filters.less)0
-rw-r--r--sonar-server/src/main/less/quality-gates.less (renamed from sonar-server/src/main/webapp/less/quality-gates.less)0
-rw-r--r--sonar-server/src/main/less/select-list.less (renamed from sonar-server/src/main/webapp/less/select-list.less)0
-rw-r--r--sonar-server/src/main/less/select2-sonar.less (renamed from sonar-server/src/main/webapp/less/select2-sonar.less)0
-rwxr-xr-xsonar-server/src/main/less/select2.less (renamed from sonar-server/src/main/webapp/less/select2.less)0
-rw-r--r--sonar-server/src/main/less/sonar-colorizer.less (renamed from sonar-server/src/main/webapp/less/sonar-colorizer.less)0
-rw-r--r--sonar-server/src/main/less/style.less (renamed from sonar-server/src/main/webapp/less/style.less)0
-rw-r--r--sonar-server/src/main/less/ui.less (renamed from sonar-server/src/main/webapp/less/ui.less)0
-rw-r--r--sonar-server/src/main/less/variables.less (renamed from sonar-server/src/main/webapp/less/variables.less)0
-rw-r--r--sonar-server/src/main/less/yui-reset-font.less (renamed from sonar-server/src/main/webapp/less/yui-reset-font.less)0
-rw-r--r--sonar-server/src/main/webapp/js/build.js41
-rw-r--r--sonar-server/src/main/webapp/js/common/inputs.js108
140 files changed, 75 insertions, 204 deletions
diff --git a/sonar-server/.gitignore b/sonar-server/.gitignore
index a0b34efbd95..aaf8a673ae6 100644
--- a/sonar-server/.gitignore
+++ b/sonar-server/.gitignore
@@ -6,16 +6,5 @@ node_modules/
# build
src/main/webapp/build/
-
-# generated css
-src/main/webapp/css/
-
-# generated js
-src/main/webapp/js/sonar.js
-src/main/webapp/js/coding-rules/
-src/main/webapp/js/quality-gate/
-src/main/webapp/js/tests/common/
-src/main/webapp/js/tests/translateSpec.js
-
-# generated templates
-src/main/webapp/js/templates/
+src/main/webapp/js/
+src/main/webapp/css/ \ No newline at end of file
diff --git a/sonar-server/Gruntfile.coffee b/sonar-server/Gruntfile.coffee
index c7700324e70..e1f4ae0dfe1 100644
--- a/sonar-server/Gruntfile.coffee
+++ b/sonar-server/Gruntfile.coffee
@@ -7,38 +7,38 @@ module.exports = (grunt) ->
dev:
files:
'<%= pkg.assets %>css/sonar.css': [
- '<%= pkg.assets %>less/yui-reset-font.less'
- '<%= pkg.assets %>less/jquery-ui.less'
- '<%= pkg.assets %>less/select2.less'
- '<%= pkg.assets %>less/select2-sonar.less'
- '<%= pkg.assets %>less/layout.less'
- '<%= pkg.assets %>less/style.less'
- '<%= pkg.assets %>less/icons.less'
- '<%= pkg.assets %>less/ui.less'
- '<%= pkg.assets %>less/sonar-colorizer.less'
- '<%= pkg.assets %>less/dashboard.less'
- '<%= pkg.assets %>less/select-list.less'
- '<%= pkg.assets %>less/navigator.less'
- '<%= pkg.assets %>less/*.less'
+ '<%= pkg.sources %>less/yui-reset-font.less'
+ '<%= pkg.sources %>less/jquery-ui.less'
+ '<%= pkg.sources %>less/select2.less'
+ '<%= pkg.sources %>less/select2-sonar.less'
+ '<%= pkg.sources %>less/layout.less'
+ '<%= pkg.sources %>less/style.less'
+ '<%= pkg.sources %>less/icons.less'
+ '<%= pkg.sources %>less/ui.less'
+ '<%= pkg.sources %>less/sonar-colorizer.less'
+ '<%= pkg.sources %>less/dashboard.less'
+ '<%= pkg.sources %>less/select-list.less'
+ '<%= pkg.sources %>less/navigator.less'
+ '<%= pkg.sources %>less/*.less'
]
build:
options:
cleancss: true
files:
- '<%= pkg.assets %>build/css/sonar.css': [
- '<%= pkg.assets %>less/yui-reset-font.less'
- '<%= pkg.assets %>less/jquery-ui.less'
- '<%= pkg.assets %>less/select2.less'
- '<%= pkg.assets %>less/select2-sonar.less'
- '<%= pkg.assets %>less/layout.less'
- '<%= pkg.assets %>less/style.less'
- '<%= pkg.assets %>less/icons.less'
- '<%= pkg.assets %>less/ui.less'
- '<%= pkg.assets %>less/sonar-colorizer.less'
- '<%= pkg.assets %>less/dashboard.less'
- '<%= pkg.assets %>less/select-list.less'
- '<%= pkg.assets %>less/navigator.less'
- '<%= pkg.assets %>less/*.less'
+ '<%= pkg.assets %>css/sonar.css': [
+ '<%= pkg.sources %>less/yui-reset-font.less'
+ '<%= pkg.sources %>less/jquery-ui.less'
+ '<%= pkg.sources %>less/select2.less'
+ '<%= pkg.sources %>less/select2-sonar.less'
+ '<%= pkg.sources %>less/layout.less'
+ '<%= pkg.sources %>less/style.less'
+ '<%= pkg.sources %>less/icons.less'
+ '<%= pkg.sources %>less/ui.less'
+ '<%= pkg.sources %>less/sonar-colorizer.less'
+ '<%= pkg.sources %>less/dashboard.less'
+ '<%= pkg.sources %>less/select-list.less'
+ '<%= pkg.sources %>less/navigator.less'
+ '<%= pkg.sources %>less/*.less'
]
@@ -46,7 +46,7 @@ module.exports = (grunt) ->
build:
files: [
expand: true
- cwd: '<%= pkg.assets %>coffee'
+ cwd: '<%= pkg.sources %>coffee'
src: ['**/*.coffee']
dest: '<%= pkg.assets %>js'
ext: '.js'
@@ -114,7 +114,7 @@ module.exports = (grunt) ->
requirejs:
options:
- baseUrl: '<%= pkg.assets %>js'
+ baseUrl: '<%= pkg.assets %>js/'
preserveLicenseComments: false,
paths:
@@ -171,14 +171,29 @@ module.exports = (grunt) ->
build:
files:
'<%= pkg.assets %>js/templates/coding-rules.js': [
- '<%= pkg.assets %>templates/common/**/*.hbs'
- '<%= pkg.assets %>templates/coding-rules/**/*.hbs'
+ '<%= pkg.sources %>hbs/common/**/*.hbs'
+ '<%= pkg.sources %>hbs/coding-rules/**/*.hbs'
]
'<%= pkg.assets %>js/templates/quality-gates.js': [
- '<%= pkg.assets %>templates/quality-gates/**/*.hbs'
+ '<%= pkg.sources %>hbs/quality-gates/**/*.hbs'
]
+ clean:
+ css: ['<%= pkg.assets %>css/']
+ js: ['<%= pkg.assets %>js/']
+ build: ['<%= pkg.assets %>build/']
+
+
+ copy:
+ js:
+ expand: true, cwd: '<%= pkg.sources %>js/', src: ['**'], dest: '<%= pkg.assets %>js/'
+ build:
+ expand: true, cwd: '<%= pkg.assets %>build/js/', src: ['**'], dest: '<%= pkg.assets %>js/'
+ requirejs:
+ src: '<%= pkg.sources %>js/require.js', dest: '<%= pkg.assets %>js/require.js'
+
+
karma:
unit:
configFile: 'karma.conf.js'
@@ -190,19 +205,19 @@ module.exports = (grunt) ->
spawn: false
less:
- files: '<%= pkg.assets %>less/**/*.less'
+ files: '<%= pkg.sources %>less/**/*.less'
tasks: ['less:dev']
coffee:
- files: '<%= pkg.assets %>coffee/**/*.coffee'
+ files: '<%= pkg.sources %>coffee/**/*.coffee'
tasks: ['coffee:build']
- uglify:
- files: '<%= pkg.assets %>js/**/*.js'
- tasks: ['uglify:dev']
+ js:
+ files: '<%= pkg.sources %>js/**/*.js'
+ tasks: ['copy:js', 'uglify:dev']
handlebars:
- files: '<%= pkg.assets %>templates/**/*.hbs'
+ files: '<%= pkg.sources %>hbs/**/*.hbs'
tasks: ['handlebars:build']
@@ -214,8 +229,19 @@ module.exports = (grunt) ->
grunt.loadNpmTasks 'grunt-contrib-requirejs'
grunt.loadNpmTasks 'grunt-contrib-handlebars'
grunt.loadNpmTasks 'grunt-contrib-watch'
+ grunt.loadNpmTasks 'grunt-contrib-clean'
+ grunt.loadNpmTasks 'grunt-contrib-copy'
# Define tasks
- grunt.registerTask 'dev', ['less:dev', 'coffee:build', 'uglify:dev', 'handlebars:build']
- grunt.registerTask 'default', ['less:build', 'coffee:build', 'uglify:build', 'handlebars:build', 'requirejs']
+ grunt.registerTask 'dev', ['clean:css', 'clean:js',
+ 'less:dev',
+ 'coffee:build', 'handlebars:build', 'copy:js',
+ 'uglify:dev']
+
+
+ grunt.registerTask 'default', ['clean:css', 'clean:js',
+ 'less:build',
+ 'coffee:build', 'handlebars:build', 'copy:js',
+ 'uglify:build',
+ 'requirejs', 'clean:js', 'copy:build', 'copy:requirejs', 'clean:build']
diff --git a/sonar-server/package.json b/sonar-server/package.json
index 2c134ac257e..863e5e09e75 100644
--- a/sonar-server/package.json
+++ b/sonar-server/package.json
@@ -15,10 +15,13 @@
"grunt-contrib-requirejs": "^0.4.3",
"grunt-contrib-watch": "~0.5.3",
"grunt-contrib-uglify": "^0.4.0",
- "grunt-karma": "~0.6.2"
+ "grunt-karma": "~0.6.2",
+ "grunt-contrib-clean": "^0.5.0",
+ "grunt-contrib-copy": "^0.5.0"
},
"engines": {
"node": "~0.8 || ~0.10"
},
+ "sources": "src/main/",
"assets": "src/main/webapp/"
}
diff --git a/sonar-server/src/main/webapp/coffee/coding-rules/app.coffee b/sonar-server/src/main/coffee/coding-rules/app.coffee
index b5029b0f577..b5029b0f577 100644
--- a/sonar-server/src/main/webapp/coffee/coding-rules/app.coffee
+++ b/sonar-server/src/main/coffee/coding-rules/app.coffee
diff --git a/sonar-server/src/main/webapp/coffee/coding-rules/layout.coffee b/sonar-server/src/main/coffee/coding-rules/layout.coffee
index dbe8633a152..dbe8633a152 100644
--- a/sonar-server/src/main/webapp/coffee/coding-rules/layout.coffee
+++ b/sonar-server/src/main/coffee/coding-rules/layout.coffee
diff --git a/sonar-server/src/main/webapp/coffee/coding-rules/mockjax.coffee b/sonar-server/src/main/coffee/coding-rules/mockjax.coffee
index 2163fac2a64..2163fac2a64 100644
--- a/sonar-server/src/main/webapp/coffee/coding-rules/mockjax.coffee
+++ b/sonar-server/src/main/coffee/coding-rules/mockjax.coffee
diff --git a/sonar-server/src/main/webapp/coffee/coding-rules/router.coffee b/sonar-server/src/main/coffee/coding-rules/router.coffee
index 1788ce1799e..1788ce1799e 100644
--- a/sonar-server/src/main/webapp/coffee/coding-rules/router.coffee
+++ b/sonar-server/src/main/coffee/coding-rules/router.coffee
diff --git a/sonar-server/src/main/webapp/coffee/coding-rules/views/actions-view.coffee b/sonar-server/src/main/coffee/coding-rules/views/actions-view.coffee
index 96e306ed8e8..96e306ed8e8 100644
--- a/sonar-server/src/main/webapp/coffee/coding-rules/views/actions-view.coffee
+++ b/sonar-server/src/main/coffee/coding-rules/views/actions-view.coffee
diff --git a/sonar-server/src/main/webapp/coffee/coding-rules/views/coding-rules-bulk-change-dropdown-view.coffee b/sonar-server/src/main/coffee/coding-rules/views/coding-rules-bulk-change-dropdown-view.coffee
index 881b70c6293..881b70c6293 100644
--- a/sonar-server/src/main/webapp/coffee/coding-rules/views/coding-rules-bulk-change-dropdown-view.coffee
+++ b/sonar-server/src/main/coffee/coding-rules/views/coding-rules-bulk-change-dropdown-view.coffee
diff --git a/sonar-server/src/main/webapp/coffee/coding-rules/views/coding-rules-bulk-change-view.coffee b/sonar-server/src/main/coffee/coding-rules/views/coding-rules-bulk-change-view.coffee
index 144cbfafb37..144cbfafb37 100644
--- a/sonar-server/src/main/webapp/coffee/coding-rules/views/coding-rules-bulk-change-view.coffee
+++ b/sonar-server/src/main/coffee/coding-rules/views/coding-rules-bulk-change-view.coffee
diff --git a/sonar-server/src/main/webapp/coffee/coding-rules/views/coding-rules-detail-quality-profile-view.coffee b/sonar-server/src/main/coffee/coding-rules/views/coding-rules-detail-quality-profile-view.coffee
index 063b8378929..063b8378929 100644
--- a/sonar-server/src/main/webapp/coffee/coding-rules/views/coding-rules-detail-quality-profile-view.coffee
+++ b/sonar-server/src/main/coffee/coding-rules/views/coding-rules-detail-quality-profile-view.coffee
diff --git a/sonar-server/src/main/webapp/coffee/coding-rules/views/coding-rules-detail-quality-profiles-view.coffee b/sonar-server/src/main/coffee/coding-rules/views/coding-rules-detail-quality-profiles-view.coffee
index 71b0b311062..71b0b311062 100644
--- a/sonar-server/src/main/webapp/coffee/coding-rules/views/coding-rules-detail-quality-profiles-view.coffee
+++ b/sonar-server/src/main/coffee/coding-rules/views/coding-rules-detail-quality-profiles-view.coffee
diff --git a/sonar-server/src/main/webapp/coffee/coding-rules/views/coding-rules-detail-view.coffee b/sonar-server/src/main/coffee/coding-rules/views/coding-rules-detail-view.coffee
index 4cf361c7a5c..4cf361c7a5c 100644
--- a/sonar-server/src/main/webapp/coffee/coding-rules/views/coding-rules-detail-view.coffee
+++ b/sonar-server/src/main/coffee/coding-rules/views/coding-rules-detail-view.coffee
diff --git a/sonar-server/src/main/webapp/coffee/coding-rules/views/coding-rules-list-empty-view.coffee b/sonar-server/src/main/coffee/coding-rules/views/coding-rules-list-empty-view.coffee
index c3eb8d48c4e..c3eb8d48c4e 100644
--- a/sonar-server/src/main/webapp/coffee/coding-rules/views/coding-rules-list-empty-view.coffee
+++ b/sonar-server/src/main/coffee/coding-rules/views/coding-rules-list-empty-view.coffee
diff --git a/sonar-server/src/main/webapp/coffee/coding-rules/views/coding-rules-list-item-view.coffee b/sonar-server/src/main/coffee/coding-rules/views/coding-rules-list-item-view.coffee
index 69a9e5fdaff..69a9e5fdaff 100644
--- a/sonar-server/src/main/webapp/coffee/coding-rules/views/coding-rules-list-item-view.coffee
+++ b/sonar-server/src/main/coffee/coding-rules/views/coding-rules-list-item-view.coffee
diff --git a/sonar-server/src/main/webapp/coffee/coding-rules/views/coding-rules-list-view.coffee b/sonar-server/src/main/coffee/coding-rules/views/coding-rules-list-view.coffee
index 93db305b2b5..93db305b2b5 100644
--- a/sonar-server/src/main/webapp/coffee/coding-rules/views/coding-rules-list-view.coffee
+++ b/sonar-server/src/main/coffee/coding-rules/views/coding-rules-list-view.coffee
diff --git a/sonar-server/src/main/webapp/coffee/coding-rules/views/coding-rules-quality-profile-activation-view.coffee b/sonar-server/src/main/coffee/coding-rules/views/coding-rules-quality-profile-activation-view.coffee
index 70aa55a5daf..70aa55a5daf 100644
--- a/sonar-server/src/main/webapp/coffee/coding-rules/views/coding-rules-quality-profile-activation-view.coffee
+++ b/sonar-server/src/main/coffee/coding-rules/views/coding-rules-quality-profile-activation-view.coffee
diff --git a/sonar-server/src/main/webapp/coffee/coding-rules/views/filter-bar-view.coffee b/sonar-server/src/main/coffee/coding-rules/views/filter-bar-view.coffee
index 6a719be85aa..6a719be85aa 100644
--- a/sonar-server/src/main/webapp/coffee/coding-rules/views/filter-bar-view.coffee
+++ b/sonar-server/src/main/coffee/coding-rules/views/filter-bar-view.coffee
diff --git a/sonar-server/src/main/webapp/coffee/coding-rules/views/filters/activation-filter-view.coffee b/sonar-server/src/main/coffee/coding-rules/views/filters/activation-filter-view.coffee
index 896ee64c050..896ee64c050 100644
--- a/sonar-server/src/main/webapp/coffee/coding-rules/views/filters/activation-filter-view.coffee
+++ b/sonar-server/src/main/coffee/coding-rules/views/filters/activation-filter-view.coffee
diff --git a/sonar-server/src/main/webapp/coffee/coding-rules/views/filters/characteristic-filter-view.coffee b/sonar-server/src/main/coffee/coding-rules/views/filters/characteristic-filter-view.coffee
index efa29a733ff..efa29a733ff 100644
--- a/sonar-server/src/main/webapp/coffee/coding-rules/views/filters/characteristic-filter-view.coffee
+++ b/sonar-server/src/main/coffee/coding-rules/views/filters/characteristic-filter-view.coffee
diff --git a/sonar-server/src/main/webapp/coffee/coding-rules/views/filters/inheritance-filter-view.coffee b/sonar-server/src/main/coffee/coding-rules/views/filters/inheritance-filter-view.coffee
index 8e575c20268..8e575c20268 100644
--- a/sonar-server/src/main/webapp/coffee/coding-rules/views/filters/inheritance-filter-view.coffee
+++ b/sonar-server/src/main/coffee/coding-rules/views/filters/inheritance-filter-view.coffee
diff --git a/sonar-server/src/main/webapp/coffee/coding-rules/views/filters/quality-profile-filter-view.coffee b/sonar-server/src/main/coffee/coding-rules/views/filters/quality-profile-filter-view.coffee
index eff55a9e618..eff55a9e618 100644
--- a/sonar-server/src/main/webapp/coffee/coding-rules/views/filters/quality-profile-filter-view.coffee
+++ b/sonar-server/src/main/coffee/coding-rules/views/filters/quality-profile-filter-view.coffee
diff --git a/sonar-server/src/main/webapp/coffee/coding-rules/views/header-view.coffee b/sonar-server/src/main/coffee/coding-rules/views/header-view.coffee
index ae0f8718732..ae0f8718732 100644
--- a/sonar-server/src/main/webapp/coffee/coding-rules/views/header-view.coffee
+++ b/sonar-server/src/main/coffee/coding-rules/views/header-view.coffee
diff --git a/sonar-server/src/main/webapp/js/common/inputs.coffee b/sonar-server/src/main/coffee/common/inputs.coffee
index 4352040b021..4352040b021 100644
--- a/sonar-server/src/main/webapp/js/common/inputs.coffee
+++ b/sonar-server/src/main/coffee/common/inputs.coffee
diff --git a/sonar-server/src/main/webapp/coffee/quality-gate/app.coffee b/sonar-server/src/main/coffee/quality-gate/app.coffee
index db18db98711..db18db98711 100644
--- a/sonar-server/src/main/webapp/coffee/quality-gate/app.coffee
+++ b/sonar-server/src/main/coffee/quality-gate/app.coffee
diff --git a/sonar-server/src/main/webapp/coffee/quality-gate/collections/conditions.coffee b/sonar-server/src/main/coffee/quality-gate/collections/conditions.coffee
index 8899fc14405..8899fc14405 100644
--- a/sonar-server/src/main/webapp/coffee/quality-gate/collections/conditions.coffee
+++ b/sonar-server/src/main/coffee/quality-gate/collections/conditions.coffee
diff --git a/sonar-server/src/main/webapp/coffee/quality-gate/collections/quality-gates.coffee b/sonar-server/src/main/coffee/quality-gate/collections/quality-gates.coffee
index 1d1c8542481..1d1c8542481 100644
--- a/sonar-server/src/main/webapp/coffee/quality-gate/collections/quality-gates.coffee
+++ b/sonar-server/src/main/coffee/quality-gate/collections/quality-gates.coffee
diff --git a/sonar-server/src/main/webapp/coffee/quality-gate/layout.coffee b/sonar-server/src/main/coffee/quality-gate/layout.coffee
index ff7f6f54bbd..ff7f6f54bbd 100644
--- a/sonar-server/src/main/webapp/coffee/quality-gate/layout.coffee
+++ b/sonar-server/src/main/coffee/quality-gate/layout.coffee
diff --git a/sonar-server/src/main/webapp/coffee/quality-gate/models/condition.coffee b/sonar-server/src/main/coffee/quality-gate/models/condition.coffee
index 1fe2c634a41..1fe2c634a41 100644
--- a/sonar-server/src/main/webapp/coffee/quality-gate/models/condition.coffee
+++ b/sonar-server/src/main/coffee/quality-gate/models/condition.coffee
diff --git a/sonar-server/src/main/webapp/coffee/quality-gate/models/quality-gate.coffee b/sonar-server/src/main/coffee/quality-gate/models/quality-gate.coffee
index 5acffc066e7..5acffc066e7 100644
--- a/sonar-server/src/main/webapp/coffee/quality-gate/models/quality-gate.coffee
+++ b/sonar-server/src/main/coffee/quality-gate/models/quality-gate.coffee
diff --git a/sonar-server/src/main/webapp/coffee/quality-gate/router.coffee b/sonar-server/src/main/coffee/quality-gate/router.coffee
index f21161a97bf..f21161a97bf 100644
--- a/sonar-server/src/main/webapp/coffee/quality-gate/router.coffee
+++ b/sonar-server/src/main/coffee/quality-gate/router.coffee
diff --git a/sonar-server/src/main/webapp/coffee/quality-gate/views/quality-gate-actions-view.coffee b/sonar-server/src/main/coffee/quality-gate/views/quality-gate-actions-view.coffee
index 6025a3c5b3c..6025a3c5b3c 100644
--- a/sonar-server/src/main/webapp/coffee/quality-gate/views/quality-gate-actions-view.coffee
+++ b/sonar-server/src/main/coffee/quality-gate/views/quality-gate-actions-view.coffee
diff --git a/sonar-server/src/main/webapp/coffee/quality-gate/views/quality-gate-detail-condition-view.coffee b/sonar-server/src/main/coffee/quality-gate/views/quality-gate-detail-condition-view.coffee
index e928b169b25..e928b169b25 100644
--- a/sonar-server/src/main/webapp/coffee/quality-gate/views/quality-gate-detail-condition-view.coffee
+++ b/sonar-server/src/main/coffee/quality-gate/views/quality-gate-detail-condition-view.coffee
diff --git a/sonar-server/src/main/webapp/coffee/quality-gate/views/quality-gate-detail-conditions-empty-view.coffee b/sonar-server/src/main/coffee/quality-gate/views/quality-gate-detail-conditions-empty-view.coffee
index 9c0362f4e6a..9c0362f4e6a 100644
--- a/sonar-server/src/main/webapp/coffee/quality-gate/views/quality-gate-detail-conditions-empty-view.coffee
+++ b/sonar-server/src/main/coffee/quality-gate/views/quality-gate-detail-conditions-empty-view.coffee
diff --git a/sonar-server/src/main/webapp/coffee/quality-gate/views/quality-gate-detail-conditions-view.coffee b/sonar-server/src/main/coffee/quality-gate/views/quality-gate-detail-conditions-view.coffee
index 7b76a55ae61..7b76a55ae61 100644
--- a/sonar-server/src/main/webapp/coffee/quality-gate/views/quality-gate-detail-conditions-view.coffee
+++ b/sonar-server/src/main/coffee/quality-gate/views/quality-gate-detail-conditions-view.coffee
diff --git a/sonar-server/src/main/webapp/coffee/quality-gate/views/quality-gate-detail-header-view.coffee b/sonar-server/src/main/coffee/quality-gate/views/quality-gate-detail-header-view.coffee
index acf593f149f..acf593f149f 100644
--- a/sonar-server/src/main/webapp/coffee/quality-gate/views/quality-gate-detail-header-view.coffee
+++ b/sonar-server/src/main/coffee/quality-gate/views/quality-gate-detail-header-view.coffee
diff --git a/sonar-server/src/main/webapp/coffee/quality-gate/views/quality-gate-detail-projects-view.coffee b/sonar-server/src/main/coffee/quality-gate/views/quality-gate-detail-projects-view.coffee
index afa85c6bad7..afa85c6bad7 100644
--- a/sonar-server/src/main/webapp/coffee/quality-gate/views/quality-gate-detail-projects-view.coffee
+++ b/sonar-server/src/main/coffee/quality-gate/views/quality-gate-detail-projects-view.coffee
diff --git a/sonar-server/src/main/webapp/coffee/quality-gate/views/quality-gate-detail-view.coffee b/sonar-server/src/main/coffee/quality-gate/views/quality-gate-detail-view.coffee
index ff2ca9c70ea..ff2ca9c70ea 100644
--- a/sonar-server/src/main/webapp/coffee/quality-gate/views/quality-gate-detail-view.coffee
+++ b/sonar-server/src/main/coffee/quality-gate/views/quality-gate-detail-view.coffee
diff --git a/sonar-server/src/main/webapp/coffee/quality-gate/views/quality-gate-edit-view.coffee b/sonar-server/src/main/coffee/quality-gate/views/quality-gate-edit-view.coffee
index 47e0bbd9101..47e0bbd9101 100644
--- a/sonar-server/src/main/webapp/coffee/quality-gate/views/quality-gate-edit-view.coffee
+++ b/sonar-server/src/main/coffee/quality-gate/views/quality-gate-edit-view.coffee
diff --git a/sonar-server/src/main/webapp/coffee/quality-gate/views/quality-gate-sidebar-list-empty-view.coffee b/sonar-server/src/main/coffee/quality-gate/views/quality-gate-sidebar-list-empty-view.coffee
index c828e4b72f2..c828e4b72f2 100644
--- a/sonar-server/src/main/webapp/coffee/quality-gate/views/quality-gate-sidebar-list-empty-view.coffee
+++ b/sonar-server/src/main/coffee/quality-gate/views/quality-gate-sidebar-list-empty-view.coffee
diff --git a/sonar-server/src/main/webapp/coffee/quality-gate/views/quality-gate-sidebar-list-item-view.coffee b/sonar-server/src/main/coffee/quality-gate/views/quality-gate-sidebar-list-item-view.coffee
index 70cd6d15366..70cd6d15366 100644
--- a/sonar-server/src/main/webapp/coffee/quality-gate/views/quality-gate-sidebar-list-item-view.coffee
+++ b/sonar-server/src/main/coffee/quality-gate/views/quality-gate-sidebar-list-item-view.coffee
diff --git a/sonar-server/src/main/webapp/coffee/quality-gate/views/quality-gate-sidebar-list-view.coffee b/sonar-server/src/main/coffee/quality-gate/views/quality-gate-sidebar-list-view.coffee
index 43f92f74d27..43f92f74d27 100644
--- a/sonar-server/src/main/webapp/coffee/quality-gate/views/quality-gate-sidebar-list-view.coffee
+++ b/sonar-server/src/main/coffee/quality-gate/views/quality-gate-sidebar-list-view.coffee
diff --git a/sonar-server/src/main/webapp/coffee/tests/common/inputsSpec.coffee b/sonar-server/src/main/coffee/tests/common/inputsSpec.coffee
index d20983d9c65..d20983d9c65 100644
--- a/sonar-server/src/main/webapp/coffee/tests/common/inputsSpec.coffee
+++ b/sonar-server/src/main/coffee/tests/common/inputsSpec.coffee
diff --git a/sonar-server/src/main/webapp/coffee/tests/translateSpec.coffee b/sonar-server/src/main/coffee/tests/translateSpec.coffee
index 7b4576bcfff..7b4576bcfff 100644
--- a/sonar-server/src/main/webapp/coffee/tests/translateSpec.coffee
+++ b/sonar-server/src/main/coffee/tests/translateSpec.coffee
diff --git a/sonar-server/src/main/webapp/templates/coding-rules/coding-rules-actions.hbs b/sonar-server/src/main/hbs/coding-rules/coding-rules-actions.hbs
index ad149573ba4..ad149573ba4 100644
--- a/sonar-server/src/main/webapp/templates/coding-rules/coding-rules-actions.hbs
+++ b/sonar-server/src/main/hbs/coding-rules/coding-rules-actions.hbs
diff --git a/sonar-server/src/main/webapp/templates/coding-rules/coding-rules-bulk-change-dropdown.hbs b/sonar-server/src/main/hbs/coding-rules/coding-rules-bulk-change-dropdown.hbs
index 7a6c1c98050..7a6c1c98050 100644
--- a/sonar-server/src/main/webapp/templates/coding-rules/coding-rules-bulk-change-dropdown.hbs
+++ b/sonar-server/src/main/hbs/coding-rules/coding-rules-bulk-change-dropdown.hbs
diff --git a/sonar-server/src/main/webapp/templates/coding-rules/coding-rules-bulk-change.hbs b/sonar-server/src/main/hbs/coding-rules/coding-rules-bulk-change.hbs
index 0e3c9e7d54c..0e3c9e7d54c 100644
--- a/sonar-server/src/main/webapp/templates/coding-rules/coding-rules-bulk-change.hbs
+++ b/sonar-server/src/main/hbs/coding-rules/coding-rules-bulk-change.hbs
diff --git a/sonar-server/src/main/webapp/templates/coding-rules/coding-rules-detail-quality-profile.hbs b/sonar-server/src/main/hbs/coding-rules/coding-rules-detail-quality-profile.hbs
index b1633fcfaa5..b1633fcfaa5 100644
--- a/sonar-server/src/main/webapp/templates/coding-rules/coding-rules-detail-quality-profile.hbs
+++ b/sonar-server/src/main/hbs/coding-rules/coding-rules-detail-quality-profile.hbs
diff --git a/sonar-server/src/main/webapp/templates/coding-rules/coding-rules-detail.hbs b/sonar-server/src/main/hbs/coding-rules/coding-rules-detail.hbs
index 4b36a41182b..4b36a41182b 100644
--- a/sonar-server/src/main/webapp/templates/coding-rules/coding-rules-detail.hbs
+++ b/sonar-server/src/main/hbs/coding-rules/coding-rules-detail.hbs
diff --git a/sonar-server/src/main/webapp/templates/coding-rules/coding-rules-facets-item.hbs b/sonar-server/src/main/hbs/coding-rules/coding-rules-facets-item.hbs
index 634d28353c1..634d28353c1 100644
--- a/sonar-server/src/main/webapp/templates/coding-rules/coding-rules-facets-item.hbs
+++ b/sonar-server/src/main/hbs/coding-rules/coding-rules-facets-item.hbs
diff --git a/sonar-server/src/main/webapp/templates/coding-rules/coding-rules-filter-bar.hbs b/sonar-server/src/main/hbs/coding-rules/coding-rules-filter-bar.hbs
index 2e0f52a1b21..2e0f52a1b21 100644
--- a/sonar-server/src/main/webapp/templates/coding-rules/coding-rules-filter-bar.hbs
+++ b/sonar-server/src/main/hbs/coding-rules/coding-rules-filter-bar.hbs
diff --git a/sonar-server/src/main/webapp/templates/coding-rules/coding-rules-header.hbs b/sonar-server/src/main/hbs/coding-rules/coding-rules-header.hbs
index 37f1e638244..37f1e638244 100644
--- a/sonar-server/src/main/webapp/templates/coding-rules/coding-rules-header.hbs
+++ b/sonar-server/src/main/hbs/coding-rules/coding-rules-header.hbs
diff --git a/sonar-server/src/main/webapp/templates/coding-rules/coding-rules-layout.hbs b/sonar-server/src/main/hbs/coding-rules/coding-rules-layout.hbs
index 98a5dd7c69a..98a5dd7c69a 100644
--- a/sonar-server/src/main/webapp/templates/coding-rules/coding-rules-layout.hbs
+++ b/sonar-server/src/main/hbs/coding-rules/coding-rules-layout.hbs
diff --git a/sonar-server/src/main/webapp/templates/coding-rules/coding-rules-list-empty.hbs b/sonar-server/src/main/hbs/coding-rules/coding-rules-list-empty.hbs
index 75e2daf75af..75e2daf75af 100644
--- a/sonar-server/src/main/webapp/templates/coding-rules/coding-rules-list-empty.hbs
+++ b/sonar-server/src/main/hbs/coding-rules/coding-rules-list-empty.hbs
diff --git a/sonar-server/src/main/webapp/templates/coding-rules/coding-rules-list-item.hbs b/sonar-server/src/main/hbs/coding-rules/coding-rules-list-item.hbs
index d44d28895da..d44d28895da 100644
--- a/sonar-server/src/main/webapp/templates/coding-rules/coding-rules-list-item.hbs
+++ b/sonar-server/src/main/hbs/coding-rules/coding-rules-list-item.hbs
diff --git a/sonar-server/src/main/webapp/templates/coding-rules/coding-rules-quality-profile-activation.hbs b/sonar-server/src/main/hbs/coding-rules/coding-rules-quality-profile-activation.hbs
index cfd8d6df01d..cfd8d6df01d 100644
--- a/sonar-server/src/main/webapp/templates/coding-rules/coding-rules-quality-profile-activation.hbs
+++ b/sonar-server/src/main/hbs/coding-rules/coding-rules-quality-profile-activation.hbs
diff --git a/sonar-server/src/main/webapp/templates/common/_markdown-tips.hbs b/sonar-server/src/main/hbs/common/_markdown-tips.hbs
index 948a55e77ac..948a55e77ac 100644
--- a/sonar-server/src/main/webapp/templates/common/_markdown-tips.hbs
+++ b/sonar-server/src/main/hbs/common/_markdown-tips.hbs
diff --git a/sonar-server/src/main/webapp/templates/quality-gates/quality-gate-actions.hbs b/sonar-server/src/main/hbs/quality-gates/quality-gate-actions.hbs
index efab29d2160..efab29d2160 100644
--- a/sonar-server/src/main/webapp/templates/quality-gates/quality-gate-actions.hbs
+++ b/sonar-server/src/main/hbs/quality-gates/quality-gate-actions.hbs
diff --git a/sonar-server/src/main/webapp/templates/quality-gates/quality-gate-detail-condition.hbs b/sonar-server/src/main/hbs/quality-gates/quality-gate-detail-condition.hbs
index 572bdb2af79..572bdb2af79 100644
--- a/sonar-server/src/main/webapp/templates/quality-gates/quality-gate-detail-condition.hbs
+++ b/sonar-server/src/main/hbs/quality-gates/quality-gate-detail-condition.hbs
diff --git a/sonar-server/src/main/webapp/templates/quality-gates/quality-gate-detail-conditions-empty.hbs b/sonar-server/src/main/hbs/quality-gates/quality-gate-detail-conditions-empty.hbs
index 40c92668496..40c92668496 100644
--- a/sonar-server/src/main/webapp/templates/quality-gates/quality-gate-detail-conditions-empty.hbs
+++ b/sonar-server/src/main/hbs/quality-gates/quality-gate-detail-conditions-empty.hbs
diff --git a/sonar-server/src/main/webapp/templates/quality-gates/quality-gate-detail-conditions.hbs b/sonar-server/src/main/hbs/quality-gates/quality-gate-detail-conditions.hbs
index 343994fd780..343994fd780 100644
--- a/sonar-server/src/main/webapp/templates/quality-gates/quality-gate-detail-conditions.hbs
+++ b/sonar-server/src/main/hbs/quality-gates/quality-gate-detail-conditions.hbs
diff --git a/sonar-server/src/main/webapp/templates/quality-gates/quality-gate-detail-header.hbs b/sonar-server/src/main/hbs/quality-gates/quality-gate-detail-header.hbs
index e84a730d379..e84a730d379 100644
--- a/sonar-server/src/main/webapp/templates/quality-gates/quality-gate-detail-header.hbs
+++ b/sonar-server/src/main/hbs/quality-gates/quality-gate-detail-header.hbs
diff --git a/sonar-server/src/main/webapp/templates/quality-gates/quality-gate-detail-projects.hbs b/sonar-server/src/main/hbs/quality-gates/quality-gate-detail-projects.hbs
index 989cae0f31e..989cae0f31e 100644
--- a/sonar-server/src/main/webapp/templates/quality-gates/quality-gate-detail-projects.hbs
+++ b/sonar-server/src/main/hbs/quality-gates/quality-gate-detail-projects.hbs
diff --git a/sonar-server/src/main/webapp/templates/quality-gates/quality-gate-detail.hbs b/sonar-server/src/main/hbs/quality-gates/quality-gate-detail.hbs
index 0c5467b3476..0c5467b3476 100644
--- a/sonar-server/src/main/webapp/templates/quality-gates/quality-gate-detail.hbs
+++ b/sonar-server/src/main/hbs/quality-gates/quality-gate-detail.hbs
diff --git a/sonar-server/src/main/webapp/templates/quality-gates/quality-gate-edit.hbs b/sonar-server/src/main/hbs/quality-gates/quality-gate-edit.hbs
index 6c190b6d242..805d65ff307 100644
--- a/sonar-server/src/main/webapp/templates/quality-gates/quality-gate-edit.hbs
+++ b/sonar-server/src/main/hbs/quality-gates/quality-gate-edit.hbs
@@ -1,6 +1,8 @@
<form>
<div class="modal-head">
- <h2>{{t 'quality_gates' method }}</h2>
+ {{#if method}}
+ <h2>{{t 'quality_gates' method }}</h2>
+ {{/if}}
</div>
<div class="modal-body">
diff --git a/sonar-server/src/main/webapp/templates/quality-gates/quality-gate-sidebar-list-empty.hbs b/sonar-server/src/main/hbs/quality-gates/quality-gate-sidebar-list-empty.hbs
index 8b017f09987..8b017f09987 100644
--- a/sonar-server/src/main/webapp/templates/quality-gates/quality-gate-sidebar-list-empty.hbs
+++ b/sonar-server/src/main/hbs/quality-gates/quality-gate-sidebar-list-empty.hbs
diff --git a/sonar-server/src/main/webapp/templates/quality-gates/quality-gate-sidebar-list-item.hbs b/sonar-server/src/main/hbs/quality-gates/quality-gate-sidebar-list-item.hbs
index af8d93ae07b..af8d93ae07b 100644
--- a/sonar-server/src/main/webapp/templates/quality-gates/quality-gate-sidebar-list-item.hbs
+++ b/sonar-server/src/main/hbs/quality-gates/quality-gate-sidebar-list-item.hbs
diff --git a/sonar-server/src/main/webapp/templates/quality-gates/quality-gates-layout.hbs b/sonar-server/src/main/hbs/quality-gates/quality-gates-layout.hbs
index 32f6d7e2694..32f6d7e2694 100644
--- a/sonar-server/src/main/webapp/templates/quality-gates/quality-gates-layout.hbs
+++ b/sonar-server/src/main/hbs/quality-gates/quality-gates-layout.hbs
diff --git a/sonar-server/src/main/webapp/js/application.js b/sonar-server/src/main/js/application.js
index fbeef6d0c13..fbeef6d0c13 100644
--- a/sonar-server/src/main/webapp/js/application.js
+++ b/sonar-server/src/main/js/application.js
diff --git a/sonar-server/src/main/webapp/js/common/handlebars-extensions.js b/sonar-server/src/main/js/common/handlebars-extensions.js
index 07c1044a316..07c1044a316 100644
--- a/sonar-server/src/main/webapp/js/common/handlebars-extensions.js
+++ b/sonar-server/src/main/js/common/handlebars-extensions.js
diff --git a/sonar-server/src/main/webapp/js/common/select-list.js b/sonar-server/src/main/js/common/select-list.js
index 8d91dc39dca..8d91dc39dca 100644
--- a/sonar-server/src/main/webapp/js/common/select-list.js
+++ b/sonar-server/src/main/js/common/select-list.js
diff --git a/sonar-server/src/main/webapp/js/dashboard.js b/sonar-server/src/main/js/dashboard.js
index 576dba7046d..576dba7046d 100644
--- a/sonar-server/src/main/webapp/js/dashboard.js
+++ b/sonar-server/src/main/js/dashboard.js
diff --git a/sonar-server/src/main/webapp/js/duplication.js b/sonar-server/src/main/js/duplication.js
index edd28f41fee..edd28f41fee 100644
--- a/sonar-server/src/main/webapp/js/duplication.js
+++ b/sonar-server/src/main/js/duplication.js
diff --git a/sonar-server/src/main/webapp/js/issue.js b/sonar-server/src/main/js/issue.js
index 3a91c7401ba..3a91c7401ba 100644
--- a/sonar-server/src/main/webapp/js/issue.js
+++ b/sonar-server/src/main/js/issue.js
diff --git a/sonar-server/src/main/webapp/js/issues/app.js b/sonar-server/src/main/js/issues/app.js
index 4a291cc45f7..4a291cc45f7 100644
--- a/sonar-server/src/main/webapp/js/issues/app.js
+++ b/sonar-server/src/main/js/issues/app.js
diff --git a/sonar-server/src/main/webapp/js/issues/extra.js b/sonar-server/src/main/js/issues/extra.js
index 66fa821b014..66fa821b014 100644
--- a/sonar-server/src/main/webapp/js/issues/extra.js
+++ b/sonar-server/src/main/js/issues/extra.js
diff --git a/sonar-server/src/main/webapp/js/measures/app.js b/sonar-server/src/main/js/measures/app.js
index 830a6cf4eb4..830a6cf4eb4 100644
--- a/sonar-server/src/main/webapp/js/measures/app.js
+++ b/sonar-server/src/main/js/measures/app.js
diff --git a/sonar-server/src/main/webapp/js/navigator/filters/action-plan-filters.js b/sonar-server/src/main/js/navigator/filters/action-plan-filters.js
index 7503e344d2a..7503e344d2a 100644
--- a/sonar-server/src/main/webapp/js/navigator/filters/action-plan-filters.js
+++ b/sonar-server/src/main/js/navigator/filters/action-plan-filters.js
diff --git a/sonar-server/src/main/webapp/js/navigator/filters/ajax-select-filters.js b/sonar-server/src/main/js/navigator/filters/ajax-select-filters.js
index dd2e246d217..dd2e246d217 100644
--- a/sonar-server/src/main/webapp/js/navigator/filters/ajax-select-filters.js
+++ b/sonar-server/src/main/js/navigator/filters/ajax-select-filters.js
diff --git a/sonar-server/src/main/webapp/js/navigator/filters/base-filters.js b/sonar-server/src/main/js/navigator/filters/base-filters.js
index e07a3517bfe..e07a3517bfe 100644
--- a/sonar-server/src/main/webapp/js/navigator/filters/base-filters.js
+++ b/sonar-server/src/main/js/navigator/filters/base-filters.js
diff --git a/sonar-server/src/main/webapp/js/navigator/filters/checkbox-filters.js b/sonar-server/src/main/js/navigator/filters/checkbox-filters.js
index 025ce9dc649..025ce9dc649 100644
--- a/sonar-server/src/main/webapp/js/navigator/filters/checkbox-filters.js
+++ b/sonar-server/src/main/js/navigator/filters/checkbox-filters.js
diff --git a/sonar-server/src/main/webapp/js/navigator/filters/choice-filters.js b/sonar-server/src/main/js/navigator/filters/choice-filters.js
index cf74a21562e..cf74a21562e 100644
--- a/sonar-server/src/main/webapp/js/navigator/filters/choice-filters.js
+++ b/sonar-server/src/main/js/navigator/filters/choice-filters.js
diff --git a/sonar-server/src/main/webapp/js/navigator/filters/context-filters.js b/sonar-server/src/main/js/navigator/filters/context-filters.js
index ec71ff3f774..ec71ff3f774 100644
--- a/sonar-server/src/main/webapp/js/navigator/filters/context-filters.js
+++ b/sonar-server/src/main/js/navigator/filters/context-filters.js
diff --git a/sonar-server/src/main/webapp/js/navigator/filters/date-filter-view.coffee b/sonar-server/src/main/js/navigator/filters/date-filter-view.coffee
index da9fc81679b..da9fc81679b 100644
--- a/sonar-server/src/main/webapp/js/navigator/filters/date-filter-view.coffee
+++ b/sonar-server/src/main/js/navigator/filters/date-filter-view.coffee
diff --git a/sonar-server/src/main/webapp/js/navigator/filters/date-filter-view.js b/sonar-server/src/main/js/navigator/filters/date-filter-view.js
index 30b6a7df873..30b6a7df873 100644
--- a/sonar-server/src/main/webapp/js/navigator/filters/date-filter-view.js
+++ b/sonar-server/src/main/js/navigator/filters/date-filter-view.js
diff --git a/sonar-server/src/main/webapp/js/navigator/filters/favorite-filters.js b/sonar-server/src/main/js/navigator/filters/favorite-filters.js
index a5c8134b07d..a5c8134b07d 100644
--- a/sonar-server/src/main/webapp/js/navigator/filters/favorite-filters.js
+++ b/sonar-server/src/main/js/navigator/filters/favorite-filters.js
diff --git a/sonar-server/src/main/webapp/js/navigator/filters/filter-bar.js b/sonar-server/src/main/js/navigator/filters/filter-bar.js
index a859c721382..a859c721382 100644
--- a/sonar-server/src/main/webapp/js/navigator/filters/filter-bar.js
+++ b/sonar-server/src/main/js/navigator/filters/filter-bar.js
diff --git a/sonar-server/src/main/webapp/js/navigator/filters/metric-filters.js b/sonar-server/src/main/js/navigator/filters/metric-filters.js
index f680d0e06e1..f680d0e06e1 100644
--- a/sonar-server/src/main/webapp/js/navigator/filters/metric-filters.js
+++ b/sonar-server/src/main/js/navigator/filters/metric-filters.js
diff --git a/sonar-server/src/main/webapp/js/navigator/filters/more-criteria-filters.js b/sonar-server/src/main/js/navigator/filters/more-criteria-filters.js
index 755c4bbfb42..755c4bbfb42 100644
--- a/sonar-server/src/main/webapp/js/navigator/filters/more-criteria-filters.js
+++ b/sonar-server/src/main/js/navigator/filters/more-criteria-filters.js
diff --git a/sonar-server/src/main/webapp/js/navigator/filters/range-filters.js b/sonar-server/src/main/js/navigator/filters/range-filters.js
index 910d37c7fa5..910d37c7fa5 100644
--- a/sonar-server/src/main/webapp/js/navigator/filters/range-filters.js
+++ b/sonar-server/src/main/js/navigator/filters/range-filters.js
diff --git a/sonar-server/src/main/webapp/js/navigator/filters/read-only-filters.js b/sonar-server/src/main/js/navigator/filters/read-only-filters.js
index 5a203e5214f..5a203e5214f 100644
--- a/sonar-server/src/main/webapp/js/navigator/filters/read-only-filters.js
+++ b/sonar-server/src/main/js/navigator/filters/read-only-filters.js
diff --git a/sonar-server/src/main/webapp/js/navigator/filters/rule-filters.js b/sonar-server/src/main/js/navigator/filters/rule-filters.js
index aed4b8d894a..aed4b8d894a 100644
--- a/sonar-server/src/main/webapp/js/navigator/filters/rule-filters.js
+++ b/sonar-server/src/main/js/navigator/filters/rule-filters.js
diff --git a/sonar-server/src/main/webapp/js/navigator/filters/string-filters.js b/sonar-server/src/main/js/navigator/filters/string-filters.js
index 2e1278f350f..2e1278f350f 100644
--- a/sonar-server/src/main/webapp/js/navigator/filters/string-filters.js
+++ b/sonar-server/src/main/js/navigator/filters/string-filters.js
diff --git a/sonar-server/src/main/webapp/js/recent-history.js b/sonar-server/src/main/js/recent-history.js
index e371603c963..e371603c963 100644
--- a/sonar-server/src/main/webapp/js/recent-history.js
+++ b/sonar-server/src/main/js/recent-history.js
diff --git a/sonar-server/src/main/webapp/js/require.js b/sonar-server/src/main/js/require.js
index 84d1d678cf4..84d1d678cf4 100644
--- a/sonar-server/src/main/webapp/js/require.js
+++ b/sonar-server/src/main/js/require.js
diff --git a/sonar-server/src/main/webapp/js/resource.js b/sonar-server/src/main/js/resource.js
index 04165488070..04165488070 100644
--- a/sonar-server/src/main/webapp/js/resource.js
+++ b/sonar-server/src/main/js/resource.js
diff --git a/sonar-server/src/main/webapp/js/select2-jquery-ui-fix.js b/sonar-server/src/main/js/select2-jquery-ui-fix.js
index edaa4899a82..edaa4899a82 100644
--- a/sonar-server/src/main/webapp/js/select2-jquery-ui-fix.js
+++ b/sonar-server/src/main/js/select2-jquery-ui-fix.js
diff --git a/sonar-server/src/main/webapp/js/sortable.js b/sonar-server/src/main/js/sortable.js
index 6f3eae3147d..6f3eae3147d 100644
--- a/sonar-server/src/main/webapp/js/sortable.js
+++ b/sonar-server/src/main/js/sortable.js
diff --git a/sonar-server/src/main/webapp/js/tests/main.js b/sonar-server/src/main/js/tests/main.js
index c012e4777e2..c012e4777e2 100644
--- a/sonar-server/src/main/webapp/js/tests/main.js
+++ b/sonar-server/src/main/js/tests/main.js
diff --git a/sonar-server/src/main/webapp/js/tests/navigator/filters/BaseFilterViewSpec.js b/sonar-server/src/main/js/tests/navigator/filters/BaseFilterViewSpec.js
index b1a0ab15c4f..b1a0ab15c4f 100644
--- a/sonar-server/src/main/webapp/js/tests/navigator/filters/BaseFilterViewSpec.js
+++ b/sonar-server/src/main/js/tests/navigator/filters/BaseFilterViewSpec.js
diff --git a/sonar-server/src/main/webapp/js/tests/navigator/filters/ChoiceFilterViewSpec.js b/sonar-server/src/main/js/tests/navigator/filters/ChoiceFilterViewSpec.js
index 3b905a9f88f..3b905a9f88f 100644
--- a/sonar-server/src/main/webapp/js/tests/navigator/filters/ChoiceFilterViewSpec.js
+++ b/sonar-server/src/main/js/tests/navigator/filters/ChoiceFilterViewSpec.js
diff --git a/sonar-server/src/main/webapp/js/third-party/backbone.js b/sonar-server/src/main/js/third-party/backbone.js
index f7783c2c199..f7783c2c199 100644
--- a/sonar-server/src/main/webapp/js/third-party/backbone.js
+++ b/sonar-server/src/main/js/third-party/backbone.js
diff --git a/sonar-server/src/main/webapp/js/third-party/backbone.marionette.js b/sonar-server/src/main/js/third-party/backbone.marionette.js
index a7dfbc340fc..a7dfbc340fc 100644
--- a/sonar-server/src/main/webapp/js/third-party/backbone.marionette.js
+++ b/sonar-server/src/main/js/third-party/backbone.marionette.js
diff --git a/sonar-server/src/main/webapp/js/third-party/d3.js b/sonar-server/src/main/js/third-party/d3.js
index b57c8d0b1c1..b57c8d0b1c1 100644
--- a/sonar-server/src/main/webapp/js/third-party/d3.js
+++ b/sonar-server/src/main/js/third-party/d3.js
diff --git a/sonar-server/src/main/webapp/js/third-party/handlebars.js b/sonar-server/src/main/js/third-party/handlebars.js
index 1c64ca507d8..1c64ca507d8 100644
--- a/sonar-server/src/main/webapp/js/third-party/handlebars.js
+++ b/sonar-server/src/main/js/third-party/handlebars.js
diff --git a/sonar-server/src/main/webapp/js/third-party/jquery-ui.js b/sonar-server/src/main/js/third-party/jquery-ui.js
index fd8cf31e50d..fd8cf31e50d 100755
--- a/sonar-server/src/main/webapp/js/third-party/jquery-ui.js
+++ b/sonar-server/src/main/js/third-party/jquery-ui.js
diff --git a/sonar-server/src/main/webapp/js/third-party/jquery.js b/sonar-server/src/main/js/third-party/jquery.js
index 3c88fa8b7fd..3c88fa8b7fd 100644
--- a/sonar-server/src/main/webapp/js/third-party/jquery.js
+++ b/sonar-server/src/main/js/third-party/jquery.js
diff --git a/sonar-server/src/main/webapp/js/third-party/jquery.mockjax.js b/sonar-server/src/main/js/third-party/jquery.mockjax.js
index b8e13145e40..b8e13145e40 100644
--- a/sonar-server/src/main/webapp/js/third-party/jquery.mockjax.js
+++ b/sonar-server/src/main/js/third-party/jquery.mockjax.js
diff --git a/sonar-server/src/main/webapp/js/third-party/moment.js b/sonar-server/src/main/js/third-party/moment.js
index 0018faebf9f..0018faebf9f 100644
--- a/sonar-server/src/main/webapp/js/third-party/moment.js
+++ b/sonar-server/src/main/js/third-party/moment.js
diff --git a/sonar-server/src/main/webapp/js/third-party/select2.js b/sonar-server/src/main/js/third-party/select2.js
index 213f4cf930a..213f4cf930a 100644
--- a/sonar-server/src/main/webapp/js/third-party/select2.js
+++ b/sonar-server/src/main/js/third-party/select2.js
diff --git a/sonar-server/src/main/webapp/js/third-party/underscore.js b/sonar-server/src/main/js/third-party/underscore.js
index ca61fdc3a4b..ca61fdc3a4b 100644
--- a/sonar-server/src/main/webapp/js/third-party/underscore.js
+++ b/sonar-server/src/main/js/third-party/underscore.js
diff --git a/sonar-server/src/main/webapp/js/top-search.js b/sonar-server/src/main/js/top-search.js
index f6b3d7afe6e..f6b3d7afe6e 100644
--- a/sonar-server/src/main/webapp/js/top-search.js
+++ b/sonar-server/src/main/js/top-search.js
diff --git a/sonar-server/src/main/webapp/js/translate.js b/sonar-server/src/main/js/translate.js
index 9795da08b27..9795da08b27 100644
--- a/sonar-server/src/main/webapp/js/translate.js
+++ b/sonar-server/src/main/js/translate.js
diff --git a/sonar-server/src/main/webapp/js/widgets/bubble-chart.js b/sonar-server/src/main/js/widgets/bubble-chart.js
index 3d60d877944..3d60d877944 100644
--- a/sonar-server/src/main/webapp/js/widgets/bubble-chart.js
+++ b/sonar-server/src/main/js/widgets/bubble-chart.js
diff --git a/sonar-server/src/main/webapp/js/widgets/histogram.js b/sonar-server/src/main/js/widgets/histogram.js
index bbef0380f31..bbef0380f31 100644
--- a/sonar-server/src/main/webapp/js/widgets/histogram.js
+++ b/sonar-server/src/main/js/widgets/histogram.js
diff --git a/sonar-server/src/main/webapp/js/widgets/pie-chart.js b/sonar-server/src/main/js/widgets/pie-chart.js
index cf7acdced26..cf7acdced26 100644
--- a/sonar-server/src/main/webapp/js/widgets/pie-chart.js
+++ b/sonar-server/src/main/js/widgets/pie-chart.js
diff --git a/sonar-server/src/main/webapp/js/widgets/stack-area.js b/sonar-server/src/main/js/widgets/stack-area.js
index 8a16b7e679a..8a16b7e679a 100644
--- a/sonar-server/src/main/webapp/js/widgets/stack-area.js
+++ b/sonar-server/src/main/js/widgets/stack-area.js
diff --git a/sonar-server/src/main/webapp/js/widgets/timeline.js b/sonar-server/src/main/js/widgets/timeline.js
index 32d33b0abfb..32d33b0abfb 100644
--- a/sonar-server/src/main/webapp/js/widgets/timeline.js
+++ b/sonar-server/src/main/js/widgets/timeline.js
diff --git a/sonar-server/src/main/webapp/js/widgets/widget.js b/sonar-server/src/main/js/widgets/widget.js
index 4c7f3a6a06e..4c7f3a6a06e 100644
--- a/sonar-server/src/main/webapp/js/widgets/widget.js
+++ b/sonar-server/src/main/js/widgets/widget.js
diff --git a/sonar-server/src/main/webapp/less/coding-rules.less b/sonar-server/src/main/less/coding-rules.less
index fb84e4f3781..fb84e4f3781 100644
--- a/sonar-server/src/main/webapp/less/coding-rules.less
+++ b/sonar-server/src/main/less/coding-rules.less
diff --git a/sonar-server/src/main/webapp/less/dashboard.less b/sonar-server/src/main/less/dashboard.less
index 710d6bb7fe2..710d6bb7fe2 100644
--- a/sonar-server/src/main/webapp/less/dashboard.less
+++ b/sonar-server/src/main/less/dashboard.less
diff --git a/sonar-server/src/main/webapp/less/icons.less b/sonar-server/src/main/less/icons.less
index 5c8bc983bd1..5c8bc983bd1 100644
--- a/sonar-server/src/main/webapp/less/icons.less
+++ b/sonar-server/src/main/less/icons.less
diff --git a/sonar-server/src/main/webapp/less/jquery-ui.less b/sonar-server/src/main/less/jquery-ui.less
index 7bb8a984132..7bb8a984132 100644
--- a/sonar-server/src/main/webapp/less/jquery-ui.less
+++ b/sonar-server/src/main/less/jquery-ui.less
diff --git a/sonar-server/src/main/webapp/less/layout.less b/sonar-server/src/main/less/layout.less
index 0e1378104c7..0e1378104c7 100644
--- a/sonar-server/src/main/webapp/less/layout.less
+++ b/sonar-server/src/main/less/layout.less
diff --git a/sonar-server/src/main/webapp/less/mixins.less b/sonar-server/src/main/less/mixins.less
index 808128ca0f0..808128ca0f0 100644
--- a/sonar-server/src/main/webapp/less/mixins.less
+++ b/sonar-server/src/main/less/mixins.less
diff --git a/sonar-server/src/main/webapp/less/navigator.less b/sonar-server/src/main/less/navigator.less
index ab9401b0478..ab9401b0478 100644
--- a/sonar-server/src/main/webapp/less/navigator.less
+++ b/sonar-server/src/main/less/navigator.less
diff --git a/sonar-server/src/main/webapp/less/navigator/base.less b/sonar-server/src/main/less/navigator/base.less
index 35c2b4212ff..35c2b4212ff 100644
--- a/sonar-server/src/main/webapp/less/navigator/base.less
+++ b/sonar-server/src/main/less/navigator/base.less
diff --git a/sonar-server/src/main/webapp/less/navigator/config.less b/sonar-server/src/main/less/navigator/config.less
index 2d920ff7e4c..2d920ff7e4c 100644
--- a/sonar-server/src/main/webapp/less/navigator/config.less
+++ b/sonar-server/src/main/less/navigator/config.less
diff --git a/sonar-server/src/main/webapp/less/navigator/filters.less b/sonar-server/src/main/less/navigator/filters.less
index fbfdf0e3b13..fbfdf0e3b13 100644
--- a/sonar-server/src/main/webapp/less/navigator/filters.less
+++ b/sonar-server/src/main/less/navigator/filters.less
diff --git a/sonar-server/src/main/webapp/less/quality-gates.less b/sonar-server/src/main/less/quality-gates.less
index 4d07ee8f986..4d07ee8f986 100644
--- a/sonar-server/src/main/webapp/less/quality-gates.less
+++ b/sonar-server/src/main/less/quality-gates.less
diff --git a/sonar-server/src/main/webapp/less/select-list.less b/sonar-server/src/main/less/select-list.less
index 90f9d64f594..90f9d64f594 100644
--- a/sonar-server/src/main/webapp/less/select-list.less
+++ b/sonar-server/src/main/less/select-list.less
diff --git a/sonar-server/src/main/webapp/less/select2-sonar.less b/sonar-server/src/main/less/select2-sonar.less
index fed92898f3d..fed92898f3d 100644
--- a/sonar-server/src/main/webapp/less/select2-sonar.less
+++ b/sonar-server/src/main/less/select2-sonar.less
diff --git a/sonar-server/src/main/webapp/less/select2.less b/sonar-server/src/main/less/select2.less
index aae6c48ffea..aae6c48ffea 100755
--- a/sonar-server/src/main/webapp/less/select2.less
+++ b/sonar-server/src/main/less/select2.less
diff --git a/sonar-server/src/main/webapp/less/sonar-colorizer.less b/sonar-server/src/main/less/sonar-colorizer.less
index dd924b9ea5e..dd924b9ea5e 100644
--- a/sonar-server/src/main/webapp/less/sonar-colorizer.less
+++ b/sonar-server/src/main/less/sonar-colorizer.less
diff --git a/sonar-server/src/main/webapp/less/style.less b/sonar-server/src/main/less/style.less
index 28d386b2c3d..28d386b2c3d 100644
--- a/sonar-server/src/main/webapp/less/style.less
+++ b/sonar-server/src/main/less/style.less
diff --git a/sonar-server/src/main/webapp/less/ui.less b/sonar-server/src/main/less/ui.less
index 6627c09b25b..6627c09b25b 100644
--- a/sonar-server/src/main/webapp/less/ui.less
+++ b/sonar-server/src/main/less/ui.less
diff --git a/sonar-server/src/main/webapp/less/variables.less b/sonar-server/src/main/less/variables.less
index ab56248686b..ab56248686b 100644
--- a/sonar-server/src/main/webapp/less/variables.less
+++ b/sonar-server/src/main/less/variables.less
diff --git a/sonar-server/src/main/webapp/less/yui-reset-font.less b/sonar-server/src/main/less/yui-reset-font.less
index bf3e732e3c7..bf3e732e3c7 100644
--- a/sonar-server/src/main/webapp/less/yui-reset-font.less
+++ b/sonar-server/src/main/less/yui-reset-font.less
diff --git a/sonar-server/src/main/webapp/js/build.js b/sonar-server/src/main/webapp/js/build.js
deleted file mode 100644
index 3f238b9080c..00000000000
--- a/sonar-server/src/main/webapp/js/build.js
+++ /dev/null
@@ -1,41 +0,0 @@
-({
- appDir: '.',
- baseUrl: '.',
- dir: 'build',
- preserveLicenseComments: false,
- skipDirOptimize: true,
-
- modules: [
- { name: 'quality-gate/app' },
- { name: 'issues/app' },
- { name: 'measures/app' },
- { name: 'common/select-list' }
- ],
-
- paths: {
- 'backbone': 'third-party/backbone',
- 'backbone.marionette': 'third-party/backbone.marionette',
- 'handlebars': 'third-party/handlebars',
- 'moment': 'third-party/moment',
- 'select-list': 'common/select-list'
- },
-
- shim: {
- 'backbone.marionette': {
- deps: ['backbone'],
- exports: 'Marionette'
- },
- 'backbone': {
- exports: 'Backbone'
- },
- 'handlebars': {
- exports: 'Handlebars'
- },
- 'moment': {
- exports: 'moment'
- },
- 'select-list': {
- exports: 'SelectList'
- }
- }
-})
diff --git a/sonar-server/src/main/webapp/js/common/inputs.js b/sonar-server/src/main/webapp/js/common/inputs.js
deleted file mode 100644
index 6c3cbe034dc..00000000000
--- a/sonar-server/src/main/webapp/js/common/inputs.js
+++ /dev/null
@@ -1,108 +0,0 @@
-(function() {
- var $, convertRating, convertValue, convertWorkDuration, originalVal, restoreRating, restoreValue, restoreWorkDuration, transformPattern;
-
- $ = jQuery;
-
- transformPattern = function(pattern) {
- return pattern.replace(/\{0\}/g, '(\\d+)');
- };
-
- convertWorkDuration = function(value) {
- var days, daysPattern, hours, hoursPattern, minutes, minutesPattern;
- daysPattern = transformPattern(t('work_duration.x_days'));
- hoursPattern = transformPattern(t('work_duration.x_hours'));
- minutesPattern = transformPattern(t('work_duration.x_minutes'));
- days = value.match(daysPattern);
- hours = value.match(hoursPattern);
- minutes = value.match(minutesPattern);
- days = days ? +days[1] : 0;
- hours = hours ? +hours[1] : 0;
- minutes = minutes ? +minutes[1] : 0;
- if (!value || (value.length > 0 && days === 0 && hours === 0 && minutes === 0)) {
- return value;
- } else {
- return (days * 8 + hours) * 60 + minutes;
- }
- };
-
- restoreWorkDuration = function(value) {
- var days, hours, minutes, result;
- if (!/^\d+$/.test(value)) {
- return value;
- }
- days = Math.floor(value / (8 * 60));
- hours = Math.floor((value - days * 8 * 60) / 60);
- minutes = value % 60;
- result = [];
- if (days > 0) {
- result.push(t('work_duration.x_days').replace('{0}', days));
- }
- if (hours > 0) {
- result.push(t('work_duration.x_hours').replace('{0}', hours));
- }
- if (minutes > 0) {
- result.push(t('work_duration.x_minutes').replace('{0}', minutes));
- }
- return result.join(' ');
- };
-
- convertRating = function(value) {
- if (/^[ABCDE]$/.test(value)) {
- return value.charCodeAt(0) - 'A'.charCodeAt(0) + 1;
- } else {
- return value;
- }
- };
-
- convertValue = function(value, input) {
- var type;
- type = input.data('type');
- if (type == null) {
- return value;
- }
- switch (type) {
- case 'WORK_DUR':
- return convertWorkDuration(value);
- case 'RATING':
- return convertRating(value);
- default:
- return value;
- }
- };
-
- restoreRating = function(value) {
- if (!/^[12345]+$/.test(value)) {
- return value;
- }
- return String.fromCharCode(value - 1 + 'A'.charCodeAt(0));
- };
-
- restoreValue = function(value, input) {
- var type;
- type = input.data('type');
- if (type == null) {
- return value;
- }
- switch (type) {
- case 'WORK_DUR':
- return restoreWorkDuration(value);
- case 'RATING':
- return restoreRating(value);
- default:
- return value;
- }
- };
-
- originalVal = $.fn.val;
-
- $.fn.val = function(value) {
- if (arguments.length) {
- return originalVal.call(this, restoreValue(value, this));
- } else {
- return convertValue(originalVal.call(this), this);
- }
- };
-
- $.fn.originalVal = originalVal;
-
-}).call(this);