Re: [Zope-dev] manage frame change
seb bacon wrote anyone object to changing the text at in the top ZMI frame to "Logged in as <user> on <machine>?" Or is there a better place to put that info? I find it useful when I've got several windows open to different servers.
What does "<machine>" mean? The host running the ZEO server? The host running the ZEO client? What about those of us who run multiple ZEO clients on the same machine (multi-cpu, test instances, whatever)... Anthony -- Anthony Baxter <anthony@interlink.com.au> It's never to late to have a happy childhood.
From: "Anthony Baxter" <anthony@ekit-inc.com>
What does "<machine>" mean? The host running the ZEO server? The host running the ZEO client? What about those of us who run multiple ZEO clients on the same machine (multi-cpu, test instances, whatever)...
I think it should show the site name, ie, www.torped.se:1006, or intranet.torped.se:8080, and so on. That would make me know where I was editing all the tim (except when I have SiteRoots. I loathe the littl buggers. Grrr). :-) It is a great idea, seb.
Lennart Regebro wrote:
From: "Anthony Baxter" <anthony@ekit-inc.com>
What does "<machine>" mean? The host running the ZEO server? The host running the ZEO client? What about those of us who run multiple ZEO
clients
on the same machine (multi-cpu, test instances, whatever)...
I think it should show the site name, ie, www.torped.se:1006, or intranet.torped.se:8080, and so on. That would make me know where I was editing all the tim (except when I have SiteRoots. I loathe the littl buggers. Grrr). :-)
It is a great idea, seb.
How about making "machine" configurable per zope / zeo client instance via an environment variable. So, I can read something meaningful to me, and I won't have to remember exactly which servers I have running on which ports. -- Steve Alexander
Steve Alexander wrote:
Lennart Regebro wrote:
I think it should show the site name, ie, www.torped.se:1006, or intranet.torped.se:8080, and so on. That would make me know where I was editing all the tim (except when I have SiteRoots. I loathe the littl buggers. Grrr). :-)
It is a great idea, seb.
How about making "machine" configurable per zope / zeo client instance via an environment variable. So, I can read something meaningful to me, and I won't have to remember exactly which servers I have running on which ports.
My €0.05. Manager has manage_zmi_prefs form. I'd like to be able to set machine name there. Ability to override the machine name and env.var with settings from that screen would be great. If policy for storage of those preferences are Cookies, let it be but I'd prefer to store them somewhere in ZODB (i have to turn off top frame each time I log-in from other workstation and host changes or gets extra DNS name :) Regards, Myroslav -- Myroslav Opyr zope.net.ua <http://zope.net.ua/> ° Ukrainian Zope Hosting e-mail: myroslav@zope.net.ua <mailto:myroslav@zope.net.ua> cell: +380 50.3174578
On Mon, 2002-03-18 at 10:38, Myroslav Opyr wrote:
Steve Alexander wrote:
Lennart Regebro wrote:
I think it should show the site name, ie, www.torped.se:1006, or intranet.torped.se:8080, and so on. That would make me know where I was editing all the tim (except when I have SiteRoots. I loathe the littl buggers. Grrr). :-)
It is a great idea, seb.
How about making "machine" configurable per zope / zeo client instance via an environment variable. So, I can read something meaningful to me, and I won't have to remember exactly which servers I have running on which ports.
My €0.05. Manager has manage_zmi_prefs form. I'd like to be able to set machine name there. Ability to override the machine name and env.var with settings from that screen would be great. If policy for storage of those preferences are Cookies, let it be but I'd prefer to store them somewhere in ZODB (i have to turn off top frame each time I log-in from other workstation and host changes or gets extra DNS name :)
The problem with storing a name in the ZODB means that you are only setting the ZEO server name, rather than a client, which is possibly not the desired behaviour. Automatically reporting the domain for the server is difficult because it may not be discoverable. I think some sensible hostname-based defaults, with the option to override in environment variables (possibly also in the zmi_prefs) would be about right. How about this: <ZEO client name>: <ZEO server name> on a ZEO setup, and <server name> on a non-zeo setup, with the server name overridable (is that a word?) from the zmi_manage_prefs, and both the server name and the ZEO client name overridable in environment variables? and I thought this was going to be a quick fix... seb
The machine should, in my opinion, be the domain you are logged in on. I.e, if you are authenticated for domain www.foobar.com:1001, thats what it should say, according to an internal survey here at Torped (that means me and Johan). :-) It would be nice to have it configurable, but I'm not sure it's enough to configure it per instance. You may want to configure it per virtual domain too.
On Mon, 2002-03-18 at 13:21, Lennart Regebro wrote:
The machine should, in my opinion, be the domain you are logged in on. I.e, if you are authenticated for domain www.foobar.com:1001, thats what it should say, according to an internal survey here at Torped (that means me and Johan). :-)
It would be nice to have it configurable, but I'm not sure it's enough to configure it per instance. You may want to configure it per virtual domain too.
+1 on that. It's 'The Simplest Thing That Could Possibly Work' (TM) and only requires changes to the template as all the extra data (host and port) is present in the request. -- Ideas don't stay in some minds very long because they don't like solitary confinement.
On Mon, 2002-03-18 at 19:18, Leonardo Rochael Almeida wrote:
On Mon, 2002-03-18 at 13:21, Lennart Regebro wrote:
The machine should, in my opinion, be the domain you are logged in on. I.e, if you are authenticated for domain www.foobar.com:1001, thats what it should say, according to an internal survey here at Torped (that means me and Johan). :-)
It would be nice to have it configurable, but I'm not sure it's enough to configure it per instance. You may want to configure it per virtual domain too.
+1 on that. It's 'The Simplest Thing That Could Possibly Work' (TM) and only requires changes to the template as all the extra data (host and port) is present in the request.
But we come back to the point that you may be logged into one of (say) 3 app servers (ZEO clients) all serving the same domain, no? seb
...all of which can already be done with PatchKit... I think the option to have Zope mutate certain objects into the ZODB from within App.Management et al would be a very useful feature, but then that is why I already did that... Does anyone want PatchKit (Or parts of it) put in 2.6 (Probably as changes, rather than patches I'd guess) ? Adrian... -- The difficulty of tactical maneuvering consists in turning the devious into the direct, and misfortune into gain. - Sun Tzu ----- Original Message ----- From: "seb bacon" <seb@jamkit.com> To: "Leonardo Rochael Almeida" <leo@hiper.com.br> Cc: "Lennart Regebro" <lennart@torped.se>; "Zope Developers list" <zope-dev@zope.org> Sent: Tuesday, March 19, 2002 9:58 AM Subject: Re: [Zope-dev] manage frame change
On Mon, 2002-03-18 at 19:18, Leonardo Rochael Almeida wrote:
On Mon, 2002-03-18 at 13:21, Lennart Regebro wrote:
The machine should, in my opinion, be the domain you are logged in on. I.e, if you are authenticated for domain www.foobar.com:1001, thats what it should say, according to an internal survey here at Torped (that means me and Johan). :-)
It would be nice to have it configurable, but I'm not sure it's enough to configure it per instance. You may want to configure it per virtual domain too.
+1 on that. It's 'The Simplest Thing That Could Possibly Work' (TM) and only requires changes to the template as all the extra data (host and port) is present in the request.
But we come back to the point that you may be logged into one of (say) 3 app servers (ZEO clients) all serving the same domain, no?
seb
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
participants (7)
-
Adrian Hungate -
Anthony Baxter -
Lennart Regebro -
Leonardo Rochael Almeida -
Myroslav Opyr -
seb bacon -
Steve Alexander