10 Commits (main)

Author SHA1 Message Date
Maxim Zhiltsov 0280b5fb64
Add simple filters for collections (#5575)
Added simple filter queries for collections in the server API. Such
queries should cover simpler cases, while more complex filters should
use the JSON syntax.

- Added simple filters for collection endpoints in API (e.g.
`/tasks?project_id=42&user=myusername`)
- Removed duplicating collection endpoints in API in favor of their full
versions:
  - `/projects/{id}/tasks` -> `/tasks?project_id={id}`
  - `/tasks/{id}/jobs` -> `/jobs?task_id={id}`
  - `/jobs/{id}/issues` -> `/issues?job_id={id}`
  - `/issue/{id}/comments` -> `/comments?issue_id={id}`
  - Corresponding owning objects now return a link to the collection:
    - `/projects/{id}`: `.tasks`
    - `/tasks/{id}`: `.jobs`
    - `/jobs/{id}`: `.issues`
    - `/issue/{id}`: `.comments`
- Fixed errors in the generated server API schema:
- Input and output types in all the basic model methods (`Create`,
`Update`, `Retrieve`, `Delete`)
- Removed invalid separation for the project list operation response
type
- File structure for projects in the dataset cache is updated to store
the new project representation. Old caches will be invalidated.
- Added tests
3 years ago
Roman Donchenko 41c6728528
Fix more ESLint errors (#5619) 3 years ago
Roman Donchenko c86746c785
Convert `api.ts`, `api-implementation.ts` and `frames.ts` to ES6 modules (#5283)
This fixes ESLint errors in these files.

Set the `resolveJsonModule` setting, so that TypeScript can recognize the
`package.json` import.
3 years ago
Maria Khrustaleva 9f89787f95
Source & target storage support (#4842) 3 years ago
Boris Sekachev b5bac8c0a5
Jobs page: advanced filtration and implemented sorting (#4319)
Co-authored-by: Nikita Manovich <nikita.manovich@intel.com>
Co-authored-by: Maya <maya17grd@gmail.com>
4 years ago
Dmitry Kalinin b5ed09ea94
Project tasks pagination (#3910)
* Added project tasks search and pagination

* Increased npm versions

* Added CHANGELOG

* Fixed issues

* Fixed styles

* Fixed core tests

* Fixed core tests

* Fixed core tests

* Fixed core tests

* Fixed parameter

* Fixed project update action

* Fixed updating project

* Fixed comments
4 years ago
Boris Sekachev 7bf415412a
Working on linter configurations (#3839)
* Fix different project configs

* Sorted out all eslint configurations

* Return package-lock file created with npm 7 (just in case of compatibility issues), prev was 8

* Changed based image to lts slim
4 years ago
Dmitry Kalinin a17d054e0b
Project tasks loading only when needed (#3223)
* Tasks loading only when needed

* Fixed project page

* Added CHANGELOG, increased packages versions

* Update CHANGELOG.md

Co-authored-by: Boris Sekachev <boris.sekachev@intel.com>

* Fixed comments

* Fixed overflow issue

* Fixed reducer issue

* Fixed cvat-core tests

Co-authored-by: Boris Sekachev <boris.sekachev@intel.com>
5 years ago
Dmitry Kruchinin c3fb14bf64
Cypress/unit tests. Label deleting feature. (#2953)
* Add dummy second label

* Add unit tests

* Update cypress command

* Add cypress tests

* Revert command.js requare

* Add css classes

* Add css class
5 years ago
Dmitry Kalinin 879deb5a52
Projects (#2255)
Initial implementation of Projects feature to group similar tasks into one group (aka Dataset UI in the future).
5 years ago