Skip to content

Commit

Permalink
Merge pull request #172 from ds-wizard/release/4.12
Browse files Browse the repository at this point in the history
Release/4.12
  • Loading branch information
krystofkomanec authored Nov 7, 2024
2 parents fa51f71 + faaa944 commit 61f5198
Show file tree
Hide file tree
Showing 78 changed files with 2,871 additions and 2,250 deletions.
9 changes: 9 additions & 0 deletions docs/about/introduction/knowledge-model.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,15 @@ Item Select Question

The item selection question works in conjunction with the :ref:`list of items question<list-of-items-question>`. It is used to select one of the previously created items within a series of interconnected list of items question.


.. _file-question:

File Question
^^^^^^^^^^^^^

The file question is used to upload files. We can configure the **file types** that are allowed to be uploaded and the **maximum file size**.


.. _answer:

Answer
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/application/administration/locales/detail/detail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/application/administration/locales/import/file.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/application/administration/locales/import/registry.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/application/administration/locales/index/list.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/application/administration/settings/info/usage/usage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/application/administration/users/detail/password.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/application/administration/users/detail/profile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/application/administration/users/index/list.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/application/document-templates/editors/detail/files/files.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/application/document-templates/editors/detail/index/editor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/application/document-templates/editors/index/list.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/application/document-templates/list/detail/detail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/application/document-templates/list/import/file.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/application/document-templates/list/index/list.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/application/documents/index/list.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/application/knowledge-models/list/detail/detail.png
Binary file modified docs/application/knowledge-models/list/import/file.png
Binary file modified docs/application/knowledge-models/list/import/registry.png
Binary file modified docs/application/knowledge-models/list/index/list.png
Binary file modified docs/application/profile/about/modal.png
Binary file modified docs/application/profile/assigned-comments/list.png
Binary file modified docs/application/profile/edit/active-sessions/form.png
Binary file modified docs/application/profile/edit/api-keys/form.png
Binary file modified docs/application/profile/edit/index/form.png
Binary file modified docs/application/profile/edit/password/form.png
Binary file modified docs/application/profile/index/menu.png
Binary file modified docs/application/projects/importers/importers.png
Binary file modified docs/application/projects/list/create/project-create.png
Binary file modified docs/application/projects/list/detail/documents/list.png
Binary file modified docs/application/projects/list/detail/documents/new.png
Binary file modified docs/application/projects/list/detail/index/questionnaire.png
Binary file modified docs/application/projects/list/detail/metrics/metrics.png
Binary file modified docs/application/projects/list/detail/preview/download.png
Binary file modified docs/application/projects/list/detail/preview/preview-html.png
14 changes: 14 additions & 0 deletions docs/application/projects/list/detail/questionnaire.rst
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,20 @@ The item selection question is used together with the list of items question. Wh
.. Item select question with a list of items as possible answers.
File Question
-------------

File question is used when we need to upload a file as an answer. We can simply click on the :guilabel:`Upload File` button and select the file from our computer. We can also drag and drop the file into the input field.

.. TODO::

Add a screenshot of the file question.

.. .. figure:: questionnaire/file-question.png
.. File select question with a list of items as possible answers.
View settings
=============

Expand Down
Binary file modified docs/application/projects/list/detail/questionnaire/comments.png
Binary file modified docs/application/projects/list/detail/questionnaire/todos.png
Binary file modified docs/application/projects/list/detail/questionnaire/warnings.png
Binary file modified docs/application/projects/list/detail/settings/settings.png
Binary file modified docs/application/projects/list/detail/sharing/share-modal.png
Binary file modified docs/application/projects/list/index/project-list.png
Binary file modified docs/application/projects/list/migration/create.png
Binary file modified docs/application/projects/list/migration/migration.png
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
project_name_full = 'Data Stewardship Wizard'

# The full version, including alpha/beta/rc tags
version = release = '4.11'
version = release = '4.12'

rst_prolog = f"""
Expand Down
38 changes: 38 additions & 0 deletions docs/more/development/document-templates/document-context.rst
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,19 @@ Questionnaire
- ``updated_at`` (``datetime``)


.. _odc-questionnaire-file:

QuestionnaireFile
~~~~~~~~~~~~~~~~~~~~

- ``uuid`` (``str``)
- ``name`` (``str``)
- ``size`` (``int``)
- ``content_type`` (``str``)
- ``reply`` (``Optional[``\ :ref:`odc-file-reply`\ ``]``)
- ``download_url`` (``str``)


.. _odc-questionnaire-version:

QuestionnaireVersion
Expand Down Expand Up @@ -469,6 +482,14 @@ ItemSelectQuestion

- ``list_question`` (``Optional[``\ :ref:`odc-list-question`\ ``]``)

.. _odc-file-question:

FileQuestion
''''''''''''

- ``max_size`` (``Optional[int]``) - maximum file size (in bytes) allowed
- ``file_types`` (``Optional[str]``) - comma-separated file type specifications


.. _odc-answer:

Expand Down Expand Up @@ -711,6 +732,23 @@ Notes:
- ``question`` is always :ref:`odc-value-question`


.. _odc-file-reply:

FileReply
^^^^^^^^^^^

- ``file_uuid`` (``str``)
- ``file`` (``Optional[``\ :ref:`odc-questionnaire-file`\ ``]``) - ``None`` if file has been deleted

Aliases:

- ``value`` (``str``) - same as ``file_uuid``

Notes:

- ``question`` is always :ref:`odc-file-question`


ItemListReply
^^^^^^^^^^^^^

Expand Down
Loading

0 comments on commit 61f5198

Please sign in to comment.