SocialGouv / domifa

Faciliter l'accès aux droits pour les personnes sans domicile stable, en simplifiant la gestion de la domiciliation
https://domifa.fabrique.social.gouv.fr
Apache License 2.0
14 stars 10 forks source link

fix(backend): strip tags from labels #3517

Closed pYassine closed 1 month ago

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

codecov-commenter commented 1 month ago

:warning: Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 69.23077% with 12 lines in your changes missing coverage. Please review.

Project coverage is 67.30%. Comparing base (2598464) to head (e6ee90c). Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
...p/modules/shared/directives/clean-str.directive.ts 41.66% 7 Missing :warning:
...es-upload-docs/structures-upload-docs.component.ts 33.33% 2 Missing :warning:
...splay-usager-docs/display-usager-docs.component.ts 33.33% 2 Missing :warning:
...d/src/app/interceptors/server-error.interceptor.ts 0.00% 1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/SocialGouv/domifa/pull/3517/graphs/tree.svg?width=650&height=150&src=pr&token=ydhKiPXRFO&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SocialGouv)](https://app.codecov.io/gh/SocialGouv/domifa/pull/3517?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SocialGouv) ```diff @@ Coverage Diff @@ ## master #3517 +/- ## ========================================== + Coverage 67.24% 67.30% +0.06% ========================================== Files 896 895 -1 Lines 14769 14769 Branches 2106 2102 -4 ========================================== + Hits 9931 9941 +10 + Misses 4668 4543 -125 - Partials 170 285 +115 ``` | [Files with missing lines](https://app.codecov.io/gh/SocialGouv/domifa/pull/3517?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SocialGouv) | Coverage Δ | | |---|---|---| | [...ckend/src/\_common/decorators/StripTagsDecorator.ts](https://app.codecov.io/gh/SocialGouv/domifa/pull/3517?src=pr&el=tree&filepath=packages%2Fbackend%2Fsrc%2F_common%2Fdecorators%2FStripTagsDecorator.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SocialGouv#diff-cGFja2FnZXMvYmFja2VuZC9zcmMvX2NvbW1vbi9kZWNvcmF0b3JzL1N0cmlwVGFnc0RlY29yYXRvci50cw==) | `100.00% <100.00%> (ø)` | | | [...ges/backend/src/usagers/dto/UploadUsagerDoc.dto.ts](https://app.codecov.io/gh/SocialGouv/domifa/pull/3517?src=pr&el=tree&filepath=packages%2Fbackend%2Fsrc%2Fusagers%2Fdto%2FUploadUsagerDoc.dto.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SocialGouv#diff-cGFja2FnZXMvYmFja2VuZC9zcmMvdXNhZ2Vycy9kdG8vVXBsb2FkVXNhZ2VyRG9jLmR0by50cw==) | `100.00% <100.00%> (ø)` | | | [...ges/backend/src/usagers/dto/UsagerAyantDroitDto.ts](https://app.codecov.io/gh/SocialGouv/domifa/pull/3517?src=pr&el=tree&filepath=packages%2Fbackend%2Fsrc%2Fusagers%2Fdto%2FUsagerAyantDroitDto.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SocialGouv#diff-cGFja2FnZXMvYmFja2VuZC9zcmMvdXNhZ2Vycy9kdG8vVXNhZ2VyQXlhbnREcm9pdER0by50cw==) | `100.00% <100.00%> (ø)` | | | [.../src/usagers/dto/check-duplicate-usager-ref.dto.ts](https://app.codecov.io/gh/SocialGouv/domifa/pull/3517?src=pr&el=tree&filepath=packages%2Fbackend%2Fsrc%2Fusagers%2Fdto%2Fcheck-duplicate-usager-ref.dto.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SocialGouv#diff-cGFja2FnZXMvYmFja2VuZC9zcmMvdXNhZ2Vycy9kdG8vY2hlY2stZHVwbGljYXRlLXVzYWdlci1yZWYuZHRvLnRz) | `100.00% <100.00%> (ø)` | | | [...kages/backend/src/usagers/dto/search-usager.dto.ts](https://app.codecov.io/gh/SocialGouv/domifa/pull/3517?src=pr&el=tree&filepath=packages%2Fbackend%2Fsrc%2Fusagers%2Fdto%2Fsearch-usager.dto.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SocialGouv#diff-cGFja2FnZXMvYmFja2VuZC9zcmMvdXNhZ2Vycy9kdG8vc2VhcmNoLXVzYWdlci5kdG8udHM=) | `100.00% <100.00%> (ø)` | | | [packages/backend/src/usagers/dto/transfert.dto.ts](https://app.codecov.io/gh/SocialGouv/domifa/pull/3517?src=pr&el=tree&filepath=packages%2Fbackend%2Fsrc%2Fusagers%2Fdto%2Ftransfert.dto.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SocialGouv#diff-cGFja2FnZXMvYmFja2VuZC9zcmMvdXNhZ2Vycy9kdG8vdHJhbnNmZXJ0LmR0by50cw==) | `62.50% <100.00%> (ø)` | | | [...src/\_common/model/structure-doc/constants/index.ts](https://app.codecov.io/gh/SocialGouv/domifa/pull/3517?src=pr&el=tree&filepath=packages%2Ffrontend%2Fsrc%2F_common%2Fmodel%2Fstructure-doc%2Fconstants%2Findex.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SocialGouv#diff-cGFja2FnZXMvZnJvbnRlbmQvc3JjL19jb21tb24vbW9kZWwvc3RydWN0dXJlLWRvYy9jb25zdGFudHMvaW5kZXgudHM=) | `100.00% <ø> (ø)` | | | [...ormation/manage-structure-information.component.ts](https://app.codecov.io/gh/SocialGouv/domifa/pull/3517?src=pr&el=tree&filepath=packages%2Ffrontend%2Fsrc%2Fapp%2Fmodules%2Fadmin-portail-usagers%2Fcomponents%2Fmanage-structure-information%2Fmanage-structure-information.component.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SocialGouv#diff-cGFja2FnZXMvZnJvbnRlbmQvc3JjL2FwcC9tb2R1bGVzL2FkbWluLXBvcnRhaWwtdXNhZ2Vycy9jb21wb25lbnRzL21hbmFnZS1zdHJ1Y3R1cmUtaW5mb3JtYXRpb24vbWFuYWdlLXN0cnVjdHVyZS1pbmZvcm1hdGlvbi5jb21wb25lbnQudHM=) | `52.17% <ø> (-1.02%)` | :arrow_down: | | [...frontend/src/app/modules/general/general.module.ts](https://app.codecov.io/gh/SocialGouv/domifa/pull/3517?src=pr&el=tree&filepath=packages%2Ffrontend%2Fsrc%2Fapp%2Fmodules%2Fgeneral%2Fgeneral.module.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SocialGouv#diff-cGFja2FnZXMvZnJvbnRlbmQvc3JjL2FwcC9tb2R1bGVzL2dlbmVyYWwvZ2VuZXJhbC5tb2R1bGUudHM=) | `100.00% <100.00%> (ø)` | | | [...lay-table-image/display-table-image.component.html](https://app.codecov.io/gh/SocialGouv/domifa/pull/3517?src=pr&el=tree&filepath=packages%2Ffrontend%2Fsrc%2Fapp%2Fmodules%2Fshared%2Fcomponents%2Fdisplay-table-image%2Fdisplay-table-image.component.html&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SocialGouv#diff-cGFja2FnZXMvZnJvbnRlbmQvc3JjL2FwcC9tb2R1bGVzL3NoYXJlZC9jb21wb25lbnRzL2Rpc3BsYXktdGFibGUtaW1hZ2UvZGlzcGxheS10YWJsZS1pbWFnZS5jb21wb25lbnQuaHRtbA==) | `100.00% <ø> (ø)` | | | ... and [12 more](https://app.codecov.io/gh/SocialGouv/domifa/pull/3517?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SocialGouv) | | ... and [57 files with indirect coverage changes](https://app.codecov.io/gh/SocialGouv/domifa/pull/3517/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SocialGouv) ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/SocialGouv/domifa/pull/3517?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SocialGouv). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SocialGouv) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/SocialGouv/domifa/pull/3517?dropdown=coverage&src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SocialGouv). Last update [2598464...e6ee90c](https://app.codecov.io/gh/SocialGouv/domifa/pull/3517?dropdown=coverage&src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SocialGouv). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SocialGouv).
SocialGroovyBot commented 1 month ago

:tada: This PR is included in version 2.178.2 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: