ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
2156
|
Tue Mar 6 13:55:15 2007 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2.6.4.1801 | Re: Conditional Email Notification by a text file |
An Thai wrote: | Dear Stefan,
what i mean is that you maybe modify the setup file for Windows (elog-latest.exe) so that everybody can make change of -[options] while install Elog. I am not a Windows expert, but I think that a lot of software can be set or configurated at the first install time (For Example: Path destination, features avaible, ...)
Do you know if it is possible? |
I don't know how to set-up the scheduled tasks from the installation script. Furthermore, having a application constantly running is somehow unusual, and it will confuse normal people. To my knowledge, not many people use the -x option under Windows. These people how really need it are clever enough (like you) to set-up the batch file manually. |
68650
|
Mon Jul 24 14:33:51 2017 |
| Andreas Luedeke | andreas.luedeke@psi.ch | Question | Windows | Latest | Re: Conditional attribute activation | Yes, this is possible by using "Conditional Attributes". Have a look at the ELOG syntax help: https://midas.psi.ch/elog/config.html#conditional
To hide attributes on edit, you can use "Show Attributes Edit = ..." for the conditions; and you only list the comment reason for the case where the value of the other attribute has the value "reserved".
If you don't get it to work, then just post your logbook config with some comments on what you want to achieve.
Cheers, Andreas
Devrim Esenturk wrote: |
I have a stock database running latest elog version on windows. I am reserving some products which not been sent to customer mistakenly and using value "reserved" for it. But I need another attribute for comment reason of reserving but this attribute must be activated when reserved value selected. Is this possible? I didn't see any option for this at admin guide.
Thank you
|
|
1083
|
Wed Apr 13 10:06:56 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | | Re: Conditional conditions? | > Can conditional attributes be assigned as conditions?
Well, I guess the question was: "Can you implement this?" I'm sure that you
tried before.. (;-)
Yes, it is working now, I had to add some new code and fix a bug with AND'ed
conditions (via '&'). The new version is under CVS. Since you use Windows, you
have to wait for the next release. |
1453
|
Thu Oct 13 11:40:32 2005 |
| Yoshio Imai | imai@kph.uni-mainz.de | Question | Linux | 2.6.0beta2 | Re: Conditional hiding of attributes in list view | Hi again!
I noticed the quickfilter option in the config guide in the meantime !
I have one question however, concerning the "Resource Dir"-statement of the
config file. When setting it, the default theme doesn't work any more, I get
white background and no color schemes when going to the elog page with the
browser. Does this mean that the default resource location (/usr/share/elog/themes)
is overriden by this statement, and that all resources have to be put there
(if so, is it on purpose or is it a bug)?
Thanks
Yoshio
BTW, do you think it is at all feasible to implement the changes we mentioned earlier? |
1456
|
Thu Oct 13 14:08:26 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | 2.6.0beta2 | Re: Conditional hiding of attributes in list view |
Yoshio Imai wrote: | I noticed the quickfilter option in the config guide in the meantime ! |
Sorry my late reply, I'm extremely busy these days. I still don't get the point where you want attributes to be hidden. Let's assume you have a logbook with attributes A, B, C, D, E. One set of entries use A, B and C, whil the other set of entries use A, D and E. Right now, you get a listing like
Title A B C D E
one a b c
one a b c
two a d e
two a d e
one a b c
Now if you want to hide D and E for type one and B and C for type two, you would get
Title A B C D E
one a b c
one a b c
two a d e
two a d e
one a b c
so the "d" and "e" values are under the wrong title "B" and "C". Of course you can put a separate tile line each time you switch from "one" to "two", but that costs a lot of space. So how would you layout a listing where different attribute sets are mixed?
Yoshio Imai wrote: | I have one question however, concerning the "Resource Dir"-statement of the
config file. When setting it, the default theme doesn't work any more, I get
white background and no color schemes when going to the elog page with the
browser. Does this mean that the default resource location (/usr/share/elog/themes)
is overriden by this statement, and that all resources have to be put there
(if so, is it on purpose or is it a bug)? |
Well, the "theme" is a "resource". The manual says: Resource dir = <directory>: Specifies the root directory for ELOG resources like help files, themes, icons and user HTML files, so it's explicitly written there. If you change the resource dir and do not move your themes accordingly, you won't have them! If you shoot yourself in the foot, no gun will help you to prevent this 
Yoshio Imai wrote: | BTW, do you think it is at all feasible to implement the changes we mentioned earlier? |
Which features do you mean? In your previous posting you mentioned a filter, but you found that already. So what else is left except the hiding of attributes? |
1457
|
Thu Oct 13 14:47:06 2005 |
| Yoshio Imai | imai@kph.uni-mainz.de | Request | Linux | 2.6.0beta2 | Re: Conditional hiding of attributes in list view |
Stefan Ritt wrote: |
Of course you can put a separate tile line each time you switch from "one" to "two", but that costs a lot of space. So how would you layout a listing where different attribute sets are mixed?
|
Well, in our case the changes would not be very frequent (if the beamtime goes smooth, we will have mainly
run-entries and few admin entries; if it is a hardware developement beamtime, we will have mainly admin
entries and fewer run entries). So, for us a layout with a new title line at the change between the two sets of attributes is ok.
Stefan Ritt wrote: |
Well, the "theme" is a "resource". The manual says: Resource dir = <directory>: Specifies the root directory for ELOG resources like help files, themes, icons and user HTML files, so it's explicitly written there.
|
I see. I thought that the "hardcoded" default directory would still be searched -- my error.
Stefan Ritt wrote: |
Which features do you mean? In your previous posting you mentioned a filter, but you found that already. So what else is left except the hiding of attributes?
|
Not much . The only thing left was that the elogd redirects to the "URL="-address only after logging in, and not already after selecting a logbook in the selection page (i.e. before the password is transmitted), when a user calls directly the elogd port and not, say, the stunnel port defined to secure the connection. In our case this doesn't matter so much, but maybe to others it does ... ?
Thanks for the work
Yoshio |
1497
|
Fri Oct 28 23:45:33 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Request | Linux | 2.6.0beta2 | Re: Conditional hiding of attributes in list view |
Yoshio Imai wrote: | I have also found one possible problem, maybe it's already solved in the
newest version: We have set up the elog under an stunnel, but the elog
server also responds to the original port (i.e. 80), displaying the logbook
selection page and from there even the login screen. Only after logging in
the elog server redirects the client browser to the https-page defined with
the URL-statement of the config file. The whole thing seems like an unwanted
behaviour, but could you change it so that it either doesn't respond on the
wrong URL at all, or at least redirects to the secured URL before presenting
the login window, so that we transfer the passwords encrypted? |
I implemented that in revision 1540. On the logbook selection page, the links to the individual logbooks honor the "URL = ..." statement from the config file, and thus you get redirected via "https://...". More is unfortunately not possible. If elogd gets contacted the first time, it is impossible to figure out by elogd under which URL it got contacted, and therefore it cannot distinguish between secure and insecure connections. The only way is to switch off port 80 by a firewall and only allow "https://..." connections from outside. |
1498
|
Mon Oct 31 01:36:52 2005 |
| Yoshio Imai | | Request | Linux | 2.6.0beta2 | Re: Conditional hiding of attributes in list view | Thank you! I have tested it and it works just as expected! |
|