This commit transition the application to Angular 13, and refactors the
build process to use the Angular CLI instead of hacking a webpack config.
It also removes a lot of things: junk code, or features that are no longer
needed, like the following:
* The Codepeer history view of the various runs is removed
* The refresh review / add review buttons with their associated dialog
are removed
Change-Id: I8adb19aa2ec8303aa23bd38a916fac35947ee69a
Depends-On: Ie50b0def8c0c2485f890eb46317b53b62b4382dd
TN: V316-059
Remove node-sass which is not yet compatible with python3
(need to wait for the 5+ release) => replace it by dart-sass.
Remove angular-cli which is expecting node-sass.
Update node-gyp to a version using python3.
Update the packaging script via 2to3.
Change-Id: Ie4c659253ffa4d2f942c4b4a9cfcda802e47a7b2
- Added rule only for Karma in makefile
- Picked the right version to run Karma wothout error
- Review existing spec.ts
Change-Id: Ibf59f8359cb33738f56562ddd14a64667914becb
For: S923-005
- Create new page for codepeer history
- Create chart to show info
- Create table to show info
- Erase codepeer-run-info pop-up/dialog
- Merge codepeer-run-info in the new page
- Review design of tables
- Add filter to the chart
- Rename title of page and button
- Change tooltip template
Change-Id: I8550e5949e605412add4a30ee6a18951b1f04d06
For: RC20-011
Use es6 target for typescript
Use proper node modules versions
Remove dll budles plugin: this plugin was a shortcut
to generate vendor bundle + reference it in the bundled app,
but in fact it was forcing the vendor entry point name to "vendor"
when it should have been the same as the name defined in
the bundle-manifest.json: vendor_lib.
Hence the 'vendor_lib' not defined.
So make it work, do:
> npm install
> npm run build:dev
> npm run server:dev
(after having put the data dir content in /dist/data)
And it requires at least node 8.0.0
TO-DO: the final js files are a bit under 2M, some minification
might be good to reduce it a bit, but as it's a loaded locally,
it's no big deal.
Part of S913-015
Change-Id: I9c37f86e54adeed938f684f5a8e23646e93c0291
This reverts commit 975c77e553.
Fix for error with Uglify-JS on Linux machine
Fix for webpack-cli error
For: S724-007
Change-Id: I463764ac88670cb034aa4015d3cc2c2aed74f771
- Reviewed all package.json
- Creation of package-lock.json
- Change the routing process
- Rework the little detail
For: RC09-006
Change-Id: I981e429a93ff7b0e16aae5b1a81a5d244404850a
- Add a user review
- Get the user review from codepeer
- Link data between Gnathub and Codepeer
For : R626-026
Change-Id: I1f8ea96d114080e5e7d35d6e5bcc29172bc67290
- All un-imported modules are erased (almost 400)
- New package.json with all dependencies
Next step is to verify that all imported modules are used
Also check gulp-utils wich is deprecated
For R116-038
Change-Id: Id437457557b0793bca8ec10ea89f57a2f08d7170
Also upgrade other dependencies such as the latest and greatest Webpack.
Refactor sources to comply to the coding style in order to have a clean
run for tests.
Change-Id: Ic10271c92c4b8c4b7991acfb28670d80b03a1f2b