Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 52 of 238  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
icon3.gif   Cancel button missing when editing an entry, posted by Andreas Luedeke on Wed Nov 16 13:48:33 2016 

If I edit an old entry, and do some mistake while editing, then there is currently no way to savely discard the changes.

The problem is that the entry will become a draft: if I close the window without saving, then the whole entry is gone: it will be converted into a draft entry. But the draft does contain my changes, it is not the originally saved entry!

The draft mechanism should keep a copy of the entry before I opened it in edit mode, and allow to go back to that copy. The edit form has currently the buttons "Submit", "Save", "Preview" and "Delete"; it should have in addition the button "Cancel", that just closes the edit window without saving the entry and even deleting the draft that was saved while the entry was modified. This should bring you back to the previous list view.

Is anyone out there in favour of this change?

    icon2.gif   Re: Cancel button missing when editing an entry, posted by Stefan Ritt on Wed Nov 16 14:01:18 2016 

The problem is that the elog database does not allow for a copy of an entry before you make modifications (and therefore get a "draft"). This is actually very simila to other note taking programs. I use Evernote, which constantly synchronizes between devices, and there I also cannot go back to the version before I started making modification. What one would need is a version system (and Evernote has one), so you can go back to the previous verison, the pre-previous version and so on. But this requires a complete redesign of the elog database.

A quick and dirty solution would be to store the origianal entry inside the browser (using JavaScript). You could then restore the initial version with a "cancel" button. But this mechanism relies then on the browser. If you just leave the page, there is no way the browser can put back the old version.

Stefan

Andreas Luedeke wrote:

If I edit an old entry, and do some mistake while editing, then there is currently no way to savely discard the changes.

The problem is that the entry will become a draft: if I close the window without saving, then the whole entry is gone: it will be converted into a draft entry. But the draft does contain my changes, it is not the originally saved entry!

The draft mechanism should keep a copy of the entry before I opened it in edit mode, and allow to go back to that copy. The edit form has currently the buttons "Submit", "Save", "Preview" and "Delete"; it should have in addition the button "Cancel", that just closes the edit window without saving the entry and even deleting the draft that was saved while the entry was modified. This should bring you back to the previous list view.

Is anyone out there in favour of this change?

 

       icon4.gif   Re: Cancel button missing when editing an entry, posted by Grant Jeffcote on Wed Nov 16 17:12:40 2016 

Andreas,

Doesn't using the Save Drafts = 0 option result in the old 'Back' button returning (replacing the Delete option) meaning you can revert back to your old (unmodified) version without saving, sure it doesn't save a draft but I'd rather be able to return back and lose the changes I didn't want then mess up an old entry, I guess the back button on the browser could also do what you want?

The issue I had was that entries were being deleted accidently by persons other than those that created them, I reduced the edit time to try and mitigate it but ended up going back to what we had in Ver 2.9.2, a 'Back' button.

Grant

Stefan Ritt wrote:

The problem is that the elog database does not allow for a copy of an entry before you make modifications (and therefore get a "draft"). This is actually very simila to other note taking programs. I use Evernote, which constantly synchronizes between devices, and there I also cannot go back to the version before I started making modification. What one would need is a version system (and Evernote has one), so you can go back to the previous verison, the pre-previous version and so on. But this requires a complete redesign of the elog database.

A quick and dirty solution would be to store the origianal entry inside the browser (using JavaScript). You could then restore the initial version with a "cancel" button. But this mechanism relies then on the browser. If you just leave the page, there is no way the browser can put back the old version.

Stefan

Andreas Luedeke wrote:

If I edit an old entry, and do some mistake while editing, then there is currently no way to savely discard the changes.

The problem is that the entry will become a draft: if I close the window without saving, then the whole entry is gone: it will be converted into a draft entry. But the draft does contain my changes, it is not the originally saved entry!

The draft mechanism should keep a copy of the entry before I opened it in edit mode, and allow to go back to that copy. The edit form has currently the buttons "Submit", "Save", "Preview" and "Delete"; it should have in addition the button "Cancel", that just closes the edit window without saving the entry and even deleting the draft that was saved while the entry was modified. This should bring you back to the previous list view.

Is anyone out there in favour of this change?

 

 

          icon2.gif   Re: Cancel button missing when editing an entry, posted by Andreas Luedeke on Thu Nov 17 09:14:15 2016 

Yes, "Save Drafts = 0" does the trick. But it is the "zero-option": trivial, but not satisfying ;-)

Warning: the "back" button of the browser has a very undesired effect: the entry is then converted into a draft and not shown anymore in list view!

So if you ever wondered where your entries vanished to: it might be that someone opened them in edit view, started to edit them and then closed the browser window. I will make that known at my institute.

Grant Jeffcote wrote:

Andreas,

Doesn't using the Save Drafts = 0 option result in the old 'Back' button returning (replacing the Delete option) meaning you can revert back to your old (unmodified) version without saving, sure it doesn't save a draft but I'd rather be able to return back and lose the changes I didn't want then mess up an old entry, I guess the back button on the browser could also do what you want?

The issue I had was that entries were being deleted accidently by persons other than those that created them, I reduced the edit time to try and mitigate it but ended up going back to what we had in Ver 2.9.2, a 'Back' button.

