margaretmeehan
8e21d5f23d
Replace 'isSuperUser' with specific roles required for frontend
5 years ago
margaretmeehan
d602fc75e6
fixing typo in role_mapping
5 years ago
Razi Rais
c1082e14e9
Role and RoleMapping Models
5 years ago
Clemens Wolff
4a0134f210
Add option to share annotations across users
5 years ago
Clemens Wolff
6b0e32e96b
Fix integrity error on SQL Server
Currently we use the unique_together constraint to ensure that if a label has a
shortcut key combination, no other label has the same combination.
However, on SQL Server, the unique_together constraint also looks at null
values which breaks the unique_together constraint since we now can no longer
have two labels without shortcut keys. The error message is as follows:
```
Violation of UNIQUE KEY constraint 'api_label_project_id_prefix_key_suffix_key_1b3d8f77_uniq'.
Cannot insert duplicate key in object 'dbo.api_label'.
The duplicate key value is (32, <NULL>, <NULL>).
```
Moving the validation logic from the database into Django fixes the issue and
makes the constraint clearer.
5 years ago
Clemens Wolff
47bbb741d2
Add support for SQL Server database
5 years ago
Federica Nocera
286ea9e04c
Refactored label_per_data using managers.
5 years ago
Clemens Wolff
d0c566c5ab
Add admin button to approve/reject labels
5 years ago
Hironsan
8713a281d9
Create new app and move codes
5 years ago
Clemens Wolff
bbc68ffa00
Add option to randomize document order per user
5 years ago
Clemens Wolff
9206b499c2
Adopt nuxt folder structure
5 years ago
Clemens Wolff
e37e16bfad
Auto-generate label shortkeys on corpus import
5 years ago
Clemens Wolff
df2bbe34b8
Remove Django template inheritance in admin pages
5 years ago
Clemens Wolff
2bdcada9a7
Collapse Django annotation templates
5 years ago
Hironsan
1d2dfdaa3d
Fix #140
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
eb09eb97d2
Support meta data import/export
5 years ago
Hironsan
141d1717d6
Delete unnecessary models
5 years ago
Hironsan
14bcb0a703
Add downloader to support csv and json format
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
6b8f2a7627
Add updated_at and created_at fields to models
For managing data life cycle
5 years ago
Hironsan
a47b853c7c
Add project API
5 years ago
Hironsan
a43738a13a
Divide project and document models into 3 models
Because of polymorphism
5 years ago
Bramble Xu
9e9c5485fc
#61 : make shortcut optional in backend and create new test case
5 years ago
serhii.nechyporchuk
f8a72a0a60
iss45: base implementation for metadata support
5 years ago
Bramble Xu
7f30573b88
iss15: implement the json export for three tasks
5 years ago
Bramble Xu
57029d06be
iss15: add download page and reimplement the csv download function
5 years ago
Hironsan
5807858ef2
Add document serializer for sequence labeling and seq2seq
6 years ago
Hironsan
9106aa51fd
Update progress method
6 years ago
Hironsan
7bcc1c04b5
Remove ProjectDocsAPI
6 years ago
Hironsan
006181e72a
Update ProjectViewSet
6 years ago
Hironsan
7e45b33252
Simplify projects view
6 years ago
Hironsan
cdba3e0822
Simplify project view
6 years ago
Hironsan
d456dbbfe0
Implement make dataset for sequence labeling
6 years ago
Hironsan
85339acd44
Implement data download for seq2seq
6 years ago
Hironsan
7406183a0c
Update data download api
6 years ago
Hironsan
5c08f73398
Rename model method
6 years ago
Hironsan
7fa18de3d3
Update project model
6 years ago
Hironsan
67049e71bb
Remove factory
6 years ago
Hironsan
9baf7fc6bf
Add permissions
6 years ago
Hironsan
e9a52a115b
Add factory class
6 years ago
Hironsan
1598959bf3
Update project list
6 years ago
Hironsan
88211225b0
Update label model
for vue-shortkey, make label lower
6 years ago