From 5b2d5701bd3f3c9543b37f21c8724ba74d1b90f8 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 24 Dec 2006 13:35:00 +0000 Subject: [PATCH] headers added on source files git-svn-id: http://redmine.rubyforge.org/svn/branches/work@105 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- scm/app/controllers/repositories_controller.rb | 17 +++++++++++++++++ scm/app/helpers/repositories_helper.rb | 17 +++++++++++++++++ scm/app/models/repository.rb | 17 +++++++++++++++++ scm/app/models/svn_repos.rb | 17 +++++++++++++++++ 4 files changed, 68 insertions(+) diff --git a/scm/app/controllers/repositories_controller.rb b/scm/app/controllers/repositories_controller.rb index 46f6eb48f..9dbbfebd9 100644 --- a/scm/app/controllers/repositories_controller.rb +++ b/scm/app/controllers/repositories_controller.rb @@ -1,3 +1,20 @@ +# redMine - project management software +# Copyright (C) 2006 Jean-Philippe Lang +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + class RepositoriesController < ApplicationController layout 'base' before_filter :find_project, :authorize diff --git a/scm/app/helpers/repositories_helper.rb b/scm/app/helpers/repositories_helper.rb index 2860b5a91..2c7dcdd53 100644 --- a/scm/app/helpers/repositories_helper.rb +++ b/scm/app/helpers/repositories_helper.rb @@ -1,2 +1,19 @@ +# redMine - project management software +# Copyright (C) 2006 Jean-Philippe Lang +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + module RepositoriesHelper end diff --git a/scm/app/models/repository.rb b/scm/app/models/repository.rb index dc5b9d9df..28f2c5a16 100644 --- a/scm/app/models/repository.rb +++ b/scm/app/models/repository.rb @@ -1,3 +1,20 @@ +# redMine - project management software +# Copyright (C) 2006 Jean-Philippe Lang +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + class Repository < ActiveRecord::Base belongs_to :project validates_presence_of :url diff --git a/scm/app/models/svn_repos.rb b/scm/app/models/svn_repos.rb index 0eb4de24f..55a9f3ea4 100644 --- a/scm/app/models/svn_repos.rb +++ b/scm/app/models/svn_repos.rb @@ -1,3 +1,20 @@ +# redMine - project management software +# Copyright (C) 2006 Jean-Philippe Lang +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + require 'rexml/document' module SvnRepos