stable

Clone or download

Read-only

request #11218 Webpack for pullrequest plugin

How to test: - Run 'npm run build' at Tuleap root --> The app is built at the same time than the other ones. - Run 'npm run build' in pullrequest/www/scripts --> The app is being built --> Styles are compiled --> assets are copyed --> all is placed in pullrequest/www/asserts - Run 'npm run test' --> UT are played once - Run 'npm run watch' --> Ut are played each time you apply changes in some files - Run npm run coverage --> UT are played and coverage results are displayed in the browser. - Go in tuleap > Git --> Pullrequest service is fully operational --> No regression --> No unknown issue Change-Id: I188c6da598affa6a95eb8959f2e31512d3f7b714

Modified Files

Name
M gulpfile.js +2 −1 Go to diff View file
M plugins/pullrequest/include/pullrequestPlugin.class.php +22 −7 Go to diff View file
D plugins/pullrequest/www/js/angular/.editorconfig +0 −17 Go to diff View file
D plugins/pullrequest/www/js/angular/Gruntfile.js +0 −471 Go to diff View file
D plugins/pullrequest/www/js/angular/bower.json +0 −19 Go to diff View file
D plugins/pullrequest/www/js/angular/build.config.js +0 −82 Go to diff View file
D plugins/pullrequest/www/js/angular/karma.config.js +0 −50 Go to diff View file
D plugins/pullrequest/www/js/angular/module.prefix +0 −1 Go to diff View file
D plugins/pullrequest/www/js/angular/module.suffix +0 −1 Go to diff View file
D plugins/pullrequest/www/js/angular/package-lock.json +0 −5790 Go to diff View file
D plugins/pullrequest/www/js/angular/package.json +0 −38 Go to diff View file
D plugins/pullrequest/www/js/angular/src/app/app.js +0 −12 Go to diff View file
D plugins/pullrequest/www/js/angular/src/app/button-back/button-back-directive.js +0 −13 Go to diff View file
D plugins/pullrequest/www/js/angular/src/app/dashboard/dashboard-directive.js +0 −13 Go to diff View file
D plugins/pullrequest/www/js/angular/src/app/dashboard/pull-request-summary/pull-request-summary-directive.js +0 −15 Go to diff View file
D plugins/pullrequest/www/js/angular/src/app/error-modal/error-modal-service.js +0 −39 Go to diff View file
D plugins/pullrequest/www/js/angular/src/app/file-diff/inline-comment/inline-comment-directive.js +0 −13 Go to diff View file
D plugins/pullrequest/www/js/angular/src/app/files/filepaths-service.js +0 −34 Go to diff View file
D plugins/pullrequest/www/js/angular/src/app/files/files-directive.js +0 −13 Go to diff View file
D plugins/pullrequest/www/js/angular/src/app/overview/merge-modal/merge-modal-service.js +0 −27 Go to diff View file
D plugins/pullrequest/www/js/angular/src/app/overview/overview-directive.js +0 −13 Go to diff View file
D plugins/pullrequest/www/js/angular/src/app/overview/timeline/timeline-directive.js +0 −13 Go to diff View file
D plugins/pullrequest/www/js/angular/src/app/pull-request-refs/pull-request-refs-controller.js +0 −29 Go to diff View file
D plugins/pullrequest/www/js/angular/src/app/pull-request-refs/pull-request-refs.directive.js +0 −16 Go to diff View file
D plugins/pullrequest/www/js/angular/src/app/pull-request/header/header-directive.js +0 −12 Go to diff View file
D plugins/pullrequest/www/js/angular/src/app/pull-request/pull-request-directive.js +0 −13 Go to diff View file
D plugins/pullrequest/www/js/angular/src/app/resize/resize.js +0 −2 Go to diff View file
D plugins/pullrequest/www/js/angular/src/app/shared-properties/shared-properties.js +0 −1 Go to diff View file
D plugins/pullrequest/www/js/angular/src/app/tuleap-username/tuleap-username-directive.js +0 −14 Go to diff View file
D plugins/pullrequest/www/js/move-button-back.js +0 −39 Go to diff View file
R plugins/pullrequest/www/js/angular/.gitignore Go to diff View file
A plugins/pullrequest/www/scripts/bower.json +9 −0 Go to diff View file
A plugins/pullrequest/www/scripts/gulpfile.js +42 −0 Go to diff View file
A plugins/pullrequest/www/scripts/karma.config.js +81 −0 Go to diff View file
A plugins/pullrequest/www/scripts/move-button-back.js +35 −0 Go to diff View file
A plugins/pullrequest/www/scripts/package-lock.json +9840 −0 Go to diff View file
A plugins/pullrequest/www/scripts/package.json +54 −0 Go to diff View file
R plugins/pullrequest/www/js/angular/po/fr.po Go to diff View file
R plugins/pullrequest/www/js/angular/po/template.pot Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/app-config.js Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/app-controller.js Go to diff View file
A plugins/pullrequest/www/scripts/src/app/app.js +101 −0 Go to diff View file
A plugins/pullrequest/www/scripts/src/app/app.spec.js +12 −0 Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/button-back/button-back-controller.js Go to diff View file
A plugins/pullrequest/www/scripts/src/app/button-back/button-back-directive.js +16 −0 Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/button-back/button-back.tpl.html Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/dashboard/_dashboard.scss Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/dashboard/dashboard-config.js Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/dashboard/dashboard-controller.js Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/dashboard/dashboard-controller.spec.js Go to diff View file
A plugins/pullrequest/www/scripts/src/app/dashboard/dashboard-directive.js +16 −0 Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/dashboard/dashboard.tpl.html Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/dashboard/pull-request-collection-rest-service.js Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/dashboard/pull-request-collection-rest-service.spec.js Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/dashboard/pull-request-collection-service.js Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/dashboard/pull-request-collection-service.spec.js Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/dashboard/pull-request-summary/_pull-request-summary.scss Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/dashboard/pull-request-summary/pull-request-summary-controller.js Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/dashboard/pull-request-summary/pull-request-summary-controller.spec.js Go to diff View file
A plugins/pullrequest/www/scripts/src/app/dashboard/pull-request-summary/pull-request-summary-directive.js +18 −0 Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/dashboard/pull-request-summary/pull-request-summary.tpl.html Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/error-modal/error-modal-controller.js Go to diff View file
A plugins/pullrequest/www/scripts/src/app/error-modal/error-modal-service.js +37 −0 Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/error-modal/error-modal.tpl.html Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/file-diff/_file-diff.scss Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/file-diff/file-diff-config.js Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/file-diff/file-diff-controller.js Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/file-diff/file-diff-directive.js Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/file-diff/file-diff-rest-service.js Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/file-diff/file-diff.tpl.html Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/file-diff/inline-comment/_inline-comment.scss Go to diff View file
A plugins/pullrequest/www/scripts/src/app/file-diff/inline-comment/inline-comment-directive.js +13 −0 Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/file-diff/inline-comment/inline-comment.tpl.html Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/files/_files.scss Go to diff View file
A plugins/pullrequest/www/scripts/src/app/files/filepaths-service.js +28 −0 Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/files/files-config.js Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/files/files-controller.js Go to diff View file
A plugins/pullrequest/www/scripts/src/app/files/files-directive.js +16 −0 Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/files/files-rest-service.js Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/files/files.tpl.html Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/labels/labels-controller.js Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/labels/labels-directive.js Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/overview/_overview.scss Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/overview/merge-modal/_merge-modal.scss Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/overview/merge-modal/merge-modal-controller.js Go to diff View file
A plugins/pullrequest/www/scripts/src/app/overview/merge-modal/merge-modal-service.js +25 −0 Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/overview/merge-modal/merge-modal.tpl.html Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/overview/overview-config.js Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/overview/overview-controller.js Go to diff View file
A plugins/pullrequest/www/scripts/src/app/overview/overview-directive.js +16 −0 Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/overview/overview.tpl.html Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/overview/timeline/_timeline.scss Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/overview/timeline/timeline-controller.js Go to diff View file
A plugins/pullrequest/www/scripts/src/app/overview/timeline/timeline-directive.js +16 −0 Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/overview/timeline/timeline-rest-service.js Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/overview/timeline/timeline-service.js Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/overview/timeline/timeline-service.spec.js Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/overview/timeline/timeline.tpl.html Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/pull-request-refs/_pull-request-refs.scss Go to diff View file
A plugins/pullrequest/www/scripts/src/app/pull-request-refs/pull-request-refs-controller.js +32 −0 Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/pull-request-refs/pull-request-refs-controller.spec.js Go to diff View file
A plugins/pullrequest/www/scripts/src/app/pull-request-refs/pull-request-refs.directive.js +18 −0 Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/pull-request-refs/pull-request-refs.tpl.html Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/pull-request/_pull-request.scss Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/pull-request/header/header-controller.js Go to diff View file
A plugins/pullrequest/www/scripts/src/app/pull-request/header/header-directive.js +15 −0 Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/pull-request/header/header.tpl.html Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/pull-request/pull-request-config.js Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/pull-request/pull-request-controller.js Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/pull-request/pull-request-controller.spec.js Go to diff View file
A plugins/pullrequest/www/scripts/src/app/pull-request/pull-request-directive.js +16 −0 Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/pull-request/pull-request-rest-service.js Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/pull-request/pull-request-rest-service.spec.js Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/pull-request/pull-request-service.js Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/pull-request/pull-request-service.spec.js Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/pull-request/pull-request.tpl.html Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/resize/resize-directive.js Go to diff View file
A plugins/pullrequest/www/scripts/src/app/resize/resize.js +7 −0 Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/shared-properties/shared-properties-service.js Go to diff View file
A plugins/pullrequest/www/scripts/src/app/shared-properties/shared-properties.js +7 −0 Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/tooltip-service.js Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/main.scss Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/tuleap-username/_tuleap-username.scss Go to diff View file
A plugins/pullrequest/www/scripts/src/app/tuleap-username/tuleap-username-directive.js +13 −0 Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/tuleap-username/tuleap-username.tpl.html Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/user-rest-service.js Go to diff View file
R plugins/pullrequest/www/js/angular/src/app/user-rest-service.spec.js Go to diff View file
R plugins/pullrequest/www/js/angular/src/assets/loader-mini.gif Binary file Go to diff View file
R plugins/pullrequest/www/js/angular/src/assets/loader.gif Binary file Go to diff View file
A plugins/pullrequest/www/scripts/webpack.config.js +98 −0 Go to diff View file
M tests/Jenkinsfile +1 −1 Go to diff View file
M tools/rpm/Makefile +2 −11 Go to diff View file