Hironsan
92f7c5a75c
Implement me API
5 years ago
Clemens Wolff
e7d34efeae
Reduce scope of Swiper include
Currently the Swiper library is referenced in the base template which
means that its CSS and JS get included and loaded on every page.
However, the Swiper functionality is only used on the landing page. This
leads to redundant requests to load the CSS and JS and may even lead to
hard to debug potential issues with clashing JS or CSS.
This change moves the Swiper JS and CSS to only be included on the
landing page.
5 years ago
Clemens Wolff
06b4a32c01
Move from script tags to Javascript imports
Previously some of the Vue code relied on script tags being present in
the host application, to include dependencies such as lodash or marked.
This is not ideal for encapsulation since it means the Vue components
are not self-contained, makes testing harder, etc.
As such, this change replaces the script tag includes with ES6 imports.
Additionally, the lodash dependency (which was used only for debouncing)
is replaced in this change with the vue-debounce library which offers a
debouncing directive. This simplifies the code and avoids potential
gotchas with the this context in the debounced function.
5 years ago
Hironsan
1d2dfdaa3d
Fix #140
5 years ago
sudodoki
4bfa60185d
Fix issue with text import yielding internal server error on StopIteration
5 years ago
Clemens Wolff
45f6fc10f1
Fix all eslint warnings
5 years ago
Clemens Wolff
07d5172b6c
Integrate webpack and django
5 years ago
Hironsan
49d41416e4
Support batch import
5 years ago
Hironsan
bf54c6c5f2
Divide download/upload template
5 years ago
Hironsan
92848809a9
Fix frontend for working with backend
5 years ago
Hironsan
d77ab70bff
Move file handlers from api to utils
5 years ago
Hironsan
2a02881edd
Change method name
5 years ago
Hironsan
c3b0c30355
Delete EntityList and EntityDetail api
Because AnnotationList and AnnotationDetail api can do the same thing.
5 years ago
Hironsan
eb09eb97d2
Support meta data import/export
5 years ago
Hironsan
541af14d13
Add test case(jsonl without label) to file handler
5 years ago
Hironsan
141d1717d6
Delete unnecessary models
5 years ago
Hironsan
b93578d2b7
Implement statistics api
5 years ago
Hironsan
7a95aa9705
Implement document filter for filtering with/without annotation
filter_fields=('seq_annotations__isnull',) is desirable but it can't.
See more detail:
https://github.com/carltongibson/django-filter/issues/743
5 years ago
Bramble Xu
f37fbe4f87
#99 : correct emoji length calculation
5 years ago
Hironsan
14bcb0a703
Add downloader to support csv and json format
5 years ago
Hironsan
739b1b68c7
Add annotation api
5 years ago
Hironsan
fa388ac6ec
Update project serializer mapping
5 years ago
Hironsan
880c179966
Allow document serializer to return annotations
5 years ago
Hironsan
61a4becc0a
Make project model polymorphic
5 years ago
Hironsan
5af45811ed
Add file uploader to support plain, csv, json and CoNLL format
Corresponding to issue #11
5 years ago
Hironsan
f4f55b4b03
Add PlainText, CSV, JSONL uploader
5 years ago
Hironsan
04e2e55693
Add file uploader for CoNLL format
Corresponding to issue #11
5 years ago
Hironsan
463129c7e6
Add ordering documents by most/least recently updated annotation
Corresponding issue: #20
5 years ago
Hironsan
2bc95ceecc
Add filter document by label
5 years ago
Hironsan
910e628d9f
Add document filtering and ordering
Corresponding issue: #20
5 years ago
Hironsan
6b8f2a7627
Add updated_at and created_at fields to models
For managing data life cycle
5 years ago
Hironsan
0e3597130d
Support multiple formats
5 years ago
Hironsan
1c0411a3ce
Add path based versioning
5 years ago
Hironsan
ef8f02dc2b
Add permission to EntityDetailAPI
To disallow project member to update/delete entities labeled by another member
5 years ago
Hironsan
0e3f97154e
Add entity api
5 years ago
Hironsan
a47b853c7c
Add project API
5 years ago
Hironsan
1807b87892
Refactor api and add test cases
5 years ago
Hironsan
654e0c619a
Aggregate API tests
5 years ago
Hironsan
accbaa83b1
WIP
5 years ago
Hironsan
a43738a13a
Divide project and document models into 3 models
Because of polymorphism
5 years ago
Bramble Xu
14e3437722
#61 : make shortcut optional in front and show simplified shortcut
5 years ago
Bramble Xu
9e9c5485fc
#61 : make shortcut optional in backend and create new test case
5 years ago
Bramble Xu
0b11e60ef1
#61 : fix typo
5 years ago
Clemens Wolff
5e73682366
Remove auto-generated bundle files
5 years ago
Clemens Wolff
821ec0ec87
Automate bundle creation
5 years ago
Clemens Wolff
ebfa956d3e
Re-generate bundle
5 years ago
Clemens Wolff
a2378ad8e2
Sync current offset state to URL
![Screenshot showing offset state in URL](https://user-images.githubusercontent.com/1086421/51856321-6e0e1e00-22fd-11e9-8420-1204b8a3d3b7.png )
5 years ago
Clemens Wolff
e4fd74ec6f
Add server-side analytics via AppInsights
5 years ago
Clemens Wolff
7f6cce2f6e
Add client-side analytics via Azure AppInsights
See https://docs.microsoft.com/en-us/azure/azure-monitor/app/javascript
5 years ago
Clemens Wolff
5c17ae24b0
Make Google Analytics Tracking ID configurable
5 years ago