Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 161 of 238  Not logged in ELOG logo
icon1.gif   how to supress checkboxes of all logbooks at registration?, posted by Mark Bergman on Thu May 31 23:33:28 2007 
Is there a way to suppress the listing of all logbooks on the New User Registration page? We've got 100 logbooks (one for each server, cluster node, or major software package). The long list makes it difficult for users to find the bottom of the registration page, and no user needs to subscribe for automatic e-mail notification for every logbook.

Thanks,

Mark
    icon2.gif   Re: how to supress checkboxes of all logbooks at registration?, posted by Stefan Ritt on Fri Jun 1 08:43:23 2007 

Mark Bergman wrote:
Is there a way to suppress the listing of all logbooks on the New User Registration page? We've got 100 logbooks (one for each server, cluster node, or major software package). The long list makes it difficult for users to find the bottom of the registration page, and no user needs to subscribe for automatic e-mail notification for every logbook.


No, this is currently not possible. But I wonder why you have so many logbooks. Instead of having an individual logbook for every server, you could have the server name as an attribute of a single logbook:
Attributes = Author, ..., Server
Options Server = server1, server2, ...
Quick filter = Server
...

Using the quick filter, you can select the subset of logbook entries belonging to one server very easily. In general it will make your life much easier if you have less logbooks.

- Stefan
icon1.gif   config settings to ensure replies to author, thread contributors, admin?, posted by Mark Bergman on Thu May 31 23:46:31 2007 
I'm having some difficulty configuring elog to ensure that the original author of an entry, any contributors to the thread, and a desginated administrator get e-mail notification for any change to the thread.

Here's a subset of the current elogd.cfg:
Attributes = Author, Type, Category, Severity, Subject, Entry ID, Status, CC E-mail To
Display Email recipients = 1
Email All = $CC E-mail To
Email All = mark.bergman@uphs.upenn.edu
Email Format = 47
Suppress default = 0
Type CC E-mail To = museremail

The "Suppress default = 0" setting is used because many people mistakenly subscribe for automatic e-mail notification of all our logbooks when they self-register. I was hoping that the "Email All" directives would override the suppression of default mail.

This configuration works partially...in that if a user specifically selects addresses in the "CC E-mail To" field, those people do get mail.

The documentation states that there can be multiple "Email All" directives, so I thought they would be additive--causing the admin address and the author to always get mail.

Is there a setting to ensure that the original author of the thread is always notified upon any change?


Thanks,

Mark
    icon2.gif   Re: config settings to ensure replies to author, thread contributors, admin?, posted by Stefan Ritt on Fri Jun 1 08:40:13 2007 

Mark Bergman wrote:
Attributes = Author, Type, Category, Severity, Subject, Entry ID, Status, CC E-mail To
Display Email recipients = 1
Email All = $CC E-mail To
Email All = mark.bergman@uphs.upenn.edu
Email Format = 47
Suppress default = 0
Type CC E-mail To = museremail

The documentation states that there can be multiple "Email All" directives, so I thought they would be additive--causing the admin address and the author to always get mail.


There can be multiple "Email All" directives, but they have to be on one line, like
Email All = $CC E-mail To, mark.bergman@uphs.upenn.edu


Mark Bergman wrote:

Is there a setting to ensure that the original author of the thread is always notified upon any change?


You can do something like:
Attributes = ..., Author Email
Preset Author Email = $user_email
Email All = $Author Email, $CC E-mail to, mark.bergman@uphs.upenn.edu
...