Grant

Stefan Ritt wrote:

The problem is that the elog database does not allow for a copy of an entry before you make modifications (and therefore get a "draft"). This is actually very simila to other note taking programs. I use Evernote, which constantly synchronizes between devices, and there I also cannot go back to the version before I started making modification. What one would need is a version system (and Evernote has one), so you can go back to the previous verison, the pre-previous version and so on. But this requires a complete redesign of the elog database.

A quick and dirty solution would be to store the origianal entry inside the browser (using JavaScript). You could then restore the initial version with a "cancel" button. But this mechanism relies then on the browser. If you just leave the page, there is no way the browser can put back the old version.

Stefan

Andreas Luedeke wrote:

If I edit an old entry, and do some mistake while editing, then there is currently no way to savely discard the changes.

The problem is that the entry will become a draft: if I close the window without saving, then the whole entry is gone: it will be converted into a draft entry. But the draft does contain my changes, it is not the originally saved entry!

The draft mechanism should keep a copy of the entry before I opened it in edit mode, and allow to go back to that copy. The edit form has currently the buttons "Submit", "Save", "Preview" and "Delete"; it should have in addition the button "Cancel", that just closes the edit window without saving the entry and even deleting the draft that was saved while the entry was modified. This should bring you back to the previous list view.

Is anyone out there in favour of this change?

 

 

 

          icon2.gif   Re: Cancel button missing when editing an entry, posted by Stefan Ritt on Mon Nov 21 15:07:05 2016 

Well, the "undesired effect" you describe is exactly the reason for having drafts. Somebody works on a lengthy message, then the browser dies, or the user by accident hits the "back" button and (by accidnt, ehem...) confirms the dialog popping up which says "changes will be lost". In that case the draft mechanism should take care of that the lengthy message is not lost. That's where it is for. If one does not like it, one can always turn it off. If one now hits "New", there is the option to continue the previous draft message rather than creating a blank message. Originally, draft messages were shown on the list of entries in a different colors, but people got confused by that, since the draft message appears already during the editing of the message by the user writing it. So upon request I removed it from the listing. Actually the system cannot differentiate between "user still has the message open and works on it" and "browser has crashed". So there is no elegant way to make everybody happy. The only option I can think of is to make the listing of draft messages optioinal (with a new flag in the config file). Would that make sense? Or does anybody see another conecpt?

Stefan

Grant Jeffcote wrote:

Andreas,

Doesn't using the Save Drafts = 0 option result in the old 'Back' button returning (replacing the Delete option) meaning you can revert back to your old (unmodified) version without saving, sure it doesn't save a draft but I'd rather be able to return back and lose the changes I didn't want then mess up an old entry, I guess the back button on the browser could also do what you want?

The issue I had was that entries were being deleted accidently by persons other than those that created them, I reduced the edit time to try and mitigate it but ended up going back to what we had in Ver 2.9.2, a 'Back' button.

Grant

Stefan Ritt wrote:

The problem is that the elog database does not allow for a copy of an entry before you make modifications (and therefore get a "draft"). This is actually very simila to other note taking programs. I use Evernote, which constantly synchronizes between devices, and there I also cannot go back to the version before I started making modification. What one would need is a version system (and Evernote has one), so you can go back to the previous verison, the pre-previous version and so on. But this requires a complete redesign of the elog database.

A quick and dirty solution would be to store the origianal entry inside the browser (using JavaScript). You could then restore the initial version with a "cancel" button. But this mechanism relies then on the browser. If you just leave the page, there is no way the browser can put back the old version.

Stefan

Andreas Luedeke wrote:

If I edit an old entry, and do some mistake while editing, then there is currently no way to savely discard the changes.

The problem is that the entry will become a draft: if I close the window without saving, then the whole entry is gone: it will be converted into a draft entry. But the draft does contain my changes, it is not the originally saved entry!

The draft mechanism should keep a copy of the entry before I opened it in edit mode, and allow to go back to that copy. The edit form has currently the buttons "Submit", "Save", "Preview" and "Delete"; it should have in addition the button "Cancel", that just closes the edit window without saving the entry and even deleting the draft that was saved while the entry was modified. This should bring you back to the previous list view.

Is anyone out there in favour of this change?

 

 

 

             icon2.gif   Re: Cancel button missing when editing an entry, posted by Christine Quicot on Wed Nov 23 09:25:15 2016 

Hello,

In my opinion, there should be a "close/return" button (discard changes), even with the drafts enabled, but effectively there will have to be several saves made (at least before/after).
I chose to unable the drafts because of this unwanted behaviour: when I modify an entry without any change and click on another tab/logbook without saving, then choose to close the window, the entry is deleted.

Chris 

Stefan Ritt wrote:

Well, the "undesired effect" you describe is exactly the reason for having drafts. Somebody works on a lengthy message, then the browser dies, or the user by accident hits the "back" button and (by accidnt, ehem...) confirms the dialog popping up which says "changes will be lost". In that case the draft mechanism should take care of that the lengthy message is not lost. That's where it is for. If one does not like it, one can always turn it off. If one now hits "New", there is the option to continue the previous draft message rather than creating a blank message. Originally, draft messages were shown on the list of entries in a different colors, but people got confused by that, since the draft message appears already during the editing of the message by the user writing it. So upon request I removed it from the listing. Actually the system cannot differentiate between "user still has the message open and works on it" and "browser has crashed". So there is no elegant way to make everybody happy. The only option I can think of is to make the listing of draft messages optioinal (with a new flag in the config file). Would that make sense? Or does anybody see another conecpt?

