ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

Add the text_formatting setting to the project settings (Feature #624)


Added by Riceball LEE at 2011-09-15 01:22 am. Updated at 2011-10-13 01:39 am.


Status:Open Start date:2011-09-15
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Text formatting
Target version:-
Remote issue URL: Affected version:

Description

I am writing a plugin to support multiple wiki formattings and let the project can select the text formatting in the project settings overview now.
But I have to patch some code into chili, I hate patch. I wish the project text_formatting setting can be migrate into chili directly.

the attachment is the patch.

Do not forget to migarate the db too.

 1
 2class UpdateProjectTextFormatting < ActiveRecord::Migration
 3  def self.up
 4    add_column :projects, :text_formatting, :string, :default => "", :null => false
 5  end
 6
 7  def self.down
 8    remove_column :projects, :text_formatting
 9  end
10end
11</class>
12

project_text_formatting.patch (2.4 kB) Riceball LEE, 2011-09-15 01:22 am


History

Updated by Eric Davis at 2011-10-13 01:39 am

  • Category set to Text formatting

Also available in: Atom PDF