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
Hironsan
cb1dce916a
Remove unused variables
5 years ago
Hiroki Nakayama
47e54e4c2a
Merge pull request #254 from clarus/add-annotation-tooltip
Add a tooltip under each annotation to name them
5 years ago
Hironsan
8713a281d9
Create new app and move codes
5 years ago
Guillim
7f28808f66
We try another way to specify the backend to the login function. Even though the original code mentions it is possible : https://docs.djangoproject.com/en/2.2/_modules/django/contrib/auth/#login
5 years ago
Guillaume Claret
3cfa22f5f3
Add a tooltip under each annotation to name them
5 years ago
Hiroki Nakayama
9ce28abe81
Merge pull request #251 from clarus/remove-some-for-loops
Remove some for loops
5 years ago
Hironsan
7522d1f6cd
Move code of conduct from root to docs
5 years ago
Guillim
57f8097b80
it's a small fix: when there was an error in the signup form, the redirection to signup was without allow_signup, wich triggered a weird "you can't singup" message.
5 years ago
Guillaume Claret
a1565a212f
Use map to get the document annotations
5 years ago
Guillaume Claret
5bc61192ff
Use find to get the annotation of a label
5 years ago
Hiroki Nakayama
8bd7897530
Merge pull request #239 from guillim/guillim-admin-columns
we add some columns to the admin page
5 years ago
Guillim
a6ea2a772a
coding style fixes
5 years ago
Guillim
80d041236f
coding style
fixing the coding style issues as reported by reviewer
5 years ago
Guillim
b68f11525f
we fix some coding style issues following the PR
5 years ago
Guillim
3038639092
we add some lines for emailing possibilities
5 years ago
Guillim
01ba541ce9
fixing trailing spaces (PEP8 requirement)
5 years ago
Guillim
90690fdc14
Merge branch 'master' of https://github.com/chakki-works/doccano into authentification
5 years ago
Guillim
3e7234e2a6
We go on with authentification:
- we set up python restriction related to the environment variable
"allow_signup"
- we clean a bit html code in base_auth.html
- we allow switch between signin and signup
5 years ago
Guillim
d7ccf5789a
Env variables:
We want to allow the admin to choose wether the users can signin in by
themselves, or if only the admin can do it. We will later implement it
in the python code
Here we have to modify
- docker-compose.yml : add the env ALLOW_SIGNUP
Note: I am not sure if it's True or "True"
Note: we could have put it inside the Dockerfile instead of
docker-compose, it doesn't matter.
- settings.py : Here we make the env variable available to the python
app
- app.json : that's for the heroku deployment. we simply describe to
heroku that we have an env variable
5 years ago
Guillim
e1e82a06ad
We finally make URLs available to the whole application
5 years ago
Guillim
6551e81be8
We create the funciton that validates an email address checking if the token if correct.
5 years ago
Guillim
1e65212d22
We create the Signup view, one of the most important. It is important to keep in mind the difference of action between the GET and the POST.
5 years ago
Guillim
f247c19aeb
CLassic mandatory files for a python package
5 years ago
Guillim
9caf7751fa
Small trick: we add a filter to the Django templating in order to add some class to our form inputs
5 years ago
Guillim
08c66e8103
Creation of all templates for account creation through /signup
5 years ago
Guillim
f29bf9b99d
creation of all templates for reseting password
5 years ago
Hironsan
ed2791eed0
Update travis config to build MkDocs documentation automatically
5 years ago
Hironsan
ad2338fefe
Revert "Update travis config to build MkDocs documentation automatically"
This reverts commit 7467e611
5 years ago