-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
works not in Redmine 4.0.4 #95
Comments
Hello, |
Hello, For fixing this, you need to replace this line to init.rb:
After these modification, the plugin works fine, but the saving don't. Sorry, I give up at this point. (I'm not a ruby developer) Any help would be greatly appreciated! |
Great. If the saving process works I will try it again. |
You can test my version https://github.com/fraoustin/clipboard_image_paste.git |
It's working. Thanks a lot! |
Well here it is not working! Tried it in Redmine 4.0.4.stable. |
I use docker for run redmine, my Dockerfile
and it's run: copying from clipboard a screenshot I use chrome and firefox |
I tested it on two machines now with different Firefox versions AND Chrome. Windows 7 and windows 10. Clipboard copy doenst work. Only drag and drop. Can you explain me how you copy from clipboard? I tried it with an existing image by klicking "copy" and also tried it with copying directly from snipping tool. I inserted it with CTRL + V in a comment and in a ticket description. unfortunately it didnt work. |
nothing special, just click on "print screen" of my keyboard, after click on input description of my new issue and after CRTL+V ... |
Do y ou have activate javascript or security in you browser? |
I had no special settings no... i did some more research and found that "image_paste.js" was not loaded. 404 not found. i uninstalled the plugin again, removed the "-master" folder ending in plugins folder and reinstalled it. now it works fine. maybe that was the reason? my plugin folder is now called "redmine_image_clipboard_paste". i have no clue. for sure the problem was that the js was not loaded. now its working. thanks anyway for caring! |
But I found another problem. When I edit an existing ticket comment then I can not paste any screenshot there. It pasted the screenshot insert code but i guess the reference file is not uploaded and so its not be converted into a real image. I could imagine this is a redmine limitation because there is no file upload when editing comments right? if thats the reason there should be a check in JS like "If file upload existing => do as it works now => ELSE => dont paste the insert code!" this way we could avoid to confuse the user. The user thinks that paste worked and he looses the screenshot if he is not double checking it. Maybe its event better to paste a message "Screenshot copy is not working here". Then its clear. you know what I mean? |
I understand: if you change a issue (not add note issue but change description) the CRTL V add "link" but not file ... it's ok ? Have you checked your authorization in redmine? |
https://github.com/thorin/redmine_image_clipboard_paste.git It's working on redmine 4.1.0. Thanks a lot! |
Test in Redmine 4.0.4 (in Development)
when draging the plugin into the plugins-folder:
The text was updated successfully, but these errors were encountered: