Merge branch 'master' of github.com:fetsite/fetsite

Conflicts:
	Gemfile.lock
This commit is contained in:
Andreas Stephanides
2014-02-20 10:52:49 +01:00
4 changed files with 76 additions and 49 deletions

View File

@@ -44,7 +44,7 @@ gem 'jquery-rails'
gem 'formtastic', '~>2.2.1' gem 'formtastic', '~>2.2.1'
gem 'formtastic-bootstrap', '~>2.1.3' #, :git => "git://github.com/mjbellantoni/formtastic-bootstrap.git" gem 'formtastic-bootstrap', '~>2.1.3' #, :git => "git://github.com/mjbellantoni/formtastic-bootstrap.git"
# TinyMCE # TinyMCE
gem "tinymce-rails" , '>=3.5.8' gem "tinymce-rails" , '~>3.5.8'
# Internationalisierung # Internationalisierung
#gem "globalize3" ,'~>3.0.4' #gem "globalize3" ,'~>3.0.4'
@@ -93,4 +93,4 @@ gem "seed_dump", "~> 0.5.3"
#gem "themes_for_rails" ,:git =>'git://github.com/tkriplean/themes_for_rails.git' #gem "themes_for_rails" ,:git =>'git://github.com/tkriplean/themes_for_rails.git'
#gem "themes_for_rails", :git=> 'git://github.com/lucasefe/themes_for_rails.git' #gem "themes_for_rails", :git=> 'git://github.com/lucasefe/themes_for_rails.git'
gem 'themes_for_rails' gem 'themes_for_rails'
gem 'remotipart', :git =>'git://github.com/JangoSteve/remotipart.git' gem 'remotipart', :git =>'git://github.com/JangoSteve/remotipart.git'

View File

