Skip to content

Commit

Permalink
GPL-ing
Browse files Browse the repository at this point in the history
  • Loading branch information
hdgarrood committed Mar 10, 2012
1 parent be0ddb5 commit 00f8ed0
Show file tree
Hide file tree
Showing 12 changed files with 839 additions and 64 deletions.
674 changes: 674 additions & 0 deletions COPYING

Large diffs are not rendered by default.

64 changes: 0 additions & 64 deletions README.md

This file was deleted.

21 changes: 21 additions & 0 deletions README.textile
@@ -0,0 +1,21 @@
h3. Release notes for Redmine

This is a plugin which will allow you to store, manage, and generate lists
of release notes for Redmine projects.

There is more information on the "wiki":[[Home]].

Copyright � 2012 Harry Garrood

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 3 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, see <http://www.gnu.org/licenses/>.
16 changes: 16 additions & 0 deletions app/controllers/release_notes_controller.rb
@@ -1,3 +1,19 @@
# Copyright © 2012 Harry Garrood
# This file is a part of redmine_release_notes.

# redmine_release_notes 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 3 of the License, or
# (at your option) any later version.

# redmine_release_notes 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 redmine_release_notes. If not, see <http://www.gnu.org/licenses/>.

class ReleaseNotesController < ApplicationController
unloadable

Expand Down
16 changes: 16 additions & 0 deletions app/helpers/release_notes_helper.rb
@@ -1,3 +1,19 @@
# Copyright © 2012 Harry Garrood
# This file is a part of redmine_release_notes.

# redmine_release_notes 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 3 of the License, or
# (at your option) any later version.

# redmine_release_notes 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 redmine_release_notes. If not, see <http://www.gnu.org/licenses/>.

module ReleaseNotesHelper

CONFIG = YAML.load_file("#{RAILS_ROOT}/vendor/plugins/redmine_release_notes/config/config.yml")
Expand Down
16 changes: 16 additions & 0 deletions app/models/release_note.rb
@@ -1,3 +1,19 @@
# Copyright © 2012 Harry Garrood
# This file is a part of redmine_release_notes.

# redmine_release_notes 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 3 of the License, or
# (at your option) any later version.

# redmine_release_notes 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 redmine_release_notes. If not, see <http://www.gnu.org/licenses/>.

class ReleaseNote < ActiveRecord::Base
unloadable
belongs_to :issue
Expand Down
16 changes: 16 additions & 0 deletions config/routes.rb
@@ -1,3 +1,19 @@
# Copyright © 2012 Harry Garrood
# This file is a part of redmine_release_notes.

# redmine_release_notes 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 3 of the License, or
# (at your option) any later version.

# redmine_release_notes 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 redmine_release_notes. If not, see <http://www.gnu.org/licenses/>.

ActionController::Routing::Routes.draw do |map|
map.resources :release_notes, :collection => {:update => :put}
end
16 changes: 16 additions & 0 deletions db/migrate/001_create_release_notes.rb
@@ -1,3 +1,19 @@
# Copyright © 2012 Harry Garrood
# This file is a part of redmine_release_notes.

# redmine_release_notes 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 3 of the License, or
# (at your option) any later version.

# redmine_release_notes 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 redmine_release_notes. If not, see <http://www.gnu.org/licenses/>.

class CreateReleaseNotes < ActiveRecord::Migration
def self.up
create_table :release_notes do |t|
Expand Down
16 changes: 16 additions & 0 deletions db/migrate/002_increase_release_notes_length_limit.rb
@@ -1,3 +1,19 @@
# Copyright © 2012 Harry Garrood
# This file is a part of redmine_release_notes.

# redmine_release_notes 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 3 of the License, or
# (at your option) any later version.

# redmine_release_notes 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 redmine_release_notes. If not, see <http://www.gnu.org/licenses/>.

class IncreaseReleaseNotesLengthLimit < ActiveRecord::Migration
def self.up
change_column :release_notes, :text, :string, :limit => 2000
Expand Down
16 changes: 16 additions & 0 deletions init.rb
@@ -1,3 +1,19 @@
# Copyright © 2012 Harry Garrood
# This file is a part of redmine_release_notes.

# redmine_release_notes 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 3 of the License, or
# (at your option) any later version.

# redmine_release_notes 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 redmine_release_notes. If not, see <http://www.gnu.org/licenses/>.

require 'redmine'
require 'redmine_release_notes/hooks'

Expand Down
16 changes: 16 additions & 0 deletions lib/redmine_release_notes/hooks.rb
@@ -1,3 +1,19 @@
# Copyright © 2012 Harry Garrood
# This file is a part of redmine_release_notes.

# redmine_release_notes 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 3 of the License, or
# (at your option) any later version.

# redmine_release_notes 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 redmine_release_notes. If not, see <http://www.gnu.org/licenses/>.

module RedmineReleaseNotes
class Hooks < Redmine::Hook::ViewListener
render_on :view_issues_show_description_bottom,
Expand Down
16 changes: 16 additions & 0 deletions lib/redmine_release_notes/issue_patch.rb
Expand Up @@ -4,6 +4,22 @@

require 'yaml'

# Copyright © 2012 Harry Garrood
# This file is a part of redmine_release_notes.

# redmine_release_notes 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 3 of the License, or
# (at your option) any later version.

# redmine_release_notes 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 redmine_release_notes. If not, see <http://www.gnu.org/licenses/>.

module RedmineReleaseNotes

# Yes, I know this also happens in ReleaseNotesHelper. I am very sorry for this awful practice.
Expand Down

0 comments on commit 00f8ed0

Please sign in to comment.