Stefan

Grant Jeffcote wrote:

Andreas,

Doesn't using the Save Drafts = 0 option result in the old 'Back' button returning (replacing the Delete option) meaning you can revert back to your old (unmodified) version without saving, sure it doesn't save a draft but I'd rather be able to return back and lose the changes I didn't want then mess up an old entry, I guess the back button on the browser could also do what you want?

The issue I had was that entries were being deleted accidently by persons other than those that created them, I reduced the edit time to try and mitigate it but ended up going back to what we had in Ver 2.9.2, a 'Back' button.

Grant

Stefan Ritt wrote:

The problem is that the elog database does not allow for a copy of an entry before you make modifications (and therefore get a "draft"). This is actually very simila to other note taking programs. I use Evernote, which constantly synchronizes between devices, and there I also cannot go back to the version before I started making modification. What one would need is a version system (and Evernote has one), so you can go back to the previous verison, the pre-previous version and so on. But this requires a complete redesign of the elog database.

A quick and dirty solution would be to store the origianal entry inside the browser (using JavaScript). You could then restore the initial version with a "cancel" button. But this mechanism relies then on the browser. If you just leave the page, there is no way the browser can put back the old version.

Stefan

Andreas Luedeke wrote:

If I edit an old entry, and do some mistake while editing, then there is currently no way to savely discard the changes.

The problem is that the entry will become a draft: if I close the window without saving, then the whole entry is gone: it will be converted into a draft entry. But the draft does contain my changes, it is not the originally saved entry!

The draft mechanism should keep a copy of the entry before I opened it in edit mode, and allow to go back to that copy. The edit form has currently the buttons "Submit", "Save", "Preview" and "Delete"; it should have in addition the button "Cancel", that just closes the edit window without saving the entry and even deleting the draft that was saved while the entry was modified. This should bring you back to the previous list view.

Is anyone out there in favour of this change?

 

 

 

 

       icon2.gif   Re: Cancel button missing when editing an entry, posted by Andreas Luedeke on Thu Nov 24 07:38:52 2016 
Hi Stefan,
actually what you refer to as the "quick and dirty" solution is probably the only feasible one: to store a copy of the entry in the browser and restore that copy with a "cancel" button.
Otherwise you would need a full-fledged revision management, to deal with multiple copies of the same entry open in several browsers.
 
Yet, that does not solve the "problem" of a crashed/closed browser: the entries will go back to drafts and might got overlooked. As you rightly say: this is a feature, not a bug.
This is only a problem when editing existing entries, not for new entries. Maybe a note right of the button "delete" would help, in case you edit an old entry: "This entry is now a draft; press Submit to make it a real entry again".
 
But as a first step, it might be worthwhile to document this behaviour in the ELOG "User's Guide". Drafts are currently only mentioned in the elogd.cfg syntax pages under "Save drafts" and "autosave". I'll try to propose a text :-)
 
Kind Regards
Andreas
 
Stefan Ritt wrote:

The problem is that the elog database does not allow for a copy of an entry before you make modifications (and therefore get a "draft"). This is actually very simila to other note taking programs. I use Evernote, which constantly synchronizes between devices, and there I also cannot go back to the version before I started making modification. What one would need is a version system (and Evernote has one), so you can go back to the previous verison, the pre-previous version and so on. But this requires a complete redesign of the elog database.

A quick and dirty solution would be to store the origianal entry inside the browser (using JavaScript). You could then restore the initial version with a "cancel" button. But this mechanism relies then on the browser. If you just leave the page, there is no way the browser can put back the old version.

Stefan

Andreas Luedeke wrote:

If I edit an old entry, and do some mistake while editing, then there is currently no way to savely discard the changes.

The problem is that the entry will become a draft: if I close the window without saving, then the whole entry is gone: it will be converted into a draft entry. But the draft does contain my changes, it is not the originally saved entry!

The draft mechanism should keep a copy of the entry before I opened it in edit mode, and allow to go back to that copy. The edit form has currently the buttons "Submit", "Save", "Preview" and "Delete"; it should have in addition the button "Cancel", that just closes the edit window without saving the entry and even deleting the draft that was saved while the entry was modified. This should bring you back to the previous list view.

Is anyone out there in favour of this change?

 

 

          icon2.gif   Re: Cancel button missing when editing an entry, posted by Stefan Ritt on Thu Nov 24 08:40:31 2016 
Andreas Luedeke wrote:
But as a first step, it might be worthwhile to document this behaviour in the ELOG "User's Guide". Drafts are currently only mentioned in the elogd.cfg syntax pages under "Save drafts" and "autosave". I'll try to propose a text :-)

Yes, I would be more than happy to include your text in the documentation.

Stefan

icon5.gif   How to configure email? "Error sending Email via <i>"127.0.0.1"</i>", posted by I Gede Made Wira Saputra on Tue Nov 15 04:42:49 2016 

