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
Guillim
13fe8ad89f
Merge branch 'master' of https://github.com/chakki-works/doccano into authentification and resolves the two little conflicts
5 years ago
Guillim
d59a512b83
codacy fix (unused import)
5 years ago
Guillim
8e6d16e6cf
we set up all tests required to reach almost 100% of code coverage for the authentification part
5 years ago
Guillim
0df433fd1e
changing the wording, and making sure we add specific simple SPAN tags to better test our code
5 years ago
Guillim
aa9466a592
missing import
5 years ago
Guillim
736417fb04
typo fix
5 years ago
Hiroki Nakayama
4883934dea
Merge pull request #266 from CatalystCode/enhancement/docker-avoid-root
Enhancement/Avoid running docker image as root
5 years ago
Clemens Wolff
48c3d4832e
Avoid running docker image as root
5 years ago
Hiroki Nakayama
9d7cbfe0c6
Merge pull request #258 from CatalystCode/enhancement/approve-labels
Enhancement/Approve labels
5 years ago
Hiroki Nakayama
e4693fa43c
Merge pull request #265 from CatalystCode/bugfix/document-libpq-dependency
Bugfix/Document libpq dependency
5 years ago
Guillim
de1ec07b09
typo fixing:
The TestSite Team -> The Doccano Team
5 years ago
Guillim
9ba9321f63
small typo about the filter:
before it was printing a class "[] input"
instead of "input"
5 years ago
Clemens Wolff
2d3ec13772
Document libpq dependency
5 years ago
Guillim
6c248bfd58
PEP8 fixes
5 years ago
Guillim
924068c5dd
we set up the first test for authentification
5 years ago
Clemens Wolff
d0c566c5ab
Add admin button to approve/reject labels
5 years ago
Clemens Wolff
c2fbe77447
Move rootUrl constant to http utils
5 years ago
Guillim
0c3e5f535a
small typo modif or -> and
5 years ago
Guillim
d8a132d3c0
we add a verification that the email is already configured to avoid an error while creating a user and sending a confirmation email
5 years ago
Guillim
04ee45aeff
typo modif
5 years ago
Hironsan
89dceaabff
Add a tutorial document
5 years ago
Hiroki Nakayama
9e2074682c
Merge pull request #256 from chakki-works/enhance-backend-structure
Enhancement/Separate a Django application into API app and router app
5 years ago