Please advise on how to set up selective email notification on logbooks, posted by Julian Brower on Mon Oct 26 15:20:44 2015
|
Please advise on how to set up selective email notification on logbooks; We want to send an email to specific people when an event that involves them
is entered?
At the moment, we currently get an email entry for every new logbook entry. Thanks |
Re: Please advise on how to set up selective email notification on logbooks, posted by Andreas Luedeke on Tue Oct 27 11:23:43 2015
|
Hi Julian,
there is a whole chapter in the documentation about that: https://midas.psi.ch/elog/config.html#email
If I have
to send email, e.g. for Controls issues entered in the operation logbook, I do send the email to a specific mailman mailing list for that group.
It
is cumbersome to manage email groups in the logbook configuration - in particular if the same lists exists in different logbooks. I only refer to the mailing |
Re: Please advise on how to set up selective email notification on logbooks, posted by Julian Brower on Tue Oct 27 14:58:20 2015
|
Thanks Andreas, I will read that section. Julian
Andreas
Luedeke wrote:
Hi Julian,
there is a whole chapter in the documentation |
How can we calculate and display the difference between two time entries on a log entry, posted by Julian Brower on Mon Oct 26 15:24:44 2015
|
See drawing below: We have a beam on and a beam off time. We want to fill in the lost time automaticaaly. Please can you help? Julian
|
Re: How can we calculate and display the difference between two time entries on a log entry, posted by Stefan Ritt on Mon Oct 26 16:48:51 2015
|
Unfortunately elog cannot do calculations based on certain fields. You could however add some Javascript code (via "Bottom text = ..." for
example), which does that. But that requires JavaScript knowledge to do so.
Julian |
Re: How can we calculate and display the difference between two time entries on a log entry, posted by Julian Brower on Tue Oct 27 09:26:56 2015
|
Stefan, I am not an expert in this field so I wondered how one goes about finding someone to write this and how one amends the soruce code? Is that allowed?
Is it a feature than may be of use for other users? Julian
Stefan |
Logging entries from the command line, posted by kenzo Abrahams on Mon Oct 26 11:06:46 2015
|
Good Afternoon
Im trying to automatically post an entry using information saved in a text file. I have followed the example in the users guide but i always
seem to get a error message saying transmission failed. Lets say for instance I have a user named John and his password is Blue and he wants to log into |
Re: Logging entries from the command line, posted by Stefan Ritt on Mon Oct 26 11:18:57 2015
|
Run the elog command with an additional -v flag (verbose output), and you will see what the elogd server return. It's
HTML, but you should be able to see some error message.
kenzo |
Re: Logging entries from the command line, posted by kenzo Abrahams on Mon Oct 26 11:24:46 2015
|
Hi Stephan
The error message I get is "Error: Command Submit not allowed". I dont know if this might be an issue but it says Response Recieved:
HTTP/1.1 404 Not Found in the first line of the servers response |
Re: Logging entries from the command line, posted by Stefan Ritt on Mon Oct 26 11:32:08 2015
|
This indicates that the username/password is not correct. Can you log in to that logbook in your browser with the username "John" and password
"Blue"?
kenzo |
Re: Logging entries from the command line, posted by kenzo Abrahams on Mon Oct 26 12:17:40 2015
|
Yes I can it works perfectly from the browser.
Stefan
Ritt wrote:
This indicates that the username/password is not correct. Can you log |
Re: Logging entries from the command line, posted by kenzo Abrahams on Mon Oct 26 12:26:03 2015
|
Hi Stephan I got it to work for some reason elog was complaining that my encoding of the message wasnt allowed. I allowed the lognook to allow ELcode
and it works perfectly.
Thank you for the help. |
How does one create a html template for an entry, posted by kenzo Abrahams on Thu Oct 15 12:32:19 2015
|
Good Day
I am new to elog and have a question. This is best explain with an example. If I have two logbooks named "home" and "work" and I would like all the entries |
Re: How does one create a html template for an entry, posted by Stefan Ritt on Thu Oct 15 14:34:36 2015
|
> Good Day
>
> I am new to elog and have a question. This is best explain with an example. If I have two logbooks named "home" and "work" and I would like all the entries |
Re: How does one create a html template for an entry, posted by kenzo Abrahams on Mon Oct 26 11:16:54 2015
|
> > Good Day
> >
> > I am new to elog and have a question. This is best explain with an example. If I have two logbooks named "home" and "work" and I would like all the |
Columns numeric input are added/computed, posted by Dawang on Fri Oct 23 03:36:18 2015
|
Hi Stefan,
Good day. I'm thinking if this wishlist is already available in elog. The values in columns we're added or computed according to formula
set in a single separate column. |
Re: Columns numeric input are added/computed, posted by Stefan Ritt on Fri Oct 23 08:29:33 2015
|
No, formulas are not yet implemented. For such things I would use Google Spreadsheets in meantime.
Stefan
Dawang |
Show attachments = 0, posted by Eric Quintero on Wed Aug 12 23:44:16 2015
|
I have "Show attachments = 0" set in [global], but attachments are shown in the "Full" view. Is this the intended behavior?
Looking at individual entries correctly hides the attachments.
We use inline images often, so when an attachement is shown at the bottom of a post it is effectively a duplicate, which clutters things |
Re: Show attachments = 0, posted by Stefan Ritt on Thu Aug 13 08:41:57 2015
|
That's strange. If you use HTML or ELCode encoding, attachments are automatically hidden if they are used inline. So no "Show
attachments = 0" necessary! I just tried that with the demo logbook and here is how it looks:
|
Re: Show attachments = 0, posted by Eric Quintero on Mon Aug 31 17:14:08 2015
|
The automatic hiding behavior is what I'm after, and I've discovered that it is only a problem for PDF attachments.
I have reproduced this on the demo logbook on git revision f828049.
I've taken a look at the source you mentioned, but as far as I can tell, it is just looking for the opening of the img tag in the |
Re: Show attachments = 0, posted by Eric Quintero on Fri Oct 16 00:24:50 2015
|
Hm, looking through the source, there are many many places where PDF files are treated differently than strictly image filetypes (PNG, etc.). This makes
sense in the context of multi-page documents.
Still, I like using PDFs for vector plots... I suppose I should also confess to the following modification I've made to my ELOG for treating |
inline jpg to png, posted by Jacky Li on Sun Oct 4 20:29:01 2015
|
Hi,
We have a user who posted a lot of inline jpg. The elog system converted those to png and thus cause the size of the elog to expand about
~4x of the original size. It is caused the problem of entry size too large for email notifications. Is there a way to turn off the conversion |
Re: inline jpg to png, posted by Stefan Ritt on Tue Oct 13 09:47:18 2015
|
You can turn off thumbnail creation with
Thumbnail size = 0
as written in the documentation. The PNG files are "thumbnails" (= smaller versions of large pictures). Mostly people put large images |
How can I host elog in a web server, posted by Dawang on Thu Oct 8 06:36:34 2015
|
How can I host elog in a web server. I need sample config file on [global] segment to show config on how it can be host. Please need your help. Thanks |
Re: How can I host elog in a web server, posted by Andreas Luedeke on Thu Oct 8 11:27:55 2015
|
I am honestly not sure if I understand the question. You can run ELOG behind an Apache Webserver. Look for example at https://midas.psi.ch/elog/adminguide.html#secure
Dawang
wrote:
How can I host elog in a web server. I need sample config file on [global] |