1. 26 10月, 2018 1 次提交
  2. 25 10月, 2018 2 次提交
  3. 23 10月, 2018 1 次提交
  4. 22 10月, 2018 1 次提交
  5. 19 10月, 2018 1 次提交
  6. 18 10月, 2018 1 次提交
    • A
      Move ci_environments_status to a model · 4a9efc60
      Alessio Caiazza 提交于
      GET :namespace/merge_requests/:id/ci_environments_status complexity
      already reached a limit for a direct serialization from an hash
      computed at within the controller function.
      
      Here we introduce a virtual model EnvironmentStatus and its serializer.
      4a9efc60
  7. 17 10月, 2018 2 次提交
  8. 16 10月, 2018 1 次提交
  9. 15 10月, 2018 3 次提交
    • T
      Remove un-used inheritance from service · 504cbb27
      Thong Kuah 提交于
      Remove the inheritance from ::BaseService which is causing us to inherit
      the initializer that has project as the first arg, as we will not have
      access to project with forthcoming group clusters.
      
      Also call install service from create service - 1 less thing to re-use
      
      Extract TestRequest code into a spec helper. Given that we need
      different behaviour for Rails 5.0 (and again in Rails 5.1!), it's handy
      to have that branching behaviour in one place
      504cbb27
    • T
      Move non-controller code into dedicated service · cc1ccbf8
      Thong Kuah 提交于
      This should help with code re-use when we create applications for group
      level cluster next.
      
      Change `find_or_initialize_by` to explicitly find or build the right
      association based on the application name. The benefit here is that we
      use the associations on @cluster rather than querying from the other
      side of the association.
      cc1ccbf8
    • T
      Pass in project as kwarg for CreateService · 19e1024b
      Thong Kuah 提交于
      This enables us to have other options in the future such as passing in
      `group:`.
      
      Also, remove project arg from UpdateService, as un-used.
      
      This will help group cluster controller to re-use this services.
      19e1024b
  10. 09 10月, 2018 1 次提交
  11. 06 10月, 2018 1 次提交
  12. 05 10月, 2018 4 次提交
  13. 04 10月, 2018 3 次提交
    • D
      600a10b9
    • T
      Simplify runner registration token resetting · 42af2295
      Tomasz Maczukin 提交于
      This icommit adds several changes related to the same topic
      - resetting a Runner registration token:
      
      1. On Project settings page it adds a button for resetting the
         registration token and it removes the Runner token field
         that was confusing all GitLab users.
      
      2. On Group settings page it adds the same button for resetting
         the registration token.
      
      3. On Admin Runners settings page it moves the button to the same
         place as in Project and Group settings and it changes slightly
         the page layout to make it more similar to Group and Project
         setting pages.
      
      4. It refactorizes a little the partial that prints runner
         registration description. Thanks to this Project, Group
         and Admin settings of the Runner are re-using the same
         code to generate the button.
      
      5. Updates the translations of changed text.
      42af2295
    • P
      Add signature badge to diffs/commit_item · 5a286eb7
      Paul Slaughter 提交于
      **Notes:**
      - Also exposes commit.signature_html in diffs.json
      5a286eb7
  14. 03 10月, 2018 1 次提交
  15. 02 10月, 2018 2 次提交
  16. 26 9月, 2018 2 次提交
  17. 24 9月, 2018 2 次提交
  18. 17 9月, 2018 1 次提交
  19. 14 9月, 2018 1 次提交
  20. 13 9月, 2018 2 次提交
  21. 11 9月, 2018 1 次提交
  22. 10 9月, 2018 1 次提交
  23. 08 9月, 2018 1 次提交
    • S
      Delete a container registry asynchronously · 5830d114
      Stan Hu 提交于
      When a container registry has many tags, it's easy for the DELETE call to take more
      than 60 seconds and fail. This can also leave the registry in a bad state with
      null bytes since some of the images have been deleted with tags still pointing to them.
      In addition, we have to prevent users from accidentally initiating the delete multiple
      times or this could leave the registry with orphaned tags.
      
      This commit also adds a flash message to notify the user the registry is scheduled
      for deletion.
      
      Closes #49926, #51063
      5830d114
  24. 07 9月, 2018 1 次提交
  25. 06 9月, 2018 3 次提交