edit templates from config page, posted by Stefano Lacaprara on Thu Jun 14 13:12:02 2018
|
Dear all,
I have some logbook which uses preset text depending on some option values, and uses text files for this.
|
Re: edit templates from config page, posted by Stefan Ritt on Thu Jun 14 13:20:26 2018
|
> Dear all,
> I have some logbook which uses preset text depending on some option values, and uses text files for this.
>
|
Re: edit templates from config page, posted by Andreas Luedeke on Thu Jun 14 18:17:07 2018
|
> Dear all,
> I have some logbook which uses preset text depending on some option values, and uses text files for this.
>
|
Re: edit templates from config page, posted by Stefan Ritt on Thu Jun 14 19:17:41 2018
|
As always, Andreas has clever ideas. Never thought about this possibility.
Stefan |
number of entries in Login user list, posted by Janusz Szuba on Wed Jun 13 18:08:06 2018
|
Hi,
could it be possible to increase the limit of entries in Login user list from 100 to somewhat reasonably higher? Like twice or 3 times as
much. Similar limit exist also on Admin user list, which is afair 10, could this also be increased? |
Re: number of entries in Login user list, posted by Andreas Luedeke on Thu Jun 14 12:37:22 2018
|
Hi Janusz,
You can change the following line in elogd.h and recompile:
#define MAX_N_LIST 100 |
Re: number of entries in Login user list, posted by Janusz Szuba on Thu Jun 14 13:07:32 2018
|
Thanks, good point, I was not sure that in case of other lists which will be changed as well, there will not be any problems, like overflow, etc.
Regarding admin list, now I remember, that was the limit to send email notification in case of registration requests. But actually it is not
important right now. |
Re: number of entries in Login user list, posted by Stefan Ritt on Thu Jun 14 13:17:33 2018
|
Well, many arrays based on MAX_N_LIST are created on the heap memory, and if you exceed that, elogd simply crashes. There are compile options to increase
the stack and heap size, but that depends on the operating system and the compiler. The value of 100 has been proven to work everywhere. If you increase
it, you're on your own. |
html mode with preset text template cannot be read by newly updated MS-Edge browser, posted by utomoadji wisnubroto on Wed Jun 6 18:25:32 2018
|
i have elog tab configuration with preset text as follow :
=====================================================================
[Shift Entry] |
shiftcheck restrict edit, posted by Xuan Wu on Thu May 24 08:53:50 2018
|
Hi all,
There are options "Restrict edit" and "Restrict edit time" for general logbooks, but it seems not work for shiftcheck logbook.
I think the function only author can change their own entry is necessary for shiftcheck too. Any suggestion would be hightly appreciated. |
Re: shiftcheck restrict edit, posted by Xuan Wu on Wed Jun 6 02:41:32 2018
|
Is there a way to restrict other author to edit the custom input form submitted?
Xuan
Wu wrote:
Hi all, |
text area height, posted by Giuseppe Cucinotta on Fri Jun 1 17:08:48 2018
|
Hi,
I wonder if it is possible to set a minimum default value for the height of the text box when submitting new entries. If I understood well, by
default the text box height automatically resizes in order that all the elements of the page are visible. Actually for our needs having a minimum |
Re: text area height, posted by Stefan Ritt on Tue Jun 5 10:12:06 2018
|
Have you tried
Message height = ...
unit is number of text lines. |
Re: text area height, posted by Giuseppe Cucinotta on Tue Jun 5 15:06:18 2018 
|
I tried with Message Height = 100 inside the conifguration of my logbook, but nothing changed as you can see in the first picture...
What I'm looking for is a way, if possible, to start by default with a wider message box, someting like fig2. For our purpose, using wide
tables, it would be very useful to have a wider message box in order to have a full look to the message content, and also having it by default without |
Re: text area height, posted by Stefan Ritt on Tue Jun 5 21:37:26 2018
|
The message height option only works if you select either "ELCode" or "plain" for encoding (this can also be made as default in the
config file). For the HTML editor, the size is set internally and I don't have any influenc on it.
Stefan |
Enabling SSL, posted by Pasti on Fri May 18 08:04:37 2018
|
Hi all,
I'm following config guide and so far so good. The only issue I run into is when enabling SSL.
Guide says - One can replace this certificate and key with a real certificate to avoid browser pop-up windows warning about the self-signed certificate. |
Re: Enabling SSL, posted by Stefan Ritt on Tue Jun 5 12:28:27 2018
|
This comes from the openSSL library which elog includes. I tried myelf and found that a chained certificate is not correctly interpreted by the openSSL
library. Most people anyhow don't use SSL inside elog, but run an Apache server in front of elog. This is anyhow better since Apache has an industry-strength
security with regular updates. Much better than relying on OpenSSL. |
Report Generating Tool?, posted by Hal Goldfarb on Mon May 21 09:41:57 2018
|
Has anyone developed a report tool for elog? I would like to be able to sort certain items and send them to either a printer, or an email (external
to my own use).
If not, any ideas on an easy means of doing this? I write a lot of Perl, so that would be an option for me if the text is easily obtained. |
Re: Report Generating Tool?, posted by Stefan Ritt on Mon May 21 21:37:36 2018
|
Switch to the "summary" display (try it with this forum). You get headers (like "category"). Clicking on it sorts by that attribute.
Then display "all" entries, or use the "find" option to search in certain time periods, then just print the web page.
Alternatively, expeort logbook entries as CSV files, load them into a spreadsheet program, and do the sorting and printing there. |
Re: Report Generating Tool?, posted by Hal Goldfarb on Tue May 22 06:55:21 2018
|
I don't see an "export" option in the documentation, only "import." Printing the web page is probably not what I want.
Stefan
Ritt wrote:
Switch to the "summary" display (try it with this forum). |
Re: Report Generating Tool?, posted by Stefan Ritt on Tue May 22 11:11:43 2018
|
Click on "Find", select "Export to CSV", optionally select filter criteria, then press "Search".
Stefan
Hal |
Re: Report Generating Tool?, posted by Andreas Luedeke on Wed May 23 16:19:48 2018
|
Here's a little example for a query for this logbook:
curl -f -s -k "https://elog.psi.ch/elogs/Forum/?jcmd=Search&mode=CSV1&last=7&Category=^Question%24"
You
can easily process this output with perl, to create reports. I use it for example to create counts for specific enties, like "Bug reports" that |
both "email <attribute> <value" and "email all" at the same time, posted by Stefano Lacaprara on Wed May 23 14:44:08 2018
|
Hi,
I have an elogbook which sends notifications to subscribers, plus, if the "Type" is "New Run", it sends the notification to a different mailing addeess
and with a different subject (which need to be parsed by
|