Skip to content
Snippets Groups Projects
  1. Oct 13, 2017
  2. Oct 09, 2017
  3. Oct 07, 2017
  4. Oct 06, 2017
    • Toon Claes's avatar
      Create idea of read-only database · d1366971
      Toon Claes authored
      In GitLab EE, a GitLab instance can be read-only (e.g. when it's a Geo
      secondary node). But in GitLab CE it also might be useful to have the
      "read-only" idea around. So port it back to GitLab CE.
      
      Also having the principle of read-only in GitLab CE would hopefully
      lead to less errors introduced, doing write operations when there
      aren't allowed for read-only calls.
      
      Closes gitlab-org/gitlab-ce#37534.
      d1366971
  5. Oct 05, 2017
  6. Oct 04, 2017
  7. Oct 03, 2017
  8. Sep 23, 2017
  9. Sep 14, 2017
  10. Sep 07, 2017
  11. Sep 06, 2017
  12. Aug 31, 2017
    • Sean McGivern's avatar
      `current_application_settings` belongs on `Gitlab::CurrentSettings` · 5883ce95
      Sean McGivern authored
      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
  13. Aug 30, 2017
  14. Aug 29, 2017
  15. Aug 28, 2017
  16. Aug 25, 2017
  17. Aug 22, 2017
  18. Aug 17, 2017
Loading