Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 105 of 238  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
icon5.gif   Creating a form or table, posted by Terry Shuck on Thu Mar 24 16:37:55 2011 

Is there a way to open a form or table when clicking on New rather than going to a text field? Thanks, TS!

 

    icon2.gif   Re: Creating a form or table, posted by Stefan Ritt on Fri Apr 1 10:45:17 2011 Capture018.png

Terry Shuck wrote:

Is there a way to open a form or table when clicking on New rather than going to a text field? Thanks, TS!

 

 The HTML editor contains a table editor such as this:

this is
a table
   

Just click on the menu with the little table icon Capture018.png

    icon2.gif   Re: Creating a form or table, posted by Andreas Luedeke on Fri Apr 1 14:15:45 2011 

Terry Shuck wrote:
Is there a way to open a form or table when clicking on New rather than going to a text field? Thanks, TS! 

Hi Terry,
it is not exactly clear to me what you want.
You can define many different types of attributes to an entry.
Like this logbook has "Icon", "Author", "Author Email", "Category", ...
That automatically creates a form for the input.
Or you can have some pre-filled text in the text area, like a pre-defined table.
E.g. with the following line:
Preset Text = input-form.html
Every new entry will now contain the content of the file input-form.html
which could be some table or list, ...
       icon2.gif   Re: Creating a form or table, posted by Terry Shuck on Thu Apr 7 18:28:42 2011 

Andreas Luedeke wrote:

Terry Shuck wrote:
Is there a way to open a form or table when clicking on New rather than going to a text field? Thanks, TS! 

Hi Terry,
it is not exactly clear to me what you want.
You can define many different types of attributes to an entry.
Like this logbook has "Icon", "Author", "Author Email", "Category", ...
That automatically creates a form for the input.
Or you can have some pre-filled text in the text area, like a pre-defined table.
E.g. with the following line:
Preset Text = input-form.html
Every new entry will now contain the content of the file input-form.html
which could be some table or list, ...

 Thank you very much for your replies Stefan and Andreas!

I've played with the Preset Text = input-form.html however when I open a new form it just has text in there stating "input-form.html. I feel like I'm missing a way for the Configuration to find my html file.

I feel like I am close but I'm missing one piece of data. Here is what I'd like to have, when I click "New" I'd like this table to be automatically inserted in the body.

Time Town/Location Shift Change Description CRM 701 Author

Receipt

           
           
           
           
           
           
           
           
           
           
           
           

 

 

 

 

 

 

 

 

Thanks again, Terry

 

          icon2.gif   Re: Creating a form or table, posted by Stefan Ritt on Fri Apr 8 15:31:50 2011 

Terry Shuck wrote:

Andreas Luedeke wrote:

Terry Shuck wrote:
Is there a way to open a form or table when clicking on New rather than going to a text field? Thanks, TS! 

Hi Terry,
it is not exactly clear to me what you want.
You can define many different types of attributes to an entry.
Like this logbook has "Icon", "Author", "Author Email", "Category", ...
That automatically creates a form for the input.
Or you can have some pre-filled text in the text area, like a pre-defined table.
E.g. with the following line:
Preset Text = input-form.html
Every new entry will now contain the content of the file input-form.html
which could be some table or list, ...

 Thank you very much for your replies Stefan and Andreas!

I've played with the Preset Text = input-form.html however when I open a new form it just has text in there stating "input-form.html. I feel like I'm missing a way for the Configuration to find my html file.

I feel like I am close but I'm missing one piece of data. Here is what I'd like to have, when I click "New" I'd like this table to be automatically inserted in the body.

Time Town/Location Shift Change Description CRM 701 Author

Receipt

           
           
           
           
           
           
           
           
           
           
           
           

 

 

 

 

 

 

 

 

Thanks again, Terry

 

If you see only the file name it means that elogd cannot find the file, it's probably in the wrong directory. Have you put it into the "logbooks" directory? Like c:\Program Files\ELOG\logbooks\ 

             icon14.gif   Re: Creating a form or table, posted by Terry Shuck on Mon Apr 11 17:31:21 2011 

Stefan Ritt wrote:

Terry Shuck wrote:

Andreas Luedeke wrote:

Terry Shuck wrote:
Is there a way to open a form or table when clicking on New rather than going to a text field? Thanks, TS! 

Hi Terry,
it is not exactly clear to me what you want.
You can define many different types of attributes to an entry.
Like this logbook has "Icon", "Author", "Author Email", "Category", ...
That automatically creates a form for the input.
Or you can have some pre-filled text in the text area, like a pre-defined table.
E.g. with the following line:
Preset Text = input-form.html
Every new entry will now contain the content of the file input-form.html
which could be some table or list, ...

 Thank you very much for your replies Stefan and Andreas!

