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
icoxfog417
78a7ad473e
Implement Heroku Button
5 years ago
taise
a37c9d1ab1
🔧 fix psycopg2 warning by updating to psycopg2-binary
wanring log
```
$ docker exec doccano tools/create-admin.sh "admin" "admin@example.com" "password"
/usr/local/lib/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary
please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi >.
""")
/usr/local/lib/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary
please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi >.
""")
Operations to perform:
Apply all migrations: admin, auth, contenttypes, server, sessions, social_django
Running migrations:
No migrations to apply.
Superuser created successfully.
/usr/local/lib/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary
please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi >.
""")
```
normal(fixed) log
```
$ docker exec doccano tools/create-admin.sh "admin" "admin@example.com" "password"
Operations to perform:
Apply all migrations: admin, auth, contenttypes, server, sessions, social_django
Running migrations:
No migrations to apply.
Superuser created successfully.
```
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
81ff62a6c2
Update url
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
Hironsan
9ec7014f69
Merge pull request #80
5 years ago
Hironsan
03d798c263
Update Django version for security vulnerability
5 years ago
Hiroki Nakayama
23a1aff788
Merge pull request #73 from BrambleXu/enhancement/shortcuts
Enhancement/shortcuts
5 years ago
Hironsan
1a9f3ef2ee
Update installation description in case of using Docker
5 years ago
Bramble Xu
14e3437722
#61 : make shortcut optional in front and show simplified shortcut
5 years ago
Hironsan
ebc18d71c9
Change the docker image to official build
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
Hironsan
977291e059
Fix #83
5 years ago
Hiroki Nakayama
97b435d4dc
Merge pull request #76 from CatalystCode/feature/configurable-google-analytics
Feature/Make client-side analytics configurable
5 years ago
Hiroki Nakayama
a58d15b3ce
Merge pull request #79 from CatalystCode/enhancement/remember-progress
Enhancement/Remember labeling progress
5 years ago
Hiroki Nakayama
87f85176ac
Merge pull request #78 from CatalystCode/enhancement/update-whitenoise
Enhancement/Update whitenoise
5 years ago
Hiroki Nakayama
7ddf5046e8
Merge pull request #77 from CatalystCode/feature/cd
Feature/Add continuous delivery of images to DockerHub
5 years ago
Clemens Wolff
4eafc4be24
Make docker and runserver ports consistent
5 years ago
Clemens Wolff
e038aa8f7a
Enable Heroku to pass $PORT to Docker
5 years ago
Clemens Wolff
044fb17228
Move heroku deployment to Docker
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
db1613a4bd
Add node_modules to ignore files
5 years ago
Clemens Wolff
bb36151a77
Enable optional brotli compression
5 years ago
Clemens Wolff
6fca7d1337
Make usage of whitenoise runserver explicit
5 years ago
Clemens Wolff
fef4b40770
Make it explicit that whitenoise is being used
As per http://whitenoise.evans.io/en/stable/django.html#enable-whitenoise ,
the whitenoise middleware should be added just after the django-security
middleware.
5 years ago
Clemens Wolff
834e5ab071
Update whitenoise to latest version
5 years ago