Re: [Zope] WebDAV lock in Zope 2.11.4

2010-12-02 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Brian Sullivan wrote:
> I tried that as well but it didn't appear to find the lock.

If Zope complains about an object being logged then it will
be findable through the lock manager in any case.

- -aj

> 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQGUBAEBAgAGBQJM+Jj2AAoJEADcfz7u4AZjBoYLuQEvCfW1JDE5fFG+nB3PEMSJ
uILDmrGlkGOXh9Eq6f9Kn+u7B0d76FMZCVcdXsRA+/sLRpPcFTxKptnemgE2ageI
SFa7HCo/6F7MVNPGe6T4N05Z4XbvcNONiNe1o4pB7jgK5hwe5WeVg/PeOwnbkwX0
FFTosh41xrAYX8CjcTnhQrrIl5Pf5AvDY7zhbVgpDrSK/HLyfSFFUJh9Ndkvjtzj
6BvJPDo+s2znUSoz6MQwYZzJ5zAizWyYsf7593CC6//Og6cPHUriJkFHRVkXZPEm
8FsPpj9724KDO8HuaOkM0OaQmf7i2L6Ky0DimVhLwbEsqALhRP60jPzMrE+QzCXk
z0nL0lD1hDyvzhhKgoZCbJlAA2CSufjHjl1uj+5aL0hemSyGF6072doyb6U4rSRx
tUwgUge9HCNjvkbf1j7Z7Tp8/QTx7Ykq30ugQXmBFNMEWMBEDIt7w5qQeRzu978B
h+kFaYGretU0P5drcNT34qGpY6byMik=
=DWEk
-END PGP SIGNATURE-
<>___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] WebDAV lock in Zope 2.11.4

2010-12-02 Thread Brian Sullivan
I tried that as well but it didn't appear to find the lock.

Then somehow it just went away -- not sure what happened -- it was
nothing that I deliberately did as far as I know.

Maybe I imagined it.

On Thu, Dec 2, 2010 at 1:56 PM, robert rottermann  wrote:
> Am 02.12.2010 18:53, schrieb Brian Sullivan:
>>
>> Somehow in testing use of ExternalEditor product I have set the WebDAV
>> lock on a file. The problem is that the lock doesn't seem to appear in
>> the list of locks from the Control Panel, nor does it clear on a
>> restart. I am at loss -- how do I proceed?
>>
>> Is there anyway around this?
>> ___
>> Zope maillist  -  z...@zope.org
>> https://mail.zope.org/mailman/listinfo/zope
>> **   No cross posts or HTML encoding!  **
>> (Related lists -
>>  https://mail.zope.org/mailman/listinfo/zope-announce
>>  https://mail.zope.org/mailman/listinfo/zope-dev )
>
> be aware that you must enter a path when scanning for locks.
> it is not enough just to click on the search buton.
>
> i tripped over this once..
>
> robert
>
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] WebDAV lock in Zope 2.11.4

2010-12-02 Thread robert rottermann
Am 02.12.2010 18:53, schrieb Brian Sullivan:
> Somehow in testing use of ExternalEditor product I have set the WebDAV
> lock on a file. The problem is that the lock doesn't seem to appear in
> the list of locks from the Control Panel, nor does it clear on a
> restart. I am at loss -- how do I proceed?
>
> Is there anyway around this?
> ___
> Zope maillist  -  Zope@zope.org
> https://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>   https://mail.zope.org/mailman/listinfo/zope-announce
>   https://mail.zope.org/mailman/listinfo/zope-dev )
be aware that you must enter a path when scanning for locks.
it is not enough just to click on the search buton.

i tripped over this once..

robert
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] WebDAV lock in Zope 2.11.4

2010-12-02 Thread Brian Sullivan
Somehow in testing use of ExternalEditor product I have set the WebDAV
lock on a file. The problem is that the lock doesn't seem to appear in
the list of locks from the Control Panel, nor does it clear on a
restart. I am at loss -- how do I proceed?

Is there anyway around this?
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] nginx proxy zope/webdav, can't see files

2008-12-11 Thread mictlan tecutli
hi, 

i´m trying to connect davfs to zope/webdav by way of nginx. this works fine 
(once davfs is configured correctly) conecting directly (that is w/out nginx in 
the middle). with nginx in the middle i can not see the files. that is "ls 
/davfs/mout/point" shows an empty folder. i can upload to that folder, if i 
mount directly to a folder where my user has permissions. but can´t see the 
files there. the folder is not empty. again, i can list the files using davfs 
without nginx as. 

on the nginx list i was told that the probem was most likely due to path 
formation. here is the client request, responces from nginx and zope and the 
configuration of nginx vhost. hopefully someone on this list can shed some 
light on the issue. 

> Probably, the problem is that in nginx case you use "PROPFIND /dav/nomndaa1/"
> while server responses to "PROPFIND /nomndaa1/" or "PROPFIND /plune/nomndaa1/"
> (according previously posted configuration). This may confuse the client,
> if it expect to see response to "PROPFIND /dav/nomndaa1/": response may
> have "/nomndaa1/" or "/plune/nomndaa1/" pathes.

so if i understand i should be able to fix this with a proxy_redirect like:

proxy_redirect   http://10.10.10.30:1980/nomndaa1/ 
http://$host:$server_port/dav/ 
this _is not_ working for me. the following is the client request, nginx and 
zope responces, as well as a modified vhost for nginx. 

client:
Sending request headers: PROPFIND /dav/ HTTP/1.1  Host:
lapalabradelagua.org  User-Agent: davfs2/1.3.3 neon/0.28.2  Connection:
TE  TE: trailers  Depth: 1  Content-Length: 314  Content-Type:
application/xml

nginx log:
"PROPFIND /dav/ HTTP/1.1" 207 11500 "-" "davfs2/1.3.3 neon/0.28.2"

zope log:
"PROPFIND /nomndaa1/ HTTP/1.0" 207 11784 "" "davfs2/1.3.3 neon/0.28.2"

