|
/
Zope
/
gocept svn checkins
/
Archive
/
2009
/
2009-10
/
SVN: r30174 - in webmailer/gocept.restmail/trunk/gocept/restmail: . browser
[
SVN: r30172 - in gtimelog-macosx/trunk: . ... ]
[
SVN: r30177 - in webmailer/mytum.webmail/trunk: . ... ]
SVN: r30174 - in webmailer/gocept.restmail/trunk/gocept/restmail: . browser
Thomas Lotze <tl(at)gocept.com> |
2009-10-01 11:08:41 |
[ FULL ]
|
Author: thomas
Date: Thu Oct 1 11:08:39 2009
New Revision: 30174
Log:
made formatting of dates more flexible using a date formatter utility
Modified:
webmailer/gocept.restmail/trunk/gocept/restmail/browser/message.py
webmailer/gocept.restmail/trunk/gocept/restmail/imapaccount.py
webmailer/gocept.restmail/trunk/gocept/restmail/interfaces.py
Modified: webmailer/gocept.restmail/trunk/gocept/restmail/browser/message.py
==============================================================================
---
webmailer/gocept.restmail/trunk/gocept/restmail/browser/message.py (original)
+++ webmailer/gocept.restmail/trunk/gocept/restmail/browser/message.py Thu Oct
1 11:08:39 2009
(at)(at) -38,7 +38,7 (at)(at)
'url': zope.app.zapi.absoluteURL(message, self.request),
'from_name': from_name(message.headers.get('From')),
'subject': message.headers.get('Subject'),
- 'date': message.isodate,
+ 'date': message.formatted_date,
'flags': list(message.flags),
'num_attachments': message.num_attachments(),
} for message in messages]
Modified: webmailer/gocept.restmail/trunk/gocept/restmail/imapaccount.py
==============================================================================
--- webmailer/gocept.restmail/trunk/gocept/restmail/imapaccount.py (original)
+++ webmailer/gocept.restmail/trunk/gocept/restmail/imapaccount.py Thu Oct 1
11:08:39 2009
(at)(at) -344,7 +344,7 (at)(at)
return self.message.headers
(at)property
- def isodate(self):
+ def formatted_date(self):
date = self.headers.get('Date')
date = email.Utils.parsedate_tz(date)
if not date:
(at)(at) -352,10 +352,15 (at)(at)
timestamp = email.Utils.mktime_tz(date)
# XXX Let the user configure the time zone.
date = datetime.datetime.fromtimestamp(timestamp, pytz.utc)
- # XXX We use ISO format because it's sortable. This is, however, not
- # what the user should get to see. Ideally, we should pass both a
- # formatted date and a sort key.
- return date.isoformat(' ')
+
+ # Try to format the time according to site configuration, fall back to
+ # ISO format.
+ format = zope.component.queryUtility(
+ gocept.restmail.interfaces.IDateFormatter)
+ if format:
+ return format(date)
+ else:
+ return date.isoformat(' ')
(at)property
def flags(self):
Modified: webmailer/gocept.restmail/trunk/gocept/restmail/interfaces.py
==============================================================================
--- webmailer/gocept.restmail/trunk/gocept/restmail/interfaces.py (original)
+++ webmailer/gocept.restmail/trunk/gocept/restmail/interfaces.py Thu Oct 1
11:08:39 2009
(at)(at) -212,3 +212,9 (at)(at)
def delete():
"""Delete the attachment."""
+
+
+class IDateFormatter(zope.interface.Interface):
+
+ def __call__(date):
+ """Return a unicode line that shows the formatted date."""
|
SVN: r30175 - webmailer/gocept.webmail/trunk/gocept/webmail
Thomas Lotze <tl(at)gocept.com> |
2009-10-01 11:11:07 |
[ FULL ]
|
Author: thomas
Date: Thu Oct 1 11:11:06 2009
New Revision: 30175
Log:
install a date formatter utility that formats according to the current locale
Added:
webmailer/gocept.webmail/trunk/gocept/webmail/date.py (contents, props
changed)
Modified:
webmailer/gocept.webmail/trunk/gocept/webmail/configure.zcml
Modified: webmailer/gocept.webmail/trunk/gocept/webmail/configure.zcml
==============================================================================
--- webmailer/gocept.webmail/trunk/gocept/webmail/configure.zcml (original)
+++ webmailer/gocept.webmail/trunk/gocept/webmail/configure.zcml Thu Oct 1
11:11:06 2009
(at)(at) -22,4 +22,6 (at)(at)
factory=".webmailer.get_profile"
/>
+ <utility factory=".date.LocalFormatter" />
+
</configure>
Added: webmailer/gocept.webmail/trunk/gocept/webmail/date.py
==============================================================================
--- (empty file)
+++ webmailer/gocept.webmail/trunk/gocept/webmail/date.py Thu Oct 1 11:11:06
2009
(at)(at) -0,0 +1,13 (at)(at)
+# Copyright (c) 2009 gocept gmbh & co. kg
+# See also LICENSE.txt
+
+import gocept.restmail.interfaces
+import zope.interface
+
+
+class LocalFormatter(object):
+
+ zope.interface.implements(gocept.restmail.interfaces.IDateFormatter)
+
+ def __call__(self, date):
+ return date.strftime('%c')
|
SVN: r30176 - webmailer/gocept.webmail/trunk/gocept/webmail
Thomas Lotze <tl(at)gocept.com> |
2009-10-01 11:11:46 |
[ FULL ]
|
Author: thomas
Date: Thu Oct 1 11:11:45 2009
New Revision: 30176
Log:
made the webmailer object a site
Modified:
webmailer/gocept.webmail/trunk/gocept/webmail/interfaces.py
Modified: webmailer/gocept.webmail/trunk/gocept/webmail/interfaces.py
==============================================================================
--- webmailer/gocept.webmail/trunk/gocept/webmail/interfaces.py (original)
+++ webmailer/gocept.webmail/trunk/gocept/webmail/interfaces.py Thu Oct 1
11:11:45 2009
(at)(at) -1,10 +1,11 (at)(at)
# Copyright (c) 2008 gocept gmbh & co. kg
# See also LICENSE.txt
+import Products.Five.component.interfaces
import zope.interface
-class IWebmailer(zope.interface.Interface):
+class IWebmailer(Products.Five.component.interfaces.IObjectManagerSite):
"""Webmailer base object.
"""
|
Re: [gocept svn checkins] SVN: r30195 - webmailer/gocept.webmail/trunk/gocept/webmail/browser/resources
Wolfgang Schnerring <ws(at)gocept.com> |
2009-10-06 07:41:08 |
[ FULL ]
|
* Thomas Lotze <tl(at)gocept.com> [2009-10-05 10:39]:[...]
Auf die Gefahr hin, dass es eine dumme Frage ist... Warum ein handgehäkeltes
<img>-Tag anstatt einer CSS-Klasse?
Wolfgang
|
Re: [gocept svn checkins] SVN: r30195 - webmailer/gocept.webmail/trunk/gocept/webmail/browser/resources
Thomas Lotze <tl(at)gocept.com> |
2009-10-06 09:30:10 |
[ FULL ]
|
Wolfgang Schnerring <ws(at)gocept.com> schrieb:
[...]
Wie soll das eine das andere ersetzen? Du kannst per CSS einem
existierenden div zwar einen Hintergrund geben und damit das
img-Element sparen, aber eben nur einen. Hier wollen wir eine
dynamische Anzahl von Icons aufsammeln, da machen wir halt für jedes
ein Bild. Oder hab ich Deine Frage falsch verstanden?
Viele Grüße,
Thomas
[...]
|
|
|
Re: [gocept svn checkins] SVN: r30195 - webmailer/gocept.webmail/trunk/gocept/webmail/browser/resources
Wolfgang Schnerring <ws(at)gocept.com> |
2009-10-06 09:35:29 |
[ FULL ]
|
* Thomas Lotze <tl(at)gocept.com> [2009-10-06 09:30]:[...]
Verstehe. Darum also, weil es mehr als ein Icon geben kann.
[...]
Nein, ganz genau das wollte ich wissen. :-)
Gruß
Wolfgang
[...]
|
SVN: r30203 - in gocept.filestore/trunk: . src/gocept/filestore
Wolfgang Schnerring <ws(at)gocept.com> |
2009-10-08 15:09:32 |
[ FULL ]
|
Author: wosc
Date: Thu Oct 8 15:09:31 2009
New Revision: 30203
Log:
added copy() method
Added:
gocept.filestore/trunk/CHANGES.txt
Modified:
gocept.filestore/trunk/src/gocept/filestore/README.txt
gocept.filestore/trunk/src/gocept/filestore/filestore.py
Added: gocept.filestore/trunk/CHANGES.txt
==============================================================================
--- (empty file)
+++ gocept.filestore/trunk/CHANGES.txt Thu Oct 8 15:09:31 2009
(at)(at) -0,0 +1,14 (at)(at)
+=======
+CHANGES
+=======
+
+0.3 (unreleased)
+----------------
+
+- Added copy() method.
+
+0.2 (2007-08-30)
+----------------
+
+- Initial public release.
+
Modified: gocept.filestore/trunk/src/gocept/filestore/README.txt
==============================================================================
--- gocept.filestore/trunk/src/gocept/filestore/README.txt (original)
+++ gocept.filestore/trunk/src/gocept/filestore/README.txt Thu Oct 8 15:09:31
2009
(at)(at) -30,13 +30,13 (at)(at)
Prepare has created the tmp/new/cur directory structure:
->>> os.listdir(store_dir)
+>>> sorted(os.listdir(store_dir))
['cur', 'new', 'tmp']
Calling prepare again does nothing:
>>> filestore.prepare()
->>> os.listdir(store_dir)
+>>> sorted(os.listdir(store_dir))
['cur', 'new', 'tmp']
(at)(at) -81,6 +81,18 (at)(at)
>>> filestore.list('cur')
['.../cur/a-file']
+Files can be copied, too:
+
+>>> filestore.copy('a-file', 'cur', 'tmp')
+>>> filestore.list('cur')
+['.../cur/a-file']
+>>> filestore.list('tmp')
+['.../tmp/a-file']
+
+
+Cleanup
+=======
+
Remove the temporary directory after testing:
>>> import shutil
Modified: gocept.filestore/trunk/src/gocept/filestore/filestore.py
==============================================================================
--- gocept.filestore/trunk/src/gocept/filestore/filestore.py (original)
+++ gocept.filestore/trunk/src/gocept/filestore/filestore.py Thu Oct 8
15:09:31 2009
(at)(at) -4,6 +4,7 (at)(at)
import os
import os.path
+import shutil
import zope.interface
(at)(at) -35,6 +36,12 (at)(at)
f = file(path, mode)
return f
+ def copy(self, filename, source, destination):
+ filename = os.path.basename(filename)
+ source_path = os.path.join(self.path, source, filename)
+ dest_path = os.path.join(self.path, destination, filename)
+ shutil.copy(source_path, dest_path)
+
def move(self, filename, source, destination):
filename = os.path.basename(filename)
source_path = os.path.join(self.path, source, filename)
|
SVN: r30221 - in webmailer/gocept.restmail/trunk/gocept/restmail: . browser
Thomas Lotze <tl(at)gocept.com> |
2009-10-19 11:21:33 |
[ FULL ]
|
Author: thomas
Date: Mon Oct 19 11:21:31 2009
New Revision: 30221
Log:
quote real name of an identity in its From: representation to comply with RfC
2822
Modified:
webmailer/gocept.restmail/trunk/gocept/restmail/browser/account.txt
webmailer/gocept.restmail/trunk/gocept/restmail/browser/message.txt
webmailer/gocept.restmail/trunk/gocept/restmail/browser/profile.txt
webmailer/gocept.restmail/trunk/gocept/restmail/identity.py
webmailer/gocept.restmail/trunk/gocept/restmail/tests.py
Modified: webmailer/gocept.restmail/trunk/gocept/restmail/browser/account.txt
==============================================================================
---
webmailer/gocept.restmail/trunk/gocept/restmail/browser/account.txt (original)
+++ webmailer/gocept.restmail/trunk/gocept/restmail/browser/account.txt Mon Oct
19 11:21:31 2009
(at)(at) -130,7 +130,7 (at)(at)
>>> pprint.pprint(json_request('http://localhost/profile/(at)(at)accounts'))
[{'address': 'ben(at)example.com',
'fixed': False,
- 'from': 'Ben Utzer <ben(at)example.com>',
+ 'from': '"Ben Utzer" <ben(at)example.com>',
'function_folders': {},
'host': 'localhost',
'name': 'Ben Utzer',
(at)(at) -147,7 +147,7 (at)(at)
'user': 'test'},
{'address': 'ben(at)example.com',
'fixed': False,
- 'from': 'Ben Utzer <ben(at)example.com>',
+ 'from': '"Ben Utzer" <ben(at)example.com>',
'function_folders': {'sent': 'http://localhost/profile/test-localhost-1/+Sent',
'trash': 'http://localhost/profile/test-localhost-1/+Trash'},
'host': 'localhost',
Modified: webmailer/gocept.restmail/trunk/gocept/restmail/browser/message.txt
==============================================================================
---
webmailer/gocept.restmail/trunk/gocept/restmail/browser/message.txt (original)
+++ webmailer/gocept.restmail/trunk/gocept/restmail/browser/message.txt Mon Oct
19 11:21:31 2009
(at)(at) -272,7 +272,7 (at)(at)
'subject': 'asdf',
'to': 'ct(at)gocept.com'}
>>> pprint.pprint(json_request(draft['url']+'/(at)(at)raw'))
-{'raw': '<pre>MIME-Version: 1.0\nContent-Type: text/html;
charset="us-ascii"\nContent-Transfer-Encoding: 7bit\nFrom: Ben Utzer
<ben(at)example.com>\nTo: ct(at)gocept.com\nBCC:
ct+geheim(at)gocept.com\nSubject: asdf\n\nHelloHello</pre>'}
+{'raw': '<pre>MIME-Version: 1.0\nContent-Type: text/html;
charset="us-ascii"\nContent-Transfer-Encoding: 7bit\nFrom: "Ben Utzer"
<ben(at)example.com>\nTo: ct(at)gocept.com\nBCC:
ct+geheim(at)gocept.com\nSubject: asdf\n\nHelloHello</pre>'}
>>> json_request(draft['url']+'/(at)(at)save',
... to='ct(at)gocept.com',
(at)(at) -290,7 +290,7 (at)(at)
'subject': 'asdf',
'to': 'ct(at)gocept.com'}
>>> pprint.pprint(json_request(draft['url']+'/(at)(at)raw'))
-{'raw': '<pre>MIME-Version: 1.0\nContent-Type: text/html;
charset="utf-8"\nContent-Transfer-Encoding: quoted-printable\nFrom: Ben Utzer
<ben(at)example.com>\nTo: ct(at)gocept.com\nCC: sw(at)gocept.com\nBCC:
tl(at)gocept.com\nSubject: asdf\n\nHelloHello=C3=A4</pre>'}
+{'raw': '<pre>MIME-Version: 1.0\nContent-Type: text/html;
charset="utf-8"\nContent-Transfer-Encoding: quoted-printable\nFrom: "Ben Utzer"
<ben(at)example.com>\nTo: ct(at)gocept.com\nCC: sw(at)gocept.com\nBCC:
tl(at)gocept.com\nSubject: asdf\n\nHelloHello=C3=A4</pre>'}
>>> json_request(draft['url']+'/(at)(at)save',
... to='ct(at)gocept.com',
(at)(at) -308,7 +308,7 (at)(at)
'subject': u'asdf\xe4',
'to': 'ct(at)gocept.com'}
>>> pprint.pprint(json_request(draft['url']+'/(at)(at)raw'))
-{'raw': '<pre>MIME-Version: 1.0\nContent-Type: text/html;
charset="us-ascii"\nContent-Transfer-Encoding: 7bit\nFrom: Ben Utzer
<ben(at)example.com>\nTo: ct(at)gocept.com\nCC: sw(at)gocept.com\nBCC:
tl(at)gocept.com\nSubject: =?utf-8?q?asdf=C3=A4?=\n\nHelloHello</pre>'}
+{'raw': '<pre>MIME-Version: 1.0\nContent-Type: text/html;
charset="us-ascii"\nContent-Transfer-Encoding: 7bit\nFrom: "Ben Utzer"
<ben(at)example.com>\nTo: ct(at)gocept.com\nCC: sw(at)gocept.com\nBCC:
tl(at)gocept.com\nSubject: =?utf-8?q?asdf=C3=A4?=\n\nHelloHello</pre>'}
>>> json_request(draft['url']+'/(at)(at)save',
... to='ct(at)gocept.com',
(at)(at) -326,7 +326,7 (at)(at)
'subject': u'asdf\xe4',
'to': 'ct(at)gocept.com'}
>>> pprint.pprint(json_request(draft['url']+'/(at)(at)raw'))
-{'raw': '<pre>MIME-Version: 1.0\nContent-Type: text/html;
charset="utf-8"\nContent-Transfer-Encoding: quoted-printable\nFrom: Ben Utzer
<ben(at)example.com>\nTo: ct(at)gocept.com\nCC: sw(at)gocept.com\nBCC:
tl(at)gocept.com\nSubject:
=?utf-8?q?asdf=C3=A4?=\n\nHelloHello=C3=A4</pre>'}
+{'raw': '<pre>MIME-Version: 1.0\nContent-Type: text/html;
charset="utf-8"\nContent-Transfer-Encoding: quoted-printable\nFrom: "Ben Utzer"
<ben(at)example.com>\nTo: ct(at)gocept.com\nCC: sw(at)gocept.com\nBCC:
tl(at)gocept.com\nSubject:
=?utf-8?q?asdf=C3=A4?=\n\nHelloHello=C3=A4</pre>'}
Editing attachments
(at)(at) -396,7 +396,7 (at)(at)
MIME-Version: 1.0
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
-From: Ben Utzer <ben(at)example.com>
+From: "Ben Utzer" <ben(at)example.com>
To: ct(at)gocept.com
CC: sw(at)gocept.com
BCC: tl(at)gocept.com
(at)(at) -446,7 +446,7 (at)(at)
>>> json_request(draft['url']+'/(at)(at)send')
Content-Type: multipart/mixed; boundary="===============1892468372=="
MIME-Version: 1.0
-From: Ben Utzer <ben(at)example.com>
+From: "Ben Utzer" <ben(at)example.com>
To: ct(at)gocept.com
Subject: asdf
Date: Thu, 22 Jan 2009 13:00:09 -0000
(at)(at) -535,7 +535,7 (at)(at)
MIME-Version: 1.0
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: 7bit
-From: Ben Utzer <ben(at)example.com>
+From: "Ben Utzer" <ben(at)example.com>
To: test(at)localhost
Subject: Re: Mail 2
Date: Thu, 22 Jan 2009 13:00:10 -0000
(at)(at) -601,7 +601,7 (at)(at)
>>> json_request(fwd['url']+'/(at)(at)send')
Content-Type: multipart/mixed; boundary="===============1846946469=="
MIME-Version: 1.0
-From: Ben Utzer <ben(at)example.com>
+From: "Ben Utzer" <ben(at)example.com>
To: ct(at)gocept.com
Subject: Fwd: Mail 2
Date: Mon, 30 Mar 2009 12:50:41 -0000
(at)(at) -661,7 +661,7 (at)(at)
MIME-Version: 1.0
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: 7bit
-From: Ben Utzer <ben(at)example.com>
+From: "Ben Utzer" <ben(at)example.com>
To: ct(at)gocept.com
Subject: Testmail incorrect sent folder
Date: Tue, 27 Jan 2009 09:17:50 -0000
Modified: webmailer/gocept.restmail/trunk/gocept/restmail/browser/profile.txt
==============================================================================
---
webmailer/gocept.restmail/trunk/gocept/restmail/browser/profile.txt (original)
+++ webmailer/gocept.restmail/trunk/gocept/restmail/browser/profile.txt Mon Oct
19 11:21:31 2009
(at)(at) -64,7 +64,7 (at)(at)
>>> pprint.pprint(json_request('http://localhost/profile/(at)(at)accounts'))
[{'address': 'ben(at)example.com',
'fixed': False,
- 'from': 'Ben Utzer <ben(at)example.com>',
+ 'from': '"Ben Utzer" <ben(at)example.com>',
'function_folders': {'sent': 'http://localhost/profile/test-localhost/+Sent',
'trash': 'http://localhost/profile/test-localhost/+Trash'},
'host': 'localhost',
(at)(at) -82,7 +82,7 (at)(at)
'user': 'test'},
{'address': 'ben(at)example.com',
'fixed': False,
- 'from': 'Ben Utzer <ben(at)example.com>',
+ 'from': '"Ben Utzer" <ben(at)example.com>',
'function_folders': {'sent': 'http://localhost/profile/test-localhost-1/+Sent',
'trash': 'http://localhost/profile/test-localhost-1/+Trash'},
'host': 'localhost',
(at)(at) -164,8 +164,8 (at)(at)
A list of identities is also available:
>>> pprint.pprint(json_request('http://localhost/profile/(at)(at)identities'))
-[{'from': 'Ben Utzer <ben(at)example.com>', 'id':
'ben-example.com'},
- {'from': 'Ben Utzer <ben(at)example.com>', 'id':
'ben-example-1.com'}]
+[{'from': '"Ben Utzer" <ben(at)example.com>', 'id':
'ben-example.com'},
+ {'from': '"Ben Utzer" <ben(at)example.com>', 'id':
'ben-example-1.com'}]
Reading and saving preferences
Modified: webmailer/gocept.restmail/trunk/gocept/restmail/identity.py
==============================================================================
--- webmailer/gocept.restmail/trunk/gocept/restmail/identity.py (original)
+++ webmailer/gocept.restmail/trunk/gocept/restmail/identity.py Mon Oct 19
11:21:31 2009
(at)(at) -41,10 +41,18 (at)(at)
self.mailhost_id = mailhost_id
def From(self):
- """An RfC 822 conformant `From` representation of this identity."""
+ """An RfC 822 conformant `From` representation of this identity.
+
+ In particular, quoting is applied:
+
+ >>> Identity('hans', 'Hans Wurst',
'hans.wurst(at)example.org',
+ ... 'foo', 'bar').From()
+ '"Hans Wurst" <hans.wurst(at)example.org>'
+
+ """
if not self.address:
return None
- return '%s <%s>' % (self.name, self.address)
+ return '"%s" <%s>' % (self.name, self.address)
(at)zope.component.adapter(gocept.restmail.interfaces.IIdentity)
Modified: webmailer/gocept.restmail/trunk/gocept/restmail/tests.py
==============================================================================
--- webmailer/gocept.restmail/trunk/gocept/restmail/tests.py (original)
+++ webmailer/gocept.restmail/trunk/gocept/restmail/tests.py Mon Oct 19
11:21:31 2009
(at)(at) -24,6 +24,7 (at)(at)
import gocept.imapapi.tests
import gocept.restmail
import gocept.restmail.draft
+import gocept.restmail.identity
import gocept.restmail.render
import gocept.restmail.test_draft
(at)(at) -157,6 +158,8 (at)(at)
def test_suite():
suite = unittest.TestSuite()
suite.addTest(doctest.DocTestSuite(
+ gocept.restmail.identity))
+ suite.addTest(doctest.DocTestSuite(
gocept.restmail.draft,
optionflags=doctest.NORMALIZE_WHITESPACE))
suite.addTest(doctest.DocTestSuite(
|
SVN: r30226 - webmailer/gocept.webmail/trunk/profiles
Thomas Lotze <tl(at)gocept.com> |
2009-10-22 15:47:00 |
[ FULL ]
|
Author: thomas
Date: Thu Oct 22 15:46:58 2009
New Revision: 30226
Log:
use only pinned versions of everything, added a selenium test runner
Modified:
webmailer/gocept.webmail/trunk/profiles/dev.cfg
Modified: webmailer/gocept.webmail/trunk/profiles/dev.cfg
==============================================================================
--- webmailer/gocept.webmail/trunk/profiles/dev.cfg (original)
+++ webmailer/gocept.webmail/trunk/profiles/dev.cfg Thu Oct 22 15:46:58 2009
(at)(at) -7,6 +7,7 (at)(at)
zopepy
dovecot
test
+ selenium
find-links =
http://download.zope.org/ppix/
(at)(at) -22,14 +23,35 (at)(at)
lxml
zc.testbrowser
+allow-picked-versions = false
versions = versions
[versions]
-z3c.recipe.staticlxml = 0.7.1
-lxml = 2.1.2
+BeautifulSoup = 3.1.0.1
+ZConfig = 2.7.1
+collective.recipe.omelette = 0.9
+collective.recipe.z2testrunner = 0.3.1
+five.hashedresource = 1.1
+gocept.recipe.env = 1.0
libxml2-url = http://xmlsoft.org/sources/libxml2-2.7.2.tar.gz
libxslt-url = http://xmlsoft.org/sources/libxslt-1.1.24.tar.gz
+lxml = 2.1.2
+plone.recipe.zope2install = 2.6
+plone.recipe.zope2instance = 2.8
+python-cjson = 1.0.5
+setuptools = 0.6c11
+simplejson = 2.0.9
+uuid = 1.30
+z3c.noop = 1.0
+z3c.recipe.staticlxml = 0.7.1
+z3c.zrtresource = 1.1.0
+zc.buildout = 1.4.1
+zc.recipe.cmmi = 1.3.1
+zc.recipe.egg = 1.2.2
+zc.selenium = 1.3.0dev-r97282
zc.testbrowser = 1.0.0a5dev-r91664
+zc.zdaemonrecipe = 0.2
+zdaemon = 2.0.4
[env]
recipe = gocept.recipe.env
(at)(at) -44,9 +66,6 (at)(at)
fake-zope-eggs = true
fake-eggs-folder = ${buildout:parts-directory}/fake-eggs
# [dovecot] needs these and can't get them from the [zope2]-location
-skip-fake-eggs =
- zdaemon
- ZConfig
[instance]
recipe = plone.recipe.zope2instance
(at)(at) -94,3 +113,30 (at)(at)
packages = gocept.webmail
extra-paths = .
zope2part = instance
+
+[zopectl-selenium]
+recipe = plone.recipe.zope2instance
+eggs = ${instance:eggs}
+ zc.selenium
+# don't step on [instance]'s Data.fs
+var = ${buildout:directory}/var/selenium
+# will be overriden by selenium runner with random port
+http-address = 39858
+# the rest is identical to [instance]
+zope2-location = ${zope2:location}
+user = ${instance:user}
+debug-mode = on
+verbose-security = on
+zcml = ${instance:zcml}
+ gocept.webmail.selenium
+demo-storage = on
+
+[selenium]
+recipe = zc.recipe.egg:scripts
+eggs = ${zopectl-selenium:eggs}
+extra-paths = ${zope2:location}/lib/python
+ ${zope2:location}/lib/python/AccessControl
+scripts = selenium
+entry-points = selenium=zc.selenium.selenium:main
+initialization =
+ sys.argv[1:1] = ['${zopectl-selenium:location}/etc/zope.conf', '-r', '-z',
'zope2']
|
SVN: r30232 - webmailer/gocept.webmail/trunk/profiles
Sebastian Wehrmann <sw(at)gocept.com> |
2009-10-26 15:43:16 |
[ FULL ]
|
Author: sweh
Date: Mon Oct 26 15:43:15 2009
New Revision: 30232
Log:
Pinned missing versions.
Modified:
webmailer/gocept.webmail/trunk/profiles/dev.cfg
Modified: webmailer/gocept.webmail/trunk/profiles/dev.cfg
==============================================================================
--- webmailer/gocept.webmail/trunk/profiles/dev.cfg (original)
+++ webmailer/gocept.webmail/trunk/profiles/dev.cfg Mon Oct 26 15:43:15 2009
(at)(at) -30,6 +30,7 (at)(at)
BeautifulSoup = 3.1.0.1
ZConfig = 2.7.1
collective.recipe.omelette = 0.9
+collective.recipe.template = 1.4
collective.recipe.z2testrunner = 0.3.1
five.hashedresource = 1.1
gocept.recipe.env = 1.0
(at)(at) -42,6 +43,7 (at)(at)
setuptools = 0.6c11
simplejson = 2.0.9
uuid = 1.30
+z3c.hashedresource = 1.1.2
z3c.noop = 1.0
z3c.recipe.staticlxml = 0.7.1
z3c.zrtresource = 1.1.0
|
|