Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 60 of 238  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
icon5.gif   Find empty attributes, posted by Arno Teunisse on Tue Feb 16 23:19:31 2016 
Want to use the find function from ELOG to search for empty fields ( Attributes that are not defined ) 
How to do that ? 
Could not find it in the Forum.
    icon2.gif   Re: Find empty attributes, posted by Stefan Ritt on Wed Feb 17 08:18:05 2016 
Unfortunately not possible.

Stefan




Arno
    icon2.gif   Re: Find empty attributes, posted by Andreas Luedeke on Wed Feb 17 18:08:53 2016 
It is possible for normal string attributes: the regular expression pattern "^$" can be used to search for an empty string.

E.g.
in this Forum "ELOG Version" is a required attribute, and should never be empty. But if you search for:

https://midas.psi.ch/elogs/Forum/?mode=threaded&reverse=0&reverse=1&npp=8&ELOG+Version=^%24

you'll
find a couple of entries from a time where it apparently wasn't a required attribute.

Cheers

Andreas

       icon2.gif   Re: Find empty attributes, posted by Stefan Ritt on Wed Feb 17 18:33:18 2016 
Cool, I didn't know that trick myself, thanks for sharing.




Andreas
Luedeke wrote:



It is possible for normal string attributes: the regular expression
icon1.gif   size of atributes in summary mode, posted by Diego on Wed Feb 10 22:55:42 2016 elog_pic.PNG
Good night,

I would be grateful if someone could indicate me, how could I increase the size of the block where the text of the atribute are in the summary
mode.I would like, for example, increase the size of the "subject" you can see on the picture.
    icon2.gif   Re: size of atributes in summary mode, posted by Diego on Wed Feb 10 23:44:38 2016 
I answer myself... Modify the value of width=100% in the class .listtitle2 in the .css file.




Diego
wrote:



Good night,
icon5.gif   New entry cannot be written to directory "/usr/local/elog/logbooks/demo/", posted by Tapasi Ghosh on Mon Feb 8 13:52:33 2016 image.png
Dear All,

I could not submit a new enetry to my logbook whenever restarting my laptop.  I am a new user to elog.

Attached is the screenshot of the error message and also there is "nobody" while I grep elog.
    icon2.gif   Re: New entry cannot be written to directory "/usr/local/elog/logbooks/demo/", posted by Andreas Luedeke on Mon Feb 8 15:07:05 2016 
You should check if the directory /usr/local/elog/logbooks/demo belongs to the right user and has the right write permissions.

Since the elogd process belongs to the user "nobody", the directory should best belong to "nobody" as well (or - not recommended
- allows write access for "others")
       icon2.gif   Re: New entry cannot be written to directory "/usr/local/elog/logbooks/demo/", posted by Tapasi Ghosh on Mon Feb 8 16:19:11 2016 
Thanks for your reply.

I am the user and  it also has the write access 

cd /usr/local/elog/
          icon2.gif   Re: New entry cannot be written to directory "/usr/local/elog/logbooks/demo/", posted by Andreas Luedeke on Mon Feb 8 16:27:45 2016 
The process elogd runs as the user "nobody". This user obviously cannot write to /usr/local/elog/logbooks/demo.

But apparently you've created the wrong directory anyway: you've listed /usr/local/elog/demo, but ELOG looks for /usr/local/elog/logbooks/demo.

Cheers, Andreas
             icon2.gif   Re: New entry cannot be written to directory "/usr/local/elog/logbooks/demo/", posted by Tapasi Ghosh on Mon Feb 8 17:40:27 2016 
Sorry, it was my mistake while copying  from terminal to the email .  There is no "demo" directory under /usr/local/lib.

Tapasis-MacBook-Pro:elog tapasi$ cd  /usr/local/elog/logbooks/demo

Tapasis-MacBook-Pro:demo tapasi$ ls -ltr
                icon2.gif   Re: New entry cannot be written to directory "/usr/local/elog/logbooks/demo/", posted by Stefan Ritt on Mon Feb 8 19:29:47 2016 
