Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 149 of 238  Not logged in ELOG logo
icon5.gif   Conditional Attributes Boolean?, posted by Grant Jeffcote on Mon May 19 06:14:04 2008 
Hi Stefan,

After searching the manual and not finding (missing?) the answer is it possible to add conditional statements to a Boolean attribute? I would like a tick box to be able to trigger an event when submitted.

Many thx
    icon2.gif   Re: Conditional Attributes Boolean?, posted by Stefan Ritt on Fri Jun 6 11:24:49 2008 

Grant Jeffcote wrote:
After searching the manual and not finding (missing?) the answer is it possible to add conditional statements to a Boolean attribute? I would like a tick box to be able to trigger an event when submitted.


Conditions are not possible with boolean attributes. You have to define the attribute as a list like

Attributes = ..., Flag, ...
Options Flag = Yes{0}, No{1}

{0} ...

{1} ...
icon3.gif   Make Email All = <list> override Suppress Email checkbox, posted by Dennis Seitz on Wed May 21 21:06:38 2008 

 I would like to be notified by email of some logbook entries regardless of whether the user has chosen to suppress email or not.

This way I will always be aware of new entries, and users will still have the option of notifying a larger group of other users, or not.

As far as I can tell, presently the Suppress Email checkbox overrides Email All.

    icon2.gif   Re: Make Email All = <list> override Suppress Email checkbox, posted by Stefan Ritt on Mon Jun 2 12:22:48 2008 

Dennis Seitz wrote:

 I would like to be notified by email of some logbook entries regardless of whether the user has chosen to suppress email or not.

This way I will always be aware of new entries, and users will still have the option of notifying a larger group of other users, or not.

As far as I can tell, presently the Suppress Email checkbox overrides Email All.

 

If I make "Email all" override the suppress email checkbox, some uses would complain "I check the supporess box, but my admin still gets email, what am I doing wrong here?". So while this works for you, it will not be desired for everybody. I would have to add another parameter just for this request. Couldn't you instead use the RSS feed functionality? This way you well see all entries, independent of the email notification. You can use special RSS feed readers (your browser and email client probably support this already).

       icon2.gif   Re: Make Email All = <list> override Suppress Email checkbox, posted by Dennis Seitz on Mon Jun 2 23:30:39 2008 

 

Stefan Ritt wrote:

 

Dennis Seitz wrote:

 I would like to be notified by email of some logbook entries regardless of whether the user has chosen to suppress email or not.

This way I will always be aware of new entries, and users will still have the option of notifying a larger group of other users, or not.

As far as I can tell, presently the Suppress Email checkbox overrides Email All.

 

 

If I make "Email all" override the suppress email checkbox, some uses would complain "I check the supporess box, but my admin still gets email, what am I doing wrong here?". So while this works for you, it will not be desired for everybody. I would have to add another parameter just for this request. Couldn't you instead use the RSS feed functionality? This way you well see all entries, independent of the email notification. You can use special RSS feed readers (your browser and email client probably support this already).

 

Hmm, I see your point, but wouldn't using the RSS feed have the same effect? Or are you saying the users just wouldn't know about it, so they wouldn't complain? 

I haven't explored the RSS feed options yet. I'll study them.

 

          icon2.gif   Re: Make Email All = <list> override Suppress Email checkbox, posted by Stefan Ritt on Tue Jun 3 12:50:04 2008 

Dennis Seitz wrote:

 

Stefan Ritt wrote:

 

Dennis Seitz wrote:

 I would like to be notified by email of some logbook entries regardless of whether the user has chosen to suppress email or not.

This way I will always be aware of new entries, and users will still have the option of notifying a larger group of other users, or not.

As far as I can tell, presently the Suppress Email checkbox overrides Email All.

 

 

If I make "Email all" override the suppress email checkbox, some uses would complain "I check the supporess box, but my admin still gets email, what am I doing wrong here?". So while this works for you, it will not be desired for everybody. I would have to add another parameter just for this request. Couldn't you instead use the RSS feed functionality? This way you well see all entries, independent of the email notification. You can use special RSS feed readers (your browser and email client probably support this already).

 

Hmm, I see your point, but wouldn't using the RSS feed have the same effect? Or are you saying the users just wouldn't know about it, so they wouldn't complain? 