I've played with the Preset Text = input-form.html however when I open a new form it just has text in there stating "input-form.html. I feel like I'm missing a way for the Configuration to find my html file.

I feel like I am close but I'm missing one piece of data. Here is what I'd like to have, when I click "New" I'd like this table to be automatically inserted in the body.

Time Town/Location Shift Change Description CRM 701 Author

Receipt

           
           
           
           
           
           
           
           
           
           
           
           

 

 

 

 

 

 

 

 

Thanks again, Terry

 

If you see only the file name it means that elogd cannot find the file, it's probably in the wrong directory. Have you put it into the "logbooks" directory? Like c:\Program Files\ELOG\logbooks\ 

 Yes thanks Stefan! It is working now.

Thanks again!

icon4.gif   Mail are no longer sent from the logged in user in 2.9.0, posted by Olivier Callot on Wed Mar 23 10:01:01 2011 

We upgraded to Elog 2.9.0-2402 and since then mails sent by Elog when posting an item are from the default account, not from the logged in user's mail address.

The configuration is, for the mail part :

Default Email From = Olivier.Callot@cern.ch

Use Email Subject = ELOG Computing Operations - $Subject ($Site - $System - $Production number)

 

Thanks for telling me which flag/option I have to set to restore the proper mail 'From:' field.

    icon2.gif   Re: Mail are no longer sent from the logged in user in 2.9.0, posted by Stefan Ritt on Fri Apr 1 10:54:29 2011 

Olivier Callot wrote:

We upgraded to Elog 2.9.0-2402 and since then mails sent by Elog when posting an item are from the default account, not from the logged in user's mail address.

The configuration is, for the mail part :

Default Email From = Olivier.Callot@cern.ch

Use Email Subject = ELOG Computing Operations - $Subject ($Site - $System - $Production number)

 

Thanks for telling me which flag/option I have to set to restore the proper mail 'From:' field.

Thanks for reporting this bug. I have fixed it in SVN revision 2407. 

icon5.gif   Why the password file can have several same username?, posted by Ma Qiumei on Wed Mar 30 10:46:58 2011 

 In the password file, I see several same username, such as:

<user>

    <name>test</name>

    <password encoding="SHA256">iXhH.</password>

    <full_name>test me</full_name>

    <last_logout>Tue Apr 14 14:12:44 2009</last_logout>

    <last_activity>Wed May 19 09:39:32 2010</last_activity>

    <email>maqm@ihep.ac.cn</email>

    <email_notify/>

  </user> 

 

 

<user>

    <name>test</name>

    <password encoding="SHA256">iXhH.</password>

    <full_name>test me</full_name>

   <last_logout>0</last_logout>

    <last_activity>0</last_activity>

      <inactive>0</inactive>

    <email>maqm@ihep.ac.cn</email>

    <email_notify/>

  </user> 

 

 

<user>

    <name>test</name>

    <password encoding="SHA256">iXhH.</password>

    <full_name>test me</full_name>

    <last_logout>0</last_logout>

    <last_activity>0</last_activity>

      <inactive>0</inactive>

    <email>maqm@ihep.ac.cn</email>

       <email_notify/>

  </user> 

 

I don't know the reason why eLog can have the same username.

And what should I do to prevent these things happen?

 

Thanks!

 

 

 

    icon2.gif   Re: Why the password file can have several same username?, posted by Stefan Ritt on Fri Apr 1 09:17:20 2011 

Ma Qiumei wrote:

I don't know the reason why eLog can have the same username.

And what should I do to prevent these things happen? 

Thanks for reporting that bug. It has been fixed in SVN revision 2404.  

icon6.gif   Attributes for message workflow., posted by Ryan on Thu Mar 24 17:23:37 2011 

I am attempting to setup an ECR (Engineering Change Review/Request) process in ELOG.

I have a logbook setup so that an original request is submitted with a status of "Approval Pending"

Options ECR Status = Approval Pending, Approved / In Progress, Completed / In QA, Closed

Once the entry is made, it is reviewed by several people who reply to the original entry and update the approval fields, adding any comments as a reply :

Options OPS Approval = Approved, Denied
Options ENG Approval = Approved, Denied
Options Director Approval = Approved, Denied

Once the final approval is obtained, they reply to the thread and update the ECR Status field to "Approved / In Progress"

This goes through our QA process, and is finaly updated with "Closed"

 

The problem is, I would like to keep the historical data of when the status of these entries are made. For example, in the message thread, I can see that reply #4 changed the "Status" field to "Approved". However, I can not seem to find a way for this to work with quick filtering. The quick filter always filters on the first entry on a thread, and not the last.

The other option would be to change the status of the first entry, but that seems silly as I am using replys instead of edits.

