youichiro
ed37696a67
manage permissions with permission_classes
3 years ago
Dimid Duchovny
d58cd28921
iss1348: fix colors when importing labels
Signed-off-by: Dimid Duchovny <dimidd@localize.city>
3 years ago
youichiro
e5ad3c6f8b
update backend project view test
3 years ago
youichiro
4a879d3697
return user.is_staff in user API response
3 years ago
youichiro
6c70092362
restrict project creation to staff users
3 years ago
youichiro
832035da5b
add a new exception
3 years ago
youichiro
ad221a6c2c
fix import order
3 years ago
youichiro
c6dbab2ed6
fix typo
3 years ago
zanussbaum
df61e8a012
removing debugging statement
3 years ago
Roland Szabo
62bc03f6c1
Remove unneed import
3 years ago
Roland Szabo
0243c73462
Remove unneeded query
Bulk create returns the created objects in the same order as they have been added.
In Postgres, the query was wrong, because ordering was not guaranteed.
3 years ago
Roland Szabo
2f47b8c4d6
Return a Response with a status if the task is not yet ready.
3 years ago
Roland Szabo
0906e789f6
Sort imports
3 years ago
Roland Szabo
d4cb96f4fd
Add admin interface for AutoLabelingConfigs. Solves #1423
Thanks to @uklft for the idea.
3 years ago
youichiro
197d17182c
move later to copy files in Dockerfile.prod
3 years ago
zanussbaum
9bf6c52347
Fixing Data Annotation Issues
When uploading datasets, the code uses a `bulk_create` to upload
Examples and Labels. It then filters the data from the database
based on when it was created. However, [Django doesn't enforce
the list order when calling filter](https://stackoverflow.com/questions/7163640/what-is-the-default-order-of-a-list-returned-from-a-django-filter-call )
unless ordering is specified. The previous behavior mismatched labels
and examples. When this was shown in the UI, the data would show labels
for incorrect examples (i.e. a label for message #2 would be shown on
message #1 ). This fix enforces that the data is returned in the order
it was inserted so that the data, label pair is as expected.
3 years ago
Hironsan
0812f0c6d0
Update AutoLabelingConfigParameterTest API
3 years ago
Hironsan
caf1ad222f
Update auto-labeling-pipeline
3 years ago
Hironsan
720f0d4f00
Change AutoLabelingAnnotation API url
3 years ago
Hironsan
25989c265d
Update AutoLabelingAnnotation API to handle image data
3 years ago
Hironsan
7992092c83
Add a test case for auto labeling config creation
3 years ago
Hironsan
e93662fb9d
Add test for label mapping
3 years ago
Hironsan
cb9b1b12d0
Add test for auto labeling template mapping
3 years ago
Hironsan
31f7f0f6b2
Add a test image
3 years ago
Hironsan
6c3925fc9f
Update AutoLabelingConfigParameterTest
3 years ago
Hironsan
d04d6571ff
Update AutoLabelingConfigParameterTest
3 years ago
Hironsan
18febb7e1a
Switch filter_class from DocumentFilter to ExampleFilter in ExampleList
3 years ago
Hironsan
beb9b5207c
Add ExampleFilter
3 years ago
Hironsan
2545ffef15
Add ExampleState API
3 years ago
Hironsan
60d4ed8d03
Add ExampleState serializer
3 years ago
Hironsan
fc7d53abe7
Add ExampleState model
3 years ago
Hironsan
16840c6f2c
Add migration file
3 years ago
Hironsan
223a713d2c
Update Dockerfiles, fix #1388 , fix #1387
3 years ago
Davide Allavena
1cdb9d6df3
isort strikes again
3 years ago
Davide Allavena
d6ee449393
other isort
3 years ago
Davide Allavena
9fce783cf7
more isort
3 years ago
Davide Allavena
2f0816639f
isort fix
3 years ago
Davide Allavena
e2dc4cc25b
Added newline at the end of the file
3 years ago
Davide Allavena
d7ee28569a
Removed Uselss imports
3 years ago
Hironsan
32a438e76c
Add middleware for range request
3 years ago
Davide Allavena
4d61471a3a
Migration merged
3 years ago
Колюня
faf05cbb0a
Fix permission for /backend
Fix permission for /backend
Issue: https://github.com/doccano/doccano/issues/1381#issue-903696635
3 years ago
Hironsan
8cc43e4cd2
Update Dockerfile.prod to create a directory
3 years ago
Hironsan
27b68c40da
Update backend container not to use super user
3 years ago
Hironsan
4731441146
Update dockerignore
3 years ago
Hironsan
03619a9714
Update auto-labeling-pipeline and fix the API
3 years ago
Hironsan
b6bfd05485
Update repository for speech to text
3 years ago
Hironsan
a3100ff234
Update download factory for speech to text
3 years ago
Hironsan
17350dba8a
Add download catalog for speech to text
3 years ago
Hironsan
1639332f06
Update upload factory for speech to text
3 years ago