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
Hiroki Nakayama
a29e798014
Merge pull request #119 from CatalystCode/enhancement/eslint-ci
Enhancement/Run ESlint during CI
5 years ago
Clemens Wolff
a77df89cdb
Merge branch 'master' into enhancement/eslint-ci
5 years ago
Hiroki Nakayama
441e3efa93
Merge pull request #143 from chakki-works/#140
Possible to edit labels, fix #140
5 years ago
Hironsan
1d2dfdaa3d
Fix #140
5 years ago
Hiroki Nakayama
59e94e4f64
Merge pull request #136 from sudodoki/master
Fix issue with text import yielding internal server error
5 years ago
sudodoki
4bfa60185d
Fix issue with text import yielding internal server error on StopIteration
5 years ago
Hiroki Nakayama
badcd19b24
Update README.md
5 years ago
Clemens Wolff
e40a3e12d7
Ensure eslint gets run during CI
5 years ago
Clemens Wolff
45f6fc10f1
Fix all eslint warnings
5 years ago
Hiroki Nakayama
aa7bb4f3bd
Merge pull request #118 from CatalystCode/enhancement/reduce-docker-image-size
Enhancement/Turn dockerfile into a multi-stage build
5 years ago
Hiroki Nakayama
a3635cf0d3
Merge pull request #117 from CatalystCode/enhancement/webpack-in-django
Enhancement/Integrate Webpack and Django
5 years ago
Clemens Wolff
07d5172b6c
Integrate webpack and django
5 years ago
Clemens Wolff
c248e34ffd
Turn dockerfile into a multi-stage build
Using a multi-stage build reduces the image size from 1.23GB to 331MB
which means that any node running doccano can now start-up faster.
Additionally, the multi-stage build means that we no longer include
development tools like node or gcc in the production image which reduces
the attack surface of the image.
5 years ago
Hiroki Nakayama
61c5069934
Merge pull request #112 from BrambleXu/feature/aws-launch-button
#87 : implement AWS launch button
5 years ago
Bramble Xu
e7c4e426af
#87 : implement AWS launch button
5 years ago
Hironsan
99a9b967a4
Remove unused files
5 years ago
Hiroki Nakayama
61d01c0c11
Merge pull request #111 from JoshuaPostel/readme_update
add nodejs requirement to readme
5 years ago
root
3886b9bde6
add nodejs requirement
5 years ago
Hiroki Nakayama
2f59060d6d
Merge pull request #103 from CatalystCode/enhancement/dotenv-support
Enhancement/Add dotenv support
5 years ago
Hiroki Nakayama
4ea572a8f3
Merge branch 'master' into enhancement/dotenv-support
5 years ago
Hiroki Nakayama
f06635c82f
Merge pull request #108 from BrambleXu/enhancement/emoji-support
Correct emoji length calculation
5 years ago
Hiroki Nakayama
66c9221f2b
Merge pull request #110 from chakki-works/refactor-model
Redesign code and support labeled dataset import
5 years ago
Hiroki Nakayama
c9a403448b
Merge branch 'master' into refactor-model
5 years ago
Hironsan
415b0b3f2e
Set timeout option to gunicorn
If there is no timeout option, we cannot upload a large file. So I set the option.
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
Bramble Xu
adc0542126
#99 : update README.md
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
Clemens Wolff
ac5bbb612e
Remove direct import of os module
This makes it more explicit that the environs module should be used to
access environment variables instead of `os.environ` or `os.getenv`
5 years ago
Clemens Wolff
617db50c8c
Add support for dotenv configuration file
5 years ago
Hironsan
5af45811ed
Add file uploader to support plain, csv, json and CoNLL format
Corresponding to issue #11
5 years ago
Hiroki Nakayama
90f3c2ba20
Merge pull request #101 from icoxfog417/heroku_button
Implement Heroku Button
5 years ago
icoxfog417
b2f261bb8b
Add DEBUG environment variable for Heroku Button
5 years ago
Hiroki Nakayama
ab09ea3155
Merge pull request #100 from taise/fix/warning_rename_psycopg2
Fix psycopg2 warning by updating to psycopg2-binary
5 years ago
icoxfog417
4743627417
Update deployment description for Heroku
5 years ago