ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
1857
|
Thu Jun 22 17:19:32 2006 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | ELOG V2.6. | Re: Change default for suppressing email notification and/or targeting entries manually |
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. |
1859
|
Thu Jun 22 21:02:16 2006 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | ELOG V2.6. | Re: Change default for suppressing email notification and/or targeting entries manually |
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
Suppress default =1
should do the job. |
1860
|
Fri Jun 23 12:29:30 2006 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | 2.6.1 | Re: restrict access | Even with your config file (I just changed the URL) I get the correct behaviour:
and after I supply my credentials:
My full elogd.cfg is attached for your reference.
I'm pretty sure that you did not delete your old cookies. Try from another computer. Make sure to have the most recent version of elog. Start the elogd daemon with the "-v" flag and watch the communication. I get for example:
GET / HTTP/1.1
Host: localhost:8080
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20
060508 Firefox/1.5.0.4
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plai
n;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cookie: urem=1
==== Return ================================
....
As you can see, only the "urem" cookie is present. After I logged in, I get:
Cookie: urem=1; unm=stefan; upwd=Z2suZgFszgg==
These cookies identify you as logged in, so the login screen does not appear any more. |
Attachment 1: elogd.cfg
|
[global]
logbook tabs = 1
port = 8080
URL = http://localhost:8080/
Protect selection page = 1
Password file = passwd
Self register = 0
Admin user = stefan
Group World = Procedures, Work
Group Work = Company, Company2
Group Company = twiddle
Group twiddle = Panels, Bond
[Procedures]
Theme = default
Comment = General Procedures for use with
Attributes = Author, Category, Subject
Options Category = Maintenance, Alignment
Required Attributes = Author, Category
[Company2]
Theme = default
Comment = Company2 project Page
Attributes = Author, Category, Subject
Options Category = Scheduling, During Progress, During measuring, After
Required Attributes = Author
[Panels]
Theme = default
Attributes = Author, Category, Subject
Options Category = Scheduling, During Progress, During measuring, After
Required Attributes = Author
Expand default = 2
Protect selection page = 1
[bond]
Theme = default
Attributes = Author, Category, Subject
Options Category = Scheduling, During Progress, During measuring, After
Required Attributes = Author
|
1862
|
Fri Jun 23 13:43:03 2006 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | 2.6.1 | Re: restrict access |
Gerald Ebberink wrote: | As you can see, I have implemented a temporary fix in the way of allowing only certain hosts access. But where does this Internal error come from. |
I only can identify this error if you send me your current ("de-sensified") elogd.cfg. |
1871
|
Wed Jul 5 12:51:25 2006 |
| Stefan Ritt | stefan.ritt@psi.ch | Bug report | Windows | 2.6.1-6 | Re: Corrupt page link |
Arno Teunisse wrote: | Just installed the previous version :
====================================
[C:\Program Files\ELOG]elogd -c elogd.cfg
elogd 2.6.1 built May 24 2006, 08:59:09 revision 1688
Indexing logbooks ... done
Server listening on port 8080 ...
And the problem is gone. !!!!
problem is in version :
==========================
[C:\Program Files\ELOG1]elogd -c elogd.cfg
elogd 2.6.1 built Jun 13 2006, 08:43:21 revision 1691
Indexing logbooks ... done
Server listening on port 8080 ...
|
Thanks for your detailed information. The hint with the two different revisions heally helped. I fixed that in revision 1695, and made an intermediate release 2.6.1-7. This will fix the problem. Can you please check that this is working? |
1873
|
Mon Jul 10 11:15:25 2006 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Mac OSX | 2.6.1 | Re: Canīt run command "make" in OSX |
Gerald Ebberink wrote: | This sounds like something I have not encountered, so I think you'll need to wait for Mr. Ritt to solve this. |
No, I can't solve this becaue I have no MAC.
Sorry,
Stefan |
1875
|
Thu Jul 13 08:11:33 2006 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | ELOG V2.6. | Re: Setting Subject for ELog email notification |
Alan Stone wrote: | Hi,
I have the following elogd.cfg syntax:
; Email notification
Suppress Email to users = 1
Omit Email To = 1
User Email Subject = $subject
Use Email Heading Edit = $subject
Email Report Notify-CMSROC = alstone@fnal.gov
1) The subject is using some default, instead of capturing the $subject string (as
it does with Reply). |
You made a typo. It should be
Use Email Subject = $subject
instead of User Email ...
Alan Stone wrote: | 2) I want to control the output header "A new entry...". |
You do with with
Use Email Heading = $subject
The option Use Email Heading Edit = $subject is only for entries which are edited (as opposed to new entries). Just read the manual!
Alan Stone wrote: | 3) The formatting of email body is awkward. For example, "AuthorAlan Stone"
should have at least a space, and maybe a hyphen or colon, "Author: Alan Stone" |
The email is formatted in HTML. Standard email programs like Thunderbird display them properly. If you email client has a problem with it, you can switch to plain text encoding with
Email encoding = 1
Best regards,
Stefan |
1876
|
Thu Jul 13 15:16:53 2006 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | 2.6.1-1681 | Re: Inserting images via Internet Explorer |
Elaine Cristina Franchini dos Anjos wrote: | I observed that there is a difference between IE and others browsers.
When I use "insert image" button in Netscape, for instance,
it creates automatically a tag like [IMG]elog:1/1[/IMG] and
includes an attachment in the ELOG entry.
When a try to do the same action in Internet Explorer, only
the attachment is created without the tag [IMG]elog:1/1[/IMG] . |
This is a problem of the JavaScript implementation of Internet Explorer. After some externsive research I found now a way to convince IE to do the right thing. The fix is contains in SVN revision 1701 and will be released with 2.6.2-2 soon. |
|