I haven't explored the RSS feed options yet. I'll study them.

The RSS feed you have to "pull" actively with a client (which of course can be periodically in an automatic way). So no pull, no notification, happy users

             icon2.gif   Re: Make Email All = <list> override Suppress Email checkbox, posted by Dennis Seitz on Thu Jun 5 01:36:07 2008 

 

 

Stefan Ritt wrote:

 

Dennis Seitz wrote:

 

Stefan Ritt wrote:

 

Dennis Seitz wrote:

 I would like to be notified by email of some logbook entries regardless of whether the user has chosen to suppress email or not.

This way I will always be aware of new entries, and users will still have the option of notifying a larger group of other users, or not.

As far as I can tell, presently the Suppress Email checkbox overrides Email All.

 

 

If I make "Email all" override the suppress email checkbox, some uses would complain "I check the supporess box, but my admin still gets email, what am I doing wrong here?". So while this works for you, it will not be desired for everybody. I would have to add another parameter just for this request. Couldn't you instead use the RSS feed functionality? This way you well see all entries, independent of the email notification. You can use special RSS feed readers (your browser and email client probably support this already).

 

Hmm, I see your point, but wouldn't using the RSS feed have the same effect? Or are you saying the users just wouldn't know about it, so they wouldn't complain? 

I haven't explored the RSS feed options yet. I'll study them.

 

The RSS feed you have to "pull" actively with a client (which of course can be periodically in an automatic way). So no pull, no notification, happy users

 

Hmm. Is there some way to set up a private RSS feed for me only?

If not, I would humbly ask that you add an option. I don't want to generate unnecessary email to users, but I need to always be notified for some logbooks. I'm responsible for some hardware on our project and I want to know any time someone reports a problem. The best solution is to still let users decide whether they want to subscribe to logbooks, and whether entry notification should be suppressed or not, but also have an admin override privilege. There could be a disclaimer "admin is automatically notified of all entries" at the top of the edit page.

If this can be done with a private RSS feed to me only, then that's fine. I still don't use or understand RSS feeds very well, sorry. I'd rather all users did not have the option to be alerted to every new entry, when email suppression is enabled. That would be contradictory, I think.

 Thanks for listening!

 

                icon2.gif   Re: Make Email All = <list> override Suppress Email checkbox, posted by Stefan Ritt on Thu Jun 5 08:17:59 2008 Capture.pngCapture.png

Dennis Seitz wrote:

Hmm. Is there some way to set up a private RSS feed for me only?

If not, I would humbly ask that you add an option. I don't want to generate unnecessary email to users, but I need to always be notified for some logbooks. I'm responsible for some hardware on our project and I want to know any time someone reports a problem. The best solution is to still let users decide whether they want to subscribe to logbooks, and whether entry notification should be suppressed or not, but also have an admin override privilege. There could be a disclaimer "admin is automatically notified of all entries" at the top of the edit page.

If this can be done with a private RSS feed to me only, then that's fine. I still don't use or understand RSS feeds very well, sorry. I'd rather all users did not have the option to be alerted to every new entry, when email suppression is enabled. That would be contradictory, I think.

 Thanks for listening!

The RSS feed is private by default. You install a client (like Sharp Reader under Windows). It stays in the icon tray and periodically checks for new ELOG entries. If there is one, it pops up a window similar to your email client. You click on it, and it shows all entries like this:

Capture.png

 All you have to do is to enter the URL of the ELOG logook. Just add "elog.rdf" to the URL of the logbook as you would access it from your browser.

Here is the pop-up I got from writing just this entry:

Capture.png

icon5.gif   using elog client in secure mode, posted by Luc Goossens on Mon May 19 16:02:23 2008 

Hi,

I am trying to enter a log record in secure mode into a log book hosted on an apache server (v2.7.2).

After reading this forum I have recompiled  the client using revision 2100 (well actually the head of svn).

But entering the record still does not work.

This is what I get

 

[atlt0dev@voatlas04]~% elog -v -s  -h prod-grid-logger.cern.ch -p 443 -u myuser -w mypassword -d elog -l "ATLAS+Tier0+Operations+Logbook" -a Subject=foobar
Successfully connected to host prod-grid-logger.cern.ch, port 443
Request sent to host:
POST /elog/ATLAS%2BTier0%2BOperations%2BLogbook/ HTTP/1.0
Content-Type: multipart/form-data; boundary=---------------------------66AA3F62643F505F6F319FE6
Host: voatlas04.cern.ch
User-Agent: ELOG
Content-Length: 840