Hi All,

I have a problem with email configuration with gmail account. I use Elog V3.1.1 and Stuneel V5-32 with Windows 7 Profesional 64-bit

I follow the instruction in elog:68039 This is my configuration elogd.cfg and stunnel.conf

# My elogd.cfg

;Mail server configuration
smtp host = 127.0.0.1
SMTP username = <My_email_account>@gmail.com
SMTP Password = MjhNYXNrb2tpMjI=

Email encoding = 1
Logout to main = 1

# My Stunnel.conf

[gmail-pop3]
client = yes
accept = 127.0.0.1:110
connect = pop.gmail.com:995
verify = 2
CAfile = ca-certs.pem
checkHost = pop.gmail.com
OCSPaia = yes

[gmail-imap]
client = yes
accept = 127.0.0.1:143
connect = imap.gmail.com:993
verify = 2
CAfile = ca-certs.pem
checkHost = imap.gmail.com
OCSPaia = yes

[elogssl]
client = yes
accept = 127.0.0.1:25
connect = smtp.gmail.com:465
verify = 2
CApath = /etc/ssl/certs

[gmail-smtp]
client = yes
accept = 127.0.0.1:25
connect = smtp.gmail.com:465
verify = 2
CAfile = ca-certs.pem
checkHost = smtp.gmail.com
OCSPaia = yes

 

I got error "Error sending Email via <i>"127.0.0.1"</i>" when I run it.

Could somebody help me?

Thanks,

 

 

    icon2.gif   Re: How to configure email? "Error sending Email via <i>"127.0.0.1"</i>", posted by Xuan Wu on Tue Nov 15 07:29:04 2016 

I use "SMTP username = <My_email_account>" without "@xxx" for my site. So you can try it like that. HTH

I Gede Made Wira Saputra wrote:

Hi All,

I have a problem with email configuration with gmail account. I use Elog V3.1.1 and Stuneel V5-32 with Windows 7 Profesional 64-bit

I follow the instruction in elog:68039 This is my configuration elogd.cfg and stunnel.conf

# My elogd.cfg

;Mail server configuration
smtp host = 127.0.0.1
SMTP username = <My_email_account>@gmail.com
SMTP Password = MjhNYXNrb2tpMjI=

Email encoding = 1
Logout to main = 1

# My Stunnel.conf

[gmail-pop3]
client = yes
accept = 127.0.0.1:110
connect = pop.gmail.com:995
verify = 2
CAfile = ca-certs.pem
checkHost = pop.gmail.com
OCSPaia = yes

[gmail-imap]
client = yes
accept = 127.0.0.1:143
connect = imap.gmail.com:993
verify = 2
CAfile = ca-certs.pem
checkHost = imap.gmail.com
OCSPaia = yes

[elogssl]
client = yes
accept = 127.0.0.1:25
connect = smtp.gmail.com:465
verify = 2
CApath = /etc/ssl/certs

[gmail-smtp]
client = yes
accept = 127.0.0.1:25
connect = smtp.gmail.com:465
verify = 2
CAfile = ca-certs.pem
checkHost = smtp.gmail.com
OCSPaia = yes

 

I got error "Error sending Email via <i>"127.0.0.1"</i>" when I run it.

Could somebody help me?

Thanks,

 

 

 

       icon2.gif   Re: How to configure email? "Error sending Email via <i>"127.0.0.1"</i>", posted by I Gede Made Wira Saputra on Tue Nov 15 10:24:18 2016 

Hi Xuan Wu,

Nothing happen, I still got error. Do you have any more idea? I really confuse.

Xuan Wu wrote:

I use "SMTP username = <My_email_account>" without "@xxx" for my site. So you can try it like that. HTH

I Gede Made Wira Saputra wrote:

Hi All,

I have a problem with email configuration with gmail account. I use Elog V3.1.1 and Stuneel V5-32 with Windows 7 Profesional 64-bit

I follow the instruction in elog:68039 This is my configuration elogd.cfg and stunnel.conf

# My elogd.cfg

;Mail server configuration
smtp host = 127.0.0.1
SMTP username = <My_email_account>@gmail.com
SMTP Password = MjhNYXNrb2tpMjI=

Email encoding = 1
Logout to main = 1

# My Stunnel.conf

[gmail-pop3]
client = yes
accept = 127.0.0.1:110
connect = pop.gmail.com:995
verify = 2
CAfile = ca-certs.pem
checkHost = pop.gmail.com
OCSPaia = yes

[gmail-imap]
client = yes
accept = 127.0.0.1:143
connect = imap.gmail.com:993
verify = 2
CAfile = ca-certs.pem
checkHost = imap.gmail.com
OCSPaia = yes

[elogssl]
client = yes
accept = 127.0.0.1:25
connect = smtp.gmail.com:465
verify = 2
CApath = /etc/ssl/certs

[gmail-smtp]
client = yes
accept = 127.0.0.1:25
connect = smtp.gmail.com:465
verify = 2
CAfile = ca-certs.pem
checkHost = smtp.gmail.com
OCSPaia = yes

 

I got error "Error sending Email via <i>"127.0.0.1"</i>" when I run it.

Could somebody help me?