Any ideas on how to implement this "Status" field into my workflow? I am even open to losing the historical "status" and beeing able to change all entries on the thread on reply. (i.e. Reply #4 changes "Status" to "Approved", and the system changed all entries in the thread to "Approved")

    icon7.gif   Re: Attributes for message workflow., posted by Andreas Luedeke on Wed Mar 30 13:46:01 2011 

Ryan wrote:

[...]  I am even open to losing the historical "status" and beeing able to change all entries on the thread on reply. (i.e. Reply #4 changes "Status" to "Approved", and the system changed all entries in the thread to "Approved")

One possibility is to use the new 2.9.0 feature "Propagate attributes = OPS Approval,  ENG Approval,  Director Approval"
A change in any of the three listed attributes would propage to the corresponding fields of all former entires of the same thread.
So if someone creates a reply and changes "OPS Approval" to "Approved", the field "OPS Approval" of the original entry would go as well to "Approved".
I just happen to know about this feature because Stefan implemented it for me :-)
icon5.gif   Cleaning up attachments, posted by Louis de Leseleuc on Tue Mar 15 21:38:01 2011 

I noticed a behavior that might be irritating. 

After attaching/uploading files to an entry and before submitting it, one might press 'Back' or close the browser window.

This in effect cancels the entry and sends into oblivion. HOWEVER the attachments and their thumbnail files remain on the server forever.

Would there be a way to either delete attachments after some time if they don't show up in an entry? Or some other magic trick with the browser? My logbook directories are already full of orphan files that I need to seek and destroy.

Also, any thoughts on automatically cleaning up a logbook directory when the damage is done?

Louis

    icon2.gif   Re: Cleaning up attachments, posted by Stefan Ritt on Fri Mar 18 11:07:50 2011 

Louis de Leseleuc wrote:

I noticed a behavior that might be irritating. 

After attaching/uploading files to an entry and before submitting it, one might press 'Back' or close the browser window.

This in effect cancels the entry and sends into oblivion. HOWEVER the attachments and their thumbnail files remain on the server forever.

Would there be a way to either delete attachments after some time if they don't show up in an entry? Or some other magic trick with the browser? My logbook directories are already full of orphan files that I need to seek and destroy.

Also, any thoughts on automatically cleaning up a logbook directory when the damage is done?

Louis

Well, this is not so easy. When you leave the browser (via 'Back' or just by closing), it has no way to communicate with the elog server. I could put in some JavaScript, but if people switch off JavaScript there is no way. On the other hand it might be simple to write just a little shell script, which goes through all files on the server and checks if the file name occurs in some elog entry. This can probably be done with some combination of "find" and  "grep", but I'm not a shell script expert.

       icon2.gif   Re: Cleaning up attachments, posted by Louis de Leseleuc on Mon Mar 21 17:42:15 2011 

Stefan Ritt wrote:

Louis de Leseleuc wrote:

I noticed a behavior that might be irritating. 

After attaching/uploading files to an entry and before submitting it, one might press 'Back' or close the browser window.

This in effect cancels the entry and sends into oblivion. HOWEVER the attachments and their thumbnail files remain on the server forever.

Would there be a way to either delete attachments after some time if they don't show up in an entry? Or some other magic trick with the browser? My logbook directories are already full of orphan files that I need to seek and destroy.

Also, any thoughts on automatically cleaning up a logbook directory when the damage is done?

Louis

Well, this is not so easy. When you leave the browser (via 'Back' or just by closing), it has no way to communicate with the elog server. I could put in some JavaScript, but if people switch off JavaScript there is no way. On the other hand it might be simple to write just a little shell script, which goes through all files on the server and checks if the file name occurs in some elog entry. This can probably be done with some combination of "find" and  "grep", but I'm not a shell script expert.

How about this:

Whenever a new file is uploaded, it would first be stored in a temporary directory. When the entry gets submitted, the files would be moved to the logbook directory and the entry edited accordingly.

Any wrongfully stored file would remain in that temp dir. Starting/restarting the daemon would cleanup that directory. Seems like a simpler approach and does not involve scripting the browser.

icon5.gif   http://midas.psi.ch/elog/download/windows/ doesn't have the latest 2.90 release, posted by John Rouillard on Mon Mar 21 02:40:31 2011 
It looks like the newest windows release of elog at
http://midas.psi.ch/elog/download/windows/ is 2.81.

  elog281-1.exe	        23-Dec-2010 11:42 3.1M
  elog-latest.exe       23-Dec-2010 11:42 3.1M

Can you post the 2.90 release.

Thanks.

-- rouilj
    icon2.gif   Re: http://midas.psi.ch/elog/download/windows/ doesn't have the latest 2.90 release, posted by Stefan Ritt on Mon Mar 21 08:53:48 2011 
> It looks like the newest windows release of elog at
> http://midas.psi.ch/elog/download/windows/ is 2.81.
> 
>   elog281-1.exe	        23-Dec-2010 11:42 3.1M
>   elog-latest.exe       23-Dec-2010 11:42 3.1M
> 
> Can you post the 2.90 release.
> 
> Thanks.
> 
> -- rouilj

Yepp, done. I somehow overlooked it.

- Stefan
icon5.gif   password problem, posted by Ken on Fri Mar 4 20:07:30 2011 

I moved my elog install to a new box on short notice due to an emergency, everything works but none of the passwords are recognized, and are not using what it set in elogd.cfg.  any ideas ?

    icon2.gif   Re: password problem, posted by Stefan Ritt on Mon Mar 7 16:19:35 2011 

Ken wrote:

I moved my elog install to a new box on short notice due to an emergency, everything works but none of the passwords are recognized, and are not using what it set in elogd.cfg.  any ideas ?

You did not specify which version of elog you were using. There was recently an update which uses a new format in the password file. When you start this the first time, the program should convert automatically from the old format to the new format and thus increasing security. If this does not work for some reason, so can do password recovery using the "Forgot password?" link in the login page. 

icon5.gif   Filter on Options, posted by Cossutta L on Thu Feb 24 11:47:07 2011 1.JPG2.JPG3.JPG

I want to implement the following feature in my logbook:
selecting an Option related to a specific Attribute produces a filter on the Options related to the other Attributes.

-----
Example:
I have the following configuration:
" Attributes = Project, Category
Options Project = Agenda, Software
Options Category = General, Data, Result, Meeting, Status, TODO, DONE,
Reminder, Result, Other
...
Quick filter = Project, Category "

I want that: if on the Quick filter I select "Project = Agenda", then the entry "Category" displays only the Options "Meeting, Status, TODO, DONE, Reminder, Other"; if on the Quick filter I select "Project = Software", then the entry "Category" displays only the Options "General, Data, Result, Other".
See the attached JPGs (they are edited printscreens from my logbook).

------


Is there a way to do this?

Thank you in advance!
Cossutta

    icon2.gif   Re: Filter on Options, posted by Stefan Ritt on Thu Feb 24 11:54:18 2011 

Cossutta L wrote:

I want to implement the following feature in my logbook:
selecting an Option related to a specific Attribute produces a filter on the Options related to the other Attributes.

-----
Example:
I have the following configuration:
" Attributes = Project, Category
Options Project = Agenda, Software
Options Category = General, Data, Result, Meeting, Status, TODO, DONE,
Reminder, Result, Other
...
Quick filter = Project, Category "

I want that: if on the Quick filter I select "Project = Agenda", then the entry "Category" displays only the Options "Meeting, Status, TODO, DONE, Reminder, Other"; if on the Quick filter I select "Project = Software", then the entry "Category" displays only the Options "General, Data, Result, Other".
See the attached JPGs (they are edited printscreens from my logbook).

------


Is there a way to do this?

Thank you in advance!
Cossutta

That's possible with conditional attributes:

Attributes = Project, Category
Options Project = Agenda{1}, Software{2}
{1}Options Category = Meeting, Status, TODO, DONE, Reminder, Other
{2}Options Category = General, Data, Result, Other
Quick Filter = Project, Category 

       icon2.gif   Re: Filter on Options, posted by Cossutta L on Fri Feb 25 15:01:12 2011 

Stefan Ritt wrote:

Cossutta L wrote:

I want to implement the following feature in my logbook:
selecting an Option related to a specific Attribute produces a filter on the Options related to the other Attributes.

-----
Example:
I have the following configuration:
" Attributes = Project, Category
Options Project = Agenda, Software
Options Category = General, Data, Result, Meeting, Status, TODO, DONE,
Reminder, Result, Other
...
Quick filter = Project, Category "

I want that: if on the Quick filter I select "Project = Agenda", then the entry "Category" displays only the Options "Meeting, Status, TODO, DONE, Reminder, Other"; if on the Quick filter I select "Project = Software", then the entry "Category" displays only the Options "General, Data, Result, Other".
See the attached JPGs (they are edited printscreens from my logbook).

------


Is there a way to do this?

Thank you in advance!
Cossutta

That's possible with conditional attributes:

Attributes = Project, Category
Options Project = Agenda{1}, Software{2}
{1}Options Category = Meeting, Status, TODO, DONE, Reminder, Other
{2}Options Category = General, Data, Result, Other
Quick Filter = Project, Category 

 

Thanks a lot for the prompt answer!

Cossutta

 

 

ELOG V3.1.5-3fb85fa6