complete nginx vhost:
server {
listen 10.10.10.20:80;
server_name .myhost.org;
if ($request_uri ~* ^/login_(.*)) {
rewrite ^/login_(.*) https://$host/login_$1 
permanent;
break;
}
location /dav/ {
proxy_pass http://10.10.10.30:1980/nomndaa1/;
proxy_pass_header   Server;
proxy_set_header Host $http_host;
proxy_set_header  X-Forwarded-For $remote_addr;
proxy_redirect   
http://10.10.10.30:1980/nomndaa1/ http://$host:$server_port/dav/;
}
location / {
 proxy_pass  
http://10.10.10.30:6081/VirtualHostBase/http/myhost.org:80/nomndaa1/VirtualHostRoot/;
 proxy_set_header Host $http_host;
}

saludo, 
kev
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] webdav upload - controlling type, hook

2008-10-11 Thread Jakob Schou Jensen
Thanks Tres,

The PUT_factory works fine for controlling the upload type. In addition to
this I need a hook that gets called whenever a document is created OR
updated (the put_factory is only called on creation). I need this hook to
update some derived/cached data. Is there any way to do this?

Jakob

2008/9/25 Tres Seaver <[EMAIL PROTECTED]>

>
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Jakob Schou Jensen wrote:
> > When uploading a file to the zope db using the webdav interface zope
> select
> > on object type based on the file contents (or extension?). For instance
> when
> > I upload a html file it becomes a DTML document. Is there any way to
> control
> > what type of object is selected?
> >
> > Additionally I would like to execute some script code after a webdav
> upload.
> > Is there any way to get a hook or callback or something similar?
>
> You need to implement the 'PUT_factory' hook for your container:
>
>  http://wiki.zope.org/zope2/PUTFactory
>
>
> Tres.
> - --
> ===
> Tres Seaver  +1 540-429-0999  [EMAIL PROTECTED]
> Palladion Software   "Excellence by Design"http://palladion.com
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFI2+lV+gerLs4ltQ4RAkEAAJ9vdWXskaVEB4IJAjFnxJc9HQ7K8ACgiCBy
> 7oWAtfQCkvyVKHfQ3B6NQzA=
> =uAf+
> -END PGP SIGNATURE-
>
>
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] webdav upload - controlling type, hook

2008-09-25 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jakob Schou Jensen wrote:
> When uploading a file to the zope db using the webdav interface zope select
> on object type based on the file contents (or extension?). For instance when
> I upload a html file it becomes a DTML document. Is there any way to control
> what type of object is selected?
> 
> Additionally I would like to execute some script code after a webdav upload.
> Is there any way to get a hook or callback or something similar?

You need to implement the 'PUT_factory' hook for your container:

  http://wiki.zope.org/zope2/PUTFactory


Tres.
- --
===
Tres Seaver  +1 540-429-0999  [EMAIL PROTECTED]
Palladion Software   "Excellence by Design"http://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI2+lV+gerLs4ltQ4RAkEAAJ9vdWXskaVEB4IJAjFnxJc9HQ7K8ACgiCBy
7oWAtfQCkvyVKHfQ3B6NQzA=
=uAf+
-END PGP SIGNATURE-

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] webdav upload - controlling type, hook

2008-09-25 Thread Jakob Schou Jensen
When uploading a file to the zope db using the webdav interface zope select
on object type based on the file contents (or extension?). For instance when
I upload a html file it becomes a DTML document. Is there any way to control
what type of object is selected?

Additionally I would like to execute some script code after a webdav upload.
Is there any way to get a hook or callback or something similar?

Thanks,

Jakob
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] zope, webdav, ical, vcalendar, etc.

2007-02-03 Thread Martijn Pieters

On 2/2/07, Erik Myllymaki <[EMAIL PROTECTED]> wrote:

So I attempt to connect to zope via its webdav port and request the sale
zpt, but of course it sends it as its source, not as the rendered
calendar.


The Zope webdav source port's sole purpose is to provide access to the
source code of scripts and templates. Use the regular HTTP port for
WebDAV access if you require templates and scripts to be rendered;
Zope supports WebDAV access on the regular HTTP port out of the box.

--
Martijn Pieters
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] zope, webdav, ical, vcalendar, etc.

2007-02-02 Thread Erik Myllymaki
I am trying to dynamically create iCalendar or vCalendar files.

I can do this with a Zope Page Template, naming it myCalendar.ics. When
myCalendar.ics is accessed through a web browser, iCal pops up and asks
what I want to do with the calendar info, etc. and all is well.

But what I would like to do is use iCal or thunderbird( lightening ) to
subscribe to the calendar so that updates are handled automatically. For
iCal to do this, it wants to access the ics file via webdav.

So I attempt to connect to zope via its webdav port and request the sale
zpt, but of course it sends it as its source, not as the rendered
calendar. If i take out all the TAL and just have a static vCalendar or
iCalendar file then this works via webdav but my whole reason for doing
this is so that I can populate the calendar with events form a RDBMS
when the myCalendar.ics template is called.

Your ideas appreciated.




___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


RE: [Zope] Peculiar Zope WebDav Behavior

2007-01-15 Thread Mark, Jonathan (Integic)
No, I was using the default http port, *:8080/manage. Obviously I didn't
understand what the WebDav client does. I thought it magically rendered
the source as source no matter how I connect to it. 

No wonder it didn't work. I will try the WebDAV port out tonight. I
assume that it will work now.

Thanks. 

