1. 01 11月, 2018 2 次提交
    • T
      Abstract out project out of ClustersController · 88800abc
      Thong Kuah 提交于
      To the extent possible swap out `project` with `clusterable`
      
      - Abstract paths for showing cluster or clusters. This will allow us to
      swap in alternative paths for group level cluster
      
      - Push :project_id and :namespace_id params from the URL to the POST
      body.
      
      - Create a nice helper for to generate links for the destroy
      action
      
      For some reason, spec :project_id and :namespace_id param are not going
      through `to_param` for a JSON format. Manually call `to_param` to fix
      specs.
      
      - Move :layout to BaseController
      88800abc
    • T
      Convert clusters to use a top-level controller · 5b3c096c
      Thong Kuah 提交于
      In preparation so that we can create both cluster attached to project
      and cluster attached to group.
      
      - Move ClustersController to top level
      
      - Move Clusters::ApplicationsController to top-level too
      
      - Creates a Clusters::BaseController to share common functions
      
      - Do not rely on @project ivar. Anything could set the ivar.
      
      - Fix Vue page components due to new data-page value
      
      Because of the controller change we have gone from
      `projects:clusters:new` to `clusters:new`, so we need to update the file
      location of the page components. There is somewhere a function that will
      convert data-page to a file location.
      
      On that note, projects/clusters/gcp/new/, translate to
      Projects::Clusters::Gcp#new doesn't exist so replace that with
      clusters/create_gcp/ and clusters/create_user/
      5b3c096c
  2. 29 10月, 2018 1 次提交
  3. 27 10月, 2018 2 次提交
  4. 26 10月, 2018 6 次提交
  5. 25 10月, 2018 1 次提交
  6. 24 10月, 2018 2 次提交
  7. 23 10月, 2018 3 次提交
  8. 22 10月, 2018 2 次提交
  9. 20 10月, 2018 1 次提交
  10. 19 10月, 2018 7 次提交
  11. 18 10月, 2018 4 次提交
  12. 17 10月, 2018 4 次提交
  13. 16 10月, 2018 4 次提交
  14. 15 10月, 2018 1 次提交