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.
|
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.
|
|
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.
|
|
|
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.
|
|
|
|
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.
|
|
|
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 |
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 |
Is there a way to export logs, posted by Alex Kühnel on Mon Oct 3 10:02:36 2016
|
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 |
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
|
|
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? |
Using an RSS reader on a pasword protected elog, posted by Jackie Schwehr on Wed Sep 28 10:36:53 2016
|
I'm trying to set up a python rss parser to read the output from my collaboration's elog, however the elog is password protected and I cannot figure out how to have a python scrip get past the login screen. Is there something obvious I'm missing that will allow a parser to submit a username and password? If that's too python-specific of a question for this audience, then what is the exact security method elog uses, so I can get information on that? I've read through the documentation and either I don't know what I'm reading (likely) or I'm not looking in the right spot. |
Using an RSS reader on a pasword protected elog, posted by Jackie Schwehr on Wed Sep 28 10:27:24 2016
|
I'm trying to set up a python rss parser to read the output from my collaboration's elog, however the elog is password protected and I cannot figure out how to have a python scrip get past the login screen. Is there something obvious I'm missing that will allow a parser to submit a username and password? If that's too python-specific of a question for this audience, then what is the exact security method elog uses, so I can get information on that? I've read through the documentation and either I don't know what I'm reading (likely) or I'm not looking in the right spot. |
FCKEditor not working correctly on a Windows server., posted by Marty Jansen on Mon Jul 20 14:45:12 2015
|
Hi,
After working many years with previous versions of ELOG, I decided to update to the latest version.
I have installed ELOG version 3.1.0 on a WIndows 2012R2 server with IE 1. The editor is showing up, but everything is greyed out, execpt for some items on the bottom row. (Style, Lettertype...) and after I do load a preset text form with different colors, the page remains white. The tables and text in the form is showing up.
The previous version with the older editor was working great on the same server.
Any suggestions? |
Re: FCKEditor not working correctly on a Windows server., posted by Andreas Luedeke on Mon Jul 20 15:50:56 2015
|
Marty Jansen wrote: |
I have installed ELOG version 3.1.0 on a WIndows 2012R2 server with IE 1. [...]
|
Seriously "IE 1" ??? Javascript was invented in 1995 just before IE 1 came out, I doubt it was supported by IE 1 ;-) I guess it was supposed to read IE 11?
As far as I know the Javascript code of the CKeditor runs on the client, I would not expect the server to be the culprit. I would first try a different browser, then check if the ELOG installation was complete (check for warnings?)
Do you have a Javascript error console in your browser? It should tell you something about what is going wrong.
Cheers, Andreas |
Re: FCKEditor not working correctly on a Windows server., posted by Marty Jansen on Mon Jul 20 17:09:01 2015
|
Sorry for the typo,of course I meant IE 11.
I do get on "Error on page" error. After switching on the developer tools, I get the following output:
{exception} The value of the property 'dndInit' is null or undefined, not a Function object. I get this error when I trying to make a new entry.
If I use ELOG version 2.9.2-2455 it all works fine, but that version has an different editor.
Marty.
Andreas Luedeke wrote: |
Marty Jansen wrote: |
I have installed ELOG version 3.1.0 on a WIndows 2012R2 server with IE 1. [...]
|
Seriously "IE 1" ??? Javascript was invented in 1995 just before IE 1 came out, I doubt it was supported by IE 1 ;-) I guess it was supposed to read IE 11?
As far as I know the Javascript code of the CKeditor runs on the client, I would not expect the server to be the culprit. I would first try a different browser, then check if the ELOG installation was complete (check for warnings?)
Do you have a Javascript error console in your browser? It should tell you something about what is going wrong.
Cheers, Andreas
|
|
Re: FCKEditor not working correctly on a Windows server., posted by Marty Jansen on Tue Jul 21 09:10:25 2015
|
Another thing appeared in the IE message ribbon at the bottom before it states "Error on page" . I do get a message that ELOG is trying to download data from http://latex.codecogs.com/css/equation-embedde.css.....
Well, this server has no internet connection and will not get an internet connection.
Is there a way around this issue? I do not want to use an equation editor
Marty
Marty Jansen wrote: |
Sorry for the typo,of course I meant IE 11.
I do get on "Error on page" error. After switching on the developer tools, I get the following output:
{exception} The value of the property 'dndInit' is null or undefined, not a Function object. I get this error when I trying to make a new entry.
If I use ELOG version 2.9.2-2455 it all works fine, but that version has an different editor.
Marty.
Andreas Luedeke wrote: |
Marty Jansen wrote: |
I have installed ELOG version 3.1.0 on a WIndows 2012R2 server with IE 1. [...]
|
Seriously "IE 1" ??? Javascript was invented in 1995 just before IE 1 came out, I doubt it was supported by IE 1 ;-) I guess it was supposed to read IE 11?
As far as I know the Javascript code of the CKeditor runs on the client, I would not expect the server to be the culprit. I would first try a different browser, then check if the ELOG installation was complete (check for warnings?)
Do you have a Javascript error console in your browser? It should tell you something about what is going wrong.
Cheers, Andreas
|
|
|
Re: FCKEditor not working correctly on a Windows server., posted by Andreas Luedeke on Tue Jul 21 14:26:03 2015
|
I think I remember that you can savely ignore the warning message, as long as you don't try to use the equation editor. But I haven't tested it myself; my servers can access the internet - although from behind firewall.
You should be able to configure the CKeditor with some configuration file: what plugins are to be included etc. But I haven't done it myself yet.
Marty Jansen wrote: |
Another thing appeared in the IE message ribbon at the bottom before it states "Error on page" . I do get a message that ELOG is trying to download data from http://latex.codecogs.com/css/equation-embedde.css.....
Well, this server has no internet connection and will not get an internet connection.
Is there a way around this issue? I do not want to use an equation editor
Marty
Marty Jansen wrote: |
Sorry for the typo,of course I meant IE 11.
I do get on "Error on page" error. After switching on the developer tools, I get the following output:
{exception} The value of the property 'dndInit' is null or undefined, not a Function object. I get this error when I trying to make a new entry.
If I use ELOG version 2.9.2-2455 it all works fine, but that version has an different editor.
Marty.
Andreas Luedeke wrote: |
Marty Jansen wrote: |
I have installed ELOG version 3.1.0 on a WIndows 2012R2 server with IE 1. [...]
|
Seriously "IE 1" ??? Javascript was invented in 1995 just before IE 1 came out, I doubt it was supported by IE 1 ;-) I guess it was supposed to read IE 11?
As far as I know the Javascript code of the CKeditor runs on the client, I would not expect the server to be the culprit. I would first try a different browser, then check if the ELOG installation was complete (check for warnings?)
Do you have a Javascript error console in your browser? It should tell you something about what is going wrong.
Cheers, Andreas
|
|
|
|
Re: FCKEditor not working correctly on a Windows server., posted by Andreas Luedeke on Tue Jul 21 14:59:19 2015
|
Okay, it is very easy: just edit "scripts/ckeditor-config.js" in the installation directory and remove the two references of "eqneditor". Any new browser session will not have the equation editor anymore.
Andreas Luedeke wrote: |
I think I remember that you can savely ignore the warning message, as long as you don't try to use the equation editor. But I haven't tested it myself; my servers can access the internet - although from behind firewall.
You should be able to configure the CKeditor with some configuration file: what plugins are to be included etc. But I haven't done it myself yet.
Marty Jansen wrote: |
Another thing appeared in the IE message ribbon at the bottom before it states "Error on page" . I do get a message that ELOG is trying to download data from http://latex.codecogs.com/css/equation-embedde.css.....
Well, this server has no internet connection and will not get an internet connection.
Is there a way around this issue? I do not want to use an equation editor
Marty
Marty Jansen wrote: |
Sorry for the typo,of course I meant IE 11.
I do get on "Error on page" error. After switching on the developer tools, I get the following output:
{exception} The value of the property 'dndInit' is null or undefined, not a Function object. I get this error when I trying to make a new entry.
If I use ELOG version 2.9.2-2455 it all works fine, but that version has an different editor.
Marty.
Andreas Luedeke wrote: |
Marty Jansen wrote: |
I have installed ELOG version 3.1.0 on a WIndows 2012R2 server with IE 1. [...]
|
Seriously "IE 1" ??? Javascript was invented in 1995 just before IE 1 came out, I doubt it was supported by IE 1 ;-) I guess it was supposed to read IE 11?
As far as I know the Javascript code of the CKeditor runs on the client, I would not expect the server to be the culprit. I would first try a different browser, then check if the ELOG installation was complete (check for warnings?)
Do you have a Javascript error console in your browser? It should tell you something about what is going wrong.
Cheers, Andreas
|
|
|
|
|
Re: FCKEditor not working correctly on a Windows server., posted by Andreas Luedeke on Tue Jul 21 14:15:51 2015
|
I've browsed the web for the error and apparently it is appearing with a variety of IE versions in combination with certain versions of the CKeditor.
Sorry, I can't help you with the problem: only found problem reports, no fixes. Therefore my advise (for now) would be: either use the old ELOG version or use a different browser. Microsoft anyway announced the end-of-life for IE with Windows 10.
Marty Jansen wrote: |
Sorry for the typo,of course I meant IE 11.
I do get on "Error on page" error. After switching on the developer tools, I get the following output:
{exception} The value of the property 'dndInit' is null or undefined, not a Function object. I get this error when I trying to make a new entry.
If I use ELOG version 2.9.2-2455 it all works fine, but that version has an different editor.
Marty.
Andreas Luedeke wrote: |
Marty Jansen wrote: |
I have installed ELOG version 3.1.0 on a WIndows 2012R2 server with IE 1. [...]
|
Seriously "IE 1" ??? Javascript was invented in 1995 just before IE 1 came out, I doubt it was supported by IE 1 ;-) I guess it was supposed to read IE 11?
As far as I know the Javascript code of the CKeditor runs on the client, I would not expect the server to be the culprit. I would first try a different browser, then check if the ELOG installation was complete (check for warnings?)
Do you have a Javascript error console in your browser? It should tell you something about what is going wrong.
Cheers, Andreas
|
|
|
Re: FCKEditor not working correctly on a Windows server., posted by Andreas Luedeke on Tue Jul 21 15:02:19 2015
|
Just to clarify: I can easily use IE11 to access my 3.1.1 version of ELOG. I run the server on a Linux box (SL6) but I don't think that this makes any difference.
I repeat my guess: ELOG is probably not installed properly on your WIndows server. My suggestion would be to move the old installation to some backup directory and do a clean reinstall. Several files are not overwritten when you just update an existing installation, maybe some of them are too old for the current version of ELOG to work properly.
Andreas Luedeke wrote: |
I've browsed the web for the error and apparently it is appearing with a variety of IE versions in combination with certain versions of the CKeditor.
Sorry, I can't help you with the problem: only found problem reports, no fixes. Therefore my advise (for now) would be: either use the old ELOG version or use a different browser. Microsoft anyway announced the end-of-life for IE with Windows 10.
Marty Jansen wrote: |
Sorry for the typo,of course I meant IE 11.
I do get on "Error on page" error. After switching on the developer tools, I get the following output:
{exception} The value of the property 'dndInit' is null or undefined, not a Function object. I get this error when I trying to make a new entry.
If I use ELOG version 2.9.2-2455 it all works fine, but that version has an different editor.
Marty.
Andreas Luedeke wrote: |
Marty Jansen wrote: |
I have installed ELOG version 3.1.0 on a WIndows 2012R2 server with IE 1. [...]
|
Seriously "IE 1" ??? Javascript was invented in 1995 just before IE 1 came out, I doubt it was supported by IE 1 ;-) I guess it was supposed to read IE 11?
As far as I know the Javascript code of the CKeditor runs on the client, I would not expect the server to be the culprit. I would first try a different browser, then check if the ELOG installation was complete (check for warnings?)
Do you have a Javascript error console in your browser? It should tell you something about what is going wrong.
Cheers, Andreas
|
|
|
|
Re: FCKEditor not working correctly on a Windows server., posted by Marty Jansen on Sat Jul 25 20:28:45 2015
|
Sorry for the late reply. I have installed a slightly newer version of Elog, but the results are the same. I do get de the 3 editor bars, but the top 2 are greyed out and the bottom one doesn't do anything if clicked. I have commented out the lines that refer to the online equation editor, but that doesn't help much either. I think I let it rest. The old 2.9.xx version still works great, so we leave it at that.
Thanks anyway for the suggestions
Marty
Marty Jansen wrote: |
Hi,
After working many years with previous versions of ELOG, I decided to update to the latest version.
I have installed ELOG version 3.1.0 on a WIndows 2012R2 server with IE 1. The editor is showing up, but everything is greyed out, execpt for some items on the bottom row. (Style, Lettertype...) and after I do load a preset text form with different colors, the page remains white. The tables and text in the form is showing up.
The previous version with the older editor was working great on the same server.
Any suggestions?
|
|
Re: FCKEditor not working correctly on a Windows server., posted by Richard Stamper on Tue Oct 13 12:39:14 2015 
|
If you are using IE as your browser, the problem may be with that rather than the server. By default IE 11 display intranet sites in a "Compatibility mode" which breaks the FCKEditor in Elog version 3. Fortunately this mode can be disabled, which is what I have had to advise users here to do.
- Click on the "cogwheel" and select "Compatibility settings"
- Deselect "Display intranet sites in Compatibility view"
Pictures attached
Marty Jansen wrote: |
Sorry for the late reply. I have installed a slightly newer version of Elog, but the results are the same. I do get de the 3 editor bars, but the top 2 are greyed out and the bottom one doesn't do anything if clicked. I have commented out the lines that refer to the online equation editor, but that doesn't help much either. I think I let it rest. The old 2.9.xx version still works great, so we leave it at that.
Thanks anyway for the suggestions
Marty
Marty Jansen wrote: |
Hi,
After working many years with previous versions of ELOG, I decided to update to the latest version.
I have installed ELOG version 3.1.0 on a WIndows 2012R2 server with IE 1. The editor is showing up, but everything is greyed out, execpt for some items on the bottom row. (Style, Lettertype...) and after I do load a preset text form with different colors, the page remains white. The tables and text in the form is showing up.
The previous version with the older editor was working great on the same server.
Any suggestions?
|
|
|
Re: FCKEditor not working correctly on a Windows server., posted by Matthew Sauder on Fri Sep 23 23:38:28 2016
|
I know I'm a little late but is there a way to do this from elog? I've tried using the following line in the config but it doesn't seem to work in IE10. I figure if there is a way to modify the <head> before the page loads there could be hope.
Top text = <script>var meta = document.createElement('meta');meta.httpEquiv = "X-UA-Compatible";meta.content = "IE=edge";var head = document.getElementsByTagName('head')[0];head.insertBefore(meta, head.firstChild);</script>
Richard Stamper wrote: |
If you are using IE as your browser, the problem may be with that rather than the server. By default IE 11 display intranet sites in a "Compatibility mode" which breaks the FCKEditor in Elog version 3. Fortunately this mode can be disabled, which is what I have had to advise users here to do.
- Click on the "cogwheel" and select "Compatibility settings"
- Deselect "Display intranet sites in Compatibility view"
Pictures attached
Marty Jansen wrote: |
Sorry for the late reply. I have installed a slightly newer version of Elog, but the results are the same. I do get de the 3 editor bars, but the top 2 are greyed out and the bottom one doesn't do anything if clicked. I have commented out the lines that refer to the online equation editor, but that doesn't help much either. I think I let it rest. The old 2.9.xx version still works great, so we leave it at that.
Thanks anyway for the suggestions
Marty
Marty Jansen wrote: |
Hi,
After working many years with previous versions of ELOG, I decided to update to the latest version.
I have installed ELOG version 3.1.0 on a WIndows 2012R2 server with IE 1. The editor is showing up, but everything is greyed out, execpt for some items on the bottom row. (Style, Lettertype...) and after I do load a preset text form with different colors, the page remains white. The tables and text in the form is showing up.
The previous version with the older editor was working great on the same server.
Any suggestions?
|
|
|
|
How do I use Preset Text only when a given topic is selected?, posted by Christina winson on Wed Sep 21 18:58:18 2016
|
Hi,
I'm looking to use a template for only a subset of logbook entries. Is there some way to apply a template when a specific topic or category is selected?
Help for the newbie much appreciated.
Christina |
Re: How do I use Preset Text only when a given topic is selected?, posted by Andreas Luedeke on Thu Sep 22 09:56:49 2016
|
Hi Christina,
You want to use "conditional attributes". See elog:68350 for an example.
Cheers, Andreas
Christina winson wrote: |
Hi,
I'm looking to use a template for only a subset of logbook entries. Is there some way to apply a template when a specific topic or category is selected?
Help for the newbie much appreciated.
Christina
|
|
Re: How do I use Preset Text only when a given topic is selected?, posted by Christina Swinson on Thu Sep 22 14:45:17 2016
|
Awesome! Thanks Andeas.
Andreas Luedeke wrote: |
Hi Christina,
You want to use "conditional attributes". See elog:68350 for an example.
Cheers, Andreas
Christina winson wrote: |
Hi,
I'm looking to use a template for only a subset of logbook entries. Is there some way to apply a template when a specific topic or category is selected?
Help for the newbie much appreciated.
Christina
|
|
|