Skip to content
Snippets Groups Projects
  1. Mar 27, 2018
  2. Mar 23, 2018
    • Jan Provaznik's avatar
      Fix issuable state indicator · 204ab7c9
      Jan Provaznik authored
      Now the issuable reference check works only in project scope, if we
      reference an issuable from a non-project resource (e.g. epics), then
      project is not set, and there is mismatch in generated issue references.
      
      This patch enables issuable reference state check also from group scope.
      
      Closes gitlab-ee#4683
      Related to #30916
      204ab7c9
  3. Mar 22, 2018
  4. Mar 21, 2018
  5. Mar 20, 2018
  6. Mar 19, 2018
    • Felipe Artur's avatar
      Improve JIRA event descriptions · 2ee19708
      Felipe Artur authored
      2ee19708
    • 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
    • Jan Provaznik's avatar
      Optional '/-/' delimiter for search API · 2370ff85
      Jan Provaznik authored
      '/-/' delimiter is used only in UI, in API we don't use it for
      other endpoints. To align search endpoints with the rest of API
      endpoints, this patch makes '/-/' optional for existing endpoints (to
      keep backward compatibility).
      
      Documentation is updated to prefer paths without '/-/'.
      2370ff85
    • Jasper Maes's avatar
      Split repository search result on \n instead of $ to prevent the items of the... · d17d3ec7
      Jasper Maes authored
      Split repository search result on \n instead of $ to prevent the items of the array to start with a newline. Remove the strip from parsing the search result to keep result endlines.
      d17d3ec7
  7. Mar 16, 2018
  8. Mar 15, 2018
  9. Mar 14, 2018
    • Andreas Brandl's avatar
      Fix concurrency issue with migration for user_interacted_projects table. · 5f35ea14
      Andreas Brandl authored
      The concurrency issue originates from inserts on
      `user_interacted_projects` from the app while running the post-deploy
      migration.
      
      This change comes with a strategy to lock the table while removing
      duplicates and creating the unique index (and similar for FK
      constraints).
      
      Also, we'll have a non-unique index until the post-deploy migration is
      finished to speed up queries during that time.
      
      Closes #44205.
      5f35ea14
    • Bob Van Landuyt's avatar
      Import multiple issue assignees from GitLab export · ca8f1ed9
      Bob Van Landuyt authored
      When importing from a GitLab archive, an admin can carry over the
      assignations. Other users can not.
      
      When a regular user is importing an issue with multiple assignees, the
      assignee is replaced with the current user, meaning we would try to
      insert current user as an assignee multiple times.
      
      By filtering the array before storing it, the import becomes more
      robust.
      ca8f1ed9
    • Grzegorz Bizon's avatar
      1d57db0d
    • Zeger-Jan van de Weg's avatar
      Set Gitlab::Shell#create_repository as OPT_OUT · 7d02292a
      Zeger-Jan van de Weg authored
      On .com repositories are created through Gitaly for a while now. For
      customers this is not the case unless these have chosen to do so through
      feature flags. By moving this to opt out, everyone will be using this.
      
      This move is part of the migration issue
      https://gitlab.com/gitlab-org/gitaly/issues/593
      
      The bigger impact this commit will have is that tests that use a
      repository through `FactoryBot.create(:project, :repository)` will now
      use Gitaly to do so. As tests run on the same disk, or at least machine,
      this will most probably slow them down.
      Unverified
      7d02292a
    • Zeger-Jan van de Weg's avatar
      Change Gitlab::Shell#add_namespace to #create_namespace · 77f0906e
      Zeger-Jan van de Weg authored
      Prior to this change, this method was called add_namespace, which broke
      the CRUD convention and made it harder to grep for what I was looking
      for. Given the change was a find and replace kind of fix, this was
      changed without opening an issue and on another feature branch.
      
      If more dynamic calls are made to add_namespace, these could've been
      missed which might lead to incorrect bahaviour. However, going through
      the commit log it seems thats not the case.
      Unverified
      77f0906e
Loading