8 Commits (87f07fd3918611a440f58fdb7d0fcaa02539c4c6)

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 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 4f1a778d22
Fixed Intel license headers (#119) 4 years ago
Nikita Manovich 4708b5ecf8
IAM: Open Policy Agent integration (#3788)
Co-authored-by: Boris Sekachev <boris.sekachev@intel.com>
Co-authored-by: Dmitry Kruchinin <dmitryx.kruchinin@intel.com>
4 years ago
Vitaliy Nishukov 7512fd6883
Reformatted (#2349) 5 years ago
Boris Sekachev cad5ac8653 Updated cvat-core (#591)
* Two webpack configuration instead one

* Two webpack configuration instead one

* Setup webpack build

* Removed references window.cvat

* Removed window.cvat

* Stop frame, start frame, frame filter

* Updated save method

* Updated dashboard to create tasks with custom stopFrame/startFramre

* Fixed clientID

* Removed browser environment from nodejs

* Updated webpack.config.js

* Updated filename
7 years ago
Boris Sekachev ebbcb83464 Renamed cvatjs to cvat-core (#590)
* cvatjs => cvat-core

* Updated version

* Fixed docker directories
7 years ago