Thanks,

 

 

 

 

          icon2.gif   Re: How to configure email? "Error sending Email via <i>"127.0.0.1"</i>", posted by Xuan Wu on Tue Nov 15 11:22:31 2016 

You can use command to test your email service and your username and password. 

telnet your.email.host  25

ehlo hostname

auth login

(input your username)   note that:the username and password should be generaterd by command perl -MMIME::Base64 -e 'print encode_base64 (“username”)’ 

(input your password)

Then you can test the server and username and password are right or not.

And you can set "Logging level = 3" elogd -v and see what is going on?

I Gede Made Wira Saputra wrote:

Hi Xuan Wu,

Nothing happen, I still got error. Do you have any more idea? I really confuse.

Xuan Wu wrote:

I use "SMTP username = <My_email_account>" without "@xxx" for my site. So you can try it like that. HTH

I Gede Made Wira Saputra wrote:

Hi All,

I have a problem with email configuration with gmail account. I use Elog V3.1.1 and Stuneel V5-32 with Windows 7 Profesional 64-bit

I follow the instruction in elog:68039 This is my configuration elogd.cfg and stunnel.conf

# My elogd.cfg

;Mail server configuration
smtp host = 127.0.0.1
SMTP username = <My_email_account>@gmail.com
SMTP Password = MjhNYXNrb2tpMjI=

Email encoding = 1
Logout to main = 1

# My Stunnel.conf

[gmail-pop3]
client = yes
accept = 127.0.0.1:110
connect = pop.gmail.com:995
verify = 2
CAfile = ca-certs.pem
checkHost = pop.gmail.com
OCSPaia = yes

[gmail-imap]
client = yes
accept = 127.0.0.1:143
connect = imap.gmail.com:993
verify = 2
CAfile = ca-certs.pem
checkHost = imap.gmail.com
OCSPaia = yes

[elogssl]
client = yes
accept = 127.0.0.1:25
connect = smtp.gmail.com:465
verify = 2
CApath = /etc/ssl/certs

[gmail-smtp]
client = yes
accept = 127.0.0.1:25
connect = smtp.gmail.com:465
verify = 2
CAfile = ca-certs.pem
checkHost = smtp.gmail.com
OCSPaia = yes

 

I got error "Error sending Email via <i>"127.0.0.1"</i>" when I run it.

Could somebody help me?

Thanks,

 

 

 

 

 

             icon2.gif   Re: How to configure email? "Error sending Email via <i>"127.0.0.1"</i>", posted by I Gede Made Wira Saputra on Wed Nov 16 07:07:35 2016 

Hi Xuan Wu,

I got error from stunel as below.


2016.11.17 14:07:01 LOG5[0]: Service [gmail-smtp] accepted connection from 127.0.0.1:52473
2016.11.17 14:07:03 LOG3[0]: s_connect: connect 74.125.130.109:465: Connection refused (WSAECONNREFUSED) (10061)
2016.11.17 14:07:04 LOG3[0]: s_connect: connect 74.125.130.108:465: Connection refused (WSAECONNREFUSED) (10061)
2016.11.17 14:07:04 LOG5[0]: Connection reset: 0 byte(s) sent to SSL, 0 byte(s) sent to socket
2016.11.17 14:09:02 LOG5[1]: Service [gmail-smtp] accepted connection from 127.0.0.1:52510
2016.11.17 14:09:03 LOG3[1]: s_connect: connect 74.125.130.108:465: Connection refused (WSAECONNREFUSED) (10061)
2016.11.17 14:09:04 LOG3[1]: s_connect: connect 74.125.130.109:465: Connection refused (WSAECONNREFUSED) (10061)
2016.11.17 14:09:04 LOG5[1]: Connection reset: 0 byte(s) sent to SSL, 0 byte(s) sent to socket
2016.11.17 14:18:04 LOG5[2]: Service [gmail-smtp] accepted connection from 127.0.0.1:52569
2016.11.17 14:18:05 LOG3[2]: s_connect: connect 74.125.130.109:465: Connection refused (WSAECONNREFUSED) (10061)
2016.11.17 14:18:06 LOG3[2]: s_connect: connect 74.125.130.108:465: Connection refused (WSAECONNREFUSED) (10061)
2016.11.17 14:18:06 LOG5[2]: Connection reset: 0 byte(s) sent to SSL, 0 byte(s) sent to socket
2016.11.17 14:18:25 LOG5[3]: Service [gmail-smtp] accepted connection from 127.0.0.1:52581
2016.11.17 14:18:26 LOG3[3]: s_connect: connect 74.125.130.108:465: Connection refused (WSAECONNREFUSED) (10061)
2016.11.17 14:18:27 LOG3[3]: s_connect: connect 74.125.130.109:465: Connection refused (WSAECONNREFUSED) (10061)
2016.11.17 14:18:27 LOG5[3]: Connection reset: 0 byte(s) sent to SSL, 0 byte(s) sent to socket

Do you know about these?

Xuan Wu wrote:

You can use command to test your email service and your username and password. 

telnet your.email.host  25

ehlo hostname

auth login

(input your username)   note that:the username and password should be generaterd by command perl -MMIME::Base64 -e 'print encode_base64 (“username”)’ 