@@ -42,43 +42,47 @@ GEM
activesupport (3.2.9) activesupport (3.2.9)
i18n (~> 0.6) i18n (~> 0.6)
multi_json (~> 1.0) multi_json (~> 1.0)
annotate (2.5.0) annotate (2.6.1)
rake activerecord (>= 2.3.0)
arel (3.0.2) rake (>= 0.8.7)
arel (3.0.3)
awesome_nested_set (2.1.6) awesome_nested_set (2.1.6)
activerecord (>= 3.0.0) activerecord (>= 3.0.0)
bcrypt-ruby (3.0.1) bcrypt-ruby (3.1.2)
bootstrap-addons-rails (0.1.2) bootstrap-addons-rails (0.1.2)
rails rails
bootstrap-sass (2.3.2.1) bootstrap-sass (2.3.2.2)
sass (~> 3.2) sass (~> 3.2)
builder (3.0.4) builder (3.0.4)
cancan (1.6.9) cancan (1.6.10)
carrierwave (0.9.0) carrierwave (0.9.0)
activemodel (>= 3.2.0) activemodel (>= 3.2.0)
activesupport (>= 3.2.0) activesupport (>= 3.2.0)
json (>= 1.7) json (>= 1.7)
cocaine (0.4.2) climate_control (0.0.3)
activesupport (>= 3.0)
cocaine (0.5.3)
climate_control (>= 0.0.3, < 1.0)
coffee-rails (3.2.2) coffee-rails (3.2.2)
coffee-script (>= 2.2.0) coffee-script (>= 2.2.0)
railties (~> 3.2.0) railties (~> 3.2.0)
coffee-script (2.2.0) coffee-script (2.2.0)
coffee-script-source coffee-script-source
execjs execjs
coffee-script-source (1.4.0) coffee-script-source (1.6.3)
devise (2.2.3) devise (2.2.8)
bcrypt-ruby (~> 3.0) bcrypt-ruby (~> 3.0)
orm_adapter (~> 0.1) orm_adapter (~> 0.1)
railties (~> 3.1) railties (~> 3.1)
warden (~> 1.2.1) warden (~> 1.2.1)
diff-lcs (1.2.4) diff-lcs (1.2.5)
erubis (2.7.0) erubis (2.7.0)
execjs (1.4.0) execjs (1.4.0)
multi_json (~> 1.0) multi_json (~> 1.0)
factory_girl (4.2.0) factory_girl (4.3.0)
activesupport (>= 3.0.0) activesupport (>= 3.0.0)
factory_girl_rails (4.2.1) factory_girl_rails (4.3.0)
factory_girl (~> 4.2.0) factory_girl (~> 4.3.0)
railties (>= 3.0.0) railties (>= 3.0.0)
faraday (0.8.8) faraday (0.8.8)
multipart-post (~> 1.2.0) multipart-post (~> 1.2.0)
@@ -86,43 +90,55 @@ GEM
actionpack (>= 3.0) actionpack (>= 3.0)
formtastic-bootstrap (2.1.3) formtastic-bootstrap (2.1.3)
formtastic (~> 2.2) formtastic (~> 2.2)
<<<<<<< HEAD
git (1.2.5) git (1.2.5)
=======
git (1.2.6)
>>>>>>> b910973ee64c28c5c881a6a0957bea7f114ca266
globalize (3.0.4) globalize (3.0.4)
activemodel (>= 3.0.0, < 4.0.0) activemodel (>= 3.0.0, < 4.0.0)
activerecord (>= 3.0.0, < 4.0.0) activerecord (>= 3.0.0, < 4.0.0)
globalize-versioning (0.1.0.alpha.1) globalize-versioning (0.1.0.alpha.1)
globalize (>= 3, < 5) globalize (>= 3, < 5)
paper_trail (~> 3.0.0) paper_trail (~> 3.0.0)
<<<<<<< HEAD
haml (4.0.0) haml (4.0.0)
=======
haml (4.0.5)
>>>>>>> b910973ee64c28c5c881a6a0957bea7f114ca266
tilt tilt
hashie (2.0.5) hashie (2.0.5)
hike (1.2.1) hike (1.2.3)
httpauth (0.2.0) httpauth (0.2.0)
i18n (0.6.1) i18n (0.6.9)
journey (1.0.4) journey (1.0.4)
jquery-fileupload-rails (0.4.1) jquery-fileupload-rails (0.4.1)
actionpack (>= 3.1) actionpack (>= 3.1)
railties (>= 3.1) railties (>= 3.1)
jquery-rails (2.2.1) jquery-rails (3.0.4)
railties (>= 3.0, < 5.0) railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0) thor (>= 0.14, < 2.0)
<<<<<<< HEAD
jquery-ui-rails (4.1.1) jquery-ui-rails (4.1.1)
railties (>= 3.1.0) railties (>= 3.1.0)
json (1.7.7) json (1.7.7)
=======
json (1.8.1)
>>>>>>> b910973ee64c28c5c881a6a0957bea7f114ca266
jwt (0.1.8) jwt (0.1.8)
multi_json (>= 1.5) multi_json (>= 1.5)
libv8 (3.11.8.13) libv8 (3.16.14.3)
mail (2.4.4) mail (2.4.4)
i18n (>= 0.4.0) i18n (>= 0.4.0)
mime-types (~> 1.16) mime-types (~> 1.16)
treetop (~> 1.4.8) treetop (~> 1.4.8)
mime-types (1.21) mime-types (1.25.1)
mini_portile (0.5.2) mini_portile (0.5.2)
multi_json (1.5.1) multi_json (1.8.2)
multipart-post (1.2.0) multipart-post (1.2.0)
mysql2 (0.3.13) mysql2 (0.3.14)
net-ldap (0.2.2) net-ldap (0.3.1)
nokogiri (1.6.0) nokogiri (1.6.1)
mini_portile (~> 0.5.0) mini_portile (~> 0.5.0)
oauth2 (0.8.1) oauth2 (0.8.1)
faraday (~> 0.8) faraday (~> 0.8)
@@ -133,22 +149,27 @@ GEM
omniauth (1.1.4) omniauth (1.1.4)
hashie (>= 1.2, < 3) hashie (>= 1.2, < 3)
rack rack
omniauth-facebook (1.4.1) omniauth-facebook (1.5.1)
omniauth-oauth2 (~> 1.1.0) omniauth-oauth2 (~> 1.1.0)
omniauth-ldap (1.0.3) omniauth-ldap (1.0.4)
net-ldap (~> 0.2.2) net-ldap (~> 0.3.1)
omniauth (~> 1.0) omniauth (~> 1.0)
pyu-ruby-sasl (~> 0.0.3.1) pyu-ruby-sasl (~> 0.0.3.1)
rubyntlm (~> 0.1.1) rubyntlm (~> 0.1.1)
omniauth-oauth2 (1.1.1) omniauth-oauth2 (1.1.1)
oauth2 (~> 0.8.0) oauth2 (~> 0.8.0)
omniauth (~> 1.0) omniauth (~> 1.0)
<<<<<<< HEAD
orm_adapter (0.4.0) orm_adapter (0.4.0)
paperclip (3.4.0) paperclip (3.4.0)
=======
orm_adapter (0.5.0)
paperclip (3.4.2)
>>>>>>> b910973ee64c28c5c881a6a0957bea7f114ca266
activemodel (>= 3.0.0) activemodel (>= 3.0.0)
activerecord (>= 3.0.0) activerecord (>= 3.0.0)
activesupport (>= 3.0.0) activesupport (>= 3.0.0)
cocaine (~> 0.4.0) cocaine (~> 0.5.0)
mime-types mime-types
polyglot (0.3.3) polyglot (0.3.3)
pyu-ruby-sasl (0.0.3.3) pyu-ruby-sasl (0.0.3.3)
@@ -174,18 +195,19 @@ GEM
rake (>= 0.8.7) rake (>= 0.8.7)
rdoc (~> 3.4) rdoc (~> 3.4)
thor (>= 0.14.6, < 2.0) thor (>= 0.14.6, < 2.0)
rake (10.0.3) rake (10.1.1)
rdoc (3.12.1) rdoc (3.12.2)
json (~> 1.4) json (~> 1.4)
ref (1.0.2) ref (1.0.5)
rmagick (2.13.2) rmagick (2.13.2)
rolify (3.2.0) rolify (3.2.0)
rspec-core (2.14.4) rspec-core (2.14.7)
rspec-expectations (2.14.0) rspec-expectations (2.14.4)
diff-lcs (>= 1.1.3, < 2.0) diff-lcs (>= 1.1.3, < 2.0)
rspec-mocks (2.14.1) rspec-mocks (2.14.4)
rspec-rails (2.14.0) rspec-rails (2.14.1)
actionpack (>= 3.0) actionpack (>= 3.0)
activemodel (>= 3.0)
activesupport (>= 3.0) activesupport (>= 3.0)
railties (>= 3.0) railties (>= 3.0)
rspec-core (~> 2.14.0) rspec-core (~> 2.14.0)
@@ -194,7 +216,7 @@ GEM
rubyntlm (0.1.1) rubyntlm (0.1.1)
sanitize (2.0.6) sanitize (2.0.6)
nokogiri (>= 1.4.4) nokogiri (>= 1.4.4)
sass (3.2.5) sass (3.2.13)
sass-rails (3.2.6) sass-rails (3.2.6)
railties (~> 3.2.0) railties (~> 3.2.0)
sass (>= 3.1.10) sass (>= 3.1.10)
@@ -202,29 +224,29 @@ GEM
seed_dump (0.5.3) seed_dump (0.5.3)
simple_calendar (0.1.9) simple_calendar (0.1.9)
rails (>= 3.0) rails (>= 3.0)
sprockets (2.2.2) sprockets (2.2.1)
hike (~> 1.2) hike (~> 1.2)
multi_json (~> 1.0) multi_json (~> 1.0)
rack (~> 1.0) rack (~> 1.0)
tilt (~> 1.1, != 1.3.0) tilt (~> 1.1, != 1.3.0)
sqlite3 (1.3.7) sqlite3 (1.3.8)
themes_for_rails (0.5.1) themes_for_rails (0.5.1)
rails (>= 3.0.0) rails (>= 3.0.0)
therubyracer (0.11.3) therubyracer (0.12.0)
libv8 (~> 3.11.8.12) libv8 (~> 3.16.14.0)
ref ref
thor (0.17.0) thor (0.18.1)
tilt (1.3.3) tilt (1.4.1)
tinymce-rails (3.5.8) tinymce-rails (3.5.8)
railties (>= 3.1.1) railties (>= 3.1.1)
treetop (1.4.12) treetop (1.4.15)
polyglot polyglot
polyglot (>= 0.3.1) polyglot (>= 0.3.1)
tzinfo (0.3.35) tzinfo (0.3.38)
uglifier (1.3.0) uglifier (2.4.0)
execjs (>= 0.3.0) execjs (>= 0.3.0)
multi_json (~> 1.0, >= 1.0.2) json (>= 1.8.0)
warden (1.2.1) warden (1.2.3)
rack (>= 1.0) rack (>= 1.0)
PLATFORMS PLATFORMS
@@ -268,5 +290,5 @@ DEPENDENCIES
sqlite3 sqlite3
themes_for_rails themes_for_rails
therubyracer therubyracer
tinymce-rails (>= 3.5.8) tinymce-rails (~> 3.5.8)
uglifier (>= 1.0.3) uglifier (>= 1.0.3)

View File

@@ -17,7 +17,7 @@ class GremienController < ApplicationController
if params[:filter].nil? if params[:filter].nil?
@gremien = Gremium.where("CAST(typ AS INT) < 10").order(:typ).order(:name) @gremien = Gremium.where("CAST(typ AS INT) < 10").order(:typ).order(:name)
else else
@gremien = Gremium.order(:typ).order(:name).where("CAST(typ AS INT) == ?",params[:filter]) @gremien = Gremium.order(:typ).order(:name).where("CAST(typ AS INT) = ?",params[:filter].to_i)
end end

View File

@@ -42,6 +42,11 @@ Fetsite::Application.configure do
# Use a different cache store in production # Use a different cache store in production
# config.cache_store = :mem_cache_store # config.cache_store = :mem_cache_store
config.consider_all_requests_local = true
config.action_controller.perform_caching = false
# Enable serving of images, stylesheets, and JavaScripts from an asset server # Enable serving of images, stylesheets, and JavaScripts from an asset server
# config.action_controller.asset_host = "http://assets.example.com" # config.action_controller.asset_host = "http://assets.example.com"