Commit graph

429 commits

Author SHA1 Message Date
helmutm
01b1b5a644 make sure keyword queries return an IFSet so that corresponding union and intersection functions may be used in complex queries
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2573 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-05-04 09:02:36 +00:00
helmutm
43c0b9c4c7 do not show icon actions on print and presentation
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2572 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-05-04 09:01:50 +00:00
helmutm
4c4ada47da add basic filesystem crawler
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2570 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-05-01 18:59:06 +00:00
helmutm
3e6ac40962 provide Zope 2.9 compatibility for statful package
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2566 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-29 10:24:06 +00:00
helmutm
45f090341e added configure.zcml
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2564 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-28 07:58:27 +00:00
helmutm
b9a0105604 provide separate notify() method for stateful objects to control notification by subclasses
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2563 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-28 07:58:08 +00:00
helmutm
592058cfc5 fix bug in state event notification - moved notify() call to StatefulAdapter
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2562 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-27 20:57:32 +00:00
helmutm
7cd7a574c0 add transition event
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2559 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-27 14:27:33 +00:00
helmutm
cd46c0a345 transition now fires TransitionEvent; added more icons and corresponding settings for states
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2556 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-27 09:56:37 +00:00
helmutm
5d022e524e added catalog package with a simple variation of hurry.query and a keyword index
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2555 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-26 17:00:28 +00:00
helmutm
0cfe7f951f added catalog package with a simple variation of hurry.query and a keyword index
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2554 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-26 16:50:57 +00:00
helmutm
19b4ef8b86 added catalog package with a simple variation of hurry.query and a keyword index
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2553 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-26 16:49:23 +00:00
helmutm
8a8dcf206a added catalog package with a simple variation of hurry.query and a keyword index
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2552 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-26 16:43:04 +00:00
helmutm
357f471deb added catalog package with a simple variation of hurry.query and a keyword index
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2551 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-26 16:41:17 +00:00
helmutm
56a889540b added catalog package with a simple variation of hurry.query and a keyword index
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2550 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-26 16:40:04 +00:00
scrat
3acc628b80 Changed createEmailMime and loadMailsFromFolder to include now all available elements (when no key is specified) and also inform the user if a specified key does not exist or has an invalid attribute type.
So far this Outlook Crawler works with Outlook2007 the same way like with Outlook2000 (which unfortunately also means: no date to be retrieved so far)

git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2548 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-26 14:38:55 +00:00
helmutm
0ad7b4aa86 add 'target' attribute to action
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2543 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-26 12:40:50 +00:00
helmutm
4ead71499e add 'archived' and 'removed' states to simple publishing
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2542 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-26 12:39:58 +00:00
helmutm
99cfd4a65b add updateTrack() to interface definition
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2541 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-26 08:01:58 +00:00
helmutm
9c92fd07f3 work in progress: object actions, stateful resources: classification quality
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2539 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-23 08:42:58 +00:00
helmutm
854f2c1f3a more on actions; added icons
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2537 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-23 08:38:22 +00:00
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