(input your password)

Then you can test the server and username and password are right or not.

And you can set "Logging level = 3" elogd -v and see what is going on?

I Gede Made Wira Saputra wrote:

Hi Xuan Wu,

Nothing happen, I still got error. Do you have any more idea? I really confuse.

Xuan Wu wrote:

I use "SMTP username = <My_email_account>" without "@xxx" for my site. So you can try it like that. HTH

I Gede Made Wira Saputra wrote:

Hi All,

I have a problem with email configuration with gmail account. I use Elog V3.1.1 and Stuneel V5-32 with Windows 7 Profesional 64-bit

I follow the instruction in elog:68039 This is my configuration elogd.cfg and stunnel.conf

# My elogd.cfg

;Mail server configuration
smtp host = 127.0.0.1
SMTP username = <My_email_account>@gmail.com
SMTP Password = MjhNYXNrb2tpMjI=

Email encoding = 1
Logout to main = 1

# My Stunnel.conf

[gmail-pop3]
client = yes
accept = 127.0.0.1:110
connect = pop.gmail.com:995
verify = 2
CAfile = ca-certs.pem
checkHost = pop.gmail.com
OCSPaia = yes

[gmail-imap]
client = yes
accept = 127.0.0.1:143
connect = imap.gmail.com:993
verify = 2
CAfile = ca-certs.pem
checkHost = imap.gmail.com
OCSPaia = yes

[elogssl]
client = yes
accept = 127.0.0.1:25
connect = smtp.gmail.com:465
verify = 2
CApath = /etc/ssl/certs

[gmail-smtp]
client = yes
accept = 127.0.0.1:25
connect = smtp.gmail.com:465
verify = 2
CAfile = ca-certs.pem
checkHost = smtp.gmail.com
OCSPaia = yes

 

I got error "Error sending Email via <i>"127.0.0.1"</i>" when I run it.

Could somebody help me?

Thanks,

 

 

 

 

 

 

                icon2.gif   Re: How to configure email? "Error sending Email via <i>"127.0.0.1"</i>", posted by Xuan Wu on Thu Nov 17 09:54:03 2016 

Hi,

I'm sorry that I'm not familiar with the stunel. I came across email sending problem before. I created a email server in my own PC called postfix. Elog can use this email server to send email. Finally, I could use the email server from our institution. Maybe Luedeke or Stefan can help you.

I Gede Made Wira Saputra wrote:

Hi Xuan Wu,

I got error from stunel as below.


2016.11.17 14:07:01 LOG5[0]: Service [gmail-smtp] accepted connection from 127.0.0.1:52473
2016.11.17 14:07:03 LOG3[0]: s_connect: connect 74.125.130.109:465: Connection refused (WSAECONNREFUSED) (10061)
2016.11.17 14:07:04 LOG3[0]: s_connect: connect 74.125.130.108:465: Connection refused (WSAECONNREFUSED) (10061)
2016.11.17 14:07:04 LOG5[0]: Connection reset: 0 byte(s) sent to SSL, 0 byte(s) sent to socket
2016.11.17 14:09:02 LOG5[1]: Service [gmail-smtp] accepted connection from 127.0.0.1:52510
2016.11.17 14:09:03 LOG3[1]: s_connect: connect 74.125.130.108:465: Connection refused (WSAECONNREFUSED) (10061)
2016.11.17 14:09:04 LOG3[1]: s_connect: connect 74.125.130.109:465: Connection refused (WSAECONNREFUSED) (10061)
2016.11.17 14:09:04 LOG5[1]: Connection reset: 0 byte(s) sent to SSL, 0 byte(s) sent to socket
2016.11.17 14:18:04 LOG5[2]: Service [gmail-smtp] accepted connection from 127.0.0.1:52569
2016.11.17 14:18:05 LOG3[2]: s_connect: connect 74.125.130.109:465: Connection refused (WSAECONNREFUSED) (10061)
2016.11.17 14:18:06 LOG3[2]: s_connect: connect 74.125.130.108:465: Connection refused (WSAECONNREFUSED) (10061)
2016.11.17 14:18:06 LOG5[2]: Connection reset: 0 byte(s) sent to SSL, 0 byte(s) sent to socket
2016.11.17 14:18:25 LOG5[3]: Service [gmail-smtp] accepted connection from 127.0.0.1:52581
2016.11.17 14:18:26 LOG3[3]: s_connect: connect 74.125.130.108:465: Connection refused (WSAECONNREFUSED) (10061)
2016.11.17 14:18:27 LOG3[3]: s_connect: connect 74.125.130.109:465: Connection refused (WSAECONNREFUSED) (10061)
2016.11.17 14:18:27 LOG5[3]: Connection reset: 0 byte(s) sent to SSL, 0 byte(s) sent to socket

Do you know about these?

Xuan Wu wrote:

You can use command to test your email service and your username and password. 

telnet your.email.host  25

ehlo hostname

auth login

(input your username)   note that:the username and password should be generaterd by command perl -MMIME::Base64 -e 'print encode_base64 (“username”)’ 

(input your password)

Then you can test the server and username and password are right or not.

And you can set "Logging level = 3" elogd -v and see what is going on?

I Gede Made Wira Saputra wrote:

