HugoHasenbein / redmine_more_previews

Redmine plugin to preview various file types in redmine's preview pane
https://www.redmine.org/plugins/redmine_more_previews
GNU General Public License v2.0
46 stars 15 forks source link

can I preview redmine_dmsf doc #53

Open chengpeng321 opened 2 years ago

chengpeng321 commented 2 years ago

I can't preview Microsoft Office for DMSF, Do you have any good suggestions ?

redmine_dmsf:https://github.com/danmunn/redmine_dmsf/issues

HugoHasenbein commented 2 years ago

Dear Cheng,

the plugin redmine_dmsf uses it's own controller to deliver files for viewing. My plugin patches Redmine's attachments controller and the repositories controller. In redmine there is no central file delivery process, which could be altered. The only thing one could do is to patch redmine_dmsf, which, in turn would cause a great mess. Another option would be to ask the author of redmine_dmsf to insert so called 'hooks' into his program to be able to hook into the file delivery process. I could ask.

best regards

Stephan Wenzel

Am 17.05.2022 um 04:12 schrieb chengpeng321 @.***>:

I can't preview Microsoft Office for DMSF, Do you have any good suggestions ?

redmine_dmsf:https://github.com/danmunn/redmine_dmsf/issues https://github.com/danmunn/redmine_dmsf/issues — Reply to this email directly, view it on GitHub https://github.com/HugoHasenbein/redmine_more_previews/issues/53, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJWRDRFVRNR5NNQYUJDUP7TVKL57VANCNFSM5WDKSWCQ. You are receiving this because you are subscribed to this thread.

chengpeng321 commented 2 years ago

Dear Cheng, the plugin redmine_dmsf uses it's own controller to deliver files for viewing. My plugin patches Redmine's attachments controller and the repositories controller. In redmine there is no central file delivery process, which could be altered. The only thing one could do is to patch redmine_dmsf, which, in turn would cause a great mess. Another option would be to ask the author of redmine_dmsf to insert so called 'hooks' into his program to be able to hook into the file delivery process. I could ask. best regards Stephan Wenzel Am 17.05.2022 um 04:12 schrieb chengpeng321 @.***>: I can't preview Microsoft Office for DMSF, Do you have any good suggestions ? redmine_dmsf:https://github.com/danmunn/redmine_dmsf/issues https://github.com/danmunn/redmine_dmsf/issues — Reply to this email directly, view it on GitHub <#53>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJWRDRFVRNR5NNQYUJDUP7TVKL57VANCNFSM5WDKSWCQ. You are receiving this because you are subscribed to this thread.

thank you very nuch.