Giter Site home page Giter Site logo

redmine_etherpad's Introduction

What does it do?

This redmine plugin adds a macro in your redmine wikis, which allows the embedding of etherpads. It provides the same result as this hack, but more easily, and without the unsafety of allowing arbitrary html.

Macro: etherpad()

To use, just add {{etherpad(nameOfPad)}} to the issue/wiki/page in which to embed a pad.

Requires at least one argument, the name of the etherpad to embed.

Other arguments should be listed in “key=val” format, and include:

  • width: the width of the iframe (e.g. “640px”, “100%”), default=640px.
  • height: the height of the iframe (e.g. (“800px”), default=480px.
  • showControls: true/false (default true)
  • showChat: true/false (default true)
  • showLineNumbers: true/false (default false)
  • useMonospaceFont: true/false (default false)
  • noColors: true/false (default false)

Example:

{{etherpad(myHotPad, useMonospaceFont=true, width=100%)}}

Installation

Navigate to:
[redmine_install_path]/vendors/plugins

Clone this repo:
git clone git://github.com/yourcelf/redmine_etherpad.git

Configuration

Add an “etherpad” configuration section to “config/configuration.yml” in which you define the etherpad host to use:

default:
  etherpad:
    host: https://etherpad.example.com

You can also list any of the embed arguments to replace defaults, for example:

default:
  etherpad:
    host: https://etherpad.example.com
    showLineNumbers: true
    useMonospaceFont: true

redmine_etherpad's People

Contributors

bpoussin avatar yourcelf 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.