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

Release v2.16.0 #8169

Merged
merged 22 commits into from
Jul 16, 2024
Merged

Release v2.16.0 #8169

merged 22 commits into from
Jul 16, 2024

Commits on Jul 2, 2024

  1. Configuration menu
    Copy the full SHA
    d8aba9b View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2024

  1. Merge pull request #8111 from cvat-ai/dev-release-2.15.0

    Update develop after v2.15.0
    azhavoro authored Jul 3, 2024
    Configuration menu
    Copy the full SHA
    bdd5535 View commit details
    Browse the repository at this point in the history
  2. Fix quality computation for tasks with skeletons and normal labels (#…

    …8100)
    
    <!-- Raise an issue to propose your change
    (https://github.com/cvat-ai/cvat/issues).
    It helps to avoid duplication of efforts from multiple independent
    contributors.
    Discuss your ideas with maintainers to be sure that changes will be
    approved and merged.
    Read the [Contribution guide](https://docs.cvat.ai/docs/contributing/).
    -->
    
    <!-- Provide a general summary of your changes in the Title above -->
    
    ### Motivation and context
    <!-- Why is this change required? What problem does it solve? If it
    fixes an open
    issue, please link to the issue here. Describe your changes in detail,
    add
    screenshots. -->
    
    - Fixed quality report computation in tasks with non-skeleton labels
    after skeleton labels
    
    ### How has this been tested?
    <!-- Please describe in detail how you tested your changes.
    Include details of your testing environment, and the tests you ran to
    see how your change affects other areas of the code, etc. -->
    
    Unit tests
    
    ### Checklist
    <!-- Go over all the following points, and put an `x` in all the boxes
    that apply.
    If an item isn't applicable for some reason, then ~~explicitly
    strikethrough~~ the whole
    line. If you don't do that, GitHub will show incorrect progress for the
    pull request.
    If you're unsure about any of these, don't hesitate to ask. We're here
    to help! -->
    - [ ] I submit my changes into the `develop` branch
    - [ ] I have created a changelog fragment <!-- see top comment in
    CHANGELOG.md -->
    - [ ] I have updated the documentation accordingly
    - [ ] I have added tests to cover my changes
    - [ ] I have linked related issues (see [GitHub docs](
    
    https://help.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword))
    - [ ] I have increased versions of npm packages if it is necessary
    
    ([cvat-canvas](https://github.com/cvat-ai/cvat/tree/develop/cvat-canvas#versioning),
    
    [cvat-core](https://github.com/cvat-ai/cvat/tree/develop/cvat-core#versioning),
    
    [cvat-data](https://github.com/cvat-ai/cvat/tree/develop/cvat-data#versioning)
    and
    
    [cvat-ui](https://github.com/cvat-ai/cvat/tree/develop/cvat-ui#versioning))
    
    ### License
    
    - [ ] I submit _my code changes_ under the same [MIT License](
    https://github.com/cvat-ai/cvat/blob/develop/LICENSE) that covers the
    project.
      Feel free to contact the maintainers if that's a concern.
    
    
    <!-- This is an auto-generated comment: release notes by coderabbit.ai
    -->
    
    ## Summary by CodeRabbit
    
    - **Bug Fixes**
    - Improved quality computation for tasks with both skeletons and normal
    labels in the Computer Vision Annotation Tool (CVAT).
    
    - **Tests**
    - Added a new test to ensure quality can be computed correctly when a
    non-skeleton label follows a skeleton label.
    
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->
    zhiltsov-max authored Jul 3, 2024
    Configuration menu
    Copy the full SHA
    f886f83 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9811a22 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2024

  1. Security update (#8103)

    Docker Scout found several vulnerabilities, updated or removed them
    novda authored Jul 4, 2024
    Configuration menu
    Copy the full SHA
    b17d293 View commit details
    Browse the repository at this point in the history
  2. Requests page (#8095)

    This PR introduces new page with information about data
    processing(status and progress). For now it will support: task creation,
    import/export.
    
    For previous discussions refer to: #7537
    
    Co-authored-by: Maria Khrustaleva <maria@cvat.ai>
    Co-authored-by: Boris Sekachev <sekachev.bs@gmail.com>
    3 people authored Jul 4, 2024
    Configuration menu
    Copy the full SHA
    c9f1cff View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2024

  1. Fix typos (#8128)

    omahs authored Jul 8, 2024
    Configuration menu
    Copy the full SHA
    170b52d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e76ccf8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    609534e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    13155bc View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    252b2a7 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2024

  1. Increase request timeout on waiting for downloading (#8142)

    <!-- Raise an issue to propose your change
    (https://github.com/cvat-ai/cvat/issues).
    It helps to avoid duplication of efforts from multiple independent
    contributors.
    Discuss your ideas with maintainers to be sure that changes will be
    approved and merged.
    Read the [Contribution guide](https://docs.cvat.ai/docs/contributing/).
    -->
    
    <!-- Provide a general summary of your changes in the Title above -->
    
    ### Motivation and context
    <!-- Why is this change required? What problem does it solve? If it
    fixes an open
    issue, please link to the issue here. Describe your changes in detail,
    add
    screenshots. -->
    
    ### How has this been tested?
    <!-- Please describe in detail how you tested your changes.
    Include details of your testing environment, and the tests you ran to
    see how your change affects other areas of the code, etc. -->
    
    ### Checklist
    <!-- Go over all the following points, and put an `x` in all the boxes
    that apply.
    If an item isn't applicable for some reason, then ~~explicitly
    strikethrough~~ the whole
    line. If you don't do that, GitHub will show incorrect progress for the
    pull request.
    If you're unsure about any of these, don't hesitate to ask. We're here
    to help! -->
    - [x] I submit my changes into the `develop` branch
    - [ ] I have created a changelog fragment <!-- see top comment in
    CHANGELOG.md -->
    - [ ] I have updated the documentation accordingly
    - [ ] I have added tests to cover my changes
    - [ ] I have linked related issues (see [GitHub docs](
    
    https://help.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword))
    - [ ] I have increased versions of npm packages if it is necessary
    
    ([cvat-canvas](https://github.com/cvat-ai/cvat/tree/develop/cvat-canvas#versioning),
    
    [cvat-core](https://github.com/cvat-ai/cvat/tree/develop/cvat-core#versioning),
    
    [cvat-data](https://github.com/cvat-ai/cvat/tree/develop/cvat-data#versioning)
    and
    
    [cvat-ui](https://github.com/cvat-ai/cvat/tree/develop/cvat-ui#versioning))
    
    ### License
    
    - [x] I submit _my code changes_ under the same [MIT License](
    https://github.com/cvat-ai/cvat/blob/develop/LICENSE) that covers the
    project.
      Feel free to contact the maintainers if that's a concern.
    
    
    <!-- This is an auto-generated comment: release notes by coderabbit.ai
    -->
    
    ## Summary by CodeRabbit
    
    - **Tests**
    - Added a timeout option to the `downloadExport` command to improve test
    stability and reliability.
    
    
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->
    novda authored Jul 9, 2024
    Configuration menu
    Copy the full SHA
    a68fe01 View commit details
    Browse the repository at this point in the history
  2. Fixed unexpected deletion of log files of other processes that led to…

    … OSError: [Errno 116] Stale file handle error on NFS volumes (#8121)
    
    Due the nocleanup option defaults to false and we use AUTO-generated
    names for backend process log files, this causes NFS4ERR_STALE to appear
    on NFS-mounted volumes
    ```python
    Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/supervisor/loggers.py", line 109, in emit
        self.flush()
      File "/usr/lib/python3/dist-packages/supervisor/loggers.py", line 68, in flush
        self.stream.flush()
    OSError: [Errno 116] Stale file handle
    ```
    
    http://supervisord.org/configuration.html#:~:text=Introduced%3A%203.0-,nocleanup,-Prevent%20supervisord%20from
    
    https://stackoverflow.com/questions/40262823/stale-file-handle-error-when-process-trying-read-the-file-that-other-process
    
    Co-authored-by: Roman Donchenko <roman@cvat.ai>
    azhavoro and SpecLad authored Jul 9, 2024
    Configuration menu
    Copy the full SHA
    ad1bcd5 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2024

  1. Make LabeledDataSerializer.validated_data usable (#8144)

    Currently, the views that use `LabeledDataSerializer` for input do
    something unconventional: they create the serializer with the input
    data, call `is_valid()`, but then use the original data instead of the
    `validated_data` member. I believe this is because `validated_data` in
    this case is unusable because of the `source` attributes on some of the
    fields in the nested serializers.
    
    For example, in `LabeledImageSerializer`, the `attributes` field has a
    source of `labeledimageattributeval_set`. This works well when
    serializing `LabeledImage` objects, but when you're deserializing, this
    creates a dict with a `labeledimageattributeval_set` key. Such objects
    are incompatible with functions like `patch_job_data`, which expect the
    `attributes` key instead.
    
    In the current code, using `data` instead of `validated_data` seems to
    work okay-ish. It _is_ a bit confusing, though, because it's
    unconventional. For example, the `default` values set in serializer
    fields are effectively useless, because they're only filled in
    `validated_data`.
    
    However, I'm currently working on a feature where a
    `LabeledDataSerializer` is incorporated into another serializer, and
    this problem means that I can't use `validated_data` for the parent
    serializer either, and that means I can't implement custom
    `to_internal_value` or `create` methods. So I'd much rather fix this.
    
    While we could do it by making `patch_job_data` and others accept
    `labeledimageattributeval_set`, this seems counterproductive. The name
    `attributes` is much easier to read & understand. So instead, change the
    models so that the attributes of an annotation object can be accessed
    via `.attributes` and the shapes of a track via `.tracks`. That way, the
    `source` attributes become unnecessary. This fixes the problem _and_
    makes the code clearer at the same time.
    SpecLad authored Jul 11, 2024
    Configuration menu
    Copy the full SHA
    0317871 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2024

  1. Configuration menu
    Copy the full SHA
    5aae413 View commit details
    Browse the repository at this point in the history
  2. Fixed timestamp alignment on quality page (#8106)

    <!-- Raise an issue to propose your change
    (https://github.com/cvat-ai/cvat/issues).
    It helps to avoid duplication of efforts from multiple independent
    contributors.
    Discuss your ideas with maintainers to be sure that changes will be
    approved and merged.
    Read the [Contribution guide](https://docs.cvat.ai/docs/contributing/).
    -->
    
    <!-- Provide a general summary of your changes in the Title above -->
    
    ### Motivation and context
    <!-- Why is this change required? What problem does it solve? If it
    fixes an open
    issue, please link to the issue here. Describe your changes in detail,
    add
    screenshots. -->
    The timestamp looks incorrectly aligned + margin after the icon looks
    too big.
    
    Before:
    
    ![image](https://github.com/cvat-ai/cvat/assets/50956430/0c254899-3996-46d2-974b-44701f2da7cc)
    
    After:
    
    ![image](https://github.com/cvat-ai/cvat/assets/50956430/685f6a13-484f-496c-a48f-d5d55c33bc59)
    
    ### How has this been tested?
    <!-- Please describe in detail how you tested your changes.
    Include details of your testing environment, and the tests you ran to
    see how your change affects other areas of the code, etc. -->
    
    ### Checklist
    <!-- Go over all the following points, and put an `x` in all the boxes
    that apply.
    If an item isn't applicable for some reason, then ~~explicitly
    strikethrough~~ the whole
    line. If you don't do that, GitHub will show incorrect progress for the
    pull request.
    If you're unsure about any of these, don't hesitate to ask. We're here
    to help! -->
    - [x] I submit my changes into the `develop` branch
    - [ ] I have created a changelog fragment <!-- see top comment in
    CHANGELOG.md -->
    - ~~[ ] I have updated the documentation accordingly~~
    - ~~[ ] I have added tests to cover my changes~~
    - ~~[ ] I have linked related issues (see [GitHub docs](
    
    https://help.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword))~~
    - ~~[ ] I have increased versions of npm packages if it is necessary
    
    ([cvat-canvas](https://github.com/cvat-ai/cvat/tree/develop/cvat-canvas#versioning),
    
    [cvat-core](https://github.com/cvat-ai/cvat/tree/develop/cvat-core#versioning),
    
    [cvat-data](https://github.com/cvat-ai/cvat/tree/develop/cvat-data#versioning)
    and
    
    [cvat-ui](https://github.com/cvat-ai/cvat/tree/develop/cvat-ui#versioning))~~
    
    ### License
    
    - [x] I submit _my code changes_ under the same [MIT License](
    https://github.com/cvat-ai/cvat/blob/develop/LICENSE) that covers the
    project.
      Feel free to contact the maintainers if that's a concern.
    
    
    <!-- This is an auto-generated comment: release notes by coderabbit.ai
    -->
    
    ## Summary by CodeRabbit
    
    - **Bug Fixes**
      - Aligned the quality report button and timestamp on the quality page.
      
    - **Style**
    - Updated styling for buttons and quality settings switch on the
    analytics page.
    
    - **Refactor**
    - Reorganized the layout of the quality report controls for improved
    clarity and usability using Ant Design's `Row` and `Col` components.
    
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->
    klakhov authored Jul 12, 2024
    Configuration menu
    Copy the full SHA
    54e857d View commit details
    Browse the repository at this point in the history
  3. Fix the Docker image build (#8160)

    The smokescreen clone was being done with `--depth=1`, which broke as
    soon as the tip of the master branch advanced past the commit we wanted.
    Use `--filter=blob:none` instead, which still avoids fetching the full
    history, but allows us to check out any commit we want.
    SpecLad authored Jul 12, 2024
    Configuration menu
    Copy the full SHA
    9565cff View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2024

  1. Add missing migration (#8162)

    <!-- Raise an issue to propose your change
    (https://github.com/cvat-ai/cvat/issues).
    It helps to avoid duplication of efforts from multiple independent
    contributors.
    Discuss your ideas with maintainers to be sure that changes will be
    approved and merged.
    Read the [Contribution guide](https://docs.cvat.ai/docs/contributing/).
    -->
    
    <!-- Provide a general summary of your changes in the Title above -->
    
    ### Motivation and context
    <!-- Why is this change required? What problem does it solve? If it
    fixes an open
    issue, please link to the issue here. Describe your changes in detail,
    add
    screenshots. -->
    
    Follow up for #8144
    
    - Added a seemingly missing migration
    
    ### How has this been tested?
    <!-- Please describe in detail how you tested your changes.
    Include details of your testing environment, and the tests you ran to
    see how your change affects other areas of the code, etc. -->
    
    ### Checklist
    <!-- Go over all the following points, and put an `x` in all the boxes
    that apply.
    If an item isn't applicable for some reason, then ~~explicitly
    strikethrough~~ the whole
    line. If you don't do that, GitHub will show incorrect progress for the
    pull request.
    If you're unsure about any of these, don't hesitate to ask. We're here
    to help! -->
    - [ ] I submit my changes into the `develop` branch
    - [ ] I have created a changelog fragment <!-- see top comment in
    CHANGELOG.md -->
    - [ ] I have updated the documentation accordingly
    - [ ] I have added tests to cover my changes
    - [ ] I have linked related issues (see [GitHub docs](
    
    https://help.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword))
    - [ ] I have increased versions of npm packages if it is necessary
    
    ([cvat-canvas](https://github.com/cvat-ai/cvat/tree/develop/cvat-canvas#versioning),
    
    [cvat-core](https://github.com/cvat-ai/cvat/tree/develop/cvat-core#versioning),
    
    [cvat-data](https://github.com/cvat-ai/cvat/tree/develop/cvat-data#versioning)
    and
    
    [cvat-ui](https://github.com/cvat-ai/cvat/tree/develop/cvat-ui#versioning))
    
    ### License
    
    - [ ] I submit _my code changes_ under the same [MIT License](
    https://github.com/cvat-ai/cvat/blob/develop/LICENSE) that covers the
    project.
      Feel free to contact the maintainers if that's a concern.
    
    
    <!-- This is an auto-generated comment: release notes by coderabbit.ai
    -->
    
    ## Summary by CodeRabbit
    
    - **Chores**
    - Updated database schema to improve relationship consistency within the
    application. No visible changes for end-users.
    
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->
    zhiltsov-max authored Jul 15, 2024
    Configuration menu
    Copy the full SHA
    2aa4ebd View commit details
    Browse the repository at this point in the history
  2. Fixed DOMException: Failed to execute 'atob' on 'Window': The string …

    …to be decoded is not correctly encoded. (#8166)
    bsekachev authored Jul 15, 2024
    Configuration menu
    Copy the full SHA
    f078458 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b2f6097 View commit details
    Browse the repository at this point in the history
  4. Track last assignee update (#8119)

    <!-- Raise an issue to propose your change
    (https://github.com/cvat-ai/cvat/issues).
    It helps to avoid duplication of efforts from multiple independent
    contributors.
    Discuss your ideas with maintainers to be sure that changes will be
    approved and merged.
    Read the [Contribution guide](https://docs.cvat.ai/docs/contributing/).
    -->
    
    <!-- Provide a general summary of your changes in the Title above -->
    
    Depends on #8162
    
    ### Motivation and context
    <!-- Why is this change required? What problem does it solve? If it
    fixes an open
    issue, please link to the issue here. Describe your changes in detail,
    add
    screenshots. -->
    
    - Added recording and reporting of the last assignee update time on the
    server
    - Added reporting of the assignee in quality reports
    
    ### How has this been tested?
    <!-- Please describe in detail how you tested your changes.
    Include details of your testing environment, and the tests you ran to
    see how your change affects other areas of the code, etc. -->
    
    Unit tests
    
    ### Checklist
    <!-- Go over all the following points, and put an `x` in all the boxes
    that apply.
    If an item isn't applicable for some reason, then ~~explicitly
    strikethrough~~ the whole
    line. If you don't do that, GitHub will show incorrect progress for the
    pull request.
    If you're unsure about any of these, don't hesitate to ask. We're here
    to help! -->
    - [ ] I submit my changes into the `develop` branch
    - [ ] I have created a changelog fragment <!-- see top comment in
    CHANGELOG.md -->
    - [ ] I have updated the documentation accordingly
    - [ ] I have added tests to cover my changes
    - [ ] I have linked related issues (see [GitHub docs](
    
    https://help.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword))
    - [ ] I have increased versions of npm packages if it is necessary
    
    ([cvat-canvas](https://github.com/cvat-ai/cvat/tree/develop/cvat-canvas#versioning),
    
    [cvat-core](https://github.com/cvat-ai/cvat/tree/develop/cvat-core#versioning),
    
    [cvat-data](https://github.com/cvat-ai/cvat/tree/develop/cvat-data#versioning)
    and
    
    [cvat-ui](https://github.com/cvat-ai/cvat/tree/develop/cvat-ui#versioning))
    
    ### License
    
    - [ ] I submit _my code changes_ under the same [MIT License](
    https://github.com/cvat-ai/cvat/blob/develop/LICENSE) that covers the
    project.
      Feel free to contact the maintainers if that's a concern.
    
    
    <!-- This is an auto-generated comment: release notes by coderabbit.ai
    -->
    
    ## Summary by CodeRabbit
    
    - **New Features**
    - Added tracking for the last assignee update time across jobs, tasks,
    and projects.
      - Introduced assignee information in quality reports.
    - **Bug Fixes**
    - Ensured accurate handling of assignee details and update times in
    various entities.
    - **Tests**
    - Added extensive test coverage for creating and updating assignee
    details in jobs, tasks, projects, and quality reports.
    - **Documentation**
      - Updated schema to include the new `assignee_updated_date` field.
    
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->
    zhiltsov-max authored Jul 15, 2024
    Configuration menu
    Copy the full SHA
    b5d48c7 View commit details
    Browse the repository at this point in the history
  5. Prepare release v2.16.0

    cvat-bot[bot] committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    382837f View commit details
    Browse the repository at this point in the history