An alternative (and that's what I usually do) is to keep "Suppress email to users = 0" and tell the users to remove their subscription if they don't like it. Note that you also can edit the password file manually (it's a XML file), and remove all subscriptions easily with an editor. Note that you have to do that when elogd is stopped, then edit the file, then restart elgod.

- Stefan
icon13.gif   checkbox, posted by deletoille on Tue Oct 31 14:45:05 2006 checkbox1.JPGcheckbox2.JPG
Hello,
I found a small Bug when I create an entry. I activate a checkbox (attachement1) but when I upload a file, the activation disappears (attachement 2). I have to activate again the checkbox.
Is it something I can do?

Thanks in advance,
Xavier Deletoille
    icon2.gif   Re: checkbox, posted by Steve Jones on Tue Oct 31 22:10:11 2006 

deletoille wrote:
Hello,
I found a small Bug when I create an entry. I activate a checkbox (attachement1) but when I upload a file, the activation disappears (attachement 2). I have to activate again the checkbox.
Is it something I can do?

Thanks in advance,
Xavier Deletoille



Steve Jones wrote:

Xavier, your version number does not indicate the full SVN (it is cutoff at '172') but your screenshot indicates 'SVN1723'. This is an identified problem and looks to be fixed in SVN1740. I have verified with the checkbox "Suppress Email Notification" -- it likely effects all checkboxes.
       icon2.gif   Re: checkbox, posted by deletoille on Thu Nov 2 08:41:34 2006 

Steve Jones wrote:

deletoille wrote:
Hello,
I found a small Bug when I create an entry. I activate a checkbox (attachement1) but when I upload a file, the activation disappears (attachement 2). I have to activate again the checkbox.
Is it something I can do?

Thanks in advance,
Xavier Deletoille



Steve Jones wrote:

Xavier, your version number does not indicate the full SVN (it is cutoff at '172') but your screenshot indicates 'SVN1723'. This is an identified problem and looks to be fixed in SVN1740. I have verified with the checkbox "Suppress Email Notification" -- it likely effects all checkboxes.


OK ,
sorry for the version number. My SVN numbers is 1723 like in screenshot.
I'm waiting SVN1740 .
thanks in advance
          icon2.gif   Re: checkbox, posted by Stefan Ritt on Wed Nov 8 07:59:01 2006 

deletoille wrote:
I found a small Bug when I create an entry. I activate a checkbox (attachement1) but when I upload a file, the activation disappears (attachement 2). I have to activate again the checkbox.
Is it something I can do?


I tried with V2.6.2-1741 and the problem was not there. It was fixed some time ago, so it should have worked in 1723 as well. Can you try the minimal example coming with the distribution, just by adding one MOptions attribute, like:
[global]
port = 8080

[demo]
Attributes = Author, Type
MOptions Type = Routine, Software Installation, Problem Fixed, Configuration, Other

and see if it work there? If it works correctly there but not with your config file, please send me your config file and I will try to reproduce the problem.
             icon2.gif   Re: checkbox, posted by deletoille on Wed Nov 8 15:39:42 2006 Elog_08_11_06.doc

Stefan Ritt wrote:

deletoille wrote:
I found a small Bug when I create an entry. I activate a checkbox (attachement1) but when I upload a file, the activation disappears (attachement 2). I have to activate again the checkbox.
Is it something I can do?


I tried with V2.6.2-1741 and the problem was not there. It was fixed some time ago, so it should have worked in 1723 as well. Can you try the minimal example coming with the distribution, just by adding one MOptions attribute, like:
[global]
port = 8080

[demo]
Attributes = Author, Type
MOptions Type = Routine, Software Installation, Problem Fixed, Configuration, Other

and see if it work there? If it works correctly there but not with your config file, please send me your config file and I will try to reproduce the problem.



You're right it works
It must be in my programming method
I share you my config file.
Thanks for your help
                icon13.gif   Re: checkbox, posted by deletoille on Mon May 28 04:53:48 2007 

deletoille wrote:

Stefan Ritt wrote:

deletoille wrote:
I found a small Bug when I create an entry. I activate a checkbox (attachement1) but when I upload a file, the activation disappears (attachement 2). I have to activate again the checkbox.
Is it something I can do?


I tried with V2.6.2-1741 and the problem was not there. It was fixed some time ago, so it should have worked in 1723 as well. Can you try the minimal example coming with the distribution, just by adding one MOptions attribute, like:
[global]
port = 8080

[demo]
Attributes = Author, Type
MOptions Type = Routine, Software Installation, Problem Fixed, Configuration, Other

and see if it work there? If it works correctly there but not with your config file, please send me your config file and I will try to reproduce the problem.



You're right it works
It must be in my programming method
I share you my config file.
Thanks for your help




Hello,
I wrote a small program for another group and I have always the same problem of activation box who disappears when I upload a file. On the other hand, I noticed that the problem is only for the conditional attribute and not for the other. Here included the small program. an idea?

Thanks in advance
Xavier Deletoille

[global]
port = 8080
[GMI]
Start page = ?rsort=date
Quick filter = Type evenement
Time Format = %d %m %Y, %H:%M
Quote on reply = 0
Use Lock = 0
List display = id, Icone, date, Equipement, Type evenement, Localisation, auteur
Menu commands = List, New, Edit, Reply, Find, Config
Comment = Cahier de Manip du groupe GMI
********************************************************************************************************************
attributes = auteur, Icone, Type Equipement, Equipement, Localisation, Type evenement
Required attributes = auteur, Icone, Type Equipement, Localisation, Type evenement
show attributes = auteur, Icone, Type Equipement, Equipement, Localisation, Type evenement

Preset on reply auteur =
Options Type Equipement = Apple II{A}, Sous vide{B}, Electromagnetique{C}, Aimant{D}
{A} MOptions Equipement = HU80, HU65, HU60, HU52, HU50, HU40, HU30
{B} MOptions Equipement = U20, U26, W50
{C} MOptions Equipement = HU640, HU256
{D} MOptions Equipement = Dipole, Quadripole, Sextupole
IOptions Icone = oui.gif, non.gif, cleanglaise1515.png, paper.png
Moptions Localisation = C01, C02, C03, C04, C05, C06, C07, C08, C09, C10, C11, C12, C13, C14, C15, C16, Booster
Options Auteur = xxxxxx,xxxxxxxy,xxxxxft
Options Type evenement = Alimentation, Bobines, Moteur, TLCC, CPCI, Communication, Autres
                   icon14.gif   Re: checkbox, posted by Stefan Ritt on Wed May 30 22:32:03 2007 

deletoille wrote:
I wrote a small program for another group and I have always the same problem of activation box who disappears when I upload a file. On the other hand, I noticed that the problem is only for the conditional attribute and not for the other. Here included the small program. an idea?


Ok, with your config I could reproduce the problem. I fixed it in revision 1865, the fix will be contained in the next release.
icon5.gif   Summary view: View only most recent entry for all values of a given attribute?, posted by Dennis Seitz on Thu May 17 02:12:52 2007 
We are using Elog to track status of hardware assemblies. One attribute we've created is the serial number of an assembly. Other attributes are items like "location" and "status". We have set up these latter attributes with presets to make entry easy and keep entries consistent.

I would like to filter the summary view so it only shows me the most recent entry for every value in the serial number attribute. This would be very useful for quickly viewing the present status and location of every assembly, for example.

I can't find a way to do this in the documentation. Is it possible? If not, may I submit a request for this feature?

I am very impressed with the Elog and it has become an essential part of our record keeping. Thank you for a very useful and well implemented application!
    icon2.gif   Re: Summary view: View only most recent entry for all values of a given attribute?, posted by Stefan Ritt on Thu May 17 14:02:39 2007 elog.gif

Dennis Seitz wrote:
I would like to filter the summary view so it only shows me the most recent entry for every value in the serial number attribute. This would be very useful for quickly viewing the present status and location of every assembly, for example.


I don't know if that is what you want, but have you tried clicking on the column headings in the summary view to sort the table according to that attribute:

       icon2.gif   Re: Summary view: View only most recent entry for all values of a given attribute?, posted by Dennis Seitz on Fri May 18 02:15:41 2007 before.pngafter.png

Stefan Ritt wrote:

Dennis Seitz wrote:
I would like to filter the summary view so it only shows me the most recent entry for every value in the serial number attribute. This would be very useful for quickly viewing the present status and location of every assembly, for example.


I don't know if that is what you want, but have you tried clicking on the column headings in the summary view to sort the table according to that attribute:



Rather than simply sorting, I would like to actually reduce the number of entries listed to show only the most recent entry for each serial number. In this way, I can see at a glance what the present status of each serial number is. This is similar to Quick Filters but would be a "Most Recent" filter that could be applied conditionally, for example: "Most Recent" -> "By Serial".

Here is the display now:


Here is what I'd like to have the option to view (I used a graphic editor to fake it):


It would also be nice to have the option to then sort the resultant view, for example, to group together all serial numbers that have the same status.

Is this a little clearer? It's just a suggestion - this is not terribly important, but if it were possible I think it would be useful.

Thanks!
          icon2.gif   Re: Summary view: View only most recent entry for all values of a given attribute?, posted by Stefan Ritt on Fri May 18 08:04:38 2007 
Ok, now I understand. Well, your request is very special for your case. Usually I implement things only if several independent people ask for it. What you can try is to save your logbook in CSV format, import it into Excel or another spreadsheet program, and achieve the filtering there.

Best regards,

Stefan
             icon2.gif   Re: Summary view: View only most recent entry for all values of a given attribute?, posted by Dennis Seitz on Fri May 18 16:07:31 2007 

Stefan Ritt wrote:
Ok, now I understand. Well, your request is very special for your case. Usually I implement things only if several independent people ask for it. What you can try is to save your logbook in CSV format, import it into Excel or another spreadsheet program, and achieve the filtering there.

Best regards,

Stefan


OK, I've done that before and it works fine. I'd rather be able to do it in Elog but I understand if it's not worth the effort. It never hurts to ask!

Cheers,
Dennis
icon5.gif   Import log, posted by bob on Tue Apr 24 11:00:56 2007 
Hi,
it is possible to import the file *.log of Elog towards another Elog?
thank you
Bob
    icon2.gif   Re: Import log, posted by Stefan Ritt on Tue Apr 24 12:26:32 2007 

bob wrote:
Hi,
it is possible to import the file *.log of Elog towards another Elog?
thank you
Bob


There are three methods:

  • Copy over the *.log files from one Elog to the other. Make sure not to have entries with the same ID twice then.
  • Set-up mirroring between two servers. This ensures a 1:1 copy of the server
  • Export entries in CSV format (comma-separated-values) via 'Find', 'Mode = CSV', and do a 'CSV import' on the other side.
       icon2.gif   Re: Import log, posted by bob on Tue Apr 24 14:43:07 2007 

Stefan Ritt wrote:

bob wrote:
Hi,
it is possible to import the file *.log of Elog towards another Elog?
thank you
Bob


There are three methods:

  • Copy over the *.log files from one Elog to the other. Make sure not to have entries with the same ID twice then.
  • Set-up mirroring between two servers. This ensures a 1:1 copy of the server
  • Export entries in CSV format (comma-separated-values) via 'Find', 'Mode = CSV', and do a 'CSV import' on the other side.


thank you,
but the last method (simplest for me) does not import the comment.
it's a pity...
          icon2.gif   Re: Import log, posted by Stefan Ritt on Thu May 10 13:03:51 2007 

bob wrote:
thank you,
but the last method (simplest for me) does not import the comment.
it's a pity...


Ok, I implemented the XML import which also includes the text body. However there are currently two limitations:

  • If you want to import entries which contain replies, it only works if import them into an empty logbook, where the imported entries can obtain the same entry IDs as in the original logbook.
  • The names of possible attachments are correctly imported, but not the files themselves. These you have to copy by hand.
icon1.gif   Change default for suppressing email notification and/or targeting entries manually, posted by Alan Stone on Thu Jun 22 16:01:58 2006 
I want to change the default for suppressing email notification.

I want to be able to send email to Elog subscribers and to other people
not yet subscribed to the Elog. However, after polling the current
subscribers, they do NOT want to receive email notification for every
new Elog entry by default.

Instead of toggling the "Suppress Email notification", I would like
to toggle "Send Email notification".

I would also like the option to add additional email addresses on the fly.

Thanks in advance for any help.
Alan
    icon2.gif   Re: Change default for suppressing email notification and/or targeting entries manually, posted by Stefan Ritt on Thu Jun 22 17:19:32 2006 

Alan Stone wrote:
I want to be able to send email to Elog subscribers and to other people
not yet subscribed to the Elog. However, after polling the current
subscribers, they do NOT want to receive email notification for every
new Elog entry by default.


The admin user can change the email subscriptions to all users in the Config page, so you just have to go through each user. Alternatively, you can stop the elog server, change the password file manually in any editor, and then restart the elog server.


Alan Stone wrote:
I would also like the option to add additional email addresses on the fly.


You have to change the config file to add new email addresses or you have to add new users.
       icon2.gif   Re: Change default for suppressing email notification and/or targeting entries manually, posted by Alan Stone on Thu Jun 22 20:43:39 2006 
Thank you for your response. I do not think I posed my questions clearly. Let me try a different way.

If I set the following logbook configuration:

Suppress Email to users = 0

then, every time someone makes a new entry to that logbook, all subscribers get an email, unless
someone checks the "Suppress Email notification" box.

I want to preserve the configuration option. However, I want to invert the default check box, so
that no email is sent to subscribers unless someone takes the extra step to check a box which might
read "Send Email notification".

> You have to change the config file to add new email addresses or you have to add new users.

That would not work for non-admins. I was looking for a non-required
"email to/cc/send to" attribute. Obviously, one can just cut and paste
the entry into your email application.


Stefan Ritt wrote:

Alan Stone wrote:
I want to be able to send email to Elog subscribers and to other people
not yet subscribed to the Elog. However, after polling the current
subscribers, they do NOT want to receive email notification for every
new Elog entry by default.


The admin user can change the email subscriptions to all users in the Config page, so you just have to go through each user. Alternatively, you can stop the elog server, change the password file manually in any editor, and then restart the elog server.


Alan Stone wrote:
I would also like the option to add additional email addresses on the fly.


You have to change the config file to add new email addresses or you have to add new users.
          icon2.gif   Re: Change default for suppressing email notification and/or targeting entries manually, posted by Stefan Ritt on Thu Jun 22 21:02:16 2006 

Alan Stone wrote:
However, I want to invert the default check box, so that no email is sent to subscribers unless someone takes the extra step to check a box which might read "Send Email notification".


Ahh, now I understand Wink
Suppress default =1

should do the job.
    icon2.gif   Re: Change default for suppressing email notification and/or targeting entries manually, posted by Stefan Ritt on Tue May 1 16:54:12 2007 

Alan Stone wrote:
I would also like the option to add additional email addresses on the fly.


There is a simple way to accomplish this. Define a new attribute, let's call it "cc". Then add to your config file following statement:
Email all = $cc

In you entry form, you can now enter comma-separated email addresses in the CC filed, to which a notification will be sent.
icon1.gif   Upgraded from 2.6.1 to 2.6.5, but cannot login now & top.html is not displayed, posted by Alan Stone on Mon Apr 30 20:52:51 2007 
We followed the simple download instructions. Our existing logbook entries
are still visible. Nothing was lost or touched in our /usr/local/elog directory.
Is there some step we missed?
Alan
    icon2.gif   Re: Upgraded from 2.6.1 to 2.6.5, but cannot login now & top.html is not displayed, posted by Stefan Ritt on Mon Apr 30 21:01:49 2007 

Alan Stone wrote:
We followed the simple download instructions. Our existing logbook entries
are still visible. Nothing was lost or touched in our /usr/local/elog directory.
Is there some step we missed?
Alan


Have you tried to delete your cookies in the browser and try again?

The location of top.html has been changed from the ELOG root down into the loogbook directory. If you want to keep it in the original location, you have to specify the full path. See the documentation for where to put the file for "Top text".
icon3.gif   How to make a table of contents, posted by Stefan Ritt on Fri Apr 27 14:06:34 2007 
For those people who have not fully understood the discussion of elog:2218, here is an example table of contents.





First Chapter

The table of contents consists of a set of [url] tags like this:

[url=#first]First chapter[/url]
[url=#second]Second chapter[/url]
[url=#thirs]Third chapter[/url]


Then the chapter header contains a tag like this:

[ANCHOR]first[/ANCHOR]

to which the browser ups if you click the corresponding entry in the table of contents.

... empty lines to full up some space ...
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.



Second chapter

You should jump here if you click on Second chapter at the table of contents.

Third chapter

You should jump here if you click on Third chapter at the table of contents.
ELOG V3.1.5-3fb85fa6