-Original Message-
From: Andreas Jung [mailto:[EMAIL PROTECTED]
Sent: Monday, January 15, 2007 3:57 PM
To: Mark, Jonathan (Integic); zope@zope.org
Subject: Re: [Zope] Peculiar Zope WebDav Behavior




--On 15. Januar 2007 15:56:22 -0500 "Mark, Jonathan (Integic)" 
<[EMAIL PROTECTED]> wrote:

> I open up a Zope 2.10.1 ZPT or DTML page in a webdav client, using
> Notepad or the Amaya web editor. Unfortunately, the DTML tags and ZPT
> attibutes get replaced with the substituted values...

Are you really using the dedicated WeDAV port of Zope and *not* the
standard
HTTP port?

-aj
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Peculiar Zope WebDav Behavior

2007-01-15 Thread Andreas Jung



--On 15. Januar 2007 15:56:22 -0500 "Mark, Jonathan (Integic)" 
<[EMAIL PROTECTED]> wrote:



I open up a Zope 2.10.1 ZPT or DTML page in a webdav client, using
Notepad or the Amaya web editor. Unfortunately, the DTML tags and ZPT
attibutes get replaced with the substituted values. All I see in Notepad
or Amaya are the rendered HTML that would get returned to the browser.
Thus I cannot modify the ZPT or DTML page source, since the source is not
visible.

Is that intended behavior for Zope and WebDav? It seems kind of
pointless.

Is there a workaround? I don't object to using ZopeEdit, but I would
prefer to use WebDav, since that is a general tool that is not specific
to Zope.

What is Zope/WebDav for if not for modifying the source (not the rendered
HTML!) of ZPT and DTML objects?


Are you really using the dedicated WeDAV port of Zope and *not* the standard
HTTP port?


-aj

pgpXJC4yJ7AoT.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Peculiar Zope WebDav Behavior

2007-01-15 Thread Mark, Jonathan (Integic)
I open up a Zope 2.10.1 ZPT or DTML page in a webdav client, using Notepad or 
the Amaya web editor. Unfortunately, the DTML tags and ZPT  attibutes get 
replaced with the substituted values. All I see in Notepad or Amaya are the 
rendered HTML that would get returned to the browser. Thus I cannot modify the 
ZPT or DTML page source, since the source is not visible. 

Is that intended behavior for Zope and WebDav? It seems kind of pointless. 

Is there a workaround? I don't object to using ZopeEdit, but I would prefer to 
use WebDav, since that is a general tool that is not specific to Zope. 

What is Zope/WebDav for if not for modifying the source (not the rendered 
HTML!) of ZPT and DTML objects?
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope + WebDav + davfs and vim

2006-10-02 Thread Dieter Maurer
Pawe-Bł Bylina wrote at 2006-9-29 19:37 +0200:-A
>Has anyone run successful Zope with davfs? I have problems when i try
>edit and save some files or when i try create new files.

I have tried "davfs" and it worked apart from ids with special
characters (Umlaute). You should not see this problem
as your ids should contain ASCII only (we have a special Zope version
with less restricted ids).



-- 
Dieter
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Zope + WebDav + davfs and vim

2006-09-29 Thread Paweł Bylina
Hi.

Has anyone run successful Zope with davfs? I have problems when i try
edit and save some files or when i try create new files.

I have also problems with Zope and curlftpfs. When i save one file and
then i try edit others it doesn't work (i must kill vim and curlftpfs).
Debug doesn't say where is the problem...
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] webdav and PUT_factory

2006-02-27 Thread Chris Withers

Luca Dall'Olio wrote:

According to my past experience in java, this means "cvs" ^_^


For the rest of us, it means svn ;-)

Should I stop using the ZMI? 


Probably. At the very least, take advantage of the webdav you seem to 
have already got working and use a normal text editor for editing your 
scripts and templates!



Should I develop a Zope Product instead?


Probably ;-)


Should I use fsdump instead of webdav to export from zope ?


No..

Should I 
use  webdav when deploying back to Zope?


Not unless you're doing all your editing via WebDAV...


We develop inside locally installed Zope Instances, using the ZMI.


Eep, at least get a text editor going over webdav so you don't have to 
use a browser to edit your scripts and methods!


At the end of the day, we export the work done using webdav, and this 
works for DTML documents, DTML methods and ZSQL methods.


Okay, stop using DTML documents and methods. Use python scripts and ZPT, 
please god! ;-)


After that, we commit inside the source code repository, using the 
update, diff and merge features to synchronize with other developers' work.


Odd...

We need to deploy to a Zope server in order to test the integration of 
developers' code, so I wrote a little PUT_factory to re-create the right 
objects, this is a snippet:


   elif ext == 'zsql':
   from Products.ZSQLMethods.SQL import SQL
   return SQL(name, '', 'daticonvegno', '' ,'')
   elif ext == 'dtml':
   from OFS.DTMLDocument import DTMLDocument
   return DTMLDocument( '', __name__=name )
   elif ext == 'dtmm':
   from OFS.DTMLMethod import DTMLMethod
   return DTMLMethod( '', __name__=name )
   elif major == 'text':
   from OFS.DTMLDocument import DTMLDocument
   return OFS.DTMLDocument.DTMLDocument( '', __name__=name )


Fair enough...

1) you have to use extensions to make it work, otherwise you will have 
trouble at deploy-time


Yup, but extensions are pretty handy ;-)

2) some additional parameters such as the connectionIds for ZSQLMethods 
must be auto-magically chosen by the PUT_factory


Oh, yes, that's silly ;-)

3) what about more complex objects, such as Plone, Archetypes or 
Openflow? should I map them all in the PUT_factory?


Ah, so you're using Plohn. Well, then you should put all you code in 
Filesystem Directory Views, it'll make it all _much_ easier for you!
You can then look to GenericSetup to handle all your workflow configs, 
etc...


Is this the "right way" to do things in Zope? 


Nope, not given the products you're using...

Is there any native 
solution for Source Code Versioning and Team Management?


Not really, the "History" tab is as close as it gets...

cheers,

Chris

--
Simplistix - Content Management, Zope & Python Consulting
   - http://www.simplistix.co.uk

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] webdav and PUT_factory

2006-02-27 Thread Luca Dall'Olio
First of all, I would like to thank everybody for your accurate and fast 
answers.


I am working with a small group of developers, each in different places 
and working at different times.

According to my past experience in java, this means "cvs" ^_^
I have some doubts about how to synchronize Zope development with cvs or 
subversion.

Should I stop using the ZMI? Should I develop a Zope Product instead?
Should I use fsdump instead of webdav to export from zope ? Should I 
use  webdav when deploying back to Zope?


This is my actual state-of-the-art about team management in Zope :
We develop inside locally installed Zope Instances, using the ZMI.
At the end of the day, we export the work done using webdav, and this 
works for DTML documents, DTML methods and ZSQL methods.
After that, we commit inside the source code repository, using the 
update, diff and merge features to synchronize with other developers' work.
We need to deploy to a Zope server in order to test the integration of 
developers' code, so I wrote a little PUT_factory to re-create the right 
objects, this is a snippet:


   elif ext == 'zsql':
   from Products.ZSQLMethods.SQL import SQL
   return SQL(name, '', 'daticonvegno', '' ,'')
   elif ext == 'dtml':
   from OFS.DTMLDocument import DTMLDocument
   return DTMLDocument( '', __name__=name )
   elif ext == 'dtmm':
   from OFS.DTMLMethod import DTMLMethod
   return DTMLMethod( '', __name__=name )
   elif major == 'text':
   from OFS.DTMLDocument import DTMLDocument
   return OFS.DTMLDocument.DTMLDocument( '', __name__=name )

