• LETORT Sebastien's avatar
    * Cors corrections · deb3c320
    LETORT Sebastien authored
    add the token as hidden input in the html form.
    add the cors requirement in the fetch API js file.
    Set the token value in the context.
    Copy-paste the helpers.get_request_user function from test_api_job branch to be cors compliant.
    Remove useless api mixin (cors effect), add message if no authentication could be done.
    Update test to take cors into account and use the same test construction as in test_job_api. -> We need to build a mother class (TestApi ?) when branches merged.
    Test are included in the integration script.
    
    * little fix
    DATE_MIN is timezone aware now. (I encounter a tz pb, don't understand how it appeared/disappeared.)
    deb3c320
Name
Last commit
Last update
base-debian Loading commit data...
controller Loading commit data...
django Loading commit data...
doc/reports Loading commit data...
metrics Loading commit data...
monitoring Loading commit data...
mysql Loading commit data...
nginx Loading commit data...
registry Loading commit data...
smtpsink Loading commit data...
ssh Loading commit data...
swarm-proxy Loading commit data...
test Loading commit data...
toolbox Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
bootstrap Loading commit data...
commit Loading commit data...
data Loading commit data...
docker-compose.yml Loading commit data...
docker.mk Loading commit data...
launch-docker-test-daemon Loading commit data...
make_deps Loading commit data...
shell Loading commit data...