Content sent to host:
---------------------------66AA3F62643F505F6F319FE6
Content-Disposition: form-data; name="cmd"

Submit
---------------------------66AA3F62643F505F6F319FE6
Content-Disposition: form-data; name="unm"

myuser
---------------------------66AA3F62643F505F6F319FE6
Content-Disposition: form-data; name="upwd"

LXc=
---------------------------66AA3F62643F505F6F319FE6
Content-Disposition: form-data; name="exp"

ATLAS+Tier0+Operations+Logbook
---------------------------66AA3F62643F505F6F319FE6
Content-Disposition: form-data; name="encoding"

ELCode
---------------------------66AA3F62643F505F6F319FE6
Content-Disposition: form-data; name="Subject"

foobar
---------------------------66AA3F62643F505F6F319FE6
Content-Disposition: form-data; name="Text"

mypassword
---------------------------66AA3F62643F505F6F319FE6

Response received:
HTTP/1.1 302 Found
Date: Mon, 19 May 2008 13:33:29 GMT
Server: ELOG HTTP 2.7.2-2012
Location: https://prod-grid-logger.cern.ch/elog/ATLAS+Tier0+Operations+Logbook/?fail=1
Connection: close
Content-Type: text/plain; charset=UTF-8

<html>redir</html>

Error: Invalid user name or password

<<<<

the man pages seem to be out of sync and anyway mention two passwords to be usable, so they are not very helpful/clear

 if somebody could tell me the right combination of options

and/or confirm/deny that this combination of client and server can work at all

I would be very grateful.

many thanks,

Luc

 

 

 

 

    icon2.gif   Re: using elog client in secure mode, posted by Stefan Ritt on Mon Jun 2 12:17:53 2008 

Luc Goossens wrote:

I am trying to enter a log record in secure mode into a log book hosted on an apache server (v2.7.2).

 

[atlt0dev@voatlas04]~% elog -v -s  -h prod-grid-logger.cern.ch -p 443 -u myuser -w mypassword -d elog -l "ATLAS+Tier0+Operations+Logbook" -a Subject=foobar
 

Your problem is the wrong password parameter. The "-w" password is only if a write password is defined in the config file. If the user level access is chosen however, you have to specify the username/password pair only separated by a blank such as in

elog ... -u myuser mypwassword ...

 

icon5.gif   "preview attachement" flag not working on thumbnails ?, posted by Bruno Serfass on Fri May 23 20:56:43 2008 
Hi,

I would like to turn off the display of attachements when editing an entry in some of our logbooks that contains big file. 
So I did set the flag "preview attachements"  to 0. It seems to work fine on text file attachment but 
the  thumbnails for PDF and images (very nice feature by the way!...) are still there...

How can I avoid displaying the thumbnails in the edit mode? This  is very important when the attached file is big  because
it almost makes it impossible to edit..

Thanks for your feedback!
Bruno 
    icon2.gif   Re: "preview attachement" flag not working on thumbnails ?, posted by Stefan Ritt on Mon Jun 2 12:08:00 2008 
> I would like to turn off the display of attachements when editing an entry in some of our logbooks that contains big file. 
> So I did set the flag "preview attachements"  to 0. It seems to work fine on text file attachment but 
> the  thumbnails for PDF and images (very nice feature by the way!...) are still there...

I fixed that in revision 2109.
icon5.gif   Possible to sort attribute chronologically? , posted by Dennis Seitz on Tue Jan 29 04:25:11 2008 
Hi,

We've defined a "LastEdit" attribute for some of our logs so that we can indicate that an entry has been revised, and when that was done. 

From our config:

Attributes =  Last Edit, etc etc
.
.
.
Preset Last Edit =$date
Locked Attributes = Last Edit
Subst on edit Last Edit = $date

This works fine, but when we sort the LastEdit column, the dates are sorted alphabetically. Is there a way to tell Elog to treat this particular attribute 
as a date when sorting?
    icon2.gif   Re: Possible to sort attribute chronologically? , posted by Stefan Ritt on Tue Jan 29 08:02:41 2008 