Hi Xuan Wu,

Nothing happen, I still got error. Do you have any more idea? I really confuse.

Xuan Wu wrote:

I use "SMTP username = <My_email_account>" without "@xxx" for my site. So you can try it like that. HTH

I Gede Made Wira Saputra wrote:

Hi All,

I have a problem with email configuration with gmail account. I use Elog V3.1.1 and Stuneel V5-32 with Windows 7 Profesional 64-bit

I follow the instruction in elog:68039 This is my configuration elogd.cfg and stunnel.conf

# My elogd.cfg

;Mail server configuration
smtp host = 127.0.0.1
SMTP username = <My_email_account>@gmail.com
SMTP Password = MjhNYXNrb2tpMjI=

Email encoding = 1
Logout to main = 1

# My Stunnel.conf

[gmail-pop3]
client = yes
accept = 127.0.0.1:110
connect = pop.gmail.com:995
verify = 2
CAfile = ca-certs.pem
checkHost = pop.gmail.com
OCSPaia = yes

[gmail-imap]
client = yes
accept = 127.0.0.1:143
connect = imap.gmail.com:993
verify = 2
CAfile = ca-certs.pem
checkHost = imap.gmail.com
OCSPaia = yes

[elogssl]
client = yes
accept = 127.0.0.1:25
connect = smtp.gmail.com:465
verify = 2
CApath = /etc/ssl/certs

[gmail-smtp]
client = yes
accept = 127.0.0.1:25
connect = smtp.gmail.com:465
verify = 2
CAfile = ca-certs.pem
checkHost = smtp.gmail.com
OCSPaia = yes

 

I got error "Error sending Email via <i>"127.0.0.1"</i>" when I run it.

Could somebody help me?

Thanks,

 

 

 

 

 

 

 

icon5.gif   Error starting elog 3.1.2 on Windows server, posted by Peter K on Mon Oct 31 09:51:02 2016 

Hi,

I'm trying to upgrade ELOG 2.9.2, which I have been used many years, to the new version (3.1.2).

I can't run the new version even from the command line:

c:\Program Files (x86)\ELOG1>"c:\Program Files (x86)\ELOG1\elogd" -c "c:\Program Files (x86)\ELOG1\elogd.cfg"
Access is denied.

Message box appears with message:

c:\Program Files (x86)\ELOG1\elogd.exe is not a valid Win32 application.

What do I do wrong ?

I'm trying to use my old config file. New default config gave the same result :-(

icon5.gif   Reset a user's password, posted by Val Schmidt on Fri Oct 28 16:30:36 2016 

Is it possible for an administator to reset a user's password? 

Thanks,

Val

    icon2.gif   Re: Reset a user's password, posted by Stefan Ritt on Fri Oct 28 16:41:11 2016 

Sure. Hit "Config", select other user, and click on "Change password".

Stefan

Val Schmidt wrote:

Is it possible for an administator to reset a user's password? 

Thanks,

Val

 

icon5.gif   Datetime format with elog client, posted by Alan Grant on Wed Oct 26 16:39:38 2016 

