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

Clean up server-proxy.ts #5873

Merged
merged 10 commits into from
Mar 20, 2023
Merged

Clean up server-proxy.ts #5873

merged 10 commits into from
Mar 20, 2023

Commits on Mar 16, 2023

  1. server-proxy.ts: remove redundant JSON stringification

    Axios will automatically encode the request body as JSON and add the
    appropriate `Content-Type` if given an object.
    SpecLad committed Mar 16, 2023
    Configuration menu
    Copy the full SHA
    b71a651 View commit details
    Browse the repository at this point in the history
  2. server-proxy.ts: remove redundant Axios parameters

    * `Content-Type` when there's no content;
    * duplicate method names;
    * empty configs.
    SpecLad committed Mar 16, 2023
    Configuration menu
    Copy the full SHA
    7b6ce9f View commit details
    Browse the repository at this point in the history
  3. server-proxy.ts: refactor updateAnnotations to enable typechecking

    The typechecker knows what arguments `Axios` wants, but it doesn't know
    what arguments `requestFunc` wants.
    SpecLad committed Mar 16, 2023
    Configuration menu
    Copy the full SHA
    ed05fa8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6e9e57c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1e5cd63 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f885401 View commit details
    Browse the repository at this point in the history
  7. server-proxy.ts: remove dumpAnnotations

    It has been unused since f18b1cb.
    SpecLad committed Mar 16, 2023
    Configuration menu
    Copy the full SHA
    fc4237e View commit details
    Browse the repository at this point in the history
  8. Update cvat-core version

    SpecLad committed Mar 16, 2023
    Configuration menu
    Copy the full SHA
    f30e432 View commit details
    Browse the repository at this point in the history
  9. Update changelog

    SpecLad committed Mar 16, 2023
    Configuration menu
    Copy the full SHA
    67d9d0a View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2023

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