1. 13 2月, 2017 4 次提交
  2. 11 2月, 2017 1 次提交
  3. 08 2月, 2017 2 次提交
  4. 07 2月, 2017 5 次提交
  5. 06 2月, 2017 3 次提交
  6. 03 2月, 2017 5 次提交
  7. 02 2月, 2017 3 次提交
    • S
      Check public snippets for spam · c63194ce
      Sean McGivern 提交于
      Apply the same spam checks to public snippets (either personal snippets
      that are public, or public snippets on public projects) as to issues on
      public projects.
      c63194ce
    • S
      Fix constant resolution in UpdatePagesService · 7cacaf18
      Sean McGivern 提交于
      There is now a `Projects::Settings` module, for the members
      controller. Ensure that we get the actual settings, not that module.
      7cacaf18
    • S
      Fix GitLab Pages not refreshing upon new content · 23974334
      Stan Hu 提交于
      Due to autoloading and Ruby scoping, the .update file was never being
      updated due to this error:
      
      ```
      NoMethodError: undefined method `pages' for Projects::Settings:Module
              from /opt/gitlab/embedded/service/gitlab-rails/app/services/projects/update_pages_configuration_service.rb:50:in `pages_update_file'
              from /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/metrics/instrumentation.rb:157:in `pages_update_file'
              from (irb):6
              from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/railties-4.2.7.1/lib/rails/commands/console.rb:110:in `start'
              from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/railties-4.2.7.1/lib/rails/commands/console.rb:9:in `start'
              from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/railties-4.2.7.1/lib/rails/commands/commands_tasks.rb:68:in `console'
              from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/railties-4.2.7.1/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
              from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/railties-4.2.7.1/lib/rails/commands.rb:17:in `<top (required)>'
              from bin/rails:9:in `require'
      ```
      
      This error was caught and discarded quietly. This fix exercises this code and fixes the scope problem.
      
      Closes gitlab-com/infrastructure#1058
      23974334
  8. 01 2月, 2017 15 次提交
  9. 31 1月, 2017 2 次提交
    • R
      Abillity to promote project labels to group labels · 5d871dcc
      Ritave 提交于
      Fixes #24021
      5d871dcc
    • R
      refactor merge request build service · 14326c88
      Rydkin Maxim 提交于
      add changelog entry
      
      replace local variables `merge_request` with instance ones
      
      modify `MergeRequests::BuildService` to fix failed tests
      
      extract `assign_target_project` method
      
      remove unnecessary instance variables
      
      remove exclamation marks and rewrite conditionals to improve readability
      
      extract `params_does_not_contain_branches?` method, rename `unprepared_merge_request` method to `uncreatable_merge_request`
      
      replace instance variables `merge_request` and `error_messages` with getters and setters; divide `set_title_and_description` method on two separate ones
      
      refactor `execute` method
      
      return `set_title_and_description` method
      
      rename `branches_selected?` method to `branches_present?` to make it more different from `branches_specified?`
      
      fixes after discussion
      
      renamed method branches_valid?
      
      fix space
      
      return assigning methods into `execute` method
      
      simplify `find_target_branch` and `find_source_project` methods
      
      fix spec `merge request issuable record that supports slash commands in its description and notes`
      14326c88