Commit graph

30 commits

Author SHA1 Message Date
helmutm
e0503fea5b add 'talk' package providing a common communication framework
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2923 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-10-17 20:46:28 +00:00
helmutm
64ccc2cc94 remote transport working via test script
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2769 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-07-24 05:54:53 +00:00
scrat
bfd6191683 modified transport/file/sftp.py to establish a connection to a server and get file upload running.
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2768 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-07-21 19:57:38 +00:00
scrat
051565a155 adaptions to get main_transport working
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2763 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-07-19 09:10:44 +00:00
helmutm
596222d42b make transporter doctest run with fake sftp server module
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2760 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-07-14 07:00:57 +00:00
scrat
c367f55637 added dummy sftp.py for testing purposes
remote.py: now the file on the remote server gets the basename of the local file
outlook.py: added utf-8 encoding for the mail content to avoid problems with special characters

git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2759 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-07-13 09:06:28 +00:00
scrat
411c130300 intermediate check-in. Changes in remote.py and transporter.cfg added sftpapi
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2735 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-07-03 21:56:29 +00:00
helmutm
cea87a8225 work in progress: resource transfer via sftp, + testing code
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2733 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-07-02 15:51:58 +00:00
scrat
f0373140fa main_transport.py should now have same functionality as transporter doctest.
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2732 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-07-01 20:42:08 +00:00
helmutm
e76f640529 make transporter run with dummy XML-RPC API
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2722 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-06-25 15:48:12 +00:00
helmutm
9db11e8486 make transporter running with dummy XML-RPC API
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2721 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-06-25 15:24:17 +00:00
scrat
9570ed459f changed rpcapi.py and rpcserver to support the remoteCall call schema properly (was first implemented wrong with the server having the callRemote method, which actually should be part of the xmlrpc.Proxy).
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2720 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-06-23 20:24:58 +00:00
scrat
af16d445c6 further work on the transporter integration.added functionality for testing a simulated rpcserver similar to what has been done for outlook crawler.
until now unfortunately using the testcase for the transporter does not work, because the params handed over in the doctest do not arrive at the Transporter object. This is why the doctest is not yet registered in cybertools.agent/test.py

git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2718 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-06-22 15:58:38 +00:00
scrat
5a48213560 intermediate check-in. moved rpcserver.py to testing, but yet only a part of the requested changes have been made there.
rpcclient functionality has been integrated into /transport/remote.py
The transporter class is now using its own config-file (as a first idea).

git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2717 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-06-20 22:18:35 +00:00
helmutm
615e8c68bf added modules for setting up real-life test runs
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2665 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-06-04 15:47:04 +00:00
scrat
a9b8de7b21 now the doctest *really* works with the winapi.py.
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2658 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-05-31 13:48:47 +00:00
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
228b7e9077 git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2632 fd906abe-77d9-0310-91a1-e0d9ade77398 2008-05-25 17:44:57 +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
167e914055 changed outlook.py: now much more data from the outlook mails is available. Now we also can access the date the mail was sent as well when it has been received. Also data about the attachements is now available (if desired).
Minor change to winapi was necessary in order to support the doctests with the changed outlook api.
_prop_map_get now returns a dictionary instead of a tuple.

git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2577 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-05-04 21:26:57 +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
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
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
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
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
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