> Hi,
> 
> We've defined a "LastEdit" attribute for some of our logs so that we can indicate that an entry has been revised, and when that was done. 
> 
> From our config:
> 
> Attributes =  Last Edit, etc etc
> .
> .
> .
> Preset Last Edit =$date
> Locked Attributes = Last Edit
> Subst on edit Last Edit = $date
> 
> This works fine, but when we sort the LastEdit column, the dates are sorted alphabetically. 
> Is there a way to tell Elog to treat this particular attribute as a date when sorting?

You are missing:

Type Last Edit = datetime

which will tread the "Last Edit" attribute as a date/time combination. Actually it's stored 
internally in seconds since Jan 1st 1970, so sorting will work right. The only caveat is that
when you edit an entry, the "Last Edit" is displayed really in seconds since 1970, but I will
fix this in the next release.
       icon2.gif   Re: Possible to sort attribute chronologically? , posted by Stefan Ritt on Tue Jan 29 08:09:50 2008 
> The only caveat is that
> when you edit an entry, the "Last Edit" is displayed really in seconds since 1970, but I will
> fix this in the next release.

I just fixed this in SVN revision #2010. If you would have filled out which operating system you use
with elog, I could tell you how to upgrade.
          icon2.gif   Re: Possible to sort attribute chronologically? , posted by Dennis Seitz on Thu Feb 7 01:33:03 2008 
> > The only caveat is that
> > when you edit an entry, the "Last Edit" is displayed really in seconds since 1970, but I will
> > fix this in the next release.
> 
> I just fixed this in SVN revision #2010. If you would have filled out which operating system you use
> with elog, I could tell you how to upgrade.

Thanks for the help and the bug fix. I have a colleague who keeps our installation up to date, so I'll ask him to install it.
          icon2.gif   Re: Possible to sort attribute chronologically? , posted by Dennis Seitz on Tue Apr 29 02:00:03 2008 
> > The only caveat is that
> > when you edit an entry, the "Last Edit" is displayed really in seconds since 1970, but I will
> > fix this in the next release.
> 
> I just fixed this in SVN revision #2010. If you would have filled out which operating system you use
> with elog, I could tell you how to upgrade.

Thank you for pointing out the method to identify Last Edit as a datetime type so that it will sort properly. I now have created Last Edit in several 
preexisting logbooks. 

I want to use 
Start page = ?rsort=Last Edit
to set the default sorting of each logbook to be by Last Edit. 

However, all of the entries made before I added Last Edit have no value for that field, so they are all grouped together at the end of the sort. So I 
decided to go through the older entries and set Last Edit equal to the original entry date, as a starting value.

I tried to use the command
Subst on edit Last Edit = $entry time
but it gives a "-" for the Last Edit value when I edit an entry. 

I think this is because $entry time is not a variable supported by Subst. Can you add that support, or else tell me if you know a better way to go about 
doing what I'm attempting? Is there perhaps a way to globally process a group of entries in a logbook and set one attribute's value to be equal to 
another's?

Thanks
             icon2.gif   Re: Possible to sort attribute chronologically? , posted by Stefan Ritt on Mon Jun 2 11:11:27 2008 
> I tried to use the command
> Subst on edit Last Edit = $entry time
> but it gives a "-" for the Last Edit value when I edit an entry. 
> 
> I think this is because $entry time is not a variable supported by Subst. Can you add that support, or else tell me if you know a better way to go about 
> doing what I'm attempting? Is there perhaps a way to globally process a group of entries in a logbook and set one attribute's value to be equal to 
> another's?

I tried to reproduce what you said and it worked fine for me. I used:

[demo]
Attributes = Author, Type, Last Edit, Subject
Subst on edit Last Edit = $entry time

And got correctly the entry time copied to the "last edit" field when I changed old entries. I used version V.7.3-2104.
icon5.gif   Can u send me the configuration file for this logbook ?, posted by Franck C on Fri Mar 28 13:48:41 2008 

Hi, I try to set up a logbook and i wanted to create something with icons (like this logbook) and it will be easier for me if i have ur config file

Thanks a lot

Franck

    icon2.gif   Re: Can u send me the configuration file for this logbook ?, posted by Stefan Ritt on Tue Apr 1 08:04:18 2008 

Franck C wrote:

