Skip to content
Snippets Groups Projects
  1. Sep 03, 2019
  2. Aug 26, 2019
  3. Aug 20, 2019
  4. Aug 12, 2019
    • Markus Koller's avatar
      Load search result counts asynchronously · 49c83155
      Markus Koller authored
      Querying all counts for the different search results in the same request
      led to timeouts, so we now only calculate the count for the *current*
      search results, and request the others in separate asynchronous calls.
      Verified
      49c83155
  5. Jul 18, 2019
  6. Jul 13, 2019
  7. Jul 11, 2019
    • Luke "Jared" Bennett's avatar
      Port EE analytics route · 04af424b
      Luke "Jared" Bennett authored
      Verified
      04af424b
    • Patrick Derichs's avatar
      Add endpoint to move multiple issues · 69e02904
      Patrick Derichs authored
      Add specs for new endpoint to move multiple issues.
      Add changelog entry
      
      Just check the first issue for the ability to move / update
      
      Add specs for exceeding limits and malformed requests
      
      Changed name of shared examples
      
      Change title of changelog entry
      
      Use %i instead of %w
      
      Check permission to update issue on project instead of board
      
      Use admin_issue permission to check for issue move ability
      
      Changed variable name to avoid shadow issue_params method
      
      Rename route to bulk_move
      
      Change route definition
      
      Check permissions for each issue
      
      Combine methods for parameters permit check
      
      Remove extra context
      
      Change description of context
      
      Check param for type Array
      
      Add unit tests to MoveService
      
      Use before_action for permission check
      
      Use set instead of let!
      
      Use let's instead of set
      69e02904
    • Kamil Trzcińśki's avatar
      56eb9f6c
  8. Jun 26, 2019
  9. Jun 06, 2019
    • vshushlin's avatar
      Add pages domains acme orders · c3338c92
      vshushlin authored and Nick Thomas's avatar Nick Thomas committed
      Extract acme double to helper
      
      Create ACME challanges for pages domains
      
      * Create order & challange through API
      * save them to database
      * request challenge validation
      
      We're saving order and challenge as one entity,
      that wouldn't be correct if we would order certificates for
      several domains simultaneously, but we always order certificate
      per domain
      
      Add controller for processing acme challenges redirected from pages
      
      Don't save acme challenge url - we don't use it
      
      Validate acme challenge attributes
      
      Encrypt private_key in acme orders
      c3338c92
  10. Apr 30, 2019
  11. Mar 09, 2019
  12. Mar 05, 2019
    • João Cunha's avatar
      Creates Clusterss::ApplciationsController update endpoint · f8234d9a
      João Cunha authored and Jacques Erasmus's avatar Jacques Erasmus committed
      - Creates new route
      - Creates new controller action
      - Creates call stack:
        Clusterss::ApplciationsController calls -->
        Clusters::Applications::UpdateService calls -->
        Clusters::Applications::ScheduleUpdateService calls -->
        ClusterUpdateAppWorker calls -->
        Clusters::Applications::PatchService -->
        ClusterWaitForAppInstallationWorker
      
      DRY req params
      
      Adds gcp_cluster:cluster_update_app queue
      
      Schedule_update_service is uneeded
      
      Extract common logic to a parent class (UpdateService will need it)
      
      Introduce new UpdateService
      
      Fix rescue class namespace
      
      Fix RuboCop offenses
      
      Adds BaseService for create and update services
      
      Remove request_handler code duplication
      
      Fixes update command
      
      Move update_command to ApplicationCore so all apps can use it
      
      Adds tests for Knative update_command
      
      Adds specs for PatchService
      
      Raise error if update receives an unistalled app
      
      Adds update_service spec
      
      Fix RuboCop offense
      
      Use subject in favor of go
      
      Adds update endpoint specs for project namespace
      
      Adds update endpoint specs for group namespace
      f8234d9a
  13. Nov 01, 2018
    • Andrew Newdigate's avatar
      Add documentation, secure routes, etc · 847c81b7
      Andrew Newdigate authored
      847c81b7
    • Andrew Newdigate's avatar
      83dc8f1c
    • Andrew Newdigate's avatar
      cfe3cfb3
    • Thong Kuah's avatar
      Resolve controller sharing concern · 1a1fdf8e
      Thong Kuah authored
      Use ClustersController as base while having Projects::ClustersController
      to inform what `clusterable` is. Thanks @ayufan for the great suggestion
      !
      
      - View changes to work with new approach
      
      - Fix javascript for new approach
      
      - Fix feature specs for new approach
      
      - Fix QA
      1a1fdf8e
    • Thong Kuah's avatar
      Abstract out project out of ClustersController · 88800abc
      Thong Kuah authored
      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
    • Thong Kuah's avatar
      Convert clusters to use a top-level controller · 5b3c096c
      Thong Kuah authored
      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
  14. Oct 27, 2018
  15. Oct 26, 2018
  16. Oct 13, 2018
  17. Oct 10, 2018
    • Zeger-Jan van de Weg's avatar
      Remove Git circuit breaker · 30b4ce94
      Zeger-Jan van de Weg authored
      Was introduced in the time that GitLab still used NFS, which is not
      required anymore in most cases. By removing this, the API it calls will
      return empty responses. This interface has to be removed in the next
      major release, expected to be 12.0.
      Unverified
      30b4ce94
  18. Sep 12, 2018
  19. Aug 21, 2018
  20. Jul 28, 2018
  21. Jul 27, 2018
  22. Jul 26, 2018
  23. Jun 18, 2018
  24. Mar 20, 2018
  25. Mar 19, 2018
    • Sean McGivern's avatar
      Show Ajax requests in performance bar · a200619d
      Sean McGivern authored
      But first, rewrite the performance bar in Vue:
      
      1. Remove the peek-host gem and replace it with existing code. This also allows
         us to include the host in the JSON response, rather than in the page HTML.
      2. Leave the line profiler parts as here-be-dragons: nicer would be a separate
         endpoint for these, so we could use them on Ajax requests too.
      3. The performance bar is too fiddly to rewrite right now, so apply the same
         logic to that.
      
      Then, add features! All requests made through Axios are able to be tracked. To
      keep a lid on memory usage, only the first two requests for a given URL are
      tracked, though. Each request that's tracked has the same data as the initial
      page load, with the exception of the performance bar and the line profiler, as
      explained above.
      a200619d
  26. Mar 02, 2018
  27. Feb 02, 2018
Loading