stable

Clone or download

Read-only

Use a module-loader for Angular Artifact Modal

This is part of story #10353: display a kanban as a widget How to test this: - "npm run build" in tuleap root should build the angular artifact modal and kanban - "npm run build" in kanban dir should import the angular artifact modal code - "npm run watch" should rebuild kanban when angular artifact modal files change in artifact modal dir: - "npm run test" should run 162 tests and succeed - "npm run coverage" should run unit tests and open a web interface for browsing test coverage data - "npm run build" should only extract translated strings - "npm run watch" should extract translated strings and run unit tests See README.mkd on how to include the angular artifact modal in angular apps Will be done in following commits: - removing bower and bootstrap completely from the artifact modal - switching to TLP modal - converting to TLP HTML and CSS - fixing ckeditor related issues - fixing codendi.Tooltip related issues Change-Id: I66f7f2b39d90d04531aea4da8f43af19055a1fa3

Modified Files

Name
M gulpfile.js +7 −3 Go to diff View file
M plugins/agiledashboard/build-manifest.json +2 −2 Go to diff View file
M plugins/agiledashboard/www/js/kanban/bower.json +1 −6 Go to diff View file
M plugins/agiledashboard/www/js/kanban/gulpfile.js +3 −3 Go to diff View file
M plugins/agiledashboard/www/js/kanban/package-lock.json +4 −1014 Go to diff View file
M plugins/agiledashboard/www/js/kanban/package.json +4 −2 Go to diff View file
M plugins/agiledashboard/www/js/kanban/src/app/app.js +6 −14 Go to diff View file
D plugins/agiledashboard/www/js/kanban/src/app/modal-moment-fix.js +0 −5 Go to diff View file
M plugins/agiledashboard/www/js/kanban/webpack.config.js +9 −10 Go to diff View file
M plugins/agiledashboard/www/themes/BurningParrot/css/_kanban.scss +1 −3 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/.gitignore +0 −1 Go to diff View file
D plugins/tracker/www/scripts/angular-artifact-modal/Gruntfile.js +0 −407 Go to diff View file
A plugins/tracker/www/scripts/angular-artifact-modal/README.mkd +66 −0 Go to diff View file
A plugins/tracker/www/scripts/angular-artifact-modal/_index.scss +1 −0 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/bower.json +2 −18 Go to diff View file
D plugins/tracker/www/scripts/angular-artifact-modal/build.config.js +0 −95 Go to diff View file
A plugins/tracker/www/scripts/angular-artifact-modal/gulpfile.js +68 −0 Go to diff View file
A plugins/tracker/www/scripts/angular-artifact-modal/index.js +1 −0 Go to diff View file
D plugins/tracker/www/scripts/angular-artifact-modal/karma-unit.tpl.js +0 −67 Go to diff View file
A plugins/tracker/www/scripts/angular-artifact-modal/karma.conf.js +61 −0 Go to diff View file
D plugins/tracker/www/scripts/angular-artifact-modal/module.prefix +0 −1 Go to diff View file
D plugins/tracker/www/scripts/angular-artifact-modal/module.suffix +0 −1 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/package-lock.json +4118 −1545 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/package.json +39 −26 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/field-dependencies-service.js +2 −4 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/field-dependencies-service.spec.js +22 −18 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/format-date-directive.js +3 −19 Go to diff View file
A plugins/tracker/www/scripts/angular-artifact-modal/src/format-datetime-directive.js +14 −0 Go to diff View file
A plugins/tracker/www/scripts/angular-artifact-modal/src/index.spec.js +17 −0 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/model/awkward-creation-fields-constant.js +2 −5 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/model/field-values-service.js +7 −7 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/model/field-values-service.spec.js +48 −48 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/model/form-tree-builder-service.js +8 −8 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/model/form-tree-builder-service.spec.js +9 −5 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/model/model.js +17 −1 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/model/structural-fields-constant.js +2 −5 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/model/tracker-transformer-service.js +12 −13 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/model/tracker-transformer-service.spec.js +23 −19 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/model/workflow-service.js +10 −9 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/model/workflow-service.spec.js +9 −6 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/parent-service.js +5 −11 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/parent-service.spec.js +15 −11 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/quota-display/quota-display-controller.js +5 −9 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/quota-display/quota-display-directive.js +6 −8 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/quota-display/quota-display.js +13 −3 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/rest/rest-service.js +5 −5 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/rest/rest-service.spec.js +39 −31 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/rest/rest.js +9 −1 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-artifact-modal-controller.js +6 −6 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-artifact-modal-controller.spec.js +59 −46 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/computed-field/computed-field-controller.js +6 −8 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/computed-field/computed-field-controller.spec.js +22 −16 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/computed-field/computed-field-directive.js +6 −8 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/computed-field/computed-field-validate-service.js +5 −4 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/computed-field/computed-field-validate-service.spec.js +12 −8 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/computed-field/computed-field.js +14 −2 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/fields.js +11 −3 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/file-field/file-field-controller.js +4 −8 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/file-field/file-field-controller.spec.js +9 −3 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/file-field/file-field-directive.js +9 −7 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/file-field/file-field.js +21 −4 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/file-field/file-upload-rules-value.js +6 −8 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/file-field/file-upload-service.js +5 −5 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/file-field/file-upload-service.spec.js +7 −3 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/permission-field/permission-field-controller.js +3 −5 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/permission-field/permission-field-controller.spec.js +9 −3 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/permission-field/permission-field-directive.js +6 −8 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/permission-field/permission-field-validate-service.js +6 −4 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/permission-field/permission-field-validate-service.spec.js +10 −6 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/permission-field/permission-field.js +11 −1 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-artifact-modal-service.js +9 −10 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-artifact-modal-service.spec.js +18 −11 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-artifact-modal.js +46 −9 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-artifact-modal.scss +2 −0 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-artifact-modal.tpl.html +4 −2 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-focus/focus-on-click-directive.js +5 −5 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-focus/focus.js +7 −1 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-highlight/highlight-directive.js +1 −3 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-highlight/highlight-directive.spec.js +7 −2 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-highlight/highlight.js +7 −1 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/validate-service.js +5 −5 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/validate-service.spec.js +17 −13 Go to diff View file
A plugins/tracker/www/scripts/angular-artifact-modal/webpack.config.js +40 −0 Go to diff View file
M tools/utils/component-builder.js +4 −4 Go to diff View file