Guillim
72a0e04742
We fix the test for the authentification: reusing the setenv function defined in the api package in order to set the proper environment for the test
5 years ago
Hiroki Nakayama
e39b3a1939
Merge pull request #287 from CatalystCode/bugfix/seq2seq_label_download
Bugfix/seq2seq label download
5 years ago
Federica Nocera
48c7ec5441
Now referencing same class for random-color-button.
5 years ago
Federica Nocera
194863532d
Fixed bug with color randomizer button in edit.
5 years ago
Clemens Wolff
b2848b089d
Fix pug
5 years ago
Federica Nocera
ca88194c36
Added color dropdown to help choose contrasting colors for the labels.
5 years ago
Clemens Wolff
c711372a9b
Ensure database is up before migrations
5 years ago
Clemens Wolff
4285fda947
Add test automation for SQL Server backend
5 years ago
Hiroki Nakayama
7e2ba5dd36
Merge pull request #285 from hkaraoguz/master
added environment.yml and updated readme
5 years ago
Hiroki Nakayama
2f997c7e60
Merge pull request #278 from CatalystCode/enhancement/test-production-databases
Enhancement/Test production databases
5 years ago
Hiroki Nakayama
4a211e3fef
Merge pull request #273 from clarus/highlight-search-results
Add highlight of the search results
5 years ago
Hiroki Nakayama
e4458133f4
Merge pull request #269 from CatalystCode/enhancement/render-source-document
Enhancement/Add viewer pane for source document
5 years ago
Hiroki Nakayama
1f316b692f
Merge pull request #255 from CatalystCode/bugfix/support-sql-server
Bugfix/Add support for SQL Server database
5 years ago
Alexey Matveev
4c194289e4
#FIX Lambda may not be necessary
5 years ago
Alexey Matveev
a07dd1863b
Use library conllu
5 years ago
Clemens Wolff
225c5eb2ca
Remove admin user creation container
5 years ago
Clemens Wolff
6b5e525a6b
Ensure container gets cleaned up on stop
5 years ago
Clemens Wolff
b04fb465fb
Turn setup options into sub-headers
5 years ago
Clemens Wolff
dc6028bc74
Add option to auto-create admin
5 years ago
Clemens Wolff
7e30a1e756
Create admin if it doesn't exist
5 years ago
Clemens Wolff
ddef7de35e
Switch to Python 3 superclass method calling
5 years ago
Clemens Wolff
ccbb9b0d2f
Run tests against postgres
5 years ago
Clemens Wolff
d4fea8f6c5
Replace cd with WORKDIR
5 years ago
Clemens Wolff
34028ded09
Add viewer pane for source document
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
68bc4df7a6
Pin versions of packages installed via apt-get
5 years ago
Clemens Wolff
47bbb741d2
Add support for SQL Server database
5 years ago
Hiroki Nakayama
79932eda1c
Merge pull request #290 from CatalystCode/bugfix/python-stretch
Bugfix/Pin Python base image to Debian stretch
5 years ago
Clemens Wolff
f29e4a14d0
Pin python base image to debian stretch
5 years ago
Federica Nocera
286ea9e04c
Refactored label_per_data using managers.
5 years ago
Federica Nocera
6455754bfa
Fix progress bar so that it shows number of labelled documents for seq2seq and added field to allow for seq2seq export.
5 years ago
Hakan Karaoguz
fe917a7d2b
Removed unnecessary line from environment.yml
5 years ago
Hakan Karaoguz
df24c4e0bb
added environment.yml
5 years ago
Hiroki Nakayama
50c7078c16
Merge pull request #250 from guillim/authentification
Authentification
5 years ago
Guillim
7298650a2a
Merge branch 'master' of https://github.com/chakki-works/doccano into authentification
5 years ago
Guillim
a713dd136a
Following Hironsan review, did some change.
5 years ago
Hiroki Nakayama
1c4894af9d
Merge pull request #276 from CatalystCode/enhancement/remove-demo-components
Enhancement/Remove demo components
5 years ago
Clemens Wolff
4515228f82
Use production labeling canvas for demo pages
5 years ago
Clemens Wolff
61fd6771e7
Make null checks work with undefined variables
5 years ago
Clemens Wolff
8886438f33
Remove rootUrl
5 years ago
Clemens Wolff
b9d6fc95e5
Use same http client for all non-standard calls
5 years ago
Hiroki Nakayama
67aae2ef4e
Merge pull request #275 from clarus/add-page-counter
Add page counter
5 years ago
Hiroki Nakayama
4cc7abf0c9
Merge pull request #271 from CatalystCode/enhancement/clean-up-querysets
Enhancement/Simplify queryset handling in list APIs
5 years ago
Hiroki Nakayama
5ae0e4c067
Merge pull request #272 from CatalystCode/bugfix/fix-label-shortkey-display
Bugfix/Fix display of label shortkey preview
5 years ago
Guillaume Claret
b3c6397b04
Add page counter
5 years ago
Guillaume Claret
2df32639fe
Add highlight of the search results
5 years ago
Clemens Wolff
ed3a6f1078
Fix display of label shortkey preview
5 years ago
Clemens Wolff
7bb343ad7d
Simplify queryset handling in list APIs
5 years ago
Guillim
e6702f23f4
test new assertEqual instead of assertRedirect which cause travis CI to fail for some webpack obscur reason.
5 years ago
Guillim
a52d13252e
Small fix in order to follow Circle CI instruction
5 years ago