| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
to silence the warning from Angular 12.0 and up, which complains like:
Option "--prod" is deprecated: Use "--configuration production" instead
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
A full changelog can be seen here: https://blog.angular.io/angular-v12-is-now-available-32ed51fbfd49
For us, the most I had to do is to take care of the min-max validation
and a small CSS change regarding the math()
Fixes: https://tracker.ceph.com/issues/53049
Signed-off-by: Nizamudeen A <nia@redhat.com>
|
|
|
|
|
|
|
|
| |
- Remove npm-force-resolutions: no resolution needed anymore and this is modifying package-lock.json every time it is run (striping last empty line).
- Add .npmrc: save exact version by default; do not launch audit report when installing.
Fixes: https://tracker.ceph.com/issues/48005
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
|
|
|
|
|
|
| |
it's simpler to build frontend in frontend/CMakeLists.txt
Signed-off-by: Kefu Chai <kchai@redhat.com>
|
|
|
|
|
|
|
|
| |
Update the documentation reference as the content
of the HACKING.rst file has been moved to the Ceph
developer documentation.
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
|
|\
| |
| |
| |
| |
| | |
mgr/dashboard: Always use fast angular unit tests
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This will replace the current approach having a fast testing workaround
that didn't fully work on every test. Now using ng-bullet's optimization
works with every test, therefore there is no need to keep the old
configuration files and use the slow testing on Jenkins.
Fixes: https://tracker.ceph.com/issues/45433
Signed-off-by: Stephan Müller <smueller@suse.com>
|
|/
|
|
|
|
|
|
|
| |
We were just checking if the translation sources were correct and ignore if the
extraction simply failed.
Fixes: https://tracker.ceph.com/issues/45428
Signed-off-by: Tiago Melo <tmelo@suse.com>
|
|
|
|
|
|
|
|
|
|
| |
Check if it's necessary to run "npm run fix:audit" before committing the changes.
This is important to resolve some issues with building and
to fix some npm vulnerabilities.
Fixes: https://tracker.ceph.com/issues/44723
Signed-off-by: Tiago Melo <tmelo@suse.com>
|
|
|
|
| |
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
|
|
|
|
| |
Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
|
|
|
|
|
|
|
| |
Adds the npm package transifex-i18ntool which manages the translation
files of the ceph dashboard
Signed-off-by: Sebastian Krah <skrah@suse.com>
|
|
|
|
|
|
| |
Fixes: http://tracker.ceph.com/issues/40064
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
|
|
|
|
|
|
|
|
| |
Removes the messages.xlf file from the git repository, due to a lot of merge conflicts.
It won't cause any problems, because the file is not important for building or the translation during runtime.
Fixes: https://tracker.ceph.com/issues/38003
Signed-off-by: Sebastian Krah <skrah@suse.com>
|
|
|
|
|
|
| |
This will check if there are new strings, validate them and ask the developer
to commit and fix those.
Signed-off-by: Tiago Melo <tmelo@suse.com>
|
|
|
|
| |
Signed-off-by: Ricardo Dias <rdias@suse.com>
|
|
|
|
| |
Signed-off-by: Tiago Melo <tmelo@suse.com>
|
|
|
|
| |
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added prettier validation to the run-frontend-unittests script. This will make
sure we are always running prettier in our commits.
Added 2 new npm scripts:
- 'prettier', will run prettier formatter on all frontend files
- 'prettier:lint', will check all frontend files against prettier linter
Removed 'pretty-quick' and related scripts. Since we now have all files
prettified we can simply run prettier on them.
Remove 'tslint-eslint-rules' package and all related rules. Prettier can check
all the removed rules.
Updated HACKING.rst with some information about prettier.
Signed-off-by: Tiago Melo <tmelo@suse.com>
|
|
|
| |
Signed-off-by: Tiago Melo <tmelo@suse.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With this helper function you can easily resolve the TestBed resetting
performance issue. If more tests exists in a test suite, it makes sense
to configure TestBed only once if you are not doing a lot of TestBed
specific stuff (haven't hit the limitation). It will reduce the test
run time by around $tests * 50 %. In my case it was a test suite with
47 tests with a run time of over 30s after using the static test bed
method it ran in 1.2s. The run time was reduced to 0.04 %! This is
equivalent to a speed increase of 2500% (100/0.04)!
For our own security the normal way will be taken if you not
set the _DEV_ configuration variable to true. It will be false when
"run-frontend-unittests.sh" is run.
Signed-off-by: Stephan Müller <smueller@suse.com>
|
|
|
| |
Signed-off-by: Tiago Melo <tmelo@suse.com>
|
|
|
|
|
|
|
|
|
|
| |
Node and npm are now being installed in a virtualenv, removing the need of
having it installed in the system or as a node dependency.
Now, if you want to use npm, you just need to activate the virtualenv created
on 'build/src/pybind/mgr/dashboard/node-env', and then you can execute the
same commands as you did before.
Signed-off-by: Tiago Melo <tmelo@suse.com>
|
|
Signed-off-by: Ricardo Dias <rdias@suse.com>
|