Commit 4330b59e437e1db1dcaf89e205ed96f4f493ab32

Authored by Evandro Jr
1 parent 365df5bd

Added Readme and fixed loading flower in Firefox

plugins/comment_paragraph/README.md 0 → 100644
... ... @@ -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.
... ...
plugins/comment_paragraph/db/migrate/20140715190748_add_setting_to_comments.rb
... ... @@ -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
plugins/comment_paragraph/db/migrate/20140715190749_add_setting_to_comments.rb 0 → 100644
... ... @@ -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
... ...
plugins/comment_paragraph/db/migrate/20140715201629_add_paragraph_id_to_comment.rb
... ... @@ -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
plugins/comment_paragraph/db/migrate/20140715201649_add_paragraph_id_to_comment.rb 0 → 100644
... ... @@ -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
... ...