Use

usr = <user anme>

in elogd.cfg as written in the documentation.
icon6.gif   Applying cell style or some sort of subst in list view only, posted by Francois Cloutier on Thu Feb 4 14:21:19 2016 
Good day,

I have an attribute that is 25 chars. it can be empty until someone edit it to fill the information.
    icon2.gif   Re: Applying cell style or some sort of subst in list view only, posted by Stefan Ritt on Thu Feb 4 14:47:50 2016 
> Good day,

> I have an attribute that is 25 chars. it can be empty until someone edit it to fill the information.
    icon2.gif   Re: Applying cell style or some sort of subst in list view only, posted by Andreas Luedeke on Thu Feb 4 15:07:07 2016 
> Good day,

> I have an attribute that is 25 chars. it can be empty until someone edit it to fill the information.
icon5.gif   Can I host elog in the web under windows platform without Apache Web Server?, posted by Dawang on Fri Jan 15 00:20:42 2016 
Hi All,

Can I host elog in the web (internet) under windows platform (elogd.exe only) without Apache Web Server? If possible, what syntax should I add
in the configuration file? Appreciate feedback. Thanks.
    icon2.gif   Re: Can I host elog in the web under windows platform without Apache Web Server?, posted by Stefan Ritt on Fri Jan 15 08:04:09 2016 
When you install elog under windows, an example config file gets installed which lets you do already what you want. Then you can extend the config file
according to the documentation https://midas.psi.ch/elog/config.html




Dawang
    icon5.gif   Re: Can I host elog in the web under windows platform without Apache Web Server?, posted by Andreas Luedeke on Fri Jan 15 15:31:54 2016 
I admit that I'm not sure if I understood the question. It is quite some work to do the opposite, to run elog behind an Apache Web Server.

But
if you just install ELOG out of the box it will always run without an Apache Web Server. You don't need to add anything in the config file for that.




Dawang wrote:


       icon2.gif   Re: Can I host elog in the web under windows platform without Apache Web Server?, posted by Dawang on Fri Jan 29 05:38:03 2016 
Thanks Andreas and Stefan,

Since I'm not good in setting up webserver, do you know a web hosting company that can I use to integrate elog so that i can access
my elog publicly same as you are using here? Thanks.
          icon2.gif   Re: Can I host elog in the web under windows platform without Apache Web Server?, posted by Andreas Luedeke on Fri Jan 29 06:35:05 2016 
Can't help you with that, and I think it is the wrong forum to ask that question.

You'll need a web service provider that will
allow you to run your own services.

And then it'll either require some skills in host administration or a full host service by the provider.

Cheers,
Andreas




Dawang
icon4.gif   attachments created using "Image" button can not be clicked-on and do not appear in the attachment table., posted by Devin Bougie on Wed Jan 27 21:33:53 2016 
This has been confirmed usign the Demo forum on this server.  For example, please see https://midas.psi.ch/elogs/Linux+Demo/8

When an image is attached using the "Image" button in the CKEditor, that image does not appear in the attachment table for that
entry.  In addition, the image can not be clicked on to view the full image.
    icon2.gif   Re: attachments created using "Image" button can not be clicked-on and do not appear in the attachment table., posted by Devin Bougie on Thu Jan 28 20:02:06 2016 
As there appears to be some inconsistencies, I thought I'd document the behaviour of each of the attachment options.

------

1. Click on the "Image" button in the CKEditor, click on "Choose File" and browse to the file, click on "Send it to
icon5.gif   entry does not appear in list while it is being edited, posted by Devin Bougie on Wed Jan 20 20:38:17 2016 
When an entry is being edited, it does not appear in the list once it's been autosaved or the editor manually clicks on "Save."  This
has been reproduced in the "Linux Demo" forum on this site, as well as on a clean installation of the 3.1.1 binary on EL6.

