ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
1255
|
Mon Jul 11 12:40:13 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Request | All | | Re: userlist multiple select |
Emiliano Gabrielli wrote: | Here I am again 
My goal is to put a "Co-Authors" Attribute in my logbook, giving the possibility to other people in the control room to have credits about an entry... I added a "Co-Author" attribute, but It shold permit a "multliple" selection (a checkbox is not good) ... the perfect solution would be to add the attribute "multiple" to the <select> tag, and filling the elog Attribute value with a comma separated list of the selections ...
tnx in advance  |
Have you tried MOptions ... which gives you check boxes where more than one can be selected?
I presume you have, but you really would prefer a multi-selection box instead of multiple check boxes . Well, let's make a deal: if you explain everybody how to do a selection in a multi-select box (with all the Shift-Click, CTRL-Click, and this under different operating systems), I will implement it  |
1258
|
Mon Jul 11 14:35:00 2005 |
| Emiliano Gabrielli | AlberT@SuperAlberT.it | Request | All | | Re: userlist multiple select |
Stefan Ritt wrote: |
Emiliano Gabrielli wrote: | Here I am again 
My goal is to put a "Co-Authors" Attribute in my logbook, giving the possibility to other people in the control room to have credits about an entry... I added a "Co-Author" attribute, but It shold permit a "multliple" selection (a checkbox is not good) ... the perfect solution would be to add the attribute "multiple" to the <select> tag, and filling the elog Attribute value with a comma separated list of the selections ...
tnx in advance  |
Have you tried MOptions ... which gives you check boxes where more than one can be selected?
I presume you have, but you really would prefer a multi-selection box instead of multiple check boxes . Well, let's make a deal: if you explain everybody how to do a selection in a multi-select box (with all the Shift-Click, CTRL-Click, and this under different operating systems), I will implement it  |
a multiple selection box it's a standard web tool .. if one is not able to use its browser is not an elog problem IMHO 
My request is becouse having a number of user (say 20) makes the checkbox solution very very nasty .. again, it's a choice you give to the smart user .. others simply will not notice any change in elog  |
1261
|
Tue Jul 12 15:19:07 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Request | All | | Re: userlist multiple select |
Emiliano Gabrielli wrote: | a multiple selection box it's a standard web tool .. if one is not able to use its browser is not an elog problem IMHO |
Really? Can you point me to a common web site using this? I would really like to see how other people use this.
Emiliano Gabrielli wrote: | My request is becouse having a number of user (say 20) makes the checkbox solution very very nasty .. again, it's a choice you give to the smart user .. others simply will not notice any change in elog  |
Ok, I put it on my wishlist. If more than one person asks for this, I will implement it. Unfortunately it's not only putting a multiple into the HTML page, it's also a different way how multiple selections are passed in the POST form and their decoding, so it will be an hour or two of work for me. |
1263
|
Wed Jul 13 10:12:38 2005 |
| Emiliano Gabrielli | AlberT@SuperAlberT.it | Request | All | | Re: userlist multiple select |
Stefan Ritt wrote: |
Emiliano Gabrielli wrote: | a multiple selection box it's a standard web tool .. if one is not able to use its browser is not an elog problem IMHO |
Really? Can you point me to a common web site using this? I would really like to see how other people use this.
|
I can't remember just now a web site using it .. what I mean is that "multiple" attribute for the "select" tag is a standard for the web (it's not an IE extension or so on ..) so every web browser implements it.
It's normally used, for example, when you fill a form describing your attitudes, here you can often choose from a select box a number of interest you are concerded.. but it is only an example
Stefan Ritt wrote: |
Emiliano Gabrielli wrote: | My request is becouse having a number of user (say 20) makes the checkbox solution very very nasty .. again, it's a choice you give to the smart user .. others simply will not notice any change in elog  |
Ok, I put it on my wishlist. If more than one person asks for this, I will implement it. Unfortunately it's not only putting a multiple into the HTML page, it's also a different way how multiple selections are passed in the POST form and their decoding, so it will be an hour or two of work for me. |
Yes I know, uhm... if you point me to the right piece of code to be adjusted I can see if I'll be able to do the job  |
69725
|
Wed Jan 24 14:50:21 2024 |
| Frank Heyroth | heyroth (at) cmat.uni-halle.de | Bug report | Linux | 3.1.5-1 | Re: user change under webserver authentication not recognized | I found the reason of the bug:
In line 27441 of elogd.cxx the http_user is overwritten by the user saved in the sid_ array as a sideeffect of the sid_check function:
sid_check(getparam("sid"), http_user)
It can solved by changing elogd.cxx @ line 27441
27441c27441,27446
< if (!sid_check(getparam("sid"), http_user)) { /* if we don't have a sid yet, set it */
---
> i=sid_check(getparam("sid"), thumb_name);
> if (i && strcmp(http_user,thumb_name)!=0) { /* user changed */
> sid_remove(getparam("sid"));
> i=FALSE;
> }
> if (!i) { /* if we don't have a sid yet, set it */
Remark: I have used the variables i & thumb_name of the function in a local context. |
69742
|
Fri Feb 23 15:13:46 2024 |
| Stefan Ritt | Thstefan.ritt@psi.ch | Bug report | Linux | 3.1.5-1 | Re: user change under webserver authentication not recognized | Thanks for the fix, I committed it. Please give it a quicky try sinc I cannot test it here (don't use webserver authentication...)
Stefan
Frank Heyroth wrote: |
I found the reason of the bug:
In line 27441 of elogd.cxx the http_user is overwritten by the user saved in the sid_ array as a sideeffect of the sid_check function:
sid_check(getparam("sid"), http_user)
It can solved by changing elogd.cxx @ line 27441
27441c27441,27446
< if (!sid_check(getparam("sid"), http_user)) { /* if we don't have a sid yet, set it */
---
> i=sid_check(getparam("sid"), thumb_name);
> if (i && strcmp(http_user,thumb_name)!=0) { /* user changed */
> sid_remove(getparam("sid"));
> i=FALSE;
> }
> if (!i) { /* if we don't have a sid yet, set it */
Remark: I have used the variables i & thumb_name of the function in a local context.
|
|
162
|
Wed Nov 20 20:07:58 2002 |
| Stefan Ritt | stefan.ritt@psi.ch | | | | Re: upgrading | > this is happened before, and it just happened upgrading from 2.2.2 to 2.2.3
>
> the link at the bottom of the page shows a previously installed version.
>
> i don't install to the elog directory, i install to a ram disk and copy
over the new executables, the source, readme and help html.
>
> the link showed 2.1.2 until i upgraded to 2.2.2 (i didn't do anything
different than the above. now i'm at 2.2.3 and the link is showing
2.2.2...not that it's a big deal, i'm just wondering what i did wrong
Of course you have to stop the old elogd program and start the new one. Have
you done that? |
163
|
Thu Nov 21 18:22:58 2002 |
| tony summerfelt | snowzone25@yahoo.com | | | | Re: upgrading | > Of course you have to stop the old elogd program and start the new one. Have
> you done that?
on windows i run it as a service through firedaemon, but i stop it before upgrading...that was one of the first things i checked... |
|