Giter Club home page Giter Club logo

redmine_preview_pdf's People

Contributors

hugohasenbein avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

redmine_preview_pdf's Issues

mobile view error

pdf file 3 page..
plugin setting is with ..object..embed..-tag
can see it right on the desktop
but, There's only one page in the whole thing on the mobile.

my phone iso
3 apps test
(while,chorm,safari)

It's the same thing if change the theme.

undefined method `alias_method_chain'

After installing the plugin I get the following error when I try to start redmine:

plugins/redmine_preview_pdf/lib/redmine_preview_pdf/patches/attachments_controller_patch.rb:32:in `block in included': undefined method `alias_method_chain' for AttachmentsController:Class (NoMethodError)
Did you mean?  alias_method

I am using ruby 2.4.6 with rails 5.2.3

Please add information on README.ms

To make it work, you need to install:

on Centos:
yum install file file-devel

on Debian:
sudo apt-get install libmagic-dev

And then run on REDMINE_BASE_PATH:
bundle install --without development test

ActionController::UnknownFormat (ActionController::UnknownFormat)

Hi,

REST API broken after install the plugin. Please fix it.

If I try download attachments via REST API,

Example
/redmine/attachments/20314.json?key=[key]

I got error in logs:
ActionController::UnknownFormat (ActionController::UnknownFormat):
plugins/redmine_preview_pdf/lib/redmine_preview_pdf/patches/attachments_controller_patch.rb:70:in `show_with_pdf'

I thinking you need add condition for API. Like this format.api

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.