1. 30 Jul, 2019 1 commit
    • 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
  2. 23 May, 2019 1 commit
  3. 21 May, 2019 1 commit
  4. 04 Apr, 2019 1 commit
  5. 28 Mar, 2019 2 commits
  6. 04 Mar, 2019 2 commits
  7. 12 Feb, 2019 1 commit
  8. 07 Feb, 2019 1 commit
  9. 04 Feb, 2019 1 commit
  10. 30 Jan, 2019 1 commit
  11. 29 Jan, 2019 1 commit
  12. 21 Jan, 2019 1 commit
  13. 08 Jan, 2019 2 commits
  14. 12 Dec, 2018 1 commit
  15. 06 Dec, 2018 9 commits
  16. 04 Dec, 2018 3 commits
  17. 23 Oct, 2018 1 commit
    • BAIRE Anthony's avatar
      fix privacy issues in TagList and TagWebappList · aedd3283
      BAIRE Anthony authored
      webapp lists should never display apps not visible by the request.user
      (obviously!)
      
      TagWebappList did not implement such a filter. I added the
      query_webapps_for_user() helper and use it for TagWebappList, TagList
      and WebappList (the list returned by this function is the superset of
      webapps that these views are allowed to display).
      aedd3283
  18. 22 Oct, 2018 1 commit
  19. 18 Oct, 2018 2 commits
  20. 16 Oct, 2018 2 commits
  21. 27 Sep, 2018 3 commits
  22. 26 Sep, 2018 1 commit
    • BAIRE Anthony's avatar
      Allow importing a webapp from a legacy allgo instance · 51f51d9c
      BAIRE Anthony authored
      
      This adds two views:
      
      - WebappImport for importing the webapp (but without the versions).
        The import is allowed if the requesting user has the same email
        as the owner of the imported app. The webapp is created with
        imported=True, which enables the WebappVersionImport view
      
      - WebappVersionImport for requisting the import of webapp version.
        This only creates the WebappVersion entry with state=IMPORT
        (the actual import is performed by the controller)
      
      A version may be imported multiple times. In that case, the newly
      imported version overwrite the local version with the same number.
      
      This features requires:
      - that the rails server implements !138
      - that the docker daemon hosting the sandboxes is configured with
        credentials for pulling from the legacy registry
      51f51d9c
  23. 20 Sep, 2018 1 commit