Commit Graph

24 Commits

Author SHA1 Message Date
enus.linden
f0ddf774f6 merging the enus-refactor branch into the trunk 2009-03-03 01:40:52 +00:00
enus.linden
71af1552f3 merging r1733:1769 from enus-event-handling, which adds events, packet handlers, and packet builders, and some cruft 2009-02-05 23:26:52 +00:00
enus.linden
73b1e09190 enabled event queue in region and agent domain (untested) via eventlet. added login transform handling for legacy login 2009-01-29 06:58:03 +00:00
enus.linden
d34a200e42 merging the merge-enus-zca-removal branch into trunk of pyogp.lib.base 2008-11-26 06:00:42 +00:00
enus.linden
79bb226c6e replacing tabs with 4 spaces to hopefully encourage better formatting standards and to make for easiermerges in the future 2008-11-11 00:24:53 +00:00
enus.linden
e61c01d262 oops, left test nonsense in ad.py 2008-10-15 20:22:24 +00:00
enus.linden
e47aa2bb21 updated rez_avatar/place param to public_region_seed_capability per http://wiki.secondlife.com/wiki/OGP_Teleport_Draft_5 2008-10-15 19:43:03 +00:00
enus.linden
c778864793 updates to accomodate Draft 3 of the OGP spec, http://wiki.secondlife.com/wiki/OGP_Draft_3 2008-09-24 04:49:43 +00:00
enus.linden
0c5e9b67ea oh me, adding a bunch of license info to a bunch of files. i hope i don't break anything 2008-09-16 06:26:17 +00:00
enus.linden
4d6f2cd99d initial logging and exception handling changes 2008-09-16 00:03:48 +00:00
enus.linden
2785fe5e11 adding logging and exceptions to agentdomain.py and regiondomain.py 2008-09-05 19:48:18 +00:00
tao.takashi
2126d9ca7f nop 2008-09-03 22:51:03 +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
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
0e23b3c584 MERGE - locklainn - message system refactoring 2008-08-25 14:22:36 +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
tao.takashi
7f4bf038d7 added support for EQG for AgentDomain, tests are pending.
The login script now calls the queue 3 times and prints this. Works currently
and returns an empty payload.
2008-08-01 15:27:30 +00:00
tao.takashi
67bcfb4b1b added deserializer for credentials plus a test for it (and the serializer as well). Also cleaned up unused interfaces. 2008-07-27 19:54:54 +00:00
tao.takashi
03f309b012 merged trunk mrtopf-networking to trunk, grokified it, fixed a bug when not finding a serializer and added a test for it. Capabilities now also have a POST method for POSTing data to them. GET, etc. is pending. 2008-07-24 19:25:02 +00:00
tao.takashi
c3528af70e merged branch mrtopf-grokified into trunk. For making it work I resolved some obvious conflicts and changed the message parser classes to new style classes. 2008-07-23 20:03:40 +00:00
tao.takashi
63a0469cdc refactored serialization handling in capabilities and credentials.
It all goes via one interface ISerialization which has a serialize() method which serializes the context into whatever output format and it has a content_type attribute which defines the content type of the output (default is LLSD).

There is a ISerialization adapter configured for both capabilities (from dicts) and PlainPasswordCredentials. See agentdomain.py for how to use it.

For deserialization there is a IDeserialization utility now. It is registered under the name of the content type it can deserialize. It produces dicts always. Use it like this:

deserializer = getUtility(IDeserialization,name="application/llsd-xml")
dict = deserializer.deserialize_string(s)

Tests for this component will be added later but they are indirectly tested by the login test which passes.
2008-07-19 14:21:18 +00:00
tao.takashi
99466026ce added workaround between Linden Lab's Agent Domain implementation which sends the seed cap in the Location: header of a Redirect instead inside LLSD as agent_seed_capability.
We now check if the result if a string, then it's the header or if it's an addinfourl object which can be read from and should contain LLSD (the normal behaviour of urllib2).
2008-07-14 18:44:04 +00:00
locklainn.linden
5bb135727d 2008-06-27 15:10:24 +00:00