As you can see, it uses extensions to understand the type of the file. 
This has some minor drawbacks :
1) you have to use extensions to make it work, otherwise you will have 
trouble at deploy-time
2) some additional parameters such as the connectionIds for ZSQLMethods 
must be auto-magically chosen by the PUT_factory
3) what about more complex objects, such as Plone, Archetypes or 
Openflow? should I map them all in the PUT_factory?


Is this the "right way" to do things in Zope? Is there any native 
solution for Source Code Versioning and Team Management?

How do other team solve this issue? Any advice is welcome!

Thank you very much in advance,
Luca


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] WebDAV

2005-06-29 Thread Dieter Maurer
Luiz Fernando B. Ribeiro wrote at 2005-6-29 01:19 -0300:
> ...
>The login dialog is show but even with my manager password it's not able 
>to login. The error message above is repeated after each atempt.

This is a more precise problem description :-)

I analyse such problems with a TCP logger (my favorite one
is Shane's "tcpwatch"). It allows you to verify whether the
problem is the server or the client.

-- 
Dieter
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] WebDAV

2005-06-28 Thread Chris McDonough
Note that MS has a Webfolders "fixer" program, see:

http://chapters.marssociety.org/webdav (beginning "Some Windows XP
machines have a broken Web Folders installation. Microsoft includes a
Web Folders repair utility built in to Windows to correct the problem.
Use the following steps to fix the problem:")

See also

http://teyc.editthispage.com/2005/06/02

- C



On Wed, 2005-06-29 at 01:19 -0300, Luiz Fernando B. Ribeiro wrote:
> Dieter Maurer wrote:
> > Luiz Fernando B. Ribeiro wrote at 2005-6-27 16:00 -0300:
> > 
> >>I'm using webdav to update to access files from Dreamweaver and it is 
> >>working fine but when I try to use windows web folders feature it fails 
> >>with the following error in zope log. It seems that windows is 
> >>requesting the PROPFIND before authenticating. Any clues?
> >>
> >>Zope Version (Zope 2.7.5-final, python 2.3.5, linux2)
> >>Python Version 2.3.5 (#2, May 4 2005, 08:51:39) [GCC 3.3.5 (Debian 
> >>1:3.3.5-12)]
> >>System Platform linux2
> >>
> >>Time2005/06/27 15:05:48.973 GMT-3
> >>User Name (User Id) Anonymous User (None)
> >>Request URL http://my.server/clientes/PROPFIND
> >>Exception Type  Unauthorized
> >>Exception Value You are not authorized to access this 
> >>resource.
> > 
> > 
> > This, by itself, is completely normal.
> > 
> > MS WebDAV Access should in this case show a login dialog.
> > After providing the correct authentication info, you should
> > be able to access the folder.
> > 
> > The "MS WebDAV Access" in my Windows XP Professional behaves in this way.
> 
> Hi Dieter,
> 
> The login dialog is show but even with my manager password it's not able 
> to login. The error message above is repeated after each atempt. With 
> Netdrive or Dreamweaver it works fine but windows web folders is a good 
> feature for simple "users". I thought that some kind of workaround was 
> available. Even with Chris sugestion to use full url with user and 
> password has failed.
> 
> I'm using Windows XP SP2.
> 
> Thanks,
> 
> Luiz Fernando B. Ribeiro
> Engenho Soluções para a Internet
> ___
> Zope maillist  -  Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
> 

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] WebDAV

2005-06-28 Thread Luiz Fernando B. Ribeiro

Dieter Maurer wrote:

Luiz Fernando B. Ribeiro wrote at 2005-6-27 16:00 -0300:

I'm using webdav to update to access files from Dreamweaver and it is 
working fine but when I try to use windows web folders feature it fails 
with the following error in zope log. It seems that windows is 
requesting the PROPFIND before authenticating. Any clues?


Zope Version (Zope 2.7.5-final, python 2.3.5, linux2)
Python Version 2.3.5 (#2, May 4 2005, 08:51:39) [GCC 3.3.5 (Debian 
1:3.3.5-12)]

System Platform linux2

Time2005/06/27 15:05:48.973 GMT-3
User Name (User Id) Anonymous User (None)
Request URL http://my.server/clientes/PROPFIND
Exception Type  Unauthorized
Exception Value 	You are not authorized to access this 
resource.



This, by itself, is completely normal.

MS WebDAV Access should in this case show a login dialog.
After providing the correct authentication info, you should
be able to access the folder.

The "MS WebDAV Access" in my Windows XP Professional behaves in this way.


Hi Dieter,

The login dialog is show but even with my manager password it's not able 
to login. The error message above is repeated after each atempt. With 
Netdrive or Dreamweaver it works fine but windows web folders is a good 
feature for simple "users". I thought that some kind of workaround was 
available. Even with Chris sugestion to use full url with user and 
password has failed.


I'm using Windows XP SP2.

Thanks,

Luiz Fernando B. Ribeiro
Engenho Soluções para a Internet
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] WebDAV

2005-06-28 Thread Dieter Maurer
Luiz Fernando B. Ribeiro wrote at 2005-6-27 16:00 -0300:
>I'm using webdav to update to access files from Dreamweaver and it is 
>working fine but when I try to use windows web folders feature it fails 
>with the following error in zope log. It seems that windows is 
>requesting the PROPFIND before authenticating. Any clues?
>
>Zope Version (Zope 2.7.5-final, python 2.3.5, linux2)
>Python Version 2.3.5 (#2, May 4 2005, 08:51:39) [GCC 3.3.5 (Debian 
>1:3.3.5-12)]
>System Platform linux2
>
>Time   2005/06/27 15:05:48.973 GMT-3
>User Name (User Id)Anonymous User (None)
>Request URLhttp://my.server/clientes/PROPFIND
>Exception Type Unauthorized
>Exception ValueYou are not authorized to access this 
>resource.

This, by itself, is completely normal.

MS WebDAV Access should in this case show a login dialog.
After providing the correct authentication info, you should
be able to access the folder.

The "MS WebDAV Access" in my Windows XP Professional behaves in this way.

-- 
Dieter
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] WebDAV

