Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for PEP-592 (yanked releases) #2453

Closed
2 tasks done
sdispater opened this issue May 22, 2020 · 5 comments · Fixed by #5841
Closed
2 tasks done

Add support for PEP-592 (yanked releases) #2453

sdispater opened this issue May 22, 2020 · 5 comments · Fixed by #5841
Labels
area/peps Related to PEP support/compliance kind/feature Feature requests/implementations

Comments

@sdispater
Copy link
Member

  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have searched the documentation and believe that my question is not covered.

Feature Request

PyPI and pip recently added support for "yanked" releases (PEP-592).

We should add support for it in Poetry as well.

This should be handled in two places:

  • In the PyPiRepository class: the PyPI JSON API provides a yanked property at the release level that we can use to flag a file as yanked.
  • In the LegacyRepository class: this one should follow the PEP to retrieve the "yanked" information.
@sdispater sdispater added kind/feature Feature requests/implementations status/triage This issue needs to be triaged labels May 22, 2020
@sdispater sdispater added this to the Future milestone May 22, 2020
@sdispater sdispater modified the milestones: Future, 1.2 Jul 17, 2020
Eric-Arellano added a commit to pantsbuild/pants that referenced this issue Aug 28, 2021
…se isn't used in lockfile generation (#12691)

Poetry does not support yanked releases yet: python-poetry/poetry#2453. As a result, it tries to use GitPython==3.1.20 in the generated lockfile, which results in this error when using Python 3.8+:

```
pex.environment.ResolveError: Failed to resolve requirements from PEX environment @ /private/var/folders/g7/0lj2pw4d6db67tm8m8xj0rc80000gn/T/process-executionpWU6fG/.tmp/tmpafl9tzo5.
Needed macosx_11_0_arm64-cp-39-cp39 compatible dependencies for:
 1: typing-extensions>=3.7.4.3; python_version < "3.10"
    Required by:
      GitPython 3.1.20
    But this pex had no 'typing-extensions' distributions.
```

The workaround is to pin `GitPython` to an un-yanked release.

Also this stops using a setuptools version that works with Python 2 because the default version of Bandit doesn't work with Py2 anymore.


[ci skip-rust]
[ci skip-build-wheels]
@sdispater sdispater removed this from the 1.2 milestone Aug 31, 2021
@zevisert
Copy link

zevisert commented Oct 4, 2021

It seems like there's no PR for this yet, am I wrong? I could put one together maybe.. A popular text processing library, nltk==3.6.4 was yanked, and it took a few minutes before I realized poetry doesn't care about yanked releases.

cedricbonhomme added a commit to NC3-LU/Fit4Cybersecurity that referenced this issue Dec 2, 2021
cedricbonhomme added a commit to NC3-LU/Fit4Cybersecurity that referenced this issue Dec 2, 2021
release of django-bootstrap-datepicker-plus
python-poetry/poetry#2453

(cherry picked from commit cc0c93b)
jfrocha added a commit to NC3-LU/Fit4Cybersecurity that referenced this issue Dec 2, 2021
* chg: [report] Added flags and custom texts in config file, customizing report generation

* chg: [report] use strreplace filter (wip)

* chg [report] improved strreplace filter

* chg: [report] ensure the variable of replacement will be a instance of string.

* chg: [report] now manages list of values to replace

* chf: !minor removed unused import

* chg: [templates] provide an example for appatags str_replace

* chg: updated gitchangelog configuration. !minor

* chg: [security] URL redirection based on unvalidated user input
may cause redirection to malicious web sites.

* chg: [security] interpret target as a CSS selector not as HTML.

* fix: [report] Fixed cast of SCORE and minimal_acceptable_score integer values

* fix: [commands] added missing maxPoints of the question

* chg: [dependencies] prevent the installation of 3.0.6 yanked
release of django-bootstrap-datepicker-plus
python-poetry/poetry#2453

* chg: [questions] Fixed css for free text questions

* chg: [data] Fixed 25th fit4ilr question

Co-authored-by: Cédric Bonhomme <cedric@cedricbonhomme.org>
jfrocha added a commit to NC3-LU/Fit4Cybersecurity that referenced this issue Dec 2, 2021
* chg: [report] Added flags and custom texts in config file, customizing report generation

* chg: [report] use strreplace filter (wip)

* chg [report] improved strreplace filter

* chg: [report] ensure the variable of replacement will be a instance of string.

* chg: [report] now manages list of values to replace

* chf: !minor removed unused import

* chg: [templates] provide an example for appatags str_replace

* chg: updated gitchangelog configuration. !minor

* chg: [security] URL redirection based on unvalidated user input
may cause redirection to malicious web sites.

* chg: [security] interpret target as a CSS selector not as HTML.

* fix: [report] Fixed cast of SCORE and minimal_acceptable_score integer values

* fix: [commands] added missing maxPoints of the question

* chg: [dependencies] prevent the installation of 3.0.6 yanked
release of django-bootstrap-datepicker-plus
python-poetry/poetry#2453

* chg: [questions] Fixed css for free text questions

* chg: [data] Fixed 25th fit4ilr question

