Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 181 of 807  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Versiondown Subject
  69001   Thu Aug 15 13:34:23 2019 Reply Andreas Luedekeandreas.luedeke@psi.chRequestLinux3.1.4Re: restrict edit time

Yes, I agree that cleaning up old Draft entries and correcting/deleting old entries is a job for the administrator. Currently I do what you've said: commenting out "restrict edit time", changing the entry, commenting in "restrict edit time".

There are already some commands specifically for the admin:

  • Admin textarea = <cols>,<rows>
  • Admin user = <user list>

It would make sense to add more of them, for this specific case:

  • Admin restrict edit time = <hours>

If that is set to "-1", then the Admin can edit old entries regardless of their age. Actually there is no option to "unset" restrict edit time inherited from a global config: a negative time would make sense as "disabling" restrict edit time.

Another item for the endless wishlist ;-)

Cheers, Andreas

Sebastian Schenk wrote:

Hello,
I have experienced some inconveniences with the restrict edit time option.

First, it is not possible for admin users to edit an entry after the edit time.
The restrict edit option allows admin users to edit posts from other users,
so I think admins should also be allowed to edit posts after edit time.
As they can edit the config and temporarily disable the restrict edit time option, which is an issue.

Secondly, if a user made a draft and did not submitted it before the edit time runs out,
the draft got stuck as it cannot be edited (and submitted) any more.

Best wishes,
Sebastian

 

  69002   Thu Aug 15 19:00:12 2019 Reply Antonio Bulgheroniantonio.bulgheroni@gmail.comQuestionWindows3.1.4Re: Unable to add entries with command line elog.exe with SSL

So as promised, I add some more information. 

Unfortunately changing the port where the server is listening did not make any change. The situation is still the same. If I try directly from the server, I get a warning about the fake certificate and if I do it from elsewhere, I get the error that the server is not running SSL. 

I had a look at the source code of elog.c and found the point where the error is produced. in order to produce this message, the ssl_connect should be returning -1 and this is only possible in two cases: 

   if (SSL_connect(*ssl_con) <= 0)
      return -1;
   
   cert = SSL_get_peer_certificate(*ssl_con);
   if (cert == NULL)
      return -1;

So, in the first case, it means that the SSL connection failed completly. In the second case, the peer certificate is invalid. 

Is it possible to discriminate between the two, for example changing the return value? Unfortunately I don't have a windows computer with development tools. So it would be great if you could prepare an executable for me with this small change. 

Thanks in advance for your help,

cheers,

 

  69021   Sun Oct 6 20:25:27 2019 Question Kevin Wangwangkl1020@gmail.comQuestionLinux3.1.4Cannot connect to server of Gmail SMTP

Hi all,

When I tried to set SMTP server of Gmail in the global configuration file, I get the message "Error sending Email via <i>"smtp.gmail.com"</i>: Cannot connect to server" after I tried to receive the Email notification. Is there anyone gives help to solve this issue?

Thanks!

Kevin

  69022   Mon Oct 7 08:54:32 2019 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux3.1.4Re: Cannot connect to server of Gmail SMTP

Gmail uses a type of SMTP authentication which is currently not supported by elog. It's however on the todo list.

Stefan

Kevin Wang wrote:

Hi all,

When I tried to set SMTP server of Gmail in the global configuration file, I get the message "Error sending Email via <i>"smtp.gmail.com"</i>: Cannot connect to server" after I tried to receive the Email notification. Is there anyone gives help to solve this issue?

Thanks!

Kevin

 

  69023   Tue Oct 8 05:42:56 2019 Reply Kevin Wangwangkl1020@gmail.comQuestionLinux3.1.4Re: Cannot connect to server of Gmail SMTP

Hi Stefan,

 

Thank you very much for your reply. So which SMTP type can I use now? Is outlook OK?

 

Kevin

Stefan Ritt wrote:

Gmail uses a type of SMTP authentication which is currently not supported by elog. It's however on the todo list.

Stefan

Kevin Wang wrote:

Hi all,

When I tried to set SMTP server of Gmail in the global configuration file, I get the message "Error sending Email via <i>"smtp.gmail.com"</i>: Cannot connect to server" after I tried to receive the Email notification. Is there anyone gives help to solve this issue?

Thanks!

Kevin

 

 

  69024   Tue Oct 8 06:47:27 2019 Reply Johnsecondcomingtechnologies@fastmail.comQuestionLinux3.1.4Re: Cannot connect to server of Gmail SMTP

This is a local issue  on your network, if you have a mail server setup. SMTP is not handled directly by Elog and neither is any other mail protocal. Elog just sends the requested email to your server for processing to the recipients afaict. And whatever server (or service) you use to handle email sending needs to be able to accept them from your mail server. So after verifying which ones  you want to use; (like OutLook, or gmail, or whatever), then have your local email server set up to work with them. You can prol have a 3rd party do this was well (instead of your own local one) but then they would STILL need to be able to work with whatever guidlines the actual sender (gmail, hotmail..) requires to have mail sent. Email is a lonnng trail of different providers, servers, and other actors..

Halvy

Kevin Wang wrote:

Hi Stefan,

 

Thank you very much for your reply. So which SMTP type can I use now? Is outlook OK?

 

Kevin

Stefan Ritt wrote:

Gmail uses a type of SMTP authentication which is currently not supported by elog. It's however on the todo list.

Stefan

Kevin Wang wrote:

Hi all,

When I tried to set SMTP server of Gmail in the global configuration file, I get the message "Error sending Email via <i>"smtp.gmail.com"</i>: Cannot connect to server" after I tried to receive the Email notification. Is there anyone gives help to solve this issue?

Thanks!

Kevin

 

 

 

  69025   Tue Oct 8 12:00:58 2019 Question Finn Junkerfj@tvis.netQuestionWindows3.1.4Email boolean
Hello Elog forum

Is it possible to email boolean statements, like if a checkbox is checked to email certain people?

My Configuration looks like this but dosn't work:

Attributes = Bruger, Station, Emne, Status, PM5
Options PM5 = boolean
Email PM5 = fj@tvis.net

Kind Regards

Finn
  69026   Tue Oct 8 15:34:39 2019 Reply Finn Junkerfj@tvis.netQuestionWindows3.1.4Re: Email boolean
> Hello Elog forum
> 
> Is it possible to email boolean statements, like if a checkbox is checked to email certain people?
> 
> My Configuration looks like this but dosn't work:
> 
> Attributes = Bruger, Station, Emne, Status, PM5
> Options PM5 = boolean
> Email PM5 = fj@tvis.net
> 
> Kind Regards
> 
> Finn

I still don't have a solution to the above, but this works:

Attributes = Bruger, Station, Emne, Status, PM5
ROptions PM5 = Ja
Email PM5 Ja = th@tvis.net, fj@tvis.net

Kind Regards

Finn
ELOG V3.1.5-3fb85fa6