Commit graph

708 commits

Author SHA1 Message Date
helmutm
9826f31cc2 move com_error to system.windows.api
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2536 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-23 08:36:53 +00:00
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
1011f4b2eb make simplePublishing a function that returns a utility
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2525 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-14 11:44:45 +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
helmutm
d45477df93 options/config management basically working
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2520 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-12 14:00:13 +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
c39280f58f work in progress: cybertools.meta - configuration settings framework
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2517 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-11 15:09:01 +00:00
helmutm
c2df42555e work in progress: cybertools.meta package for managing general meta-information, e.g. for configuration settings and preferences
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2516 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-10 16:52:51 +00:00
helmutm
97af36aea8 moved cybertools.util.namespace to the meta package
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2515 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-10 13:33:37 +00:00
helmutm
44162de76c create cybertools.meta package for managing configuration options and other meta and control data
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2514 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-10 13:29:06 +00:00
helmutm
4004ebd1cb renamed util.index to multikey
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2513 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-10 13:28:03 +00:00
helmutm
aa0fe50cfd moved index package as module to cybertools.util
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2512 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-10 12:09:33 +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
3ddcf63821 extend tracking for loops.organize; changed tracks query to return a generator instead of a list; minor extensions for namespace/config stuff
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2508 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-09 10:01:27 +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
13e146d774 added namespace module
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2487 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-03-30 09:27:48 +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
998cbf59cd make loading of R depend on environment variable USE_RLIBRARY
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2482 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-03-29 15:51:02 +00:00
helmutm
1e9418133b added states definition factory function to be used as utility
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2481 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-03-29 15:49:20 +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
ad30d6f655 added a simple publishing states definition (publishing 'workflow')
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2466 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-03-21 13:26:58 +00:00
helmutm
872fccc529 added some experimental stuff for self-registering adapters using a metaclass
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2465 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-03-21 13:11:12 +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
a3b17ec3c0 added 'params' attribute to controller
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2453 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-03-14 07:23:02 +00:00
helmutm
24af73ca1f fixes on view configurator (used for setting up portlets)
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2451 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-03-13 17:40:57 +00:00
helmutm
76e6742b25 added integrator package: transparent access to filesystem directories and files
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2442 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-03-12 13:01:57 +00:00
helmutm
d505f3629a added integrator package: transparent access to filesystem directories and files
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2441 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-03-12 10:53:52 +00:00
helmutm
fc6660a457 bug fix for age calculation with missing birth date
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2439 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-03-07 11:27:00 +00:00
helmutm
85d2423663 work in progress: basic implementation of notification features
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2421 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-02-26 09:06:21 +00:00