scrat
acc93c09b5
Changed bad return type self.result in outllok.py back to None
...
Added import for com_error type in outlook.py.
added main_outlook.py in /testing to run tests against Outlook2000. Also added outlook.cfg in /testing which has the configuration data for main_outlook.py
Removed outlook_real.txt and doctests line from tests.py
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2535 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-22 21:26:14 +00:00
scrat
bd1c522b20
added a doctest in tests.py for testing access to the Outlook API. Minor changes in outlook.py in order to avoid Outlook COM Exception upon call on certain MailItem Attributes (Bug in Outlook API?).
...
outlook.py: loadMailsFromFolder now returns self.result instead of yield None. Otherwise nothing would be returned.
Added doctest outlook_real.txt which uses the Outlook API.
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2534 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-21 15:42:58 +00:00
helmutm
1a0084e46f
work in progress: outlook crawler: make dummy implementation work
...
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2528 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-16 16:01:39 +00:00
helmutm
9f7afd166f
add **kw to enterJob() so that job parameters may be supplied
...
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2524 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-12 17:26:36 +00:00
helmutm
97699eede7
make crawlFolders() a generator by adding yield statements
...
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2523 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-12 17:17:50 +00:00
scrat
49860fe1ce
changed structure in cybertools/agent/crawl/outlook.py
...
according to loops/agent/crawl/filesystem.py
adaptations and changes in winapi.py
(Added Mail class and Items in Outlook Folder)
placed comments in proper lines of winapi what next has to be found out about Outlook Mail Objects
Doctests are ok, but iterating over loadMailsFromFolder in outlook.py has a problem with NoneType and therefor does not work yet
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2522 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-12 16:29:12 +00:00
scrat
c8a881041b
intermediate commit for backup reasons
...
added attributes and classes to winapi.py and
made some modifications to outlook.py
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2519 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-12 13:03:09 +00:00
helmutm
c998205e18
make job params accessible to agent
...
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2511 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-10 12:09:01 +00:00
scrat
104d0ac88f
Added some missing api. references in outlook.py
...
Added some Dummy Implementations for Outlook Crawler in /testing/winapi.py
Changed outlook.txt accordingly
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2510 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-09 13:46:38 +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
helmutm
e4108ed7d1
rearrange system startup so that components are not registered during initial import but via a controlled setup
...
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2500 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-07 06:36:48 +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
770a983a7f
provide main and app modules for application startup; extend TelnetController to support twistd services
...
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2497 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-04 13:18:27 +00:00
helmutm
771cf29cc2
work in progress: agent application with commandline controllers
...
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2496 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-04 08:07:22 +00:00
helmutm
8f99753b1c
work in progress: set up agent application; provide simple commandline controllers
...
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2495 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-03 14:13:32 +00:00
helmutm
7da8c3b9d1
rename 'inform()' to 'notify()'
...
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2494 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-03 11:27:17 +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
8ec8258a52
minor fixes in the send()/execute() chain on the Agent base classes
...
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2490 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-03-31 17:49:14 +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
scrat
c3e078ca31
/agent/crawl: added the base.py and mailcrawl.py . Also added a README.txt for the doctests and modified the tests.py in /agent to recognize the new files.
...
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2488 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-03-30 22:36:25 +00:00
helmutm
0b91f0de2f
added a queueable agent that will only execute one job at a time
...
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2484 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-03-29 18:01:13 +00:00
helmutm
3f69f638d3
added a queueable agent that will only execute one job at a time
...
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2483 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-03-29 17:58:04 +00:00
helmutm
bbb481e237
added the twisted-based scheduler to the simple doctest sequence
...
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2472 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-03-24 11:13:14 +00:00
helmutm
bfe47ee6a7
added the twisted-based scheduler to the simple doctest sequence
...
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2471 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-03-24 11:04:54 +00:00
helmutm
8a6b84fe27
make doc test run again - keep base.schedule.Scheduler
...
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2470 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-03-24 09:44:44 +00:00
scrat
a866d387ff
Until now just a small change: added the scheduler.py now to /agent/core/ . Small change in the schedule Method. Changed the includes according to use now the schedule.py from /core.
...
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2468 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-03-23 20:16:48 +00:00
helmutm
2ff4d5ac22
fixed __init__() method
...
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2464 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-03-21 13:10:18 +00:00
helmutm
7c8489f170
completed sample implementation (without Twisted), with simple logging
...
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2420 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-02-25 14:12:37 +00:00
helmutm
9650935184
work in progress: cybertools.agent - more on base and sample implementations
...
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2416 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-02-24 15:11:05 +00:00
helmutm
9a5264f374
work in progress: cybertools.agent - more on base and sample implementations
...
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2415 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-02-24 15:04:13 +00:00
helmutm
f56e98b2ee
work in progress: cybertools.agent - more on base and sample implementations
...
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2414 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-02-24 10:33:26 +00:00
helmutm
c8622b3058
added cybertools.agent package (work in progress...)
...
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2413 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-02-23 14:07:15 +00:00