2005-06-27 Thread Luiz Fernando B. Ribeiro
I'm using webdav to update to access files from Dreamweaver and it is 
working fine but when I try to use windows web folders feature it fails 
with the following error in zope log. It seems that windows is 
requesting the PROPFIND before authenticating. Any clues?


Zope Version (Zope 2.7.5-final, python 2.3.5, linux2)
Python Version 2.3.5 (#2, May 4 2005, 08:51:39) [GCC 3.3.5 (Debian 
1:3.3.5-12)]

System Platform linux2

Time2005/06/27 15:05:48.973 GMT-3
User Name (User Id) Anonymous User (None)
Request URL http://my.server/clientes/PROPFIND
Exception Type  Unauthorized
Exception Value 	You are not authorized to access this 
resource.


Traceback (innermost last):

* Module ZPublisher.Publish, line 92, in publish
* Module ZPublisher.BaseRequest, line 449, in traverse
* Module ZPublisher.HTTPResponse, line 680, in unauthorized

Unauthorized: You are not authorized to access this 
resource.


Thanks in advance,

--
Luiz Fernando B. Ribeiro
Engenho Soluções para a Internet
+55 11 6959-7610
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] WebDav or Calendar.

2005-06-02 Thread Lennart Regebro
On 6/2/05, Fernando Lujan <[EMAIL PROTECTED]> wrote:
> I need a Calendar or WebDav product wich runs with Zope, allow me to
> share my calendar with others users using mozilla Calendar, Sunbird.
> evolution, outlook and so on...Something like OpenGroupware. Do
> someone have a good suggestion? :)

Well, yes, the new calendar project from Nuxeo:
http://www.cps-project.org/sections/projects/calendar_server

This is a Five based calendar, with WebDAV and iCal support. Still in
beta, with version 1.0 expected soon, so any testing is appriciated.
;)

We would like to see WebCAL support (a better API that basically
treats each event separately, instead of in a large file like WebDAV+
iCal does) and we would like integration with other calendar servers,
like Kolab and OpenGroupware. The system is written so that it should
be possible to write an OpenGroupware storage quite easily, and we
would very much like to see this architecture come to full fruitition.

-- 
Lennart Regebro, Nuxeo http://www.nuxeo.com/
CPS Content Management http://www.cps-project.org/
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] WebDav or Calendar.

2005-06-01 Thread Tino Wildenhain
Am Mittwoch, den 01.06.2005, 22:15 -0300 schrieb Fernando Lujan:
> Hi,
> 
> I need a Calendar or WebDav product wich runs with Zope, allow me to
> share my calendar with others users using mozilla Calendar, Sunbird.
> evolution, outlook and so on...Something like OpenGroupware. Do
> someone have a good suggestion? :)

http://www.mxm.dk/products/public/mxm_ical_tool/

The ical module from mxm can be used by own code
too, so you dont need the above if you use plain
zope. The glue code, however must then be provided
by you.

In this case:

http://www.mxm.dk/products/public/ical/

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] WebDav or Calendar.

2005-06-01 Thread Fernando Lujan
Hi,

I need a Calendar or WebDav product wich runs with Zope, allow me to
share my calendar with others users using mozilla Calendar, Sunbird.
evolution, outlook and so on...Something like OpenGroupware. Do
someone have a good suggestion? :)

Thanks and regards.

Fernando Lujan
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Webdav and emacs, eldav, nd problem.

2005-05-20 Thread Dieter Maurer
Gaute Amundsen wrote at 2005-5-20 17:05 +0200:
>We just upgraded to Zope 2.7.5-1.fc3, python 2.3.4, and now I am having 
>problems with authoring "Script (Python)"
>
>(using ssh tunnel:  "ssh -L 2001:localhost:8081 [EMAIL PROTECTED]")
>
>I am using emacs, using eldav, using nd.
>I have traced the problem to this command issued by eldav in the process of 
>saving changes to a file.
>
>"nd -S -p /localpath/script.py -a Zope 
>http://localhost:2001/path/on/remote/server/script.py";
>
>The problem is replicated on the commandline.

Unfortunately, the Zope world is much more complex than
WebDAV expects. WebDAV knows only two types of resources:
collection resources and non-collection resources.
Zope, on the other hand, knows arbitrary many resouce types:
Folders, PageTemplate, PythonScripts, DTMLMethods, Files, Images, 

When you create a new object via WebDAV (or FTP or another
filesystem oriented protocol), then Zope does not have
enough information to determine which type of object it should
create. Therefore, it calls a hook, the so called "PUT_Factory",
to determine the object type.

Obviously, the "PUT_Factory" active in your context got it wrong.
There is a HowTo around, how to set up your own "PUT_Factory".

Note, in a CMF/Plone context (you did not tell us your context),
the "PUT_Factory" is called "content_type_registry".


-- 
Dieter
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Webdav and emacs, eldav, nd problem.

2005-05-20 Thread Chris McDonough
Does a (Script) Python object actually get created or is it another
object type like DTML Document when it is initially created?  As far as
I can tell, it would have to be the latter, as Python Scripts don't
allow you to change their content-types (at least via the ZMI).

On Fri, 2005-05-20 at 17:05 +0200, Gaute Amundsen wrote:
> Hi.
> 
> We just upgraded to Zope 2.7.5-1.fc3, python 2.3.4, and now I am having 
> problems with authoring "Script (Python)"
> 
> (using ssh tunnel:  "ssh -L 2001:localhost:8081 [EMAIL PROTECTED]")
> 
> I am using emacs, using eldav, using nd.
> I have traced the problem to this command issued by eldav in the process of 
> saving changes to a file.
> 
> "nd -S -p /localpath/script.py -a Zope 
> http://localhost:2001/path/on/remote/server/script.py";
> 
> The problem is replicated on the commandline.
> 
> What happens is that the python script gets saved as Page Template with  
> Content-Type: text/plain.
> ( I have tried nd's -T option, but to no avail )
> 
> As nothing else have changed, ( afaik ) I must assume there has been some 
> changes made to zopes webdav support.
> 
> Any ideas anyone?
> 
> Hm.. I notice we have ExternalEditor (0.5) installed.
> Could this have any influence? Perhaps I will try using it :)
> 
> Gaute
> 
> 
> 
> ___
> Zope maillist  -  Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
> 

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Webdav and emacs, eldav, nd problem.