It would be great if there was a configuraiton option to control this, but I haven't found it yet.  To reproduce:
    icon2.gif   Re: entry does not appear in list while it is being edited, posted by Andreas Luedeke on Thu Jan 21 11:39:18 2016 elog-pending-draft.png
Hi Devin,

this is the intended bevaviour, there is nothing wrong with that.

Only a submitted entry should be visible to
the world.

If you would have played a little bit longer, you would have found out yourself how you'll get access again to this so-called
"draft" entry after closing the browser window:

as soon as you attempt to create - as the same user - an new entry, you'll
       icon2.gif   Re: entry does not appear in list while it is being edited, posted by Devin Bougie on Thu Jan 21 16:00:30 2016 
Thanks, Andreas.  I was aware of the "pending draft" menu, and I am aware that you can manually browse to an entry even if it doesn't
appear in the list.  However, for our operations group it is a requirement that any saved entry appears in the list, even if it's in the process
of being edited.  We won't be able to upgrade until this is possible.  
          icon2.gif   Re: entry does not appear in list while it is being edited, posted by Stefan Ritt on Fri Jan 22 10:12:33 2016 
I have a question here. You say "previsous releases didn't have this problems". Well, they did not have the auto-save feature. You can
turn this off if you like with "autosave = 0". This also removes the "Save" button so elog behaves exactly as before.

I decided NOT to show draft entries in the list, because these are entries currently under editing, and maybe the editor does not want others
             icon2.gif   Re: entry does not appear in list while it is being edited, posted by Devin Bougie on Fri Jan 22 18:02:44 2016 
Thanks, Stefan!  Yes, the old behavior is an acceptable workaround.  Although you need to use "Save drafts = 0" for this instead
of "autosave = 0".

Ideally, our machine studies group would like to have the ability to save / autosave an entry *and* have it remain in the list.  We'd
icon5.gif   drag and drop attachments not working with web server authentication, posted by Devin Bougie on Tue Jan 12 17:38:52 2016 
Hello,

The "Drop attachments here..." section does not work when using Webserver authentication.  Both elog 3.1.1 (the binary RPM) and apache are running
on EL6.6 and are configured according to the docs.  Authentication works fine and the normal "Choose File - Upload" attachment table works fine.  However,
when dragging an attachment to the "Drop attachments here..." section the dashes on the border turn green but when dropping the attachment nothing happens.
    icon2.gif   Re: drag and drop attachments not working with web server authentication, posted by Stefan Ritt on Tue Jan 12 21:07:59 2016 
Have a look here: elog:68014




Devin
Bougie wrote:


Hello, The "Drop attachments here..." section does not work when
       icon2.gif   Re: drag and drop attachments not working with web server authentication, posted by Devin Bougie on Tue Jan 12 21:13:54 2016 
Thanks, Stefan.  I read that before asking my question, but didn't see a resolution in that thread.  I am already at 3.1.1, and I am testing
on a clean installation.  Are you saying that the solution is in the development branch after the release of 3.1.1?

 
          icon2.gif   Re: drag and drop attachments not working with web server authentication, posted by Stefan Ritt on Tue Jan 12 21:19:25 2016 
No. What the thread says is first try this forum, see if you can drag and drop here. If not, you have a problem on your browser. If yes, you have somewhere
some old JavaScript file around. Might be in the cache of your browser.




Devin
             icon2.gif   Re: drag and drop attachments not working with web server authentication, posted by Devin Bougie on Tue Jan 12 21:31:42 2016 

Yeah, I had tried that and it did work in your demo forum.  It just didn't work in mine with authentication = webserver, even with a clean
browser profile.  
                icon5.gif   drag and drop attachments only working for admins if "restrict edit = 1", posted by Devin Bougie on Tue Jan 19 22:03:36 2016 
I'm finally able to reproduce this, and my initial description was incorrect.  If we have "restrict edit = 1", only an "Admin
user" can use the "Dop attachments here..." or the "Image" button in the CKEditor.  The old "Choose File,"
"Upload" buttons, however, works just fine for anyone.
ELOG V3.1.5-3fb85fa6