a2d244ec06
If a user fails to provide a username or password to the LDAP login
form then a 500 error is returned due to an exception being raised
in omniauth-ldap. This gem has been amended to use the omniauth
error propagation function (fail!) to pass this exception message to
the registered omniauth failure handler so that the Rails application
can handle it approriately.
The failure function now knows about standard exceptions and no longer
requires a specific check for the OmniAuth::Error exception added by
commit f322975
.
This resolves issue #1077.
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
86 lines
2.1 KiB
Ruby
86 lines
2.1 KiB
Ruby
source "http://rubygems.org"
|
|
|
|
gem "rails", "3.2.5"
|
|
|
|
# Supported DBs
|
|
gem "sqlite3"
|
|
gem "mysql2"
|
|
|
|
# Auth
|
|
gem "devise", "~> 2.1.0"
|
|
|
|
# GITLAB patched libs
|
|
gem "grit", :git => "https://github.com/gitlabhq/grit.git", :ref => "7f35cb98ff17d534a07e3ce6ec3d580f67402837"
|
|
gem "gitolite", :git => "https://github.com/gitlabhq/gitolite-client.git", :ref => "9b715ca8bab6529f6c92204a25f84d12f25a6eb0"
|
|
gem "pygments.rb", :git => "https://github.com/gitlabhq/pygments.rb.git", :ref => "2cada028da5054616634a1d9ca6941b65b3ce188"
|
|
gem "omniauth-ldap", :git => "https://github.com/gitlabhq/omniauth-ldap.git", :ref => "f038dd852d7bd473a557e385d5d7c2fd5dc1dc2e"
|
|
gem 'yaml_db', :git => "https://github.com/gitlabhq/yaml_db.git"
|
|
gem 'grack', :git => "https://github.com/gitlabhq/grack.git"
|
|
gem "linguist", "~> 1.0.0", :git => "https://github.com/gitlabhq/linguist.git"
|
|
|
|
gem "grape"
|
|
gem "stamp"
|
|
gem "kaminari"
|
|
gem "haml-rails"
|
|
gem "carrierwave"
|
|
gem "six"
|
|
gem "ffaker"
|
|
gem "seed-fu"
|
|
gem "redcarpet", "~> 2.1.1"
|
|
gem "thin"
|
|
gem "unicorn"
|
|
gem "git"
|
|
gem "acts_as_list"
|
|
gem "acts-as-taggable-on", "2.3.1"
|
|
gem "drapper"
|
|
gem "resque", "~> 1.20.0"
|
|
gem "httparty"
|
|
gem "charlock_holmes"
|
|
gem "foreman"
|
|
gem "colored"
|
|
gem 'resque_mailer'
|
|
gem 'tabs_on_rails'
|
|
gem 'settingslogic'
|
|
|
|
group :assets do
|
|
gem "sass-rails", "3.2.5"
|
|
gem "coffee-rails", "3.2.2"
|
|
gem "uglifier", "1.0.3"
|
|
gem "therubyracer"
|
|
|
|
gem 'chosen-rails'
|
|
gem "jquery-rails", "2.0.2"
|
|
gem "jquery-ui-rails", "0.5.0"
|
|
gem "modernizr", "2.5.3"
|
|
gem "raphael-rails", "1.5.2"
|
|
gem 'bootstrap-sass', "2.0.3.1"
|
|
end
|
|
|
|
group :development do
|
|
gem "letter_opener"
|
|
gem "rails-footnotes"
|
|
gem "annotate", :git => "https://github.com/ctran/annotate_models.git"
|
|
end
|
|
|
|
group :development, :test do
|
|
gem "rspec-rails"
|
|
gem "capybara"
|
|
gem "autotest"
|
|
gem "autotest-rails"
|
|
gem "pry"
|
|
gem "awesome_print"
|
|
gem "database_cleaner"
|
|
gem "launchy"
|
|
end
|
|
|
|
group :test do
|
|
gem 'cucumber-rails', :require => false
|
|
gem 'minitest', ">= 2.10"
|
|
gem "turn", :require => false
|
|
gem "simplecov", :require => false
|
|
gem "shoulda-matchers"
|
|
gem 'email_spec'
|
|
gem 'resque_spec'
|
|
gem "webmock"
|
|
end
|