Skip to content
Snippets Groups Projects
  1. Oct 15, 2019
  2. Oct 14, 2019
  3. Oct 12, 2019
  4. Oct 11, 2019
    • Sam Beckham's avatar
      Moves the license compliance reports to the BE · bfbc4f78
      Sam Beckham authored and Fatih Acet's avatar Fatih Acet committed
      - Adds actions and mutations to fetch the new endpoint
      - Conditionally fetches the old or new reports dependant on a feature
      flag
      - Tells the LC getter to fetch the new report if it's there, and the old
      one if not.
      - Adds a bit of a hack to morph the new data in to the old format
      (temporarily)
      - Pulls in the proper polling endpoints
      - Adds tests for all the above
      bfbc4f78
    • Rubén Dávila's avatar
      Fix error where helper was incorrectly returning `true` · d2f48269
      Rubén Dávila authored and Mayra Cabrera's avatar Mayra Cabrera committed
      Helper was incorrectly returning `true` when user was moving from Step 2
      (Lead generation) to Step 3 (Selection of namespace). When landing at
      Step 3. `trial_result` is `nil` so helper show return `false`.
      d2f48269
    • Nick Thomas's avatar
      Update Workhorse to v8.14.0 · d2ac55fe
      Nick Thomas authored
      Verified
      d2ac55fe
    • Eugenia Grieff's avatar
      Fix notifications for private group mentions · 86466284
      Eugenia Grieff authored
      - Send notifications when a private group is
      mentioned in the title or description of and issue
      or merge request
      - Do not create a new todo for group members when
      editing a note where a private group was mentioned
      86466284
    • Arturo Herrero's avatar
      Add changelog entry · 79622c9b
      Arturo Herrero authored
      79622c9b
    • Heinrich Lee Yu's avatar
      Limit number of notes on a noteable · a3c4f961
      Heinrich Lee Yu authored
      Initial limit is set at 5000. System notes are still allowed
      to be created even when the noteable is over the limit.
      a3c4f961
    • Stan Hu's avatar
      Fix erroneous "No activities found" message · c7faf45c
      Stan Hu authored and Kushal Pandya's avatar Kushal Pandya committed
      If the number of activities on the page were less than the limit (20),
      the pager would display the set of activities but also insert a "No
      activities found" banner underneath. This was happening because the
      pager attempted to load more data because it thought it needed to
      display more information in the window.
      
      This commit fixes the problem by disabling the pager if the number of
      activities received is less than the total limit.
      
      Closes #27118
      c7faf45c
    • Sean McGivern's avatar
      Fix N+1 queries in Jira Development Panel API endpoint · 6625a6d3
      Sean McGivern authored
      There were three sources of N+1 queries here: the license check, the
      path and namespace information, and the root namespace.
      
      The license check was the worst. We were checking the license
      information on each project individually. This meant we couldn't
      paginate in SQL, but did so in Ruby, so it was not only an N+1, it was
      loading too many records.
      
      To fix this, we use the fact that this API endpoint can only return
      projects in a particular namespace. License checks end up at one of two
      places: for most instances, it's the instance's license itself. For
      GitLab.com, where individual namespaces have their own plan, it's the
      root namespace (subgroups can't have plans; they inherit their plan from
      the root).
      
      This means that we only ever need a single check. If it passes, every
      project returned has the feature available. If it fails, we return a
      404, like the other endpoints here. That way we can paginate in SQL, as
      we should.
      
      The path and namespace information N+1 was simple to fix: just preload
      that information.
      
      The final N+1 was on the root namespace, which we return as the `owner`
      field for compatibility with GitHub. Again, this was always the same for
      all items in the response, but we can't preload it easily because
      different projects will be at different levels of the hierarchy.
      Instead, we just calculate the root namespace once, and pass that as an
      option to the entity. The entity uses that value if it's given, and
      falls back to calculating it if it's not (in case this entity is used
      elsewhere without that option).
      Verified
      6625a6d3
    • Thong Kuah's avatar
      Add management_project_id to clusters · d0fb5fac
      Thong Kuah authored
      This association will be used for a cluster to indicate which project is
      used to manage it.
      
      Validate against duplicate scope for same project. If multiple clusters
      with the same scope points to the same management_project, it will be
      impossible to deterministically select a cluster
      d0fb5fac
    • Takuya Noguchi's avatar
      Make instance configuration user friendly · c9596d7d
      Takuya Noguchi authored
      with i18n (internationalization)
      c9596d7d
  5. Oct 10, 2019
    • Coung Ngo's avatar
      Hide redundant labels in issue boards · ebdfadf7
      Coung Ngo authored and Mike Greiling's avatar Mike Greiling committed
      Before in issue boards, a card showed labels including the list label.
      The list label is redundant since you can see the list label at the top
      of the card collection and adds noise. This commit removes list labels
      from inside list label cards.
      ebdfadf7
    • James Fargher's avatar
    • Coung Ngo's avatar
      Fix notes race condition when linking to specific note · 96f6ba65
      Coung Ngo authored and Clement Ho's avatar Clement Ho committed
      Before, notes (discussions.json) would be fetched twice in the following
      case:
      * User has a "Show comments only" or "Show history only" filter
      * User then goes to an issue with a note hash, i.e. #note_*
      * Frontend then makes two notes requests:
        1. Notes for the user's original filter
        2. Notes for "Show all activity" so that the note is definitely shown
      
      This commit fixes this race condition so that there is always only
      one note request made whether it is for a specific note or not.
      96f6ba65
    • Lucas Charles's avatar
      Bump ingress chart to 1.22.1 · 6859fb48
      Lucas Charles authored
      Verified
      6859fb48
    • Filipa Lacerda's avatar
      Creates artifacts app · 6bfb066b
      Filipa Lacerda authored
      The artifacts endpoint needs to be polled while
      we don't have the content.
      
      This commit creates an vuex app to handle the polling
      6bfb066b
    • Sarah Yasonik's avatar
      Add proxy endpoint for grafana proxy · 51d040ef
      Sarah Yasonik authored and Rémy Coutable's avatar Rémy Coutable committed
      Adds a new endpoint which proxies calls to the grafana endpoint
      which proxies calls to any grafana datasource configured to
      support it. This will be used as a part of embedding prometheus
      metrics in GFM via grafana.
      51d040ef
    • João Alexandre Cunha's avatar
      Enables VPC-Native by default on cluster creation · 4e9087b6
      João Alexandre Cunha authored and Rémy Coutable's avatar Rémy Coutable committed
      4e9087b6
    • Payton Burdette's avatar
      Port over more pipeline files to ce · 92d18d7a
      Payton Burdette authored
      This commit ports over some files I missed
      in my first commit because I forgot to stage
      them in the first commit.
      92d18d7a
    • Payton Burdette's avatar
      Fix usability problems for file template · 12412f73
      Payton Burdette authored
      This commmit is the start for issue 30807 and
      resolving usability problems with file templates.
      I've moved the exisiting UI and changed some functionality.
      
      Use toast component to undo template actions
      
      Set active class to template type
      
      Fix failing rspec tests
      
      Fixed failing rspec tests due to refactor
      of the UI. New functionality was introduced
      so the tests needed to be reworked.
      
      Fix failing test and add mobile styles
      
      Generate changelog for merge request
      
      Fix eslint errors for i18n
      
      Fix failed job due to locale/gitlab.pot
      
      Fix linting error in haml file
      
      Change dropdown labels and fix dropdown headers
      
      Adjust rspec for template selectors
      
      Change toggle text after undo template action
      
      Fix broken toast due to udpated master
      
      Remove toggle label on template selector
      
      Fix failing rspec tests due to toggle text change
      
      Remove un-need conditional check
      
      Add template selection to toast
      
      Adjust rspec to pass for undo action
      12412f73
    • Avielle Wolfe's avatar
      Fix empty security dashboard for public projects · da903949
      Avielle Wolfe authored and Grzegorz Bizon's avatar Grzegorz Bizon committed
      Project security dashboards were displaying no vulnerabilities for
      public projects, even when the latest pipeline reported
      vulnerabilities.
      
      The issue was our Namespace#store_security_reports_available? method,
      which had no knowledge of the project or whether it was public, and
      only checked for availability based on the instance's license.
      
      I've added Project#can_store_security_reports?, which calls into
      Namespace to check for license availability and _also_ checks
      whether the project is public. Now public projects can get the
      security scanning they've been wanting!
      
      #13422
      da903949
    • Manoj M J's avatar
      Do not allow deactivated users to use Slash Commands · df1ad388
      Manoj M J authored
      This change prevents deactivated users from
      using slash commands.
      df1ad388
    • Stan Hu's avatar
      GitHub import: Handle nil published_at dates · e37b3d15
      Stan Hu authored
      GitHub releases will have a null `published_at` field if they are in
      the draft state. If no date is available in the release, just fill
      it in with today's date since our database schema requires this.
      
      Closes #33732
      e37b3d15
  6. Oct 09, 2019
Loading