Salad Dais
7d9712c16e
Fix message dropping and queueing corner cases
2021-07-22 05:08:47 +00:00
Salad Dais
82663c0fc2
Add parse_bool helper function for command parameters
2021-07-21 06:39:29 +00:00
Salad Dais
9fb4884470
Extend TlsLayer.tls_start_server instead of monkeypatching OpenSSL funcs
...
We have a more elegant way of unsetting `X509_CHECK_FLAG_NEVER_CHECK_SUBJECT`
now that mitmproxy 7.0 is out.
See https://github.com/mitmproxy/mitmproxy/pull/4688
2021-07-19 20:17:31 +00:00
Salad Dais
cf69c42f67
Rework HTTP proxying code to work with mitmproxy 7.0.0
2021-07-18 07:02:45 +00:00
Salad Dais
96f471d6b7
Add initial support for Message-specific Block subclasses
2021-07-07 12:49:32 +00:00
Salad Dais
a35a67718d
Add default_value to MessateTemplateVariable
2021-07-01 21:25:51 +00:00
Salad Dais
d064ecd466
Don't raise when reading a new avatar_name_cache.xml
2021-06-25 18:45:42 +00:00
Salad Dais
49a9c6f28f
Workaround for failed teleports due to EventQueue timeouts
...
Closes #16
2021-06-23 16:43:09 +00:00
Salad Dais
9bf4240411
Allow tagging UDPPackets with arbitrary metadata
...
The metadata should propagate to any Messages deserialized
from the packet as well.
2021-06-18 20:31:15 +00:00
Salad Dais
76df9a0424
Streamline template dictionary use
2021-06-17 21:28:22 +00:00
Salad Dais
48180b85d1
Export proxy test utils for use in addon test suites
2021-06-15 18:48:05 +00:00
Salad Dais
77d3bf2fe1
Make ObjectCacheChain handle invalid caches properly
2021-06-14 14:17:21 +00:00
Salad Dais
d8ec9ee77a
Add hooks to allow swapping out transports
2021-06-14 13:48:30 +00:00
Salad Dais
0b46b95f81
Minor API changes
2021-06-14 13:33:17 +00:00
Salad Dais
ccfb641cc2
Add pixel artist example addon
2021-06-12 15:44:26 +00:00
Salad Dais
220d8ddf65
Add confirmation helper for InteractionManager API
2021-06-12 15:15:34 +00:00
Salad Dais
235bc8e09e
Change TextureEntry type signatures to play nicer with type checker
2021-06-12 15:15:03 +00:00
Salad Dais
41fd67577a
Add ability to wait on object-related events
2021-06-12 10:43:16 +00:00
Salad Dais
8347b341f5
Give default values for TextureEntry fields
2021-06-12 10:26:52 +00:00
Salad Dais
9d5599939e
Add MCode enum definition
2021-06-12 08:54:34 +00:00
Salad Dais
4ddc6aa852
Remove unloaded addon scripts from sys.modules
2021-06-11 19:44:35 +00:00
Salad Dais
cb8c1cfe91
Only generate lowercase hostnames in register_wrapper_cap()
...
Hostnames are case insensitive and passing a URL through urlparse()
will always give you a lowercase domain name.
2021-06-11 17:52:03 +00:00
Salad Dais
52679bf708
HTTPAssetRepo: Don't throw when trying to serve invalid UUID
2021-06-11 17:51:45 +00:00
Salad Dais
216ffb3777
Add integration test for mitmproxy interception
2021-06-10 23:22:59 +00:00
Salad Dais
d4c30d998d
Allow handling Firestorm Bridge responses, use to guess avatar Z pos
2021-06-09 02:02:09 +00:00
Salad Dais
003f37c3d3
Auto-request unknown objects when an avatar sits on them
...
We need to know about an avatar's parent to get their exact position
due to the Object.Position field always being relative to the parent.
2021-06-08 23:44:08 +00:00
Salad Dais
d64a07c04c
Better guard to prevent accidental lazy serializable hydration
2021-06-08 18:57:57 +00:00
Salad Dais
82b156813b
Add more name accessors to Avatar class
2021-06-08 18:57:24 +00:00
Salad Dais
b71da8f5a4
Add option to automatically request missing cached objects
2021-06-08 18:41:44 +00:00
Salad Dais
5618bcbac1
Add new persistent (Proxy)Settings object, use to pass down settings
2021-06-08 16:55:19 +00:00
Salad Dais
24abc36df2
Correct AgentState enum definition
2021-06-07 12:56:39 +00:00
Salad Dais
9ceea8324a
Fix templates.py reloading by importing importlib
2021-06-07 12:56:21 +00:00
Salad Dais
a2d5414691
Add more ObjectManager tests
2021-06-07 08:10:28 +00:00
Salad Dais
135ce06452
Rewrite ObjectManager to have WorldObjectManager own objects
...
This simplifies a lot of the interdependencies between the
WorldObjectManagers and region ObjectManagers.
2021-06-07 05:31:54 +00:00
Salad Dais
12862fcd02
Keep Avatar wrappers around rather than regenerating them when queried
...
Allows callers to keep around a reference to an Avatar object and get
updated position and validity information without having to poll the
ObjectManager itself.
2021-06-05 14:23:49 +00:00
Salad Dais
9ab5c8a907
Update VFS impl type hints
2021-06-05 14:20:26 +00:00
Salad Dais
3887e0a23c
Add note about VOCache
2021-06-04 09:31:54 +00:00
Salad Dais
49f7ba960f
Move tons more things to lib.base and lib.client
...
Put an abstract session and region implementation in client so things
that could be logically shared between client/proxy can be.
ObjectManager moved to client with proxy-specific details in
ProxyObjectManager.
2021-06-04 09:31:54 +00:00
Salad Dais
f2ee6f789f
Correct region handle change comments in ObjectManager
2021-06-03 20:51:38 +00:00
Salad Dais
9df0224fbf
Split CapsClient into proxy and non-proxy version
2021-06-03 08:02:11 +00:00
Salad Dais
59493e021c
Move XferManager and TransferManager to base
2021-06-03 07:04:06 +00:00
Salad Dais
7b98c0b261
Split out human str formatting for Messages
2021-06-03 07:03:54 +00:00
Salad Dais
a39d025a04
Move Circuit and Message to lib.base
...
Fairly invasive, but will help make lib.base useful again. No
more Message / ProxiedMessage split!
2021-06-03 07:00:32 +00:00
Salad Dais
0bf1e84da4
Make XferManager tests exercise both upload and download paths
2021-06-02 20:02:31 +00:00
Salad Dais
3d8da0af65
Remove TransferManager dependency on ProxiedRegion
2021-06-02 20:01:47 +00:00
Salad Dais
abf730cea5
serializer -> serialize
2021-06-02 12:07:58 +00:00
Salad Dais
0a45cd3739
Remove XferManager dependency on ProxiedRegion
2021-06-02 11:44:06 +00:00
Salad Dais
af17525071
Remove Circuit dependency on parent Region
2021-06-02 11:44:06 +00:00
Salad Dais
c1d795e850
Add XferManager tests
2021-06-02 02:48:13 +00:00
Salad Dais
984ac257a5
Rename ensure_ancestors_loaded(), add timeout tests
2021-06-01 22:51:57 +00:00