hugohasenbein / redmine_preview_pdf Goto Github PK
View Code? Open in Web Editor NEWPlugin for Redmine. Show pdf attachments in preview pane.
Home Page: https://www.redmine.org/plugins/redmine_preview_pdf
License: GNU General Public License v2.0
Plugin for Redmine. Show pdf attachments in preview pane.
Home Page: https://www.redmine.org/plugins/redmine_preview_pdf
License: GNU General Public License v2.0
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.
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
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
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.