Commit Graph

125 Commits

Author SHA1 Message Date
tao.takashi
e1cfa90873 deleted msgdict.py as it seems not to be needed anymore. That stuff is now handled by template_parser etc. 2008-09-03 23:05:12 +00:00
tao.takashi
23446625ca some code beautifications 2008-09-03 23:00:27 +00:00
tao.takashi
6a6dd5fdb1 The big message system renaming:
- renamed all files starting with message_ to a name without message_
- exception: msgdict as dict is a reserved word
- moved all tests into the message/ directory
- changed all tests to use the new names
- changed all modules to use the new names
- shortened imports to not use the full path (pyogp.lib.base. but only the short path)
- removed makepacketdict.py as it's not needed anymore
- moved the data/ directory into message/ as it's local to the msg system

and some small cleanups on the way.

please run the tests!

I haven't adjusted pyogp.interop yet, Enus wanted to look after it.
2008-09-03 22:55:07 +00:00
tao.takashi
2126d9ca7f nop 2008-09-03 22:51:03 +00:00
tao.takashi
810e3d641e added distinction for plain and md5 credentials by adding a type attribute and making the deserializer notice the right fields in the credential LLSD string.
This is not the best solution though, better would be if the credential LLSD would contain a field saying
what sort of credential it is instead that we need to test for md5-password or password occurrence.
2008-09-03 22:50:19 +00:00
tao.takashi
841712246b added logging to the example. It's now used instead of the prints. The script also shows how to use it. If you pass -q nothing will be logged but it might be quite boring as nothing will happen.
I also removed the unnecessary class around the example.
2008-09-03 17:35:06 +00:00
tao.takashi
b12dd96db0 - added exceptions to caps.py - added tests for testing exceptions - added some tests for cap.GET() and cap.POST() - added name to caps string representation and fixed login.txt to not fail because of it 2008-08-28 22:16:33 +00:00
tao.takashi
29e2a5f272 added more details and string representations 2008-08-28 22:15:27 +00:00
tao.takashi
d6d34892a8 completely removed USE_REDIRECT and friends as the LL AD has been fixed by now and it's not needed anymore. 2008-08-27 20:37:02 +00:00
locklainn.linden
e23f2c5cf0 fixed client test bugs and added to chat 2008-08-27 18:57:08 +00:00
enus.linden
857637e1ea setting USE_DIRECT = False in agentdomain.py, to sync up with the removal of the 302 in the AD auth 2008-08-26 17:39:53 +00:00
locklainn.linden
6c9a65ce81 found a bug in dispatcher, returned False and not None, also chatwindow in 2008-08-25 17:31:51 +00:00
locklainn.linden
045e58b832 removed test debugging prints 2008-08-25 15:44:15 +00:00
locklainn.linden
118bd15dcc fixed deserialization bug, all tests pass now 2008-08-25 15:40:21 +00:00
locklainn.linden
57b218c134 chatting in place, found a bug in serialization 2008-08-25 15:34:04 +00:00
locklainn.linden
0e23b3c584 MERGE - locklainn - message system refactoring 2008-08-25 14:22:36 +00:00
tao.takashi
25a3ca3113 - fixed tests by adding seed_capability to place_avatar result - added missing requirements to pyogp.lib.base 2008-08-21 20:48:19 +00:00
locklainn.linden
3aef273d67 both ad and sim event queue working in threads, fully! 2008-08-14 15:35:00 +00:00
locklainn.linden
54f7d57ae4 event queue get for sim and AD in place 2008-08-14 14:24:30 +00:00
locklainn.linden
4a41f9956d started eventqueue stuff, both ad and sim 2008-08-13 19:15:22 +00:00
locklainn.linden
41b2fdcbca testing 2008-08-13 13:35:45 +00:00
tao.takashi
17926c7861 fixed syntax error 2008-08-12 15:54:44 +00:00
tao.takashi
dd47fcc828 added proposal for exceptions. not wired yet just defined. Many are missing but probably should be defined inside the own subpackage. 2008-08-10 22:26:34 +00:00
tao.takashi
69e020398f implemented MD5PasswordCredential, the serializer and extended the deserializer to dispatch between a PlainPasswordCredential and an MD5PasswordCredential. Documentation on this is in the doctest in tests/credential.txt 2008-08-10 16:11:51 +00:00
tao.takashi
7767de6f3a changed the string exception to a class based exception 2008-08-10 16:10:20 +00:00
tao.takashi
ea58da6e26 added credential test to test suite 2008-08-10 16:09:42 +00:00
tao.takashi
52c336a27d commented debug print out 2008-08-10 16:09:22 +00:00
tao.takashi
84f204719c added new test file for credential tests. I also added tests for testing md5 based credentials. This can also serve as documentation. 2008-08-10 16:08:47 +00:00
locklainn.linden
b37ce9f5f2 seems to be more stable 2008-08-08 19:33:23 +00:00
locklainn.linden
2f1cdc53db presence started, now to find the av cloud 2008-08-08 17:57:05 +00:00
locklainn.linden
fcb4d98ea4 trying to establish presence 2008-08-08 16:20:48 +00:00
locklainn.linden
e39b341f18 all tests pass 2008-08-08 14:18:47 +00:00
locklainn.linden
42fcd8f8ea ms tests fixed for endian 2008-08-08 14:03:08 +00:00
locklainn.linden
f546d4c073 less clutter in prints 2008-08-07 20:19:45 +00:00
locklainn.linden
4b83cf89f5 UDP communication with SIM! 2008-08-07 20:02:45 +00:00
locklainn.linden
4c3229031e better endian packing and unpacking 2008-08-07 18:51:21 +00:00
locklainn.linden
225cd923bd moved over message frequency-num combo to the builder, removed from parser 2008-08-07 18:48:08 +00:00
locklainn.linden
6dd0012b68 actual socket sending test, for teleport 2008-08-06 20:41:20 +00:00
locklainn.linden
3b901111f7 ogp teleport test bugs fixed 2008-08-06 18:21:33 +00:00
enus.linden
9300051aab added e.code (http code) to caps.py, updating *_info tests 2008-08-05 21:30:41 +00:00
enus.linden
2cdd213f03 adding GET (sans tests atm) to caps.py 2008-08-05 21:19:26 +00:00
locklainn.linden
d5c29ec5ed sending acks tested 2008-08-05 19:15:52 +00:00
locklainn.linden
1fed103f68 all tests pass! even the packet test data 2008-08-05 15:53:04 +00:00
locklainn.linden
052064b4eb message system tested, both sending and receiving 2008-08-04 19:38:25 +00:00
tao.takashi
679afc09c8 added a test for real packet data 2008-08-04 18:31:53 +00:00
locklainn.linden
760832baea message system begun being tested 2008-08-04 16:24:14 +00:00
tao.takashi
028353ee72 fixed formatting 2008-08-01 22:15:16 +00:00
tao.takashi
d9b95dca9f added documentation based on Sphinx 2008-08-01 21:52:19 +00:00
locklainn.linden
853e96a554 message system mostly in, just needs to be tested and checked for accuracy 2008-08-01 21:02:55 +00:00
locklainn.linden
e290c1377c 2008-08-01 15:41:34 +00:00