Code Monkey home page Code Monkey logo

redmine-task-manager's Introduction

Redmine Task Manager
--------------------

The project is to convert this Javascript into a Redmine
plugin in order to propose its installation into
the Redmine Plugins inventory.

Install:
--------

The way to make this work is slightly simple:

* Install this js file into the $REDMINE_HOME/public/javascripts/
  directory
* Modify the file $REDMINE_HOME/lib/redcloth3.rb to allow HTML 
  tags:

  HTML_TAGS = [
  "blockquote", "body", "br", "div", "h1", "h2", "h3", "h4", "h5", "h6", "head", "hr", "html", "p",
  "base", "link", "meta", "script", "style", "title",
  "dd", "dir", "dl", "dt", "li", "menu", "ol", "ul",
  "a", "abbr", "acronym", "address", "b", "basefont", "bdo", "big", "blink", "center", "cite", "code", "comment", "del", "dfn",
  "em", "font", "i", "ins", "kbd", "marquee", "nobr", "noscript", "plaintext", "pre", "q", "rb", "rbc", "rp", "rt", "rtc",
  "ruby", "s", "samp", "small", "span", "strike", "strong", "sub", "sup", "tt", "u", "var", "wbr", "xmp",
  "button", "fieldset", "form", "input", "isindex", "label", "legend", "optgroup", "option", "select", "textarea",
  "applet", "area", "bgsound", "embed", "img", "map", "noembed", "object", "param",
  "caption", "col", "colgroup", "table", "tbody", "td", "tfoot", "th", "thead", "tr",
  "frame", "frameset", "noframes", "iframe" 
  ]


  ALLOWED_TAGS = %w(redpre pre code notextile)


  HTML_TAGS.each do |tag_html|
  ALLOWED_TAGS << tag_html
  end

  right after the "clean_html" function definition.

* And now create a wiki page in your project with the following lines:

  <script src="/javascripts/JInterface.js" type="text/javascript"></script>
  <script src="/javascripts/JLib.js" type="text/javascript"></script>
  <script src="/javascripts/TGrabber.js" type="text/javascript"></script>
  <script src="/javascripts/JList.js" type="text/javascript"></script>

  <script>JInterface.init(600)</script>


Notes:
------

As you can see it uses Scriptacolous, an already included library in Redmine.

Regards,

Joax.

Author:
-------

Joaquin Ayuso de Paul
http://joax.wordpress.com
[email protected]

redmine-task-manager's People

Stargazers

Christian Hochfilzer avatar

Watchers

Christian Hochfilzer avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.