2005-05-20 Thread Gaute Amundsen
Hi.

We just upgraded to Zope 2.7.5-1.fc3, python 2.3.4, and now I am having 
problems with authoring "Script (Python)"

(using ssh tunnel:  "ssh -L 2001:localhost:8081 [EMAIL PROTECTED]")

I am using emacs, using eldav, using nd.
I have traced the problem to this command issued by eldav in the process of 
saving changes to a file.

"nd -S -p /localpath/script.py -a Zope 
http://localhost:2001/path/on/remote/server/script.py";

The problem is replicated on the commandline.

What happens is that the python script gets saved as Page Template with  
Content-Type: text/plain.
( I have tried nd's -T option, but to no avail )

As nothing else have changed, ( afaik ) I must assume there has been some 
changes made to zopes webdav support.

Any ideas anyone?

Hm.. I notice we have ExternalEditor (0.5) installed.
Could this have any influence? Perhaps I will try using it :)

Gaute



___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] WebDAV Locked Item Unlockable

2005-05-17 Thread Dieter Maurer
[EMAIL PROTECTED] wrote at 2005-5-16 08:26 -0600:
>The locked item does not show up on the Control 
>Panel > WebDAV Lock Manager, and the lock even survives a Zope 
>restart.  All attempts to edit or remove the item fail.

Look at the traceback (*always* do when a failure results in
an exception!), then look at the source (mentioned in the traceback).
It will tell you what "variable/attribute" Zope checks to
detect whether the object is looked.
Search the source for other places where this variable/attribute
is accessed.

-- 
Dieter
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] WebDAV Locked Item Unlockable

2005-05-16 Thread hpinson
Yes, as I mentioned, the lock does not show up in the ZMI WebDAV 
lockmanager at all, yet persists. That is the problem.  How to get 
rid of a WebDAV lock that is not visible to the lockmanager, and even 
persists past a hard restart of zope.

Harlow Pinson
Indepth Learning
Email: [EMAIL PROTECTED] 
Web: http://www.indepthl.com
Voice: 505-994-2135
FAX: 208-475-7678

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] WebDAV Locked Item Unlockable

2005-05-16 Thread Tino Wildenhain
Am Montag, den 16.05.2005, 08:26 -0600 schrieb [EMAIL PROTECTED]:
> Hi. How do I unlock a locked WebDAV item (in this case a ZPT) edit 
> with Dreamweaver MX.  The locked item does not show up on the Control 
> Panel > WebDAV Lock Manager, and the lock even survives a Zope 
> restart.  All attempts to edit or remove the item fail. This seems to 
> be happening on a regular basis in my Zope 2.7.4 / FC3 install when 
> editing content through Dreamweaver MX WebDAV.

Hint: look into your Control-Panel in ZMI. There is a WEBDAV Logmanager.



___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] WebDAV Locked Item Unlockable

2005-05-16 Thread hpinson
Hi. How do I unlock a locked WebDAV item (in this case a ZPT) edit 
with Dreamweaver MX.  The locked item does not show up on the Control 
Panel > WebDAV Lock Manager, and the lock even survives a Zope 
restart.  All attempts to edit or remove the item fail. This seems to 
be happening on a regular basis in my Zope 2.7.4 / FC3 install when 
editing content through Dreamweaver MX WebDAV.

Thanks.

Harlow Pinson
Indepth Learning
Email: [EMAIL PROTECTED] 
Web: http://www.indepthl.com
Voice: 505-994-2135
FAX: 208-475-7678

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] WebDAV BUGS and access to /tmp directory

2005-04-01 Thread Dieter Maurer
Pavel Zaitsev wrote at 2005-3-31 00:33 -0500:
>I am back trying to figure out why my zope crashes on 
>open('/tmp/tmp4fd4foo') kind of opens, which seem to originated
>from webdav code.

You problem seems to be much deeper:

  It is completely justified to open a temporary file -- whether
  for WebDAV or any other purpose.

  You should set up your system in a way that temporary files
  *can* be created and used...

-- 
Dieter
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] WebDAV BUGS and access to /tmp directory

2005-03-31 Thread Pavel Zaitsev
Florent Guillaume wrote:
Pavel Zaitsev  <[EMAIL PROTECTED]> wrote:
 

I am back trying to figure out why my zope crashes on 
   

Please define "crashes".
 

Well zope is trying to create file in /tmp , process gets 'state'  -> 
'U' which is not defined in the manual, maybe Unresponsive,
like 'D' sign? then after while whole system locks up, it gets killed by 
overlooking parent, after which things sort of go back to normal.(pid of 
process gotten by 'ps aux|grep zope' changes.) gdb does not seem to be 
able to dump a backtrace of the process either, it says that process has 
quit while evaluating injected statement i have no idea what is 
going on.
pavel.
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] WebDAV BUGS and access to /tmp directory

2005-03-31 Thread Florent Guillaume
Pavel Zaitsev  <[EMAIL PROTECTED]> wrote:
> I am back trying to figure out why my zope crashes on 

Please define "crashes".

Florent

