Re: [Zope-dev] manage frame change

2002-03-22 Thread Adrian Hungate

...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 [EMAIL PROTECTED]
To: Leonardo Rochael Almeida [EMAIL PROTECTED]
Cc: Lennart Regebro [EMAIL PROTECTED]; Zope Developers list
[EMAIL PROTECTED]
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  -  [EMAIL PROTECTED]
 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 )



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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 )



Re: [Zope-dev] manage frame change

2002-03-19 Thread seb bacon

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  -  [EMAIL PROTECTED]
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 )



Re: [Zope-dev] manage frame change

2002-03-19 Thread Lennart Regebro

From: seb bacon [EMAIL PROTECTED]
 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?

Yes, maybe then this could be added to the information somehow?



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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 )



Re: [Zope-dev] manage frame change

2002-03-19 Thread Anthony Baxter

 seb bacon wrote
 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?

and on the same box ... :)

Anthony

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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 )



Re: [Zope-dev] manage frame change

2002-03-19 Thread Adrian Hungate

If you want to make a quick change to the ZMI top or left pane, look at my
latest PatchKit - It turns them into ZMI objects so you can customize the
ZMI.

(I am sure there are as many changes people want to make to the ZMI as there
are users of Zope...)

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 [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, March 16, 2002 4:02 PM
Subject: [Zope-dev] manage frame change


 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.

 seb


 ___
 Zope-Dev maillist  -  [EMAIL PROTECTED]
 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 )



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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 )



Re: [Zope-dev] manage frame change

2002-03-18 Thread Lennart Regebro

From: Anthony Baxter [EMAIL PROTECTED]
 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.



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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 )



Re: [Zope-dev] manage frame change

2002-03-18 Thread Steve Alexander

Lennart Regebro wrote:
 From: Anthony Baxter [EMAIL PROTECTED]
 
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



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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 )



Re: [Zope-dev] manage frame change

2002-03-18 Thread Myroslav Opyr

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: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
cell: +380 50.3174578





___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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 )



Re: [Zope-dev] manage frame change

2002-03-18 Thread Lennart Regebro

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.



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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 )



Re: [Zope-dev] manage frame change

2002-03-18 Thread Leonardo Rochael Almeida

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.


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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 )



Re: [Zope-dev] manage frame change

2002-03-17 Thread Chris Withers

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.

Would the title bar be a better place (title/title) ?
Then you don't even have to dig the body of the window up :-)

In fact, how about machine - user, that way you should even be able to get
the context from whatever taskbar you have, without even having to resort to
finding the window...

cheers,

Chris

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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 )



Re: [Zope-dev] manage frame change

2002-03-17 Thread Florent Guillaume

  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.
 
 Would the title bar be a better place (title/title) ?
 Then you don't even have to dig the body of the window up :-)
 
 In fact, how about machine - user, that way you should even be able to get
 the context from whatever taskbar you have, without even having to resort to
 finding the window...

In that vein, how about having the main frame with a title resembling
getId: tabname, that's useful if you open lots of those in
their separate windows.

Florent
-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 10  http://nuxeo.com  mailto:[EMAIL PROTECTED]

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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 )



Re: [Zope-dev] manage frame change

2002-03-17 Thread Anthony Baxter


 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 [EMAIL PROTECTED]   
It's never to late to have a happy childhood.


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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 )