5 Commits (d85d77704086a3350ffc998d6177949757d9313c)

Author SHA1 Message Date
Boris Sekachev d85d777040 CVAT.js API Tests (#578)
* Added annotations dummy data

* Added test file

* Weak maps instead of regular dict

* Added 14 API tests

* Fixed put tests

* Some written tests and some additional checks

* Merge tests

* Split & group tests

* Clear annotations tests

* Statistics tests

* Added frames meta

* Selection tests & bug fixes

* Tests for frame

* ObjectState tests, many fixed bugs

* Object state tests

* Renamed method FrameData.frame() => FrameData.data()
7 years ago
Boris Sekachev 6025151c6f CVAT.js other implemented API methods and bug fixes (#569)
* Split implementation

* Group implementation

* Reset cache for created object after saving

* A litle fix

* API methods definitions

* Typos

* API methods annotations.Statistics() and annotationsclear()

* Object selection

* Little fix

* Comments and docs a little changed
7 years ago
Boris Sekachev 0a2cb949bb CVAT.js implemented API methods and bug fixes (#564)
* Increase/decrease ZOrder

* ZOrder up/down

* Some crutial bugs fixed

* hasUnsavedChanges and merge

* Added API description

* Fixed bugs

* Merge was tested

* New file

* Fixed unit tests

* Fixed small bug which reproduced only after build
7 years ago
Boris Sekachev 0efd665f90 Saving of annotations on the server (#561)
* Annotation saver

* Removed extra code

* Eslint fixes
7 years ago
Boris Sekachev 2b619f1e14 Code was devided by files (#558) 7 years ago