1. 22 Jun, 2018 2 commits
  2. 21 Jun, 2018 1 commit
  3. 20 Jun, 2018 6 commits
  4. 19 Jun, 2018 6 commits
    • BAIRE Anthony's avatar
      55c953a1
    • BERJON Matthieu's avatar
      Bug fix: OAuth2 registration · 3b75ebbb
      BERJON Matthieu authored
      The Oauth registration was buggy for several reasons. The links used in the templates were the wrong one inhibiting the correct behaviour.
      The site ID configuration was wrong. This part is fixed by updating the migration script. The current system needs at least to have the `ALLGO_SITE_ID`
      set up corresponding to the actual URL of the website (http://localhost:<PORT> in development https://allgo.inria.fr in production.
      The `ACCOUNT_USERNAME_VALIDATORS` was raising an error on the Oauth registration and has been removed. No known bug were introduced by doing that.
      
      The login and signup templates have been rewritten in order to have a smoother and nicer integration in the current website. Moreover, the
      focus has been made on the OAuth registration (that's what users see first).
      
      The user admin part has been modified in order to display the possibility to change the password in case the user has set up a local account on the service
      or the management of its Oauth connections (redirecting to the `connextions.html` template provided by the django Oauth plugin and integrated in the website.
      3b75ebbb
    • BAIRE Anthony's avatar
      Use auto-generated migrations (instead of storing them in the git repo) · ec6d2baa
      BAIRE Anthony authored
      
      This commit will have to be reverted when we go to production
      ec6d2baa
    • BAIRE Anthony's avatar
      django container_init: initialise the db from scratch · a852c09b
      BAIRE Anthony authored
      This commit removes the calls to the 'migration.sh' script that
      did a full a import of the rails db (rails apps will be imported
      on-demand)
      
      The django db is now initialised from scratch, using the db_seed command
      a852c09b
    • BAIRE Anthony's avatar
      add management script for seeding the db · 5f1166d6
      BAIRE Anthony authored
      This adds the 'db_seed' management command (python3 manage.py db_seed)
      for automatically seeding the db with default entries.
      
      - initial docker OS list (debian, centos, fedora, ubuntu)
      - default job queue (named 'default')
      - the 'inria' Group
      
      Additionally, in the dev setup, it creats 3 users (all with
      password 'allgo'):
      - admin@localhost which is superuser
      - devel@localhost which own a webapp named 'sleep'
      - guest@localhost
      5f1166d6
    • BAIRE Anthony's avatar
      remove old migration scripts · c1804cd3
      BAIRE Anthony authored
      (to be regenerated before the first deployment in production)
      c1804cd3
  5. 18 Jun, 2018 5 commits
  6. 14 Jun, 2018 15 commits
  7. 13 Jun, 2018 5 commits