* fix: [chart] Avoid division by zero

Co-authored-by: Cédric Bonhomme <cedric@cedricbonhomme.org>
ruslanbaidan pushed a commit to NC3-LU/Fit4Cybersecurity that referenced this issue Dec 2, 2021
* origin/master:
  Fit4ilr (#47)
  Fit4ilr (#46)
  Increased the line length to 120
  chg: [dependencies] updated typing-extensions.
  chg: [dependencies] prevent the installation of 3.0.6 yanked release of django-bootstrap-datepicker-plus python-poetry/poetry#2453
  fix: [commands] added missing maxPoints of the question
  chg: [security] URL redirection based on unvalidated user input may cause redirection to malicious web sites.
  chg: [security] interpret target as a CSS selector not as HTML.

# Conflicts:
#	survey/management/commands/import_questions.py
#	survey/report.py
#	survey/reporthelper.py
#	templates/report/results.html
jfrocha added a commit to NC3-LU/Fit4Cybersecurity that referenced this issue Dec 8, 2021
* chg: [report] Added flags and custom texts in config file, customizing report generation

* chg: [report] use strreplace filter (wip)

* chg [report] improved strreplace filter

* chg: [report] ensure the variable of replacement will be a instance of string.

* chg: [report] now manages list of values to replace

* chf: !minor removed unused import

* chg: [templates] provide an example for appatags str_replace

* chg: updated gitchangelog configuration. !minor

* chg: [security] URL redirection based on unvalidated user input
may cause redirection to malicious web sites.

* chg: [security] interpret target as a CSS selector not as HTML.

* fix: [report] Fixed cast of SCORE and minimal_acceptable_score integer values

* fix: [commands] added missing maxPoints of the question

* chg: [dependencies] prevent the installation of 3.0.6 yanked
release of django-bootstrap-datepicker-plus
python-poetry/poetry#2453

* chg: [questions] Fixed css for free text questions

* chg: [data] Fixed 25th fit4ilr question

* fix: [chart] Avoid division by zero

* chg: [data] Updated survey4operators data

Co-authored-by: Cédric Bonhomme <cedric@cedricbonhomme.org>
cedricbonhomme added a commit to NC3-LU/Fit4Cybersecurity that referenced this issue Dec 10, 2021
* chg: [report] Added flags and custom texts in config file, customizing report generation

* chg: [report] use strreplace filter (wip)

* chg [report] improved strreplace filter

* chg: [report] ensure the variable of replacement will be a instance of string.

* chg: [report] now manages list of values to replace

* chf: !minor removed unused import

* chg: [templates] provide an example for appatags str_replace

* chg: updated gitchangelog configuration. !minor

* chg: [security] URL redirection based on unvalidated user input
may cause redirection to malicious web sites.

* chg: [security] interpret target as a CSS selector not as HTML.

* fix: [report] Fixed cast of SCORE and minimal_acceptable_score integer values

* fix: [commands] added missing maxPoints of the question

* chg: [dependencies] prevent the installation of 3.0.6 yanked
release of django-bootstrap-datepicker-plus
python-poetry/poetry#2453

* chg: [questions] Fixed css for free text questions

* chg: [data] Fixed 25th fit4ilr question

* fix: [chart] Avoid division by zero

* chg: [data] Updated survey4operators data

* added initial file

* chg: skip the context questions

* chg: exclude context questions from the calculation

* chg: [style] reformat with black. !minor

* chg: [core] context questions from the first question page are now store.

* chg: [style] reformat with black. !minor

* chg: [translations] Change DB translations to po files

* new: [core] added get_context method on SurveyUser objects.

* chg: [user context] test appending user question at the end of the json file.

* Translated using Weblate (French)

Currently translated at 47.4% (269 of 567 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/fr/

* chg: [context questions] fixed an issue in the current question index

* Fixed question answer translation rendering

* Translated using Weblate (French)

Currently translated at 47.4% (269 of 567 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/fr/

* Translated using Weblate (German)

Currently translated at 46.0% (261 of 567 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/de/

* chg: [context questions] removed useless form

* chg: [context questions] sepecify a service_category

* removed unused import. !minor

* chg: [context questions] separate context questions from normal ones

* Updated source translations

* Updated pot file

* chg: [core] removed useless code related to the Translation manageent via database

* new: [context questions] Handles the case when no context questions are present.

* chg: [style] reformat with black. !minor

* chg: [flake] added more complexity to make flake happy about the
complexity of handle_question_answers_request

* chg: deleted questions file. !minor

* chg: [translations] removed now useless TranslationSerializer

* chg: [context questions] the question is now accessed with get_item filter.

* Translated using Weblate (German)

Currently translated at 65.9% (351 of 532 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/de/

* Translated using Weblate (French)

Currently translated at 66.9% (356 of 532 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/fr/

* Removed the current_question_index calculation as the context questions are excluded from the list and are not numerated.

* Updated pot file

* Moved from variable as it may be not needed if a user object is returned.

* Update translations

* Translated using Weblate (German)

Currently translated at 63.2% (363 of 574 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/de/

* Translated using Weblate (French)

Currently translated at 64.1% (368 of 574 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/fr/

* Translated using Weblate (French)

Currently translated at 71.7% (412 of 574 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/fr/

* Added safe tag in question form

* Translated using Weblate (German)

Currently translated at 70.9% (407 of 574 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/de/

* chg: [contest questions] use a negative qindex for context questions.

* chg: updated packer configuration file

* chg: [packer] added new LOG_DIRECTORY configuration variable.

* fix: [context questions] fixed SuerveyUser.get_context() method.
Improved its usage for the reports generation.
Improved stats generation (user context part).

Co-authored-by: jfrocha <juanferocha@hotmail.com>
Co-authored-by: Juan Rocha <juan.rocha@cases.lu>
Co-authored-by: Ruslan Baidan <ruslan.baidan@securitymadein.lu>
cedricbonhomme added a commit to NC3-LU/Fit4Cybersecurity that referenced this issue Dec 10, 2021
* chg: [report] Added flags and custom texts in config file, customizing report generation

* chg: [report] use strreplace filter (wip)

* chg [report] improved strreplace filter

* chg: [report] ensure the variable of replacement will be a instance of string.

* chg: [report] now manages list of values to replace

* chf: !minor removed unused import

* chg: [templates] provide an example for appatags str_replace

* chg: updated gitchangelog configuration. !minor

* chg: [security] URL redirection based on unvalidated user input
may cause redirection to malicious web sites.

* chg: [security] interpret target as a CSS selector not as HTML.

* fix: [report] Fixed cast of SCORE and minimal_acceptable_score integer values

* fix: [commands] added missing maxPoints of the question

* chg: [dependencies] prevent the installation of 3.0.6 yanked
release of django-bootstrap-datepicker-plus
python-poetry/poetry#2453

* chg: [questions] Fixed css for free text questions

* chg: [data] Fixed 25th fit4ilr question

* fix: [chart] Avoid division by zero

* chg: [data] Updated survey4operators data

* added initial file

* chg: skip the context questions

* chg: exclude context questions from the calculation

* chg: [style] reformat with black. !minor

* chg: [core] context questions from the first question page are now store.

* chg: [style] reformat with black. !minor

* chg: [translations] Change DB translations to po files

* new: [core] added get_context method on SurveyUser objects.

* chg: [user context] test appending user question at the end of the json file.

* Translated using Weblate (French)

Currently translated at 47.4% (269 of 567 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/fr/

* chg: [context questions] fixed an issue in the current question index

* Fixed question answer translation rendering

* Translated using Weblate (French)

Currently translated at 47.4% (269 of 567 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/fr/

* Translated using Weblate (German)

Currently translated at 46.0% (261 of 567 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/de/

* chg: [context questions] removed useless form

* chg: [context questions] sepecify a service_category

* removed unused import. !minor

* chg: [context questions] separate context questions from normal ones

* Updated source translations

* Updated pot file

* chg: [core] removed useless code related to the Translation manageent via database

* new: [context questions] Handles the case when no context questions are present.

* chg: [style] reformat with black. !minor

* chg: [flake] added more complexity to make flake happy about the
complexity of handle_question_answers_request

* chg: deleted questions file. !minor

* chg: [translations] removed now useless TranslationSerializer

* chg: [context questions] the question is now accessed with get_item filter.

* Translated using Weblate (German)

Currently translated at 65.9% (351 of 532 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/de/

* Translated using Weblate (French)

Currently translated at 66.9% (356 of 532 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/fr/

* Removed the current_question_index calculation as the context questions are excluded from the list and are not numerated.

* Updated pot file

* Moved from variable as it may be not needed if a user object is returned.

* Update translations

* Translated using Weblate (German)

Currently translated at 63.2% (363 of 574 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/de/

* Translated using Weblate (French)

Currently translated at 64.1% (368 of 574 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/fr/

* Translated using Weblate (French)

Currently translated at 71.7% (412 of 574 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/fr/

* Added safe tag in question form

* Translated using Weblate (German)

Currently translated at 70.9% (407 of 574 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/de/

* chg: [contest questions] use a negative qindex for context questions.

* chg: updated packer configuration file

* chg: [packer] added new LOG_DIRECTORY configuration variable.

* fix: [context questions] fixed SuerveyUser.get_context() method.
Improved its usage for the reports generation.
Improved stats generation (user context part).

* fix: [paker] added missing import of os in the packer configuration.

Co-authored-by: jfrocha <juanferocha@hotmail.com>
Co-authored-by: Juan Rocha <juan.rocha@cases.lu>
Co-authored-by: Ruslan Baidan <ruslan.baidan@securitymadein.lu>
jfrocha added a commit to NC3-LU/Fit4Cybersecurity that referenced this issue Dec 10, 2021
* chg: [report] Added flags and custom texts in config file, customizing report generation

* chg: [report] use strreplace filter (wip)

* chg [report] improved strreplace filter

* chg: [report] ensure the variable of replacement will be a instance of string.

* chg: [report] now manages list of values to replace

* chf: !minor removed unused import

* chg: [templates] provide an example for appatags str_replace

* chg: updated gitchangelog configuration. !minor

* chg: [security] URL redirection based on unvalidated user input
may cause redirection to malicious web sites.

* chg: [security] interpret target as a CSS selector not as HTML.

* fix: [report] Fixed cast of SCORE and minimal_acceptable_score integer values

* fix: [commands] added missing maxPoints of the question

* chg: [dependencies] prevent the installation of 3.0.6 yanked
release of django-bootstrap-datepicker-plus
python-poetry/poetry#2453

* chg: [questions] Fixed css for free text questions

* chg: [data] Fixed 25th fit4ilr question

* fix: [chart] Avoid division by zero

* chg: [data] Updated survey4operators data

* added initial file

* chg: skip the context questions

* chg: exclude context questions from the calculation

* chg: [style] reformat with black. !minor

* chg: [core] context questions from the first question page are now store.

* chg: [style] reformat with black. !minor

* chg: [translations] Change DB translations to po files

* new: [core] added get_context method on SurveyUser objects.

* chg: [user context] test appending user question at the end of the json file.

* Translated using Weblate (French)

Currently translated at 47.4% (269 of 567 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/fr/

* chg: [context questions] fixed an issue in the current question index

* Fixed question answer translation rendering

* Translated using Weblate (French)

Currently translated at 47.4% (269 of 567 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/fr/

* Translated using Weblate (German)

Currently translated at 46.0% (261 of 567 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/de/

* chg: [context questions] removed useless form

* chg: [context questions] sepecify a service_category

* removed unused import. !minor

* chg: [context questions] separate context questions from normal ones

* Updated source translations

* Updated pot file

* chg: [core] removed useless code related to the Translation manageent via database

* new: [context questions] Handles the case when no context questions are present.

* chg: [style] reformat with black. !minor

* chg: [flake] added more complexity to make flake happy about the
complexity of handle_question_answers_request

* chg: deleted questions file. !minor

* chg: [translations] removed now useless TranslationSerializer

* chg: [context questions] the question is now accessed with get_item filter.

* Translated using Weblate (German)

Currently translated at 65.9% (351 of 532 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/de/

* Translated using Weblate (French)

Currently translated at 66.9% (356 of 532 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/fr/

* Removed the current_question_index calculation as the context questions are excluded from the list and are not numerated.

* Updated pot file

* Moved from variable as it may be not needed if a user object is returned.

* Update translations

* Translated using Weblate (German)

Currently translated at 63.2% (363 of 574 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/de/

* Translated using Weblate (French)

Currently translated at 64.1% (368 of 574 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/fr/

* Translated using Weblate (French)

Currently translated at 71.7% (412 of 574 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/fr/

* Added safe tag in question form

* Translated using Weblate (German)

Currently translated at 70.9% (407 of 574 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/de/

* chg: [contest questions] use a negative qindex for context questions.

* chg: updated packer configuration file

* chg: [packer] added new LOG_DIRECTORY configuration variable.

* fix: [context questions] fixed SuerveyUser.get_context() method.
Improved its usage for the reports generation.
Improved stats generation (user context part).

* Removed useless data, duplicated with survey4operators data

* Added default context questions

* Removed extra double quote

Co-authored-by: Cédric Bonhomme <cedric@cedricbonhomme.org>
Co-authored-by: Juan Rocha <juan.rocha@cases.lu>
Co-authored-by: Ruslan Baidan <ruslan.baidan@securitymadein.lu>
jfrocha added a commit to NC3-LU/Fit4Cybersecurity that referenced this issue Dec 13, 2021
* chg: [report] Added flags and custom texts in config file, customizing report generation

* chg: [report] use strreplace filter (wip)

* chg [report] improved strreplace filter

* chg: [report] ensure the variable of replacement will be a instance of string.

* chg: [report] now manages list of values to replace

* chf: !minor removed unused import

* chg: [templates] provide an example for appatags str_replace

* chg: updated gitchangelog configuration. !minor

* chg: [security] URL redirection based on unvalidated user input
may cause redirection to malicious web sites.

* chg: [security] interpret target as a CSS selector not as HTML.

* fix: [report] Fixed cast of SCORE and minimal_acceptable_score integer values

* fix: [commands] added missing maxPoints of the question

* chg: [dependencies] prevent the installation of 3.0.6 yanked
release of django-bootstrap-datepicker-plus
python-poetry/poetry#2453

* chg: [questions] Fixed css for free text questions

* chg: [data] Fixed 25th fit4ilr question

* fix: [chart] Avoid division by zero

* chg: [data] Updated survey4operators data

* added initial file

* chg: skip the context questions

* chg: exclude context questions from the calculation

* chg: [style] reformat with black. !minor

* chg: [core] context questions from the first question page are now store.

* chg: [style] reformat with black. !minor

* chg: [translations] Change DB translations to po files

* new: [core] added get_context method on SurveyUser objects.

* chg: [user context] test appending user question at the end of the json file.

* Translated using Weblate (French)

Currently translated at 47.4% (269 of 567 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/fr/

* chg: [context questions] fixed an issue in the current question index

* Fixed question answer translation rendering

* Translated using Weblate (French)

Currently translated at 47.4% (269 of 567 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/fr/

* Translated using Weblate (German)

Currently translated at 46.0% (261 of 567 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/de/

* chg: [context questions] removed useless form

* chg: [context questions] sepecify a service_category

* removed unused import. !minor

* chg: [context questions] separate context questions from normal ones

* Updated source translations

* Updated pot file

* chg: [core] removed useless code related to the Translation manageent via database

* new: [context questions] Handles the case when no context questions are present.

* chg: [style] reformat with black. !minor

* chg: [flake] added more complexity to make flake happy about the
complexity of handle_question_answers_request

* chg: deleted questions file. !minor

* chg: [translations] removed now useless TranslationSerializer

* chg: [context questions] the question is now accessed with get_item filter.

* Translated using Weblate (German)

Currently translated at 65.9% (351 of 532 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/de/

* Translated using Weblate (French)

Currently translated at 66.9% (356 of 532 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/fr/

* Removed the current_question_index calculation as the context questions are excluded from the list and are not numerated.

* Updated pot file

* Moved from variable as it may be not needed if a user object is returned.

* Update translations

* Translated using Weblate (German)

Currently translated at 63.2% (363 of 574 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/de/

* Translated using Weblate (French)

Currently translated at 64.1% (368 of 574 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/fr/

* Translated using Weblate (French)

Currently translated at 71.7% (412 of 574 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/fr/

* Added safe tag in question form

* Translated using Weblate (German)

Currently translated at 70.9% (407 of 574 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/de/

* chg: [contest questions] use a negative qindex for context questions.

* chg: updated packer configuration file

* chg: [packer] added new LOG_DIRECTORY configuration variable.

* fix: [context questions] fixed SuerveyUser.get_context() method.
Improved its usage for the reports generation.
Improved stats generation (user context part).

* Removed useless data, duplicated with survey4operators data

* Added default context questions

* Removed extra double quote

* chg: [conetxt questions] Add new question type (Single Select Choice)

* Removed CSS of is-valid class

* Added [survey4operators] context questions

* Changed question type in context file

* Reformated with black

Co-authored-by: Cédric Bonhomme <cedric@cedricbonhomme.org>
Co-authored-by: Juan Rocha <juan.rocha@cases.lu>
Co-authored-by: Ruslan Baidan <ruslan.baidan@securitymadein.lu>
jfrocha added a commit to NC3-LU/Fit4Cybersecurity that referenced this issue Dec 14, 2021
* chg: [report] Added flags and custom texts in config file, customizing report generation

* chg: [report] use strreplace filter (wip)

* chg [report] improved strreplace filter

* chg: [report] ensure the variable of replacement will be a instance of string.

* chg: [report] now manages list of values to replace

* chf: !minor removed unused import

* chg: [templates] provide an example for appatags str_replace

* chg: updated gitchangelog configuration. !minor

* chg: [security] URL redirection based on unvalidated user input
may cause redirection to malicious web sites.

* chg: [security] interpret target as a CSS selector not as HTML.

* fix: [report] Fixed cast of SCORE and minimal_acceptable_score integer values

* fix: [commands] added missing maxPoints of the question

* chg: [dependencies] prevent the installation of 3.0.6 yanked
release of django-bootstrap-datepicker-plus
python-poetry/poetry#2453

* chg: [questions] Fixed css for free text questions

* chg: [data] Fixed 25th fit4ilr question

* fix: [chart] Avoid division by zero

* chg: [data] Updated survey4operators data

* added initial file

* chg: skip the context questions

* chg: exclude context questions from the calculation

* chg: [style] reformat with black. !minor

* chg: [core] context questions from the first question page are now store.

* chg: [style] reformat with black. !minor

* chg: [translations] Change DB translations to po files

* new: [core] added get_context method on SurveyUser objects.

* chg: [user context] test appending user question at the end of the json file.

* Translated using Weblate (French)

Currently translated at 47.4% (269 of 567 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/fr/

* chg: [context questions] fixed an issue in the current question index

* Fixed question answer translation rendering

* Translated using Weblate (French)

Currently translated at 47.4% (269 of 567 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/fr/

* Translated using Weblate (German)

Currently translated at 46.0% (261 of 567 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/de/

* chg: [context questions] removed useless form

* chg: [context questions] sepecify a service_category

* removed unused import. !minor

* chg: [context questions] separate context questions from normal ones

* Updated source translations

* Updated pot file

* chg: [core] removed useless code related to the Translation manageent via database

* new: [context questions] Handles the case when no context questions are present.

* chg: [style] reformat with black. !minor

* chg: [flake] added more complexity to make flake happy about the
complexity of handle_question_answers_request

* chg: deleted questions file. !minor

* chg: [translations] removed now useless TranslationSerializer

* chg: [context questions] the question is now accessed with get_item filter.

* Translated using Weblate (German)

Currently translated at 65.9% (351 of 532 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/de/

* Translated using Weblate (French)

Currently translated at 66.9% (356 of 532 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/fr/

* Removed the current_question_index calculation as the context questions are excluded from the list and are not numerated.

* Updated pot file

* Moved from variable as it may be not needed if a user object is returned.

* Update translations

* Translated using Weblate (German)

Currently translated at 63.2% (363 of 574 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/de/

* Translated using Weblate (French)

Currently translated at 64.1% (368 of 574 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/fr/

* Translated using Weblate (French)

Currently translated at 71.7% (412 of 574 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/fr/

* Added safe tag in question form

* Translated using Weblate (German)

Currently translated at 70.9% (407 of 574 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/de/

* chg: [contest questions] use a negative qindex for context questions.

* chg: updated packer configuration file

* chg: [packer] added new LOG_DIRECTORY configuration variable.

* fix: [context questions] fixed SuerveyUser.get_context() method.
Improved its usage for the reports generation.
Improved stats generation (user context part).

* Removed useless data, duplicated with survey4operators data

* Added default context questions

* Removed extra double quote

* chg: [conetxt questions] Add new question type (Single Select Choice)

* Removed CSS of is-valid class

* Added [survey4operators] context questions

* Changed question type in context file

* Reformated with black

* Updated strings

* Updated translations

* Added check when Chart data is not defined

Co-authored-by: Cédric Bonhomme <cedric@cedricbonhomme.org>
Co-authored-by: Juan Rocha <juan.rocha@cases.lu>
Co-authored-by: Ruslan Baidan <ruslan.baidan@securitymadein.lu>
jfrocha added a commit to NC3-LU/Fit4Cybersecurity that referenced this issue Dec 14, 2021
* chg: [report] Added flags and custom texts in config file, customizing report generation

* chg: [report] use strreplace filter (wip)

* chg [report] improved strreplace filter

* chg: [report] ensure the variable of replacement will be a instance of string.

* chg: [report] now manages list of values to replace

* chf: !minor removed unused import

* chg: [templates] provide an example for appatags str_replace

* chg: updated gitchangelog configuration. !minor

* chg: [security] URL redirection based on unvalidated user input
may cause redirection to malicious web sites.

* chg: [security] interpret target as a CSS selector not as HTML.

* fix: [report] Fixed cast of SCORE and minimal_acceptable_score integer values

* fix: [commands] added missing maxPoints of the question

* chg: [dependencies] prevent the installation of 3.0.6 yanked
release of django-bootstrap-datepicker-plus
python-poetry/poetry#2453

* chg: [questions] Fixed css for free text questions

* chg: [data] Fixed 25th fit4ilr question

* fix: [chart] Avoid division by zero

* chg: [data] Updated survey4operators data

* added initial file

* chg: skip the context questions

* chg: exclude context questions from the calculation

* chg: [style] reformat with black. !minor

* chg: [core] context questions from the first question page are now store.

* chg: [style] reformat with black. !minor

* chg: [translations] Change DB translations to po files

* new: [core] added get_context method on SurveyUser objects.

* chg: [user context] test appending user question at the end of the json file.

* Translated using Weblate (French)

Currently translated at 47.4% (269 of 567 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/fr/

* chg: [context questions] fixed an issue in the current question index

* Fixed question answer translation rendering

* Translated using Weblate (French)

Currently translated at 47.4% (269 of 567 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/fr/

* Translated using Weblate (German)

Currently translated at 46.0% (261 of 567 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/de/

* chg: [context questions] removed useless form

* chg: [context questions] sepecify a service_category

* removed unused import. !minor

* chg: [context questions] separate context questions from normal ones

* Updated source translations

* Updated pot file

* chg: [core] removed useless code related to the Translation manageent via database

* new: [context questions] Handles the case when no context questions are present.

* chg: [style] reformat with black. !minor

* chg: [flake] added more complexity to make flake happy about the
complexity of handle_question_answers_request

* chg: deleted questions file. !minor

* chg: [translations] removed now useless TranslationSerializer

* chg: [context questions] the question is now accessed with get_item filter.

* Translated using Weblate (German)

Currently translated at 65.9% (351 of 532 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/de/

* Translated using Weblate (French)

Currently translated at 66.9% (356 of 532 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/fr/

* Removed the current_question_index calculation as the context questions are excluded from the list and are not numerated.

* Updated pot file

* Moved from variable as it may be not needed if a user object is returned.

* Update translations

* Translated using Weblate (German)

Currently translated at 63.2% (363 of 574 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/de/

* Translated using Weblate (French)

Currently translated at 64.1% (368 of 574 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/fr/

* Translated using Weblate (French)

Currently translated at 71.7% (412 of 574 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/fr/

* Added safe tag in question form

* Translated using Weblate (German)

Currently translated at 70.9% (407 of 574 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/de/

* chg: [contest questions] use a negative qindex for context questions.

* chg: updated packer configuration file

* chg: [packer] added new LOG_DIRECTORY configuration variable.

* fix: [context questions] fixed SuerveyUser.get_context() method.
Improved its usage for the reports generation.
Improved stats generation (user context part).

* Removed useless data, duplicated with survey4operators data

* Added default context questions

* Removed extra double quote

* chg: [conetxt questions] Add new question type (Single Select Choice)

* Removed CSS of is-valid class

* Added [survey4operators] context questions

* Changed question type in context file

* Reformated with black

* Updated strings

* Updated translations

* Added check when Chart data is not defined

* Improved check of chart data

* Fixed context question label translate

Co-authored-by: Cédric Bonhomme <cedric@cedricbonhomme.org>
Co-authored-by: Juan Rocha <juan.rocha@cases.lu>
Co-authored-by: Ruslan Baidan <ruslan.baidan@securitymadein.lu>
jfrocha added a commit to NC3-LU/Fit4Cybersecurity that referenced this issue Dec 14, 2021
* chg: [report] Added flags and custom texts in config file, customizing report generation

* chg: [report] use strreplace filter (wip)

* chg [report] improved strreplace filter

* chg: [report] ensure the variable of replacement will be a instance of string.

* chg: [report] now manages list of values to replace

* chf: !minor removed unused import

* chg: [templates] provide an example for appatags str_replace

* chg: updated gitchangelog configuration. !minor

* chg: [security] URL redirection based on unvalidated user input
may cause redirection to malicious web sites.

* chg: [security] interpret target as a CSS selector not as HTML.

* fix: [report] Fixed cast of SCORE and minimal_acceptable_score integer values

* fix: [commands] added missing maxPoints of the question

* chg: [dependencies] prevent the installation of 3.0.6 yanked
release of django-bootstrap-datepicker-plus
python-poetry/poetry#2453

* chg: [questions] Fixed css for free text questions

* chg: [data] Fixed 25th fit4ilr question

* fix: [chart] Avoid division by zero

* chg: [data] Updated survey4operators data

* added initial file

* chg: skip the context questions

* chg: exclude context questions from the calculation

* chg: [style] reformat with black. !minor

* chg: [core] context questions from the first question page are now store.

* chg: [style] reformat with black. !minor

* chg: [translations] Change DB translations to po files

* new: [core] added get_context method on SurveyUser objects.

* chg: [user context] test appending user question at the end of the json file.

* Translated using Weblate (French)

Currently translated at 47.4% (269 of 567 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/fr/

* chg: [context questions] fixed an issue in the current question index

* Fixed question answer translation rendering

* Translated using Weblate (French)

Currently translated at 47.4% (269 of 567 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/fr/

* Translated using Weblate (German)

Currently translated at 46.0% (261 of 567 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/de/

* chg: [context questions] removed useless form

* chg: [context questions] sepecify a service_category

* removed unused import. !minor

* chg: [context questions] separate context questions from normal ones

* Updated source translations

* Updated pot file

* chg: [core] removed useless code related to the Translation manageent via database

* new: [context questions] Handles the case when no context questions are present.

* chg: [style] reformat with black. !minor

* chg: [flake] added more complexity to make flake happy about the
complexity of handle_question_answers_request

* chg: deleted questions file. !minor

* chg: [translations] removed now useless TranslationSerializer

* chg: [context questions] the question is now accessed with get_item filter.

* Translated using Weblate (German)

Currently translated at 65.9% (351 of 532 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/de/

* Translated using Weblate (French)

Currently translated at 66.9% (356 of 532 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/fr/

* Removed the current_question_index calculation as the context questions are excluded from the list and are not numerated.

* Updated pot file

* Moved from variable as it may be not needed if a user object is returned.

* Update translations

* Translated using Weblate (German)

Currently translated at 63.2% (363 of 574 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/de/

* Translated using Weblate (French)

Currently translated at 64.1% (368 of 574 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/fr/

* Translated using Weblate (French)

Currently translated at 71.7% (412 of 574 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/fr/

* Added safe tag in question form

* Translated using Weblate (German)

Currently translated at 70.9% (407 of 574 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/de/

* chg: [contest questions] use a negative qindex for context questions.

* chg: updated packer configuration file

* chg: [packer] added new LOG_DIRECTORY configuration variable.

* fix: [context questions] fixed SuerveyUser.get_context() method.
Improved its usage for the reports generation.
Improved stats generation (user context part).

* Removed useless data, duplicated with survey4operators data

* Added default context questions

* Removed extra double quote

* chg: [conetxt questions] Add new question type (Single Select Choice)

* Removed CSS of is-valid class

* Added [survey4operators] context questions

* Changed question type in context file

* Reformated with black

* Updated strings

* Updated translations

* Added check when Chart data is not defined

* Improved check of chart data

* Fixed context question label translate

* Added new question type, Single Select Ordered Choice (SO)

* Fixed lint error

Co-authored-by: Cédric Bonhomme <cedric@cedricbonhomme.org>
Co-authored-by: Juan Rocha <juan.rocha@cases.lu>
Co-authored-by: Ruslan Baidan <ruslan.baidan@securitymadein.lu>
jfrocha added a commit to NC3-LU/Fit4Cybersecurity that referenced this issue Dec 15, 2021
* chg: [report] Added flags and custom texts in config file, customizing report generation

* chg: [report] use strreplace filter (wip)

* chg [report] improved strreplace filter

* chg: [report] ensure the variable of replacement will be a instance of string.

* chg: [report] now manages list of values to replace

* chf: !minor removed unused import

* chg: [templates] provide an example for appatags str_replace

* chg: updated gitchangelog configuration. !minor

* chg: [security] URL redirection based on unvalidated user input
may cause redirection to malicious web sites.

* chg: [security] interpret target as a CSS selector not as HTML.

* fix: [report] Fixed cast of SCORE and minimal_acceptable_score integer values

* fix: [commands] added missing maxPoints of the question

* chg: [dependencies] prevent the installation of 3.0.6 yanked
release of django-bootstrap-datepicker-plus
python-poetry/poetry#2453

* chg: [questions] Fixed css for free text questions

* chg: [data] Fixed 25th fit4ilr question

* fix: [chart] Avoid division by zero

* chg: [data] Updated survey4operators data

* added initial file

* chg: skip the context questions

* chg: exclude context questions from the calculation

* chg: [style] reformat with black. !minor

* chg: [core] context questions from the first question page are now store.

* chg: [style] reformat with black. !minor

* chg: [translations] Change DB translations to po files

* new: [core] added get_context method on SurveyUser objects.

* chg: [user context] test appending user question at the end of the json file.

* Translated using Weblate (French)

Currently translated at 47.4% (269 of 567 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/fr/

* chg: [context questions] fixed an issue in the current question index

* Fixed question answer translation rendering

* Translated using Weblate (French)

Currently translated at 47.4% (269 of 567 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/fr/

* Translated using Weblate (German)

Currently translated at 46.0% (261 of 567 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/de/

* chg: [context questions] removed useless form

* chg: [context questions] sepecify a service_category

* removed unused import. !minor

* chg: [context questions] separate context questions from normal ones

* Updated source translations

* Updated pot file

* chg: [core] removed useless code related to the Translation manageent via database

* new: [context questions] Handles the case when no context questions are present.

* chg: [style] reformat with black. !minor

* chg: [flake] added more complexity to make flake happy about the
complexity of handle_question_answers_request

* chg: deleted questions file. !minor

* chg: [translations] removed now useless TranslationSerializer

* chg: [context questions] the question is now accessed with get_item filter.

* Translated using Weblate (German)

Currently translated at 65.9% (351 of 532 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/de/

* Translated using Weblate (French)

Currently translated at 66.9% (356 of 532 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/fr/

* Removed the current_question_index calculation as the context questions are excluded from the list and are not numerated.

* Updated pot file

* Moved from variable as it may be not needed if a user object is returned.

* Update translations

* Translated using Weblate (German)

Currently translated at 63.2% (363 of 574 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/de/

* Translated using Weblate (French)

Currently translated at 64.1% (368 of 574 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/fr/

* Translated using Weblate (French)

Currently translated at 71.7% (412 of 574 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/fr/

* Added safe tag in question form

* Translated using Weblate (German)

Currently translated at 70.9% (407 of 574 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/de/

* chg: [contest questions] use a negative qindex for context questions.

* chg: updated packer configuration file

* chg: [packer] added new LOG_DIRECTORY configuration variable.

* fix: [context questions] fixed SuerveyUser.get_context() method.
Improved its usage for the reports generation.
Improved stats generation (user context part).

* Removed useless data, duplicated with survey4operators data

* Added default context questions

* Removed extra double quote

* chg: [conetxt questions] Add new question type (Single Select Choice)

* Removed CSS of is-valid class

* Added [survey4operators] context questions

* Changed question type in context file

* Reformated with black

* Updated strings

* Updated translations

* Added check when Chart data is not defined

* Improved check of chart data

* Fixed context question label translate

* Added new question type, Single Select Ordered Choice (SO)

* Fixed lint error

* Translated using Weblate (French)

Currently translated at 57.4% (442 of 769 strings)

Translation: Fit4Cybersecurity/Fit4Ilr
Translate-URL: https://translate.monarc.lu/projects/Fit4Cybersecurity/fit4ilr/fr/

* Updated the logos specific folder name.

* Removed the extra question type.

* Improved sort of question answers

Co-authored-by: Cédric Bonhomme <cedric@cedricbonhomme.org>
Co-authored-by: Juan Rocha <juan.rocha@cases.lu>
Co-authored-by: Ruslan Baidan <ruslan.baidan@securitymadein.lu>
@sneakers-the-rat
Copy link
Contributor

Still happening in 1.1.13,

poetry add pynwb attempts to add 2.5.1 which was yanked: https://pypi.org/project/pynwb/2.5.1/

@radoering
Copy link
Member

FYI: I started working on this topic. I've already implemented a POC for PyPiRepository. I still have to finalize support for LegacyRepository and do some cleanup and testing, but I'm confident to create a PR within the next few days.

@zevisert
Copy link

Apparently I was not needed, I just saw the 1.2 release includes this - thank you! 🎉

Copy link

github-actions bot commented Mar 1, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/peps Related to PEP support/compliance kind/feature Feature requests/implementations
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants