• 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