Commit 724d6bd15415a47a6f2e16441abbb09318aafd04

Authored by Evandro Jr
1 parent 33740ba0
Exists in master

Added Readme and fixed loading flower in Firefox

README.md 0 → 100644
@@ -0,0 +1,19 @@ @@ -0,0 +1,19 @@
  1 +README - Comment Classification Plugin
  2 +======================================
  3 +
  4 +This plugin creates the structure for classifying the comments. The
  5 +initial idea of this plugin is to support the management of public
  6 +consulting, but it can be used in different contexts.
  7 +For now, two kind of classification will be available:
  8 +
  9 + * Label: when creating a comment, the user identify the kind of it by
  10 +choosing the label of the comment. Example: "Suggestion",
  11 +"Disagreement"...
  12 + * Status: users with permission can include a Status for a comment.
  13 +Example: "Merged", "Unmerged"
  14 +
  15 +Dependency
  16 +==========
  17 +
  18 +This plugin was developed to help public consulting and needs the
  19 +CommentGroupPlugin enabled to be used.
db/migrate/20140715190748_add_setting_to_comments.rb
@@ -1,9 +0,0 @@ @@ -1,9 +0,0 @@
1 -class AddSettingToComments < ActiveRecord::Migration  
2 - def self.up  
3 - add_column :comments, :setting, :text unless column_exists?(:comments, :setting)  
4 - end  
5 -  
6 - def self.down  
7 - remove_column :comments, :setting  
8 - end  
9 -end  
db/migrate/20140715190749_add_setting_to_comments.rb 0 → 100644
@@ -0,0 +1,9 @@ @@ -0,0 +1,9 @@
  1 +class AddSettingToComments < ActiveRecord::Migration
  2 + def self.up
  3 + add_column :comments, :setting, :text unless column_exists?(:comments, :setting)
  4 + end
  5 +
  6 + def self.down
  7 + remove_column :comments, :setting
  8 + end
  9 +end
db/migrate/20140715201629_add_paragraph_id_to_comment.rb
@@ -1,9 +0,0 @@ @@ -1,9 +0,0 @@
1 -class AddParagraphIdToComment < ActiveRecord::Migration  
2 - def self.up  
3 - add_column :comments, :paragraph_id, :integer unless column_exists?(:comments, :paragraph_id)  
4 - end  
5 -  
6 - def self.down  
7 - remove_column :comments, :paragraph_id  
8 - end  
9 -end  
db/migrate/20140715201649_add_paragraph_id_to_comment.rb 0 → 100644
@@ -0,0 +1,9 @@ @@ -0,0 +1,9 @@
  1 +class AddParagraphIdToComment < ActiveRecord::Migration
  2 + def self.up
  3 + add_column :comments, :paragraph_id, :integer unless column_exists?(:comments, :paragraph_id)
  4 + end
  5 +
  6 + def self.down
  7 + remove_column :comments, :paragraph_id
  8 + end
  9 +end