1. 10 8月, 2019 1 次提交
  2. 09 7月, 2019 1 次提交
  3. 26 6月, 2019 1 次提交
  4. 25 6月, 2019 2 次提交
  5. 01 5月, 2019 1 次提交
  6. 04 3月, 2019 1 次提交
  7. 07 2月, 2019 2 次提交
  8. 14 1月, 2019 1 次提交
    • S
      Fix no avatar not showing in user selection box · 2265ce34
      Stan Hu 提交于
      After upgrading to Ruby 2.5.3, we switched `URI.join` in favor of
      `Gitlab::Utils.append_path`. However,
      ActionController::Base.helpers.image_path can return a full URL if a CDN
      host is present.
      
      Rails provides a way to generate the full URL using the asset path, but
      that doesn't appear to work because `request` is nil`.
      
      Revert to the previous behavior to handle CDNs and relative URLs.
      
      Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/56268
      2265ce34
  9. 10 11月, 2018 1 次提交
  10. 22 10月, 2018 1 次提交
  11. 11 10月, 2018 1 次提交
    • Y
      Support pushing of feature flags to the frontend · 21940d1e
      Yorick Peterse 提交于
      This adds a method to Gitlab::GonHelper called
      `push_frontend_feature_flag`. This method can be used to easily expose
      the state of a feature flag to Javascript code. For example, using this
      method we may write the following controller code:
      
          before_action do
            push_frontend_feature_flag(:vim_bindings)
          end
      
          def index
            # ...
          end
      
          def edit
            # ...
          end
      
      In Javascript we can then check the state of the flag as follows:
      
          if ( gon.features.vimBindings ) {
            // ...
          }
      
      Fixes https://gitlab.com/gitlab-org/release/framework/issues/17
      21940d1e
  12. 31 5月, 2018 1 次提交
  13. 29 5月, 2018 1 次提交
  14. 24 5月, 2018 1 次提交
  15. 03 5月, 2018 1 次提交
  16. 05 3月, 2018 1 次提交
  17. 02 3月, 2018 1 次提交
  18. 03 2月, 2018 1 次提交
  19. 03 1月, 2018 1 次提交
  20. 22 12月, 2017 2 次提交
  21. 09 11月, 2017 1 次提交
  22. 22 9月, 2017 1 次提交
  23. 07 9月, 2017 1 次提交
  24. 06 9月, 2017 1 次提交
  25. 05 9月, 2017 1 次提交
  26. 31 8月, 2017 1 次提交
    • S
      `current_application_settings` belongs on `Gitlab::CurrentSettings` · 5883ce95
      Sean McGivern 提交于
      The initializers including this were doing so at the top level, so every object
      loaded after them had a `current_application_settings` method. However, if
      someone had rack-attack enabled (which was loaded before these initializers), it
      would try to load the API, and fail, because `Gitlab::CurrentSettings` didn't
      have that method.
      
      To fix this:
      
      1. Don't include `Gitlab::CurrentSettings` at the top level. We do not need
         `Object.new.current_application_settings` to work.
      2. Make `Gitlab::CurrentSettings` explicitly `extend self`, as we already use it
         like that in several places.
      3. Change the initializers to use that new form.
      5883ce95
  27. 29 6月, 2017 1 次提交
  28. 27 5月, 2017 1 次提交
  29. 26 5月, 2017 1 次提交
  30. 21 5月, 2017 1 次提交
  31. 18 5月, 2017 1 次提交
  32. 05 5月, 2017 1 次提交
  33. 28 4月, 2017 4 次提交
  34. 14 4月, 2017 1 次提交