1. 16 Dec, 2015 28 commits
  2. 15 Dec, 2015 12 commits
    • Drew Blessing's avatar
      f98f3534
    • Robert Speicher's avatar
    • Robert Speicher's avatar
      Update CHANGELOG · a5a9cd30
      Robert Speicher authored
      [ci skip]
      a5a9cd30
    • Robert Speicher's avatar
      Merge branch 'lazy-reference-extractor' into 'master' · 5ffed49f
      Robert Speicher authored
      Move Markdown/reference logic from `Gitlab::Markdown` to `Banzai`
      
      - Moves from `Gitlab::Markdown` to `Banzai`
      - Moves filters and pipelines into their own namespace: `Banzai::Filter` and `Banzai::Pipeline`
      - No more `autoload`!
      - Split up `Gitlab::ReferenceExtractor` into `Banzai::ReferenceExtractor` and `Gitlab::ReferenceExtractor`
      - Replace `something(load_lazy_references: true)` by `Gitlab::ReferenceExtractor.lazily { something }`
      
      Goes from:
      
      ```ruby
      def referenced_merge_requests
        references = [self, *notes].flat_map do |note|
          note.all_references(load_lazy_references: false).merge_requests
        end.uniq!
      
        Gitlab::Markdown::ReferenceFilter::LazyReference.load(references).uniq.sort_by(&:iid)
      end
      ```
      
      to
      
      ```ruby
      def referenced_merge_requests
        Gitlab::ReferenceExtractor.lazily do
          [self, *notes].flat_map do |note|
            note.all_references.merge_requests
          end
        end.sort_by(&:iid)
      end
      ```
      
      See merge request !2027
      5ffed49f
    • Gabriel Mazetto's avatar
      Fixed CiServices validation · 90720982
      Gabriel Mazetto authored
      90720982
    • Robert Speicher's avatar
      Merge branch 'add_user_repo_integrity_rake_task' into 'master' · 28a8d0b5
      Robert Speicher authored
      Add user repository integrity check rake task
      
      Corrupt repositories and stuck lock files can cause weird issues in
      GitLab. Often we know which user is having these problems and then we
      have to go hunt down which repository is causing it. Several times
      recently that involved me running queries in the rails console to get
      an array of projects and then writing a quick Ruby script to loop
      through and run `git fsck`. This last time I also had to check for the
      existence of `config.lock` and ref lock files. 
      
      This rake task will eliminate all of those steps and allow an admin to
      simply specify a username.
      
      I also added the lock file checks to the existing `gitlab:repo:check`
      task which goes through all projects. 
      
      See merge request !2080
      28a8d0b5
    • Andrey's avatar
      Merge branch 'wider-layout' into 'master' · 96a15588
      Andrey authored
      
      
      Increase fixed layout width to 1280px
      Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
      
      cc @creamzy 
      
      See merge request !2075
      96a15588
    • Dmitriy Zaporozhets's avatar
      Merge branch 'fix-panel-height' into 'master' · ee258322
      Dmitriy Zaporozhets authored
      Fix inline panel heading height
      
      The `line-height` was added so that headings in the panels on the settings page had the same height as headings elsewhere, but the style applied everywhere :)
      
      Before:
      
      (Look at the "Unstarted Issues" heading)
      
      ![Screen_Shot_2015-12-15_at_17.39.46](/uploads/9dbea4c8b28e3c43bb5d4b5226d7a1ec/Screen_Shot_2015-12-15_at_17.39.46.png)
      
      ![Screen_Shot_2015-12-15_at_17.40.19](/uploads/97898418e9a66954c02e8a68b21c08b9/Screen_Shot_2015-12-15_at_17.40.19.png)
      
      After:
      
      ![Screen_Shot_2015-12-15_at_17.40.45](/uploads/5748aba032889053dd778b39e96fa301/Screen_Shot_2015-12-15_at_17.40.45.png)
      
      ![Screen_Shot_2015-12-15_at_17.40.40](/uploads/20240cdc7a6d5665cd32556d1a0e6c1d/Screen_Shot_2015-12-15_at_17.40.40.png)
      
      cc @skyruler 
      
      cc @rspeicher 8.3 please!
      
      See merge request !2106
      ee258322
    • Robert Speicher's avatar
    • Douwe Maan's avatar
      c1db8d15
    • Douwe Maan's avatar
      Fix "Notifications" label color · e4e1777a
      Douwe Maan authored
      e4e1777a
    • Douwe Maan's avatar
      Move cross-project reference down · 297398ea
      Douwe Maan authored
      297398ea