Currently, all properties of the server proxy object are created using
`Object.defineProperties` in the constructor, which means that IDEs like
VS Code can't analyze the file's static structure to determine what
properties there are and what types they have. Consequently, things like
autocomplete and go-to-definition don't work.
Fix that by removing the `ServerProxy` class altogether and exporting an
anonymous object with all properties defined statically.
* Supported type for all labels
* Multiple fixes in UI for new type scheme
* Fixed on 3d annotation view
* Fixed tests
* Updated version && changelog
* Fixed test
* Added type
* Fixed typos
* Fixed minor comments
* Fix incorrect requires of the ./config module
It's an ES6 module, so we need to use the `default` field, or we'll get the
module itself instead.
* Fix ESLint errors in cvat-core/src/server-proxy.ts
Specifically:
* `padded-blocks`
* `@typescript-eslint/no-var-requires`
* `@typescript-eslint/return-await`
* typescripted some files
* typescripted cloud storage
* reverted api-implementation, fixed minor errors
* updated changelog
* fixed jest test
* updated file: to link:
Co-authored-by: Boris Sekachev <boris.sekachev@yandex.ru>
* Fixed merge after changing server API scheme
* Fixed some delete-undo related issues
* Fixed server id assignment
* Fixed selection a skeleton point
* Updated versions
* Applied some comments
* Updated version
* Fixed stylelint
* Updated license headers
* Prepare UI for attributes configuration
* Add padding for label attributes
* Update attributes inference logic
Check the attributes returned by nuclio function call and reject those that
have either incompatible types or values.
* Update cvat-ui version, CHANGELOG.md
* Enhance automatic annotation BE logic
The code in lambda_manager didn't account for attributes mappings that had
different names thus returning an empty set of attributes because it couldn't
find the correct match. Fix this by getting proper mapping from `attrMapping`
property of the input data.
* Updated CHANGELOG
* Updated changelog
* Adjusted code & feature
* A bit adjusted layout
* Minor refactoring
* Fixed bug when run auto annotation without 'attributes' key
* Fixed a couple of minor issues
* Increased access key id length
* Fixed unit tests
* Merged develop
* Rejected unnecessary change
Co-authored-by: Artem Zhivoderov <artemz@retailnext.net>
* add data_type to tus mixin
* added tus for task annotations import
* added tus for jobs annotations import
* applied comments
* fix test
* fix incorrect upload endpoint
* add location creation based on origin
* remove unused import
* remove data_type
* remove unused comment
* update changelog to new release
Co-authored-by: Nikita Manovich <nikita.manovich@intel.com>
* Added intelligent paste labels function, added notification when remove labels from raw editor
* Adjusted raw tab behaviour
* Fixed issue with selection
* Updated version and changelog, removed previous implementation
* Removed outdated comment
* Additional checks on the server
* Added check for default boolean attr
* Updated version
* Conditionally show lost labels/attributes
* Remove labels only when create
Co-authored-by: Nikita Manovich <nikita.manovich@intel.com>
* Fixed copy/paste for rotated shapes
* Updated version
* Fixed issue with cropping rotated box after paste
* Checking constraints not only when create, but also when paste
* Do not enable autoborders when paste shape
* Fixed test. Getting circles coordinates is not correct way to check coordinates matching because they are in different coordinate spaces
* Using dedicated function to get points
* added api documentation
* added test with 108mb file
* fixed linter issues
* added upload chunk size param
* fixed initialization
* udpated doc for uploadChunkSize
* reworked setting as global
* small fix
* moved uploadChunkSize setting setup to hooks
* fix comments
* change this to globalThis