scrat
f1967e38eb
some smaller changes to make the attachment examples work
...
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2657 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-05-31 13:32:49 +00:00
scrat
8e24cbc7c5
added Attachments and Attachment classes to winapi.py to get a more comprehensive doctest. In course of this change some small glitches have been found in outlook.py and mail.py, which concerned adressing of the Attachment items in outlook.py (createResource) and mail.py where the createMetadata Method now has **kw arguments for adding the filePath as a Metadata in case the mail has an attachment.
...
The outlook.txt doctest has been changed to adopt the new test.
winapi now contains only one extended example but it will get two more as soon as possible.
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2631 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-05-25 17:02:00 +00:00
scrat
52d6d9348c
replaced createMIMEMail with an overwritten version of createResource and also moved the collection of the Metadata to the method assembleMetadata.
...
Added a new module inagent/util which contains a dictionary with all more or less often used codepages and their representation in an Outlook Mail object.jsUntil now, the attachments are only represented by thei filenames as a list named subResources.
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2589 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-05-10 15:39:25 +00:00
helmutm
ac5013a026
more on resources: extend interface and base class
...
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2585 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-05-09 07:47:39 +00:00
helmutm
8582252967
work in progress: structuring of resources and metadata
...
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2580 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-05-08 10:12:57 +00:00
helmutm
671e15ddd5
work in progress: fake windows API for testing with Outlook crawler
...
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2501 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-07 07:30:47 +00:00
scrat
5aee688a12
check-in. At the moment problem with doctests for README.txt in cybertools/agent and cybertools/agent/crawl.Outlook.txt
...
Problem Nr. 1 in /agent/README.txt:
master.config
Expected:
controller.names = ['base.sample']
logger.name = 'default'
logger.standard = 30
scheduler.name = 'sample'
Got:
logger.name = 'default'
logger.standard = 30
scheduler.name = 'sample'
Problem Nr. 2 in /agent/crawl/Outlook.txt:
self.agent.setupAgents(self, [spec])
File "[..]\cybertools\agent\base\agent.py", line 85, in setupAgents
agent.name = spec.name
AttributeError: 'NoneType' object has no attribute 'name'
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2499 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-06 17:28:30 +00:00
helmutm
4d8f1e7cf1
keep state information with jobs; provide feedback to master and controller via 'inform()' methods
...
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2493 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-03 11:17:37 +00:00
helmutm
7cf1a59bae
keep state information with jobs; provide feedback to master and controller via 'inform()' methods
...
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2492 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-03 10:59:51 +00:00
helmutm
be4aada1f8
provide dummy methods for mail crawler
...
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2491 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-02 16:26:18 +00:00
helmutm
922ede26b3
work in progress: crawling: let the doctest use the full procedure via master and controller
...
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2489 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-03-31 17:10:08 +00:00