Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Drag and drop does not work in 3.1.3?, posted by Lech on Tue Aug 20 09:47:06 2019 
    icon2.gif   Re: Drag and drop does not work in 3.1.3?, posted by Stefan Ritt on Tue Aug 20 10:34:37 2019 
       icon2.gif   Re: Drag and drop does not work in 3.1.3?, posted by Lech on Tue Aug 20 11:37:03 2019 
          icon2.gif   Re: Drag and drop does not work in 3.1.3?, posted by Stefan Ritt on Tue Aug 20 11:45:14 2019 
             icon2.gif   Re: Drag and drop does not work in 3.1.3?, posted by Lech on Tue Aug 20 13:28:53 2019 
                icon2.gif   Re: Drag and drop does not work in 3.1.3?, posted by Andreas Luedeke on Tue Aug 20 17:03:57 2019 
                   icon2.gif   Re: Drag and drop does not work in 3.1.3?, posted by Lech on Wed Aug 21 02:21:57 2019 
                      icon2.gif   Re: Drag and drop does not work in 3.1.3?, posted by Lech on Wed Aug 21 07:00:17 2019 
Message ID: 69015     Entry time: Wed Aug 21 07:00:17 2019     In reply to: 69014
Icon: Reply  Author: Lech  Author Email: subs@lwp.email 
Category: Question  OS: Linux  ELOG Version: 3.1.3 
Subject: Re: Drag and drop does not work in 3.1.3? 

I've discovered, that if I switch my local elog to SSL, dropping of images starts to work (as expected). However... pasting stops. If I select "paste" popup, I got the message about my browser security settings not allowing to paste, and that I can paste in the popup window. In Firefox I can actually paste in the popup window (image appears there), but after clicking OK nothing appears in the editing window. In Chrome and Opera nothing appears even in the popup window. I played with FF security settings, enabling pasting for elog sites (both local and the demo on this site) as advised in many places on the internet, but it doesn't help. This may be a CKInter issue, although interesting that it works without SSL (and not properly, resulting in too big text being stored)

Lech wrote:

From what I've read in a past post, it is hitting the max content length because pasting, unlike dropping, is not properly supported and it is possible that images get converted to text in some way and occupy a lot of "content length". So what I mean is that the pasted image is handled the same way as the dropped image.

Btw. adjusting the Max content length, according to the message, requires recompilation of the program, so it is not only a matter of configuration.

Andreas Luedeke wrote:

> Btw. do you plan to properly accept pasting of images?

I would claim it is already properly supported. If you hit a size limit you can configure your ELOG to adjust the limit (Max content length).

Or did I misunderstand your question?

Lech wrote:

Thank you. Locally doesn't work for some reason... I'll try to investigate.

Btw. do you plan to properly accept pasting of images? Pasting a screenshot saves a lot of time when making logs.

Stefan Ritt wrote:

It's the config from the distribution. A copy is below.

Stefan


[global]
port = 8080

[demo]
Theme = default
Comment = General Linux Tips & Tricks
Attributes = Author, Type, Category, Subject, Pinned
Options Pinned = boolean
Options Type = Routine, Software Installation, Problem Fixed, Configuration, Other
Options Category = General, Hardware, Software, Network, Other
Extendable Options = Category
Required Attributes = Author, Type
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Type
Last default = 31

 

Lech wrote:

Can I find the config of the demo elog somewhere, so I could try it locally?

Stefan Ritt wrote:

The Drag & Drop was implemented already in 3.0.0 (see https://elog.psi.ch/elog/download/ChangeLog). So no idea why it's not working for you.

Stefan

Lech wrote:

Hello,

I can paste images into text (which resulted in the text_size too long error message), however, I can't drop them on my elog. However, I can do it on the demo version. Was the drag and drop into text already supported in version 3.1.3 and I am just missing some configuration option, or do I need to find a repository with a more recent version of elog?

Thanks!

 

 

 

 

 

 

 

ELOG V3.1.5-fe60aaf