ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
2077
|
Mon Nov 13 20:22:02 2006 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2.6.2-1748 | Re: Report printing |
Eric Krise wrote: | Is there a way to print a summary of all (or selected) log books on a scheduled basis, say like every morning @ 7:00 am? I would like a printed copy of our daily logs (24 hr period). Thanks Eric |
You can obtain the last 24hr period with the parameter last=1. Following command will return this last day for the forum
http://midas.psi.ch/elogs/Forum/?printable=1&last=1
Now you need to set up some script which calls this once a day and then convinces the browser to print that page. But I have no idea how to perform this.
Another option is to print the xxxxxxa.log files of the elogd server directly. There is already one file per day, and the original reason for that is exactly what you ask for: You can print each day directly. Now you need a script which searched for the last day and prints that. |
2054
|
Wed Nov 8 15:39:42 2006 |
| deletoille | xavier.deletoille@synchrotron-soleil.fr | Bug report | Windows | 2.6.2-1746 | Re: checkbox |
Stefan Ritt wrote: |
deletoille wrote: | I found a small Bug when I create an entry. I activate a checkbox (attachement1) but when I upload a file, the activation disappears (attachement 2). I have to activate again the checkbox.
Is it something I can do? |
I tried with V2.6.2-1741 and the problem was not there. It was fixed some time ago, so it should have worked in 1723 as well. Can you try the minimal example coming with the distribution, just by adding one MOptions attribute, like:
[global]
port = 8080
[demo]
Attributes = Author, Type
MOptions Type = Routine, Software Installation, Problem Fixed, Configuration, Other
and see if it work there? If it works correctly there but not with your config file, please send me your config file and I will try to reproduce the problem. |
You're right it works
It must be in my programming method
I share you my config file.
Thanks for your help |
Attachment 1: Elog_08_11_06.doc
|
2026
|
Tue Oct 31 20:05:07 2006 |
| Alexandre Lindote | alex@lipc.fis.uc.pt | Question | Linux | 2.6.2-1739 | calling a shell in the Options tag |
Hi,
is it possible to run a shell script in an "Options" tag, as it is with the "Preset", "Subst", and so on?
I need to have something like this:
Options Update of = $shell(/home/alex/zeplin3/elog/z3elog-mirror/documents/ext_docs.sh MinGen)
the script returns a line with comma separated values...
Thanks
Alex |
2027
|
Tue Oct 31 22:07:06 2006 |
| Steve Jones | steve.jones@freescale.com | Question | Linux | 2.6.2-1739 | Re: calling a shell in the Options tag |
Alexandre Lindote wrote: | Hi,
is it possible to run a shell script in an "Options" tag, as it is with the "Preset", "Subst", and so on?
I need to have something like this:
Options Update of = $shell(/home/alex/zeplin3/elog/z3elog-mirror/documents/ext_docs.sh MinGen)
the script returns a line with comma separated values...
Thanks
Alex |
Steve Jones wrote: |
Alex, have you tried it? Novel idea!
|
|
2029
|
Wed Nov 1 09:53:05 2006 |
| Alexandre Lindote | alex@lipc.fis.uc.pt | Question | Linux | 2.6.2-1739 | Re: calling a shell in the Options tag |
Steve Jones wrote: |
Alexandre Lindote wrote: | Hi,
is it possible to run a shell script in an "Options" tag, as it is with the "Preset", "Subst", and so on?
I need to have something like this:
Options Update of = $shell(/home/alex/zeplin3/elog/z3elog-mirror/documents/ext_docs.sh MinGen)
the script returns a line with comma separated values...
Thanks
Alex |
Steve Jones wrote: |
Alex, have you tried it? Novel idea!
|
|
Yes, I have. It doesn't seem to... 
I just get one option, which is the shell line itself.
Something like:
--- Please select ---
$shell(/home/alex/zeplin3/elog/z3elog-mirror/documents/ext_docs.sh MinGen)
Cheers
Alex |
2045
|
Mon Nov 6 19:03:11 2006 |
| Steve Jones | steve.jones@freescale.com | Request | Other | 2.6.2-1739 | Option to require new user registration to subscribe to ALL logbooks |
Stefan, any chance of having an option that eliminates the ability of new users to pick the logbooks they can register with? I would like to limit this to the "admin" user to pick per individual.
Also, any thoughts to adding a management panel that will the admin user to make global changes to the password file? I do this by bringing it into a text editor and making changes, but it would be nice to do it from the application. |
2056
|
Thu Nov 9 20:59:01 2006 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | 2.6.2-1739 | Re: calling a shell in the Options tag |
Alexandre Lindote wrote: | Hi,
is it possible to run a shell script in an "Options" tag, as it is with the "Preset", "Subst", and so on?
I need to have something like this:
Options Update of = $shell(/home/alex/zeplin3/elog/z3elog-mirror/documents/ext_docs.sh MinGen)
the script returns a line with comma separated values...
Thanks
Alex |
Interesting idea, but substitutions only work for config setting where the documentation explicitly states so. The complete list comes here:
- Preset <attibute>
- Preset on reply <attribute>
- Preset on duplicate <attribute>
- Subst <attribute>
- Subst on reply <attribute>
- Subst on edit <attribute>
- Change <attribute>
- Email <attribute> <value>
- Use email from
- Use Email heading
- Use Email subject
- Bottom text
- Top text
- Edit page title
- Prepend on edit
- Append on edit
- Append on reply
- Quote on reply
- Preset text
- Page title
- RSS title
- List page title
Doing shell execution for all configuration settings would slow down the server too much. |
2062
|
Thu Nov 9 22:57:38 2006 |
| Stefan Ritt | stefan.ritt@psi.ch | Request | Other | 2.6.2-1739 | Re: Option to require new user registration to subscribe to ALL logbooks |
Steve Jones wrote: | Stefan, any chance of having an option that eliminates the ability of new users to pick the logbooks they can register with? I would like to limit this to the "admin" user to pick per individual. |
The logbook list new users can register with is exactly the list the users have access to. So if you omit a logbook there, they can later just go to that logbook, hit config, and add themselves. If you want to prevent a user from getting notifications from a logbook, prevent user access to that logbook, like a new top group.
Steve Jones wrote: | Also, any thoughts to adding a management panel that will the admin user to make global changes to the password file? I do this by bringing it into a text editor and making changes, but it would be nice to do it from the application. |
Not at the moment. It would take days of work which I don't have right now. Much more than what it takes you editing the password file in an editor  |