What is the input format expected by the elog client for a required Datetime defined field when inserting a record? (Eg: October 26, 2016 = ? in the field's data parameter).

I have read some prior posts on this and the indication is that the input needs to use epoch time, however even when I enter 1477493161 or 0 the client still flags the variable data as missing. If this is in fact the format I shoud be using then I can provide a sample input and output message to illustrate my problem.

 
    icon2.gif   Re: Datetime format with elog client, posted by Alan Grant on Wed Oct 26 21:41:42 2016 

UPDATE:

As I continue to test and troubleshoot this problem I noticed something peculiar: the Datetime defined field that the client is rejecting when I attempt a record insert is listed as a Required attribute. However, when I just remove it from the Required list the record including the epoch time is inserted without any problems.

I am now unsure if my configuration is deficient somewhere, vs a problem with the client program code.

Alan Grant wrote:

What is the input format expected by the elog client for a required Datetime defined field when inserting a record? (Eg: October 26, 2016 = ? in the field's data parameter).

I have read some prior posts on this and the indication is that the input needs to use epoch time, however even when I enter 1477493161 or 0 the client still flags the variable data as missing. If this is in fact the format I shoud be using then I can provide a sample input and output message to illustrate my problem.

 

 

       icon2.gif   Re: Datetime format with elog client, posted by David Pilgram on Wed Oct 26 22:15:46 2016 

Hi Alan,

I have no idea if this helps but the Date and Time formats in the config file internally interconnect, as I discovered in trying to define them separately.  Define one, and the other is defined.

I only mention this as I spent some hours trying to sort out the issue, only to learn it was a "feature" that Stefan didn't want to correct as it may affect too many others.  I can understand that, and made a different solution to what I wanted to do.

Alan Grant wrote:

UPDATE:

As I continue to test and troubleshoot this problem I noticed something peculiar: the Datetime defined field that the client is rejecting when I attempt a record insert is listed as a Required attribute. However, when I just remove it from the Required list the record including the epoch time is inserted without any problems.

I am now unsure if my configuration is deficient somewhere, vs a problem with the client program code.

Alan Grant wrote:

What is the input format expected by the elog client for a required Datetime defined field when inserting a record? (Eg: October 26, 2016 = ? in the field's data parameter).

I have read some prior posts on this and the indication is that the input needs to use epoch time, however even when I enter 1477493161 or 0 the client still flags the variable data as missing. If this is in fact the format I shoud be using then I can provide a sample input and output message to illustrate my problem.

 

 

 

          icon2.gif   Re: Datetime format with elog client, posted by Alan Grant on Thu Oct 27 04:16:10 2016 

I really appreciate your reply David.

There's only one Datetime defined field that I'm working with so I'm not sure what you mean, if you don't mind elaborating? It sounds interesting.

The only thing I gather right now from what you're saying is that there's essentially two locations where a field can be defined - in the Config file, or via the format of the data itself in the client command - but I could be wrong. 

David Pilgram wrote:

Hi Alan,

I have no idea if this helps but the Date and Time formats in the config file internally interconnect, as I discovered in trying to define them separately.  Define one, and the other is defined.

I only mention this as I spent some hours trying to sort out the issue, only to learn it was a "feature" that Stefan didn't want to correct as it may affect too many others.  I can understand that, and made a different solution to what I wanted to do.

Alan Grant wrote:

UPDATE:

As I continue to test and troubleshoot this problem I noticed something peculiar: the Datetime defined field that the client is rejecting when I attempt a record insert is listed as a Required attribute. However, when I just remove it from the Required list the record including the epoch time is inserted without any problems.

I am now unsure if my configuration is deficient somewhere, vs a problem with the client program code.

Alan Grant wrote:

What is the input format expected by the elog client for a required Datetime defined field when inserting a record? (Eg: October 26, 2016 = ? in the field's data parameter).

I have read some prior posts on this and the indication is that the input needs to use epoch time, however even when I enter 1477493161 or 0 the client still flags the variable data as missing. If this is in fact the format I shoud be using then I can provide a sample input and output message to illustrate my problem.

 

 

 

 

       icon2.gif   Re: Datetime format with elog client, posted by Andreas Luedeke on Thu Oct 27 11:18:17 2016 

Yes, this is a known bug of ELOG, see elog:68404

Alan Grant wrote:

UPDATE:

As I continue to test and troubleshoot this problem I noticed something peculiar: the Datetime defined field that the client is rejecting when I attempt a record insert is listed as a Required attribute. However, when I just remove it from the Required list the record including the epoch time is inserted without any problems.

I am now unsure if my configuration is deficient somewhere, vs a problem with the client program code.

Alan Grant wrote:

What is the input format expected by the elog client for a required Datetime defined field when inserting a record? (Eg: October 26, 2016 = ? in the field's data parameter).

I have read some prior posts on this and the indication is that the input needs to use epoch time, however even when I enter 1477493161 or 0 the client still flags the variable data as missing. If this is in fact the format I shoud be using then I can provide a sample input and output message to illustrate my problem.

 

 

 

icon5.gif   posting messages through email, posted by Devin Bougie on Mon May 2 22:20:40 2016 
Hello,

Has anyone implemented an email gateway for ELOG, allowing users to submit entries by sending an email?  Granted this should be possible using the elog client binary, but I thought I'd see if I've overlooked any examples or docs first.

Thanks!
Devin
    icon2.gif   Re: posting messages through email, posted by Devin Bougie on Mon Oct 17 20:15:09 2016 
Just incase anyone's interested, we went ahead and wrote a python script to act as an email gateway for ELOG.  If anyone's interested, we'd be happy to share and appreciate any additional improvements.

- You can send a new message to the email address to start a new thread.
- You can reply to messages received from that logbook. If you include the message you are replying to in the body of your message, the reply will be threaded appropriately as a response to the initial message.
- The body of a new message will only include the text/html portion of a MIME message if it's available.
- Attachments work, although we remove spaces and add a random identifier (to avoid collisions) to each filename.
- the Author field is derived using the From address of the email.
- the subject field is derived using the Subject of the email.
- both single and double quotes are preserved in the author, subject, or body of the message

Devin

> Hello,
> 
> Has anyone implemented an email gateway for ELOG, allowing users to submit entries by sending an email?  Granted this should be possible using the elog client binary, but I thought I'd see if I've overlooked any examples 
or docs first.
> 
> Thanks!
> Devin
icon3.gif   Is there a way to export logs, posted by Alex Kühnel on Mon Oct 3 10:02:36 2016 elog_export.JPG

hello

Is there a way to export logs from elog (for example after I have selected a filter) to txt or csv...

I found the "Download" attribute but this works for only one elog entry...

regards

    icon2.gif   Re: Is there a way to export logs, posted by Alex Kühnel on Mon Oct 3 10:18:19 2016 

shame on me, there is a way!

I can search with find and then export as csv file

/alex

Alex Kühnel wrote:

hello

Is there a way to export logs from elog (for example after I have selected a filter) to txt or csv...

I found the "Download" attribute but this works for only one elog entry...

regards

 

icon6.gif   Enforcement of password complexity , posted by Chris Smyth on Sat Oct 1 15:32:53 2016 

Is there a way to enforce password complexity for users?

Either in this version of elog or the newest version?

ELOG V3.1.5-3fb85fa6