Hi, I try to set up a logbook and i wanted to create something with icons (like this logbook) and it will be easier for me if i have ur config file

Thanks a lot

Franck

https://midas.psi.ch/elogs/Config+Examples/2

- Stefan

 

       icon2.gif   Re: Can u send me the configuration file for this logbook ?, posted by Franck C on Fri May 9 14:04:42 2008 

Stefan Ritt wrote:

Franck C wrote:

Hi, I try to set up a logbook and i wanted to create something with icons (like this logbook) and it will be easier for me if i have ur config file

Thanks a lot

Franck

https://midas.psi.ch/elogs/Config+Examples/2

- Stefan

 

 

Ok thanks... but i meant this Forum logbook... Can u give me the configuration file and the css file if i need a different one ?

thanks a lot by advance

          icon2.gif   Re: Can u send me the configuration file for this logbook ?, posted by Stefan Ritt on Fri May 23 13:38:52 2008 

Franck C wrote:

Stefan Ritt wrote:

Franck C wrote:

Hi, I try to set up a logbook and i wanted to create something with icons (like this logbook) and it will be easier for me if i have ur config file

Thanks a lot

Franck

https://midas.psi.ch/elogs/Config+Examples/2

- Stefan

 

 

Ok thanks... but i meant this Forum logbook... Can u give me the configuration file and the css file if i need a different one ?

thanks a lot by advance

The forum logbook is here:

https://midas.psi.ch/elogs/Config+Examples/4

the CSS file you can directly load from the server under

https://midas.psi.ch/elogs/forum/forum.css

icon4.gif   Help me please I can't uplode Attach file, posted by Samrit on Thu Apr 17 05:28:56 2008 

Dear All
I can't uplode Attach file. It have Error

Error: Filename "D:\aaa.doc" contains invalid character
Please use your browser's back button to go back

 

Thank you very much

Joe..

    icon2.gif   Re: Help me please I can't uplode Attach file, posted by Stefan Ritt on Thu Apr 17 08:27:27 2008 

Samrit wrote:

Dear All
I can't uplode Attach file. It have Error

Error: Filename "D:\aaa.doc" contains invalid character
Please use your browser's back button to go back

 

Thank you very much

Joe..

The problematic part is the "\" in the filename, which is not correctly recognized as a directory. I will fix this in the next release. For now, just click on the Browse button, navigate to d:\, and then select there the file aaa.doc.

       icon2.gif   Re: Help me please I can't uplode Attach file, posted by Mark Soohoo on Sun May 18 06:20:00 2008 ErrorScreen.JPG

Stefan Ritt wrote:

Samrit wrote:

Dear All
I can't uplode Attach file. It have Error

Error: Filename "D:\aaa.doc" contains invalid character
Please use your browser's back button to go back

 

Thank you very much

Joe..

The problematic part is the "\" in the filename, which is not correctly recognized as a directory. I will fix this in the next release. For now, just click on the Browse button, navigate to d:\, and then select there the file aaa.doc.

 

Hi, I'm having the same problem, too, when attempting to upload an attachment.  I'm using version 2.7.3-2095.

I wasn't able to attach an image by clicking on the Browse button, clicking on the desired file, hitting the Open button, and then hitting the Upload button.  I just noticed that I could upload my error screen to this forum:

Thanks for any help you can provide.

Mark

ErrorScreen.JPG

icon5.gif   reset password link when using proxy, posted by Devin Bougie on Thu May 15 18:36:55 2008 

For heightened security, we allow access to our ELOG installation from offsite through an apache proxy.  Therefore, the URL for our ELOG becomes http://www.lepp.cornell.edu/proxy/elog/ .  Everything seems to work properly with this setup except for the "reset password" utility.  When trying to reset ones password, the link sent in the "Password recovery" email becomes, for example:

http://www.lepp.cornell.edu/proxy/elog/ERL+W128/?redir=%3Fcmd%3DChange+password...

When using this link, the redirect redirects you to:

http://www.lepp.cornell.edu/ERL+W128/?cmd=Change%20password...

Which does not work.  Instead, the redirect should point to:

 

http://www.lepp.cornell.edu/proxy/elog/ERL+W128/?cmd=Change%20password...

Any suggestions or workarounds would be greatly appreciated.
 
Many thanks,
Devin

 

ELOG V3.1.5-3fb85fa6