Git Product home page Git Product logo

redmine_hedgedoc's Introduction

HedgeDoc plugin for Redmine

Rate at redmine.org Run Rubocop Run Brakeman Run Tests

Features

  • Show list of own HedgeDoc pads in Redmine
  • Show HedgeDoc pads in Redmine projects, if pad name has redmine identifier as prefix. Eg. MyProject: MyPad

Redmine Requirements

  • Redmine version >= 5
  • Redmine Plugin: additionals
  • Ruby version >= 2.7.0

HedgeDoc Requirements

  • HedgeDoc version: all
  • E-Mail authentification

Installation

Install redmine_hedgedoc plugin for Redmine

cd $REDMINE_ROOT
git clone git://github.com/alphanodes/additionals.git plugins/additionals
git clone git://github.com/alphanodes/redmine_hedgedoc.git plugins/redmine_hedgedoc
bundle install --without development test
bundle exec rake redmine:plugins:migrate RAILS_ENV=production

Restart Redmine (application server) and you should see the plugin show up in the Plugins page.

Configuration

Redmine needs access to HedgeDoc database. Add in your config/database.yml an paragraph names "hedgedoc", e.g.

hedgedoc:
  adapter: postgresql
  database: hedgedoc
  host: localhost
  username: hedgedoc
  password: hedgedoc
  encoding: utf8
  schema_search_path: public

Uninstall

Uninstall redmine_hedgedoc

cd $REDMINE_ROOT
rm -rf plugins/redmine_hedgedoc

Restart Redmine (application server)

redmine_hedgedoc's People

Contributors

alexandermeindl avatar claudiameindl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

redmine_hedgedoc's Issues

redmine-3.4.5-0 install failed.

bash-4.2$ rake redmine:plugins:migrate RAILS_ENV=production
rake aborted!
NameError: uninitialized constant Emoji
/home/redmine/redmine-3.4.5-0/apps/redmine/htdocs/plugins/additionals/lib/additionals.rb:24:in `setup'
/home/redmine/redmine-3.4.5-0/apps/redmine/htdocs/plugins/additionals/init.rb:44:in `block in <top (required)>'
/home/redmine/redmine-3.4.5-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/callbacks.rb:446:in `instance_exec'
/home/redmine/redmine-3.4.5-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/callbacks.rb:446:in `block in make_lambda'
/home/redmine/redmine-3.4.5-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/callbacks.rb:192:in `block in simple'
/home/redmine/redmine-3.4.5-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/callbacks.rb:504:in `block in call'
/home/redmine/redmine-3.4.5-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/callbacks.rb:504:in `each'
/home/redmine/redmine-3.4.5-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/callbacks.rb:504:in `call'
/home/redmine/redmine-3.4.5-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
/home/redmine/redmine-3.4.5-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/callbacks.rb:778:in `_run_prepare_callbacks'
/home/redmine/redmine-3.4.5-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/callbacks.rb:81:in `run_callbacks'
/home/redmine/redmine-3.4.5-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.8/lib/action_dispatch/middleware/reloader.rb:83:in `prepare!'
/home/redmine/redmine-3.4.5-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.8/lib/action_dispatch/middleware/reloader.rb:55:in `prepare!'
/home/redmine/redmine-3.4.5-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/railties-4.2.8/lib/rails/application/finisher.rb:50:in `block in <module:Finisher>'
/home/redmine/redmine-3.4.5-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/railties-4.2.8/lib/rails/initializable.rb:30:in `instance_exec'
/home/redmine/redmine-3.4.5-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/railties-4.2.8/lib/rails/initializable.rb:30:in `run'
/home/redmine/redmine-3.4.5-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/railties-4.2.8/lib/rails/initializable.rb:55:in `block in run_initializers'
/home/redmine/redmine-3.4.5-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/railties-4.2.8/lib/rails/initializable.rb:54:in `run_initializers'
/home/redmine/redmine-3.4.5-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/railties-4.2.8/lib/rails/application.rb:352:in `initialize!'
/home/redmine/redmine-3.4.5-0/apps/redmine/htdocs/config/environment.rb:14:in `<top (required)>'
/home/redmine/redmine-3.4.5-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/railties-4.2.8/lib/rails/application.rb:328:in `require'
/home/redmine/redmine-3.4.5-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/railties-4.2.8/lib/rails/application.rb:328:in `require_environment!'
/home/redmine/redmine-3.4.5-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/railties-4.2.8/lib/rails/application.rb:457:in `block in run_tasks_blocks'
Tasks: TOP => redmine:plugins:migrate => environment
(See full trace by running task with --trace)

Fails if CodiMD auth method is SAML

When CodiMD uses SAML for authentication, the email column is not set in the CodiMD-Database. Thus, the pads are not shown in the list in Redmine because of the query condition email IS NOT NULL in the file app/models/codimd_pad.rb.

CodiMD repository changed

Hey, I just wanted to inform you, that the CodiMD repository changed as we moved into an own organization.

Background information: hedgedoc/hedgedoc#10

Would be great when you would update the links ๐Ÿ™‚

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.