Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 197 of 808  Not logged in ELOG logo
ID Date Icondown Author Author Email Category OS ELOG Version Subject
  2179   Thu Mar 29 23:03:26 2007 Reply Steve Jonessteve.jones@freescale.comBug reportAll | Other2.6.2-1739Re: "Guest menu commands" not changing the menu line

Steve Jones wrote:
I tried adding the lines below to my Global section, and while Guest access is turned on the menu line does not change. I tried searching SVN change logs for a comment regarding any 'guest' bugs but found nothing. Was this a problem at some point and fixed? I noticed that the Midas site is running 2.6.4-1814 and the guest menus work! Am I doing something wrong or was this a problem in the past?

Thanks!

Guest menu commands = List, Find, Login, Help
Guest List Menu commands = List, Find, Login, Help



Quote:

Ok, well, I built version 2.6.4-1795 and I have the same issue -- Guest menus do not show up when added to my configuration.

Suggestions on where to look? Start from scratch?
  2180   Fri Mar 30 06:38:28 2007 Reply Stefan Rittstefan.ritt@psi.chBug reportAll | Other2.6.2-1739Re: "Guest menu commands" not changing the menu line

Steve Jones wrote:
Am I doing something wrong or was this a problem in the past?


I can't remember any problem of that type.


Steve Jones wrote:
Suggestions on where to look? Start from scratch?


Might not be a bad idea. Use the little config file from the distribution, then just add the guest menu lines, and try it. If it works, modify it gradually until it equals to your full config file, to see where the problem is. Stupid quiestion: After you added your guest menu, did you log out to become a "guest"? If you are logged in with your user name (stored in a cookie), you never will see the guest menu.
  2181   Fri Mar 30 16:05:20 2007 Reply Steve Jonessteve.jones@freescale.comBug reportAll | Other2.6.2-1739Re: "Guest menu commands" not changing the menu line

Stefan Ritt wrote:

Steve Jones wrote:
Am I doing something wrong or was this a problem in the past?


I can't remember any problem of that type.


Steve Jones wrote:
Suggestions on where to look? Start from scratch?


Might not be a bad idea. Use the little config file from the distribution, then just add the guest menu lines, and try it. If it works, modify it gradually until it equals to your full config file, to see where the problem is. Stupid quiestion: After you added your guest menu, did you log out to become a "guest"? If you are logged in with your user name (stored in a cookie), you never will see the guest menu.



Quote:

To answer your last question - yes, i logged out and the menu line never changed. I even put it into debug mode but the output reflects exactly what I see -- a non-changing menu line. I'll start with the simple config and see what happens.

BTW, WebSVN no longer provides a means of downloading a tar of your code trunk. I had to go to http://midas.psi.ch/elog/download/tar/ in order to get your 2.6.4-1 revision.
  2182   Fri Mar 30 16:42:35 2007 Reply Steve Jonessteve.jones@freescale.comBug reportAll | Other2.6.2-1739Re: "Guest menu commands" not changing the menu line

Steve Jones wrote:

Stefan Ritt wrote:

Steve Jones wrote:
Am I doing something wrong or was this a problem in the past?


I can't remember any problem of that type.


Steve Jones wrote:
Suggestions on where to look? Start from scratch?


Might not be a bad idea. Use the little config file from the distribution, then just add the guest menu lines, and try it. If it works, modify it gradually until it equals to your full config file, to see where the problem is. Stupid quiestion: After you added your guest menu, did you log out to become a "guest"? If you are logged in with your user name (stored in a cookie), you never will see the guest menu.



Quote:

To answer your last question - yes, i logged out and the menu line never changed. I even put it into debug mode but the output reflects exactly what I see -- a non-changing menu line. I'll start with the simple config and see what happens.

BTW, WebSVN no longer provides a means of downloading a tar of your code trunk. I had to go to http://midas.psi.ch/elog/download/tar/ in order to get your 2.6.4-1 revision.



Quote:

Ok, here is what I found. Apparently in the past there was a "Find Menu Commands = " option? Because I had this in my config and elog was not barfing on it being there. So, I changed the word "Find" with "List" and things seems to now work. Stefan, was there an old command called "Find Menu Commands"?
  2184   Tue Apr 3 14:26:09 2007 Reply Stefan Rittstefan.ritt@psi.chRequestLinux2.6.4-1795Re: Multiple ideas for multiple logbooks

Yoshio Imai wrote:
1. Multiple login


Well, restructuring the cookies would be rather work intensive. Right now we have one user name cookie unm
used for all logbooks. To distinguish betwen logbooks, one would need cookies in the form <logbook name>_unm and <logbook name>_upwd. Let me think about.


Yoshio Imai wrote:
2. <Ctrl-T>


Well, you didn't realize, but you were my beta-tester for the keyboard shortcuts Big grin . I didn't yet publish it, so you must have gotten this brand new feature from SVN. I'm still fine-tuning shortcuts. I realized that CTRL-C which I used for CODE is normally used for Copy/Paste, so I changed that already to CTRL-O to free up CTRL-C. Since tables are not so often used, I removed it now completely. There is also CTRL-P for Preview and CTRL-ENTER for Submit. While this works now nice on Mozilla based browsers, I cannot intercept CTRL keys on IE. I know you and I don't care, but many people unfortunately do. So get the SVN update, and let me know what you think, if there is still something to be modified before I make the official release.
  2185   Tue Apr 3 15:19:00 2007 Reply Stefan Rittstefan.ritt@psi.chRequestLinux2.6.4-1795Re: Multiple ideas for multiple logbooks

Stefan Ritt wrote:
To distinguish betwen logbooks, one would need cookies in the form <logbook name>_unm and <logbook name>_upwd.


Actually this is not a good idea. Most people I know have several logbooks, but a common password file. Access control is then fine-tuned via 'Login user = ...'. Now if I implement a per-logbook cookie, these people would have to log in once for each logbook. If the go to a new browser which does not contain their old cookies, or if the cookies expire, they would have to log in again once for each logbook. On installations with 20 and more logbooks this can be cumbersome. So all these people would complain.
  2186   Tue Apr 3 17:16:23 2007 Reply Stefan Rittstefan.ritt@psi.chBug reportAll | Other2.6.2-1739Re: "Guest menu commands" not changing the menu line

Steve Jones wrote:
BTW, WebSVN no longer provides a means of downloading a tar of your code trunk. I had to go to http://midas.psi.ch/elog/download/tar/ in order to get your 2.6.4-1 revision.


That should be fixed now.


Steve Jones wrote:
Ok, here is what I found. Apparently in the past there was a "Find Menu Commands = " option? Because I had this in my config and elog was not barfing on it being there. So, I changed the word "Find" with "List" and things seems to now work. Stefan, was there an old command called "Find Menu Commands"?


Yes. Indeed this was changes some time ago. Have a look at elog:880. Unfortunately I did not announce this change clearly.
  2188   Tue Apr 3 21:09:47 2007 Reply Stefan Rittstefan.ritt@psi.chBug reportLinux2.6.4-1826Re: Multiple ideas for multiple logbooks

Yoshio Imai wrote:
When using the shortcuts and/or the ELCode buttons, sometimes the code is generated and the cursor in between the [XX] and [/XX] directive, but sometimes, the whole code directive is selected as if for editing


I found at least that problem. If you select one or more words and press CTRL-B for example, your selection is surrounded by the [B]...[/B] tags. If you double click with your mouse on a word, usually the space between this word and the next word is selected as well. I modified the code such that if there is a blank at the end of a selection, it gets stipped off before placing the tags. This had the side-effect that if there was no selection at all, you got the reported mis-behaviour if there was a blank at your cursor position. I fixed that now in the updated elcode.js.

Your other problem of ignoring the control keys at all I could not reproduce. Try to reproduce it in a well-defined way and let me know.
ELOG V3.1.5-3fb85fa6