Clemens Wolff
300ae1deb6
Fix 403 when project admin accesses edit pages
5 years ago
margaretmeehan
35c5ffad72
code quality updates
5 years ago
Clemens Wolff
99e3fefb31
Fix spacing
5 years ago
Clemens Wolff
17c60fc728
Remove spurious change
5 years ago
Clemens Wolff
f46de12506
Fix spacing
5 years ago
Clemens Wolff
e9ed5fd26c
Inline is_superuser check
5 years ago
margaretmeehan
8e21d5f23d
Replace 'isSuperUser' with specific roles required for frontend
5 years ago
margaretmeehan
d602fc75e6
fixing typo in role_mapping
5 years ago
margaretmeehan
560852303f
Roles API and UI
5 years ago
Razi Rais
c1082e14e9
Role and RoleMapping Models
5 years ago
alexey.shkarupin
e1ad285edd
fix tests
5 years ago
alexey.shkarupin
4c83a8017e
Fixes #309 read settings properly
5 years ago
Michael Perel
482e308649
Add settings required for SSL
5 years ago
Hironsan
d544d776b8
Update label creation process
5 years ago
Clemens Wolff
1251f3d3a1
Fix filename determination with URL querystring
5 years ago
Alexey Matveev
4be71c6603
Fix inline variable j
5 years ago
Federica Nocera
9bdedf93f1
Add page-level navigation
5 years ago
Arman Rahman
00db001aa7
Fix header and sidebar scrolling viewport
5 years ago
Alexey Matveev
43d9234b78
Fix by comment
5 years ago
Clemens Wolff
33f3f17c39
Remove Google Analytics from Azure deployment
5 years ago
Clemens Wolff
4a0134f210
Add option to share annotations across users
5 years ago
Andrew Reitano
1724d294c5
Enable sorting of documents in frontend
5 years ago
Clemens Wolff
45ac8d2eb3
Enable token authorization for API calls
5 years ago
Clemens Wolff
27d2324d3a
Add option to customize the AppInsights endpoint
5 years ago
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
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
Arman Rahman
7b1bbc1aea
Implement data import from Excel
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
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
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
47bbb741d2
Add support for SQL Server database
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
Guillim
a713dd136a
Following Hironsan review, did some change.
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
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