1. 03 Feb, 2016 3 commits
    • Rémy Coutable's avatar
      Ensure rake tasks that don't need a DB connection can be run without one · 64f3ddcc
      Rémy Coutable authored
      ( cherry picked from commit e6f3fe5d upstream )
      
      When using ActiveRecord::Base.connection.active? without a DB
      connection, we get a "PG::ConnectionBad: could not connect to server"
      error because ActiveRecord::Base.connection doesn't exist. By using
      ActiveRecord::Base.connected? we ensure we don't get this error if
      the connection is missing, which is the all point of the
      Gitlab::CurrentSettings#connect_to_db? method!
      64f3ddcc
    • Kirill Smelkov's avatar
      NXD Show ICP on front page & on footer of every other pages · 78f0ba8f
      Kirill Smelkov authored
      TODO detect whether request comes from China and only then show ICP (?).
      78f0ba8f
    • Kirill Smelkov's avatar
      NXD Show "about" footer on every page · 304e9416
      Kirill Smelkov authored
      We show in small font size the same info that is shown on sign_in page:
      
          "GitLab Nexedi Edition", "About GitLab" and "About Nexedi"
      
      This is good to have and hereby-introduced about-footer area will be
      also used in the next patch for ICP too.
      
      XXX placement of .about-footer to be near bottom is done not very
      correctly.
      304e9416
  2. 02 Feb, 2016 7 commits
  3. 01 Feb, 2016 5 commits
    • Drew Blessing's avatar
      Merge branch 'increase_lfs_size_column' into 'master' · 106722fa
      Drew Blessing authored
      Increase LFS objects size column
      
      Fixes #12745
      
      Increases the `size` column integer limit to an 8-byte integer. This allows for a max value of `9223372036854775807` which is 9,223,372,036 GB. That should do it 😃
      
      I tested this by first reproducing the error (push a file larger than 2.1 GB). The error was:
      
      ```
      RangeError (3145728000 is out of range for ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Integer with limit 4):
        lib/gitlab/lfs/response.rb:232:in `store_file'
        lib/gitlab/lfs/response.rb:170:in `render_lfs_upload_ok'
        lib/gitlab/lfs/response.rb:51:in `block in render_storage_upload_store_response'
        lib/gitlab/lfs/response.rb:204:in `render_response_to_push'
        lib/gitlab/lfs/response.rb:50:in `render_storage_upload_store_response'
        lib/gitlab/lfs/router.rb:76:in `put_response'
        lib/gitlab/lfs/router.rb:20:in `try_call'
        lib/gitlab/backend/grack_auth.rb:41:in `call'
        lib/gitlab/backend/grack_auth.rb:18:in `call_with_kerberos_support'
        lib/gitlab/backend/grack_auth.rb:8:in `call'
      ```
      
      Then I ran this migration and pushed the file again. It uploaded successfully.
      
      See merge request !2644
      106722fa
    • Robert Speicher's avatar
      Merge branch 'rs-ldap-user' into 'master' · f2faa007
      Robert Speicher authored
      Backport LDAP user assignment changes from EE
      
      See https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/146
      
      See merge request !2641
      f2faa007
    • Robert Speicher's avatar
      Merge branch 'update_sentry_gem' into 'master' · fa69b067
      Robert Speicher authored
      Update sentry-raven gem.
      
      Should resolve `fatal: Not a git repository (or any of the parent directories): .git` warnings.
      
      Fixes #12657
      
      See merge request !2636
      fa69b067
    • Robert Speicher's avatar
      Merge branch 'mr-merge-base' into 'master' · ff1e0ecf
      Robert Speicher authored
      Correctly determine MR diff base when MR has merge conflicts
      
      Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/12779
      
      See merge request !2632
      ff1e0ecf
    • Robert Speicher's avatar
      Merge branch 'highlight-blame' into 'master' · 3d687ec3
      Robert Speicher authored
      Fix highlighting in blame view.
      
      See merge request !2630
      3d687ec3
  4. 27 Jan, 2016 7 commits
  5. 26 Jan, 2016 9 commits
  6. 25 Jan, 2016 2 commits
  7. 22 Jan, 2016 7 commits