> open('/tmp/tmp4fd4foo') kind of opens, which seem to originated
> from webdav code. Question to someone who is expert in webdav/*.py 
> code... I just would like to know so I can further my investigation into 
> the bug/malfuction of zope on OS X.


-- 
Florent Guillaume, Nuxeo (Paris, France)   CTO, Director of R&D
+33 1 40 33 71 59   http://nuxeo.com   [EMAIL PROTECTED]
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] WebDAV BUGS and access to /tmp directory

2005-03-31 Thread Chris Withers
Pavel Zaitsev wrote:
I am back trying to figure out why my zope crashes on 
open('/tmp/tmp4fd4foo') kind of opens, which seem to originated
from webdav code.
I doubt it's anything specific to the webdav code that's causing a 
problem. Maybe a large file upload, try doing the same by addign a file 
object using the ZMI.

Question to someone who is expert in webdav/*.py 
code... I just would like to know so I can further my investigation into 
the bug/malfuction of zope on OS X.
I'd suggest checking that the user running Zope has permission to write 
the the /tmp/ folder.

cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
   - http://www.simplistix.co.uk
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] WebDAV BUGS and access to /tmp directory

2005-03-30 Thread Pavel Zaitsev
Hi,
I am back trying to figure out why my zope crashes on 
open('/tmp/tmp4fd4foo') kind of opens, which seem to originated
from webdav code. Question to someone who is expert in webdav/*.py 
code... I just would like to know so I can further my investigation into 
the bug/malfuction of zope on OS X.
regards,
   Pavel
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] WebDav-support / Index_html versus index.html

2000-11-27 Thread Dieter Maurer

Pieter Biemond writes:
 > ... access Zope via WebDAV from MS products 
 > Can anybody answer the following questions:
 > * Has anybody implemented something like this before? Any pittfals I should
 > watch out for?
Search the searchable list archiv.
You will find some article about this issue.

 > * Why is the default file index_html and not index.html
 >   (Windows doesn't want to open files without extensions).
I assume, because preferences of Python, Zope's implementation
language, have had a higher priority than Windows preferences ;-)
Python does not like periods in names.

 > * Should I install 2.2.2. now, or are there any WebDav-updates in 2.2.4?
I do not think, the two version will differ in WebDAV support
(though someone is working on locking through WebDAV).
However, if I would start a new project, I would go for
2.2.4 (I expect less bugs than 2.2.2).

 > * Is it possible to backup all files from Zope easily? (for example use a
 > command-line webdav-client to pull everything out of the Zope database). I
 > would like to have all the files backed up on a regular filesystem, rather
 > than a proprietary database.
You can do that.

But you will lose information. Objects in Zope not only have
content, but properties, security attributes, ownership,
modification times 
All these will not be extractable by WebDAV.

I would go for the backup of the complete proprietary database.
At least as the primary backup. As an additional safety
belt, I might think about backing up the content independently.


Dieter

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] WebDav-support / Index_html versus index.html

2000-11-27 Thread Pieter Biemond

Hi,

I'm planning to setup a Zope server for our company. We have a lot of people
with HTML-knowledge and a lot of people who would like to use Microsoft
Frontpage 2000, both from Windows98/NT workstations. The maintenance for
them must be as easy as possible. At this moment their using a shared
network drive (linux server with apache and samba installed). We're thinking
of installing Zope and WebDAV for dynamic content. The main reason for using
Zope is to get rid of the HTML-frames we are using now, and to maintain a
uniform layout. In future we would like to personalise some pages and to add
a webforum (Squishdot).

Can anybody answer the following questions:
* Has anybody implemented something like this before? Any pittfals I should
watch out for?
* Why is the default file index_html and not index.html
  (Windows doesn't want to open files without extensions).
* Should I install 2.2.2. now, or are there any WebDav-updates in 2.2.4?
* Is it possible to backup all files from Zope easily? (for example use a
command-line webdav-client to pull everything out of the Zope database). I
would like to have all the files backed up on a regular filesystem, rather
than a proprietary database.

Thanks,
Regards,

Pieter Biemond


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Webdav Questions

2000-10-27 Thread Darin Lee

Zopistas,

I am working under Windows NT 4 and connecting to my Zope Server via the webfolders 
icon in "My Computer." I enter the IP address and port of my server, select finish, 
and a list of folders on the Zope server appears. However, I find that I am unable to 
edit, or even copy, any of the Zope objects. I keep getting an error message "An error 
occured while trying to copy some or all of the selected files".

Here are my questions?

1. How is authentication being handled by my Zope server? Am I automatically 
authenticated to the server as the user I am logged on as on the local NT workstation? 
It never prompts me to identify myself via username and password. 

2. Can the world at large view my Zope site via WebDAV? It seems that I can connect to 
the server from multiple machines, even logged on as users who are not in the Zope 
acl_users folder...Is this the default behavior?

I have looked through the How-to's and performed searches on "Zope and WebDAV" in 
Google but haven't turned up much useful information. Can anyone offer any tips, or 
point me in the right direction on this?

Thanks in advance,
Darin Lee



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] webdav security: protocol based

2000-09-28 Thread Chris Withers

JXlio Dinis Silva wrote:
> > > How do I disable the webdav access, if possible?
> >
> >Disallow "Access contents information" for anonymous.

Yeah, but what if you want Anonymous to be able to access contents
information, just not through WebDAV?

This is what I was getting at in the ProtocolAccessibility proposal on
dev.zope.org...

cheers,

Chris

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] webdav security

2000-09-27 Thread Júlio Dinis Silva

>From: Shane Hathaway <[EMAIL PROTECTED]>
>To: Júlio Dinis Silva <[EMAIL PROTECTED]>
>Subject: Re: [Zope] webdav security
>Date: Wed, 27 Sep 2000 14:10:07 -0400
>
>"Júlio Dinis Silva" wrote:
> >
> > Hello all!
> >
> > Lets say that anyone can do ">cadaver www.myhost.com" and after that a 
>">ls"
> > listing my content. I know the user will see the objects processed, but 
>just
> > the fact that he can see my structure is bad for security.
> >
> > How do I disable the webdav access, if possible?
>
>Disallow "Access contents information" for anonymous.
>
>Shane


Hi Shane,

your solution is too much radical for a complex site already in
production.

Is there a way, maybe on ZServer to just not import the webdav support?

thanks,
Júlio Dinis Silva
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] webdav security

2000-09-27 Thread Júlio Dinis Silva

Hello all!

Lets say that anyone can do ">cadaver www.myhost.com" and after that a ">ls" 
listing my content. I know the user will see the objects processed, but just 
the fact that he can see my structure is bad for security.

How do I disable the webdav access, if possible?

Best Regards,
Júlio Dinis Silva
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




RE: [Zope] webdav q

2000-08-02 Thread Brian Lloyd

> Goliath has locking support, but disables that feature when talking to
> a Zope server. Also I was fiddling with Zope versions, but the webdav
> client seems to slip content underneath the versioning interface in
> Zope.
> 
> I was wondering if it would be possible to make Zope version map into
> the webdav concept of locking, or does Zope have a concept of locking?

You have hit on exactly the reason why we didn't implement 
DAV level 2 locking yet :^) It would have been relatively 
simple to do so, but it would have been in a way that only 
DAV clients would respect locks. In an environment where 
people may be changing content via HTTP, FTP, DAV, xml-rpc, 
in versions, etc., it seemed like it would be better to 
think harder about the 'locking problem' and what would make 
the most sense given all the things going on. Unfortunately 
we haven't been able to get back to thinking about that yet. 

I'd love to see someone take up the mantle for this on 
dev.zope.org though :^)


Brian Lloyd[EMAIL PROTECTED]
Software Engineer  540.371.6909  
Digital Creations  http://www.digicool.com 



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] webdav q

2000-08-02 Thread Alex Rice

Hi, I was experimenting with Goliath, http://webdav.org/goliath/. It's
a nice webdav client for MacOS. It has more or less the look and feel
of the MacOS finder.

Goliath has locking support, but disables that feature when talking to
a Zope server. Also I was fiddling with Zope versions, but the webdav
client seems to slip content underneath the versioning interface in
Zope.

I was wondering if it would be possible to make Zope version map into
the webdav concept of locking, or does Zope have a concept of locking?

-- 
// [EMAIL PROTECTED]
// Programmer, Panorama Point web communications
// New Mexico, USA
// 505-424-4800x35

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] WebDAV, FrontPage2000, Save

2000-07-27 Thread Marcus Schopen

Hi there,

I have problems to save files by using FrontPage2000´s webfolder function via WebDAV 
to Zope (Zope-2.1.6-linux2-x86).
Here is my Z2.log:

192.168.1.3 - - [27/Jul/2000:13:40:36 +0200] "GET /_vti_inf.html HTTP/1.1" 404 2534 "" 
"Mozilla/2.0 (compatible; MS FrontPage 4.0)"
192.168.1.3 - - [27/Jul/2000:13:40:36 +0200] "POST /_vti_bin/shtml.exe/_vti_rpc 
HTTP/1.1" 404 2529 "" "MSFrontPage/4.0"
192.168.1.3 - - [27/Jul/2000:13:40:36 +0200] "GET /hihi/ HTTP/1.1" 200 544 "" 
"Mozilla/2.0 (compatible; MS FrontPage 4.0)"
192.168.1.3 - - [27/Jul/2000:13:40:38 +0200] "GET /p_/ZopeButton HTTP/1.1" 200 9473 "" 
"Mozilla/2.0 (compatible; MS FrontPage 4.0)"
192.168.1.3 - - [27/Jul/2000:13:40:44 +0200] "GET /_vti_inf.html HTTP/1.1" 404 2534 "" 
"Mozilla/2.0 (compatible; MS FrontPage 4.0)"
192.168.1.3 - - [27/Jul/2000:13:40:45 +0200] "POST /_vti_bin/shtml.exe/_vti_rpc 
HTTP/1.1" 404 2529 "" "MSFrontPage/4.0"
192.168.1.3 - - [27/Jul/2000:13:40:51 +0200] "OPTIONS /hihi HTTP/1.1" 200 383 "" 
"Microsoft Data Access Internet Publishing Provider Cache Manager"
192.168.1.3 - - [27/Jul/2000:13:40:51 +0200] "PROPFIND /hihi HTTP/1.1" 207 4312 "" 
"Microsoft Data Access Internet Publishing Provider DAV"
192.168.1.3 - - [27/Jul/2000:13:41:02 +0200] "PROPFIND /hihi HTTP/1.1" 207 4312 "" 
"Microsoft Data Access Internet Publishing Provider DAV"
192.168.1.3 - - [27/Jul/2000:13:41:02 +0200] "PROPFIND /hihi HTTP/1.1" 207 4312 "" 
"Microsoft Data Access Internet Publishing Provider DAV"
192.168.1.3 - - [27/Jul/2000:13:41:03 +0200] "PROPFIND /hihi HTTP/1.1" 207 4312 "" 
"Microsoft Data Access Internet Publishing Provider DAV"
192.168.1.3 - - [27/Jul/2000:13:41:03 +0200] "GET /_vti_inf.html HTTP/1.1" 404 2534 "" 
"Mozilla/2.0 (compatible; MS FrontPage 4.0)"
192.168.1.3 - - [27/Jul/2000:13:41:03 +0200] "POST /_vti_bin/shtml.exe/_vti_rpc 
HTTP/1.1" 404 2529 "" "MSFrontPage/4.0"

I think it is an authenticaton problem. But where do I give FrontPage the user + 
password?

Thank you very much
Marcus

P.S.: Is it possible to show Zope-Sites in FrontPage without giving the user the 
possibiliy to see the standard-header/footer?
They should not be able to make changes to header+footer.

__

 (0>   Marcus Schopen
 //\   Bielefeld, Germany
 V_/_
__


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




RE: [Zope] WebDAV, Web Folders and collaborative work

2000-05-31 Thread Brian Lloyd

> I am happily dragging and dropping documents between my Zope 
> server and my desktop using the 'Open as Web Folder' facility 
> of IE5. This seems to save me from writing an upload page but 
> not much else.
> 
> What I am looking for is a way to prevent others from editing 
> the document whilst I have it.  I thought WebDAV helped with 
> this. Maybe I need to do something with a Version?
> 
> have I missed the point?

No - the current incarnation of WebFolders (Microsoft's product) 
does not deal with locking. Office 2K does (it locks a document
while editing it). Zope currently "fakes" locking support as an 
unofficial measure to allow folks to open O2K docs stored in Zope. 

We faked it partly because there was (even fairly recently) some 
disagreement in the DAV group about how locking ultimately should 
work, and partly because DAV clients haven't exactly taken the 
world by storm at this point and that has to be reflected in our 
priorities. Note that even if locking were supported on the Zope
side, I don't think that this would help your situation since 
WF will not lock an object just because you dragged it to your 
local desktop. AFAIK, O2K will only lock something if you open
it directly with O2K.


Brian Lloyd[EMAIL PROTECTED]
Software Engineer  540.371.6909  
Digital Creations  http://www.digicool.com 



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] WebDAV, Web Folders and collaborative work

2000-05-31 Thread Neil Burnett

I am trying to unravel the mysteries of collaborative document editing via the 
web.There looks to be a lot of potential in the WebDAV stuff, but I think I am missing 
a brick from the load:

I am happily dragging and dropping documents between my Zope server and my desktop 
using the 'Open as Web Folder' facility of IE5. This seems to save me from writing an 
upload page but not much else.

What I am looking for is a way to prevent others from editing the document whilst I 
have it.  I thought WebDAV helped with this. Maybe I need to do something with a 
Version?

have I missed the point?

Regards

Neil

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )