aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'site/config')
-rw-r--r--site/config/application.rb15
-rw-r--r--site/config/boot.rb15
-rw-r--r--site/config/environment.rb15
-rw-r--r--site/config/environments/development.rb15
-rw-r--r--site/config/environments/production.rb15
-rw-r--r--site/config/environments/test.rb15
-rw-r--r--site/config/hobo_routes.rb15
-rw-r--r--site/config/initializers/backtrace_silencers.rb15
-rw-r--r--site/config/initializers/custom_configs.rb15
-rw-r--r--site/config/initializers/devise.rb15
-rw-r--r--site/config/initializers/dryml_taglibs.rb15
-rw-r--r--site/config/initializers/inflections.rb15
-rw-r--r--site/config/initializers/mime_types.rb15
-rw-r--r--site/config/initializers/secret_token.rb15
-rw-r--r--site/config/initializers/session_store.rb15
-rw-r--r--site/config/routes.rb15
16 files changed, 240 insertions, 0 deletions
diff --git a/site/config/application.rb b/site/config/application.rb
index 4a8f752..87864c6 100644
--- a/site/config/application.rb
+++ b/site/config/application.rb
@@ -1,3 +1,18 @@
+# Gentoo Council Web App - to help Gentoo Council do their job better
+# Copyright (C) 2011 Joachim Filip Bartosik
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, version 3 of the License
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
require File.expand_path('../boot', __FILE__)
require 'rails/all'
diff --git a/site/config/boot.rb b/site/config/boot.rb
index ab6cb37..c35a7a9 100644
--- a/site/config/boot.rb
+++ b/site/config/boot.rb
@@ -1,3 +1,18 @@
+# Gentoo Council Web App - to help Gentoo Council do their job better
+# Copyright (C) 2011 Joachim Filip Bartosik
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, version 3 of the License
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
require 'rubygems'
# Set up gems listed in the Gemfile.
diff --git a/site/config/environment.rb b/site/config/environment.rb
index 4bc0d55..7a49127 100644
--- a/site/config/environment.rb
+++ b/site/config/environment.rb
@@ -1,3 +1,18 @@
+# Gentoo Council Web App - to help Gentoo Council do their job better
+# Copyright (C) 2011 Joachim Filip Bartosik
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, version 3 of the License
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
# Load the rails application
require File.expand_path('../application', __FILE__)
diff --git a/site/config/environments/development.rb b/site/config/environments/development.rb
index 691e1b5..10f4801 100644
--- a/site/config/environments/development.rb
+++ b/site/config/environments/development.rb
@@ -1,3 +1,18 @@
+# Gentoo Council Web App - to help Gentoo Council do their job better
+# Copyright (C) 2011 Joachim Filip Bartosik
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, version 3 of the License
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
Council::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
diff --git a/site/config/environments/production.rb b/site/config/environments/production.rb
index 68f5e85..0d4d880 100644
--- a/site/config/environments/production.rb
+++ b/site/config/environments/production.rb
@@ -1,3 +1,18 @@
+# Gentoo Council Web App - to help Gentoo Council do their job better
+# Copyright (C) 2011 Joachim Filip Bartosik
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, version 3 of the License
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
Council::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
diff --git a/site/config/environments/test.rb b/site/config/environments/test.rb
index 944a63f..2e9c530 100644
--- a/site/config/environments/test.rb
+++ b/site/config/environments/test.rb
@@ -1,3 +1,18 @@
+# Gentoo Council Web App - to help Gentoo Council do their job better
+# Copyright (C) 2011 Joachim Filip Bartosik
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, version 3 of the License
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
Council::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
diff --git a/site/config/hobo_routes.rb b/site/config/hobo_routes.rb
index a223db4..cdddabf 100644
--- a/site/config/hobo_routes.rb
+++ b/site/config/hobo_routes.rb
@@ -1,3 +1,18 @@
+# Gentoo Council Web App - to help Gentoo Council do their job better
+# Copyright (C) 2011 Joachim Filip Bartosik
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, version 3 of the License
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
# This is an auto-generated file: don't edit!
# You can add your own routes in the config/routes.rb file
# which will override the routes in this file.
diff --git a/site/config/initializers/backtrace_silencers.rb b/site/config/initializers/backtrace_silencers.rb
index 59385cd..bc1880e 100644
--- a/site/config/initializers/backtrace_silencers.rb
+++ b/site/config/initializers/backtrace_silencers.rb
@@ -1,3 +1,18 @@
+# Gentoo Council Web App - to help Gentoo Council do their job better
+# Copyright (C) 2011 Joachim Filip Bartosik
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, version 3 of the License
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
# Be sure to restart your server when you modify this file.
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
diff --git a/site/config/initializers/custom_configs.rb b/site/config/initializers/custom_configs.rb
index 5e5ce89..68b386c 100644
--- a/site/config/initializers/custom_configs.rb
+++ b/site/config/initializers/custom_configs.rb
@@ -1,3 +1,18 @@
+# Gentoo Council Web App - to help Gentoo Council do their job better
+# Copyright (C) 2011 Joachim Filip Bartosik
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, version 3 of the License
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
CustomConfig = {}
for conf in ['bot', 'reminders', 'council_term']
CustomConfig[conf.camelize] = YAML.load open("config/#{conf}.yml").read
diff --git a/site/config/initializers/devise.rb b/site/config/initializers/devise.rb
index d4aaf27..1e718b9 100644
--- a/site/config/initializers/devise.rb
+++ b/site/config/initializers/devise.rb
@@ -1 +1,16 @@
+# Gentoo Council Web App - to help Gentoo Council do their job better
+# Copyright (C) 2011 Joachim Filip Bartosik
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, version 3 of the License
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
require 'devise/orm/active_record.rb'
diff --git a/site/config/initializers/dryml_taglibs.rb b/site/config/initializers/dryml_taglibs.rb
index 89b2d39..a156eb9 100644
--- a/site/config/initializers/dryml_taglibs.rb
+++ b/site/config/initializers/dryml_taglibs.rb
@@ -1 +1,16 @@
+# Gentoo Council Web App - to help Gentoo Council do their job better
+# Copyright (C) 2011 Joachim Filip Bartosik
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, version 3 of the License
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
Dryml.precompile_taglibs if File.basename($0) != "rake" && Rails.env.production?
diff --git a/site/config/initializers/inflections.rb b/site/config/initializers/inflections.rb
index 9e8b013..83a4b76 100644
--- a/site/config/initializers/inflections.rb
+++ b/site/config/initializers/inflections.rb
@@ -1,3 +1,18 @@
+# Gentoo Council Web App - to help Gentoo Council do their job better
+# Copyright (C) 2011 Joachim Filip Bartosik
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, version 3 of the License
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
# Be sure to restart your server when you modify this file.
# Add new inflection rules using the following format
diff --git a/site/config/initializers/mime_types.rb b/site/config/initializers/mime_types.rb
index 72aca7e..f158e2c 100644
--- a/site/config/initializers/mime_types.rb
+++ b/site/config/initializers/mime_types.rb
@@ -1,3 +1,18 @@
+# Gentoo Council Web App - to help Gentoo Council do their job better
+# Copyright (C) 2011 Joachim Filip Bartosik
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, version 3 of the License
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
# Be sure to restart your server when you modify this file.
# Add new mime types for use in respond_to blocks:
diff --git a/site/config/initializers/secret_token.rb b/site/config/initializers/secret_token.rb
index 79ea814..05082d6 100644
--- a/site/config/initializers/secret_token.rb
+++ b/site/config/initializers/secret_token.rb
@@ -1,3 +1,18 @@
+# Gentoo Council Web App - to help Gentoo Council do their job better
+# Copyright (C) 2011 Joachim Filip Bartosik
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, version 3 of the License
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
# Be sure to restart your server when you modify this file.
# Your secret key for verifying the integrity of signed cookies.
diff --git a/site/config/initializers/session_store.rb b/site/config/initializers/session_store.rb
index 3485dec..a822afa 100644
--- a/site/config/initializers/session_store.rb
+++ b/site/config/initializers/session_store.rb
@@ -1,3 +1,18 @@
+# Gentoo Council Web App - to help Gentoo Council do their job better
+# Copyright (C) 2011 Joachim Filip Bartosik
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, version 3 of the License
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
# Be sure to restart your server when you modify this file.
Council::Application.config.session_store :cookie_store, :key => '_Council_session'
diff --git a/site/config/routes.rb b/site/config/routes.rb
index dbecd4f..19fcaba 100644
--- a/site/config/routes.rb
+++ b/site/config/routes.rb
@@ -1,3 +1,18 @@
+# Gentoo Council Web App - to help Gentoo Council do their job better
+# Copyright (C) 2011 Joachim Filip Bartosik
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, version 3 of the License
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
Council::Application.routes.draw do
root :to => 'front#index'