Diva Canto
dc897b2288
Merged with origin, and resolved one conflict in LoginServiceTests.cs
2009-08-11 10:51:49 -07:00
Justin Clark-Casey (justincc)
655438a59d
Apply http://opensimulator.org/mantis/view.php?id=1448
...
Store and retrieve user profile url at runtime
Not yet persisted
Thanks Fly-Man
2009-08-11 17:29:15 +01:00
Chris Down
bb64906a9c
Enable the console show version command and the viewer about command, to show the last git commit hash together with the conmit date and time. The data is retrieved form a file bin/.version This file can be generated automatically using the post commit script by adding the following to the script:
...
git log -n 1 --pretty="format:%h: %ci" > bin/.version
This command can also be run manually to create the bin/.version file.
This command genrates a short form of the commit hash and a date and time of the commit in ISO8601 format.
If a full commit hash is required then change %h to %H
The logic that is used to extract the deprecated svn revision is still included.
It will be removed at a future date
2009-08-11 17:09:35 +01:00
Justin Clark-Casey (justincc)
226c082ed4
Establish CachedUserInfo.OnInventoryReceived event so that region/test inventory code can be written with the async inventory fetch
2009-08-11 16:45:16 +01:00
Arthur Valadares
18aa2ea0c5
* Improves SceneSetupHelper to allow the tester to choose a real or mock, inventory and asset, service modules. The boolean startServices was replaced with realServices string. If the string contains the word asset, it will start a real asset module, if it contains inventory, it starts a real inventory. Otherwise, it use mock (NullPlugin-like) objects, for tests that don't really need functionality.
...
* SetupScene is now actually sharing the asset and inventory modules if the tester wishes to have multiple regions connected. To link regions, just start SetupScene with the same CommunicationManager for all scenes. SceneSetupHelper will hold a static reference to the modules and won't initialize them again, just run the scenes through the modules AddRegion, RegionLoaded and PostInitialize.
* With the recent changes, both asset and inventory (and in the future, user) services should always be asked from the scene, not instantiated alone. The tests should reflect this new behavior and always start a scene.
2009-08-11 12:07:54 -03:00
Diva Canto
cdcbc48534
Added two new methods to IIventoryService -- GetFolderForType and GetFolderContent. Some meat to it, but not completed. None of this code is called anywhere yet.
2009-08-10 20:31:51 -07:00
Diva Canto
0c47f8e7ab
Changed RequestRootFolder to GetRootFolder
2009-08-10 16:02:09 -07:00
Diva Canto
17cc9b9857
Last piece of cleaning up old inventory. Old IInventoryServices and ISecureInventoryService interfaces removed.
2009-08-10 12:44:15 -07:00
Diva Canto
34d0f119cb
Conditional to prevent a null ref in tests. The tests may still not pass.
2009-08-10 11:48:30 -07:00
Diva Canto
5d2a157e64
First pass at cleaning up old OGS1 and Local Inventory: removed everything-inventory in CommsManager, which wasn't actively used anymore.
2009-08-10 10:48:21 -07:00
Diva Canto
d12c173a70
AssetCache.addin.xml seems to be historical junk too. Removed.
2009-08-10 09:01:07 -07:00
Diva Canto
7e13e96f56
Removed IAssetServer.
2009-08-10 08:01:13 -07:00
Diva Canto
024755d8b7
Slowly working my way towards the elimination of IAssetServer and IAssetCache.
2009-08-10 07:13:13 -07:00
Diva Canto
a50904a68b
More clean up from asset cache legacy. None of these classes are used anymore.
2009-08-10 06:41:03 -07:00
Diva Canto
c7484dc739
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-08-10 06:35:38 -07:00
Adam Frisby
ad016ba87c
Added some help instructions to the new RegionInfo region setup process; mainly to point out 'yes you can input information here.' since it seems to elude some users.
2009-08-10 19:06:09 +10:00
Diva Canto
3f06fb3601
Removing unused files, legacy from old asset "cache".
2009-08-09 17:46:37 -07:00
Diva Canto
04aca66330
Removed HGInventory out of core. This is part of HG2, which it now being developed outside.
2009-08-09 13:59:26 -07:00
Teravus Ovares (Dan Olivares)
8b9f8709aa
* FreeContext may be a bit too buggy for my tastes in some environments. * Commenting it for the moment.
2009-08-08 14:14:52 -04:00
Melanie
dd03ad86c5
Change the default for internal IP address back to 0.0.0.0
2009-08-08 01:42:50 +01:00
Melanie
257ed4c4ac
Remove debugging output frm ini file loading. Make it collect matching
...
files only from last path component.
2009-08-07 23:05:16 +01:00
Melanie
e97beb07c9
Add extensive debug output to Util.Glob
2009-08-07 21:59:54 +01:00
Melanie
d10f157183
Remove GetFullPath call from config includes, because it barfs in Windoze
2009-08-07 20:51:07 +01:00
Melanie
178b40971a
Add a method to init the OSSL Api's m_LSL_Api member back to the OSSL Api
2009-08-07 19:50:47 +01:00
Diva Canto
ea940d98f9
Added ToXml2() to ISceneObject, so that components other than regions can use this abstraction.
2009-08-06 16:41:24 -07:00
Melanie
efc57bc3d7
Allow arbitrary wildcards in config includes. Things like
...
Include-Modules = "addin-modules/*/config/*.ini" will now work.
Adds Util.Glob, which will resolve a globbed path into a string list.
2009-08-06 02:29:12 +01:00
Teravus Ovares (Dan Olivares)
535cb0efc1
* Patch from jhurliman to add accept type recognition to determine the llsd content format. *should allow both json and xml serializations of llsd to work properly.
...
Signed-off-by: Teravus Ovares (Dan Olivares) <teravus@gmail.com>
2009-08-05 16:47:48 -04:00
Justin Clark-Casey
190bdc8a2e
* Remove some mono compiler warnings
2009-08-05 17:33:23 +01:00
Charles Krinke
acf7206f4b
Thank you kindly, dslake, for a patch that:
...
The region dearchive module assumes extra null bytes will be appended
to the end of every OAR file. This may be due to the block nature of
storage but it seems like an unsafe assumption. When streaming region
archives over a network or through a memory stream, no additional null
bytes are added to the end and this an exception.
2009-08-02 19:30:25 +00:00
Teravus Ovares
fea3ffa154
* An enum for The VisualParams array that the viewer sends us with 90% of the documentation.
...
* Automatically generated using the BuildVisualParamsEnum Method that gets data from the libOMV VisualParams NameValue definitions which they generate from the the avatar_lad.xml file
* Want to know what element controls the eye size, jowls. pointy ears? no problem.
2009-08-02 06:38:52 +00:00
Jeff Ames
4ce5c894cf
Add copyright header. Formatting cleanup.
2009-08-01 05:11:47 +00:00
Teravus Ovares
23a8895d29
* Fixed another potential httpserver leak.
2009-07-30 18:16:00 +00:00
Melanie Thielker
07579fa402
Add basic support ofr detached request handling to the HTTP server.
...
Groundwork to finish HTTP IN.
2009-07-29 23:13:08 +00:00
Teravus Ovares
83a421a562
* An attempt to fix mantis #3955
...
* It's possible it could re-cause mantis #3953 , but the FreeContext isn't always necessary because Connection: close ---> Disconnect(SocketError.Success) { FreeContext(); }
2009-07-29 21:53:18 +00:00
Teravus Ovares
f727f26bcc
* An attempt to fix mantis #3953
2009-07-29 20:32:54 +00:00
Teravus Ovares
50204f6ee2
* Re trigger panda
2009-07-29 02:41:00 +00:00
Teravus Ovares
032aeb8b5d
* Adds the ability to have a thread efficient long poll service (such as the eventqueue)
...
* If this doesn't melt the Http Server, this will significantly reduce the number of threads in use on regions with many users.
* Adds AddPollServiceHTTPHandler, and RemovePollServiceHTTPHandler to BaseHttpServer
* Generic enough to be used for many long poll services, not only the EventQueue.
2009-07-29 02:15:45 +00:00
Melanie Thielker
aa06d9f98b
Add the new StatusData block to the other two searchh packets
2009-07-28 19:28:01 +00:00
Melanie Thielker
64c874a951
Fix a null data block in DirClassifiedReply packet, preventing a session
...
crash in search.
Fixes Mantis #3952
2009-07-28 18:46:45 +00:00
Teravus Ovares
687e84048d
* as per my e-mail to opensim-dev archive: https://lists.berlios.de/pipermail/opensim-dev/2009-July/007223.html
...
I'm bumping gridcomms interface version to 5.
MajorInterfaceVersion = 5
2009-07-25 21:16:48 +00:00
Teravus Ovares
64bd9a3354
* Updates libOMV to version 0.7.0
...
* Uses mantis #3811 as a base (thanks jhuliman) with changes.
* E-mail regarding interface changes sent to the opensim-dev list
* Archive: https://lists.berlios.de/pipermail/opensim-dev/2009-July/007219.html
2009-07-25 15:49:10 +00:00
Jeff Ames
a133e83f3a
Formatting cleanup.
2009-07-23 15:32:11 +00:00
Teravus Ovares
c243ae43f2
* Updated C# WebServer to the latest available source download (r19869) and applied a few mods from the old version (now up on opensim-libs (VS 3.5 project).
...
* Made various changes to BaseHttpServer to accommodate the new interfaces.
* This version has been significantly re-architected and may fail in unusual and insidious ways.
* Please pay attention to any errors you get and post a Mantis if you can reproduce an issue with the HTTPServer. I'm including the pdb and having the http server compiled in debug for a few weeks so that when an error occurs, it'll print the pertenant data.
* Once again, this is the full C# WebServer, not the lite branch that is included in LibOMV (we need SSL!)
2009-07-21 06:47:29 +00:00
Teravus Ovares
08819bcbea
* Created a way that the OpenSimulator scene can ask the physics scene to do a raycast test safely.
...
* Test for prim obstructions between the avatar and camera. If there are obstructions, inform the client to move the camera closer. This makes it so that walls and objects don't obstruct your view while you're moving around. Try walking inside a hollowed tori. You'll see how much easier it is now because your camera automatically moves closer so you can still see.
* Created a way to know if the user's camera is alt + cammed or just following the avatar.
* Changes IClientAPI interface by adding SendCameraConstraint(Vector4 CameraConstraint)
2009-07-19 02:32:02 +00:00
MW
acea31518b
fixed the bug where changing the rotation of a selection of prims in a linkset, made each of those prims rotate around its own centre rather than around the geometric centre of the selection like they should do (and like the client expects).
...
This involved adding a new OnUpdatePrimSingleRotationPosition event to IClientAPI so that we can get the changed position from the client.
Btw adding new events to IClientAPI is really tedious where you have to copy the change across to at least 5 or 6 other files.
[Note this doesn't fix the bug where any rotation changes to the root prim (but not the whole linkset) cause rotation errors on the child prims.]
2009-07-17 14:58:54 +00:00
Justin Clarke Casey
5815162d7e
minor: remove some mono compiler warnings
2009-07-15 20:49:58 +00:00
Jeff Ames
6b3fc3ccb8
Bump version in Framework/Servers/VersionInfo to 0.6.6.
2009-07-15 05:24:06 +00:00
MW
d9a8ecf238
Changed the DeRezObject event so it passes a list<uint> of localIDs in one event trigger rather than triggering the event once for every localid in the derez packet.
2009-07-12 12:32:39 +00:00
Justin Clarke Casey
18ffbf6342
* minor format changes and message additions
2009-07-10 19:18:05 +00:00
Justin Clarke Casey
d7d2de3a08
* minor: standardize some logging messages
2009-07-10 18:57:16 +00:00
Justin Clarke Casey
148e2d55fa
* minor: Make GridCommon.ini.example refer to inventory service rather than asset where appropriate
...
* Send debug level notice to console if a user fails authentication
2009-07-10 18:40:37 +00:00
Melanie Thielker
c310fb11f4
Remove all references to HttpServer from CommsManager (all incarnations)
...
Change all uses of the HttpServer properties to use the new singleton
2009-07-10 02:22:26 +00:00
Melanie Thielker
7b457805a3
Create a MainServer static class to access the regions server's HTTP server
2009-07-10 00:59:43 +00:00
Arthur Valadares
7e8bfc4618
* Allowing LLSD logins to do silent logout of last hung session on standalone only, following the already implemented XMLRPC behavior
2009-07-07 23:07:57 +00:00
Melanie Thielker
5df21f9dcb
Fix previous commit
2009-07-04 18:20:18 +00:00
Melanie Thielker
23c7d6b818
Add the new field agent_access_max. Without it being set to "A", viewers from
...
1.23 prevent the removal of underwear.
2009-07-04 18:15:01 +00:00
Dr Scofield
840f5f9485
- adding a Persistent flag to RegionInfo
...
- adding EstateSettings.Save() to RemoteAdmin ACL code (invoked only when region is persistent)
2009-07-03 15:36:47 +00:00
Melanie Thielker
3564271c2d
Restore the functionality that was removed in r9928. This lets the load
...
balancer plugin work again. Create a new method, GetClientEP, to retrieve
only the EndPoint for script usage. Marked the purpose of the method
in IClientAPI.cs with a warning. Also restored the corresponding SetClientInfo
functionality.
2009-07-01 15:47:52 +00:00
Dahlia Trimble
aae94a8c80
add some more intuitive overloads for PrimitiveBaseShape SetPathRange and SetProfileRange
2009-07-01 01:27:36 +00:00
Sean Dague
3dc2010da6
From: Chris Yeoh <yeohc@au1.ibm.com>
...
Attached is a patch that changes the oar file saving of creation date/time to an integer
instead of a string. I did this after justincc emailed me saying there is a problem
with internationalisation doing it the old way and I said I'd fix it. Its been
tested with MySQL and I've made the changes for MSSQL but that hasn't been well tested.
2009-06-29 15:05:12 +00:00
Dahlia Trimble
147c9bcd45
Make cleartext authentication case sensitive. Thanks jhurliman for spotting this.
2009-06-27 07:49:10 +00:00
Melanie Thielker
febd54499b
Enable the RemoteAdmin module to save regions as ini files rather than XML
2009-06-26 11:32:36 +00:00
Melanie Thielker
5869598c4c
Make delete-region delete the section from an ini file. Will delete the whole
...
file if it has no sections left.
2009-06-26 00:00:20 +00:00
Melanie Thielker
7cc69ac97f
Make create region save the new region to ini file format if the name
...
specifies an ini file.
If the ini file exists, the region will be added.
2009-06-25 23:31:55 +00:00
Melanie Thielker
82305b0dea
From this version onwards, all new region files created automatically will
...
be created as new style INI files.
This doesn't yet affect create region, but it does affect first starts of
OpenSim.exe
Because master avatars are slated to be replaced by estate owners, this now
allows regions to be created without any master avatar data.
2009-06-25 17:53:03 +00:00
Melanie Thielker
9e714b9784
Add a comment and an example region config file
2009-06-25 16:05:59 +00:00
Melanie Thielker
d9528bd06e
Allow the reading of ini files instead of xml files when reading region
...
definitions from the file system
2009-06-25 15:48:54 +00:00
Melanie Thielker
044446821b
Committing the meat of the user server interface and the bones of the service implementation
2009-06-22 12:18:04 +00:00
Jeff Ames
142b481e03
Update svn properties.
2009-06-22 10:07:27 +00:00
Sean Dague
1adeb8ad77
From: Chris Yeoh <yeohc@au1.ibm.com>
...
This patch ensures that the touch positions are set during touch_end
events (currently only working for touch_start and touch events).
2009-06-19 12:21:20 +00:00
MW
417e3ee1d7
Applied patch from Mantis #3736 , which should stop the userserver crashing when a SL viewer version 1.23 logs in. Thanks StrawberryFride
2009-06-18 20:01:37 +00:00
Arthur Valadares
f243dddc04
* Corrected CAPS namespaces
...
* "luke, use the sed"
2009-06-18 14:33:35 +00:00
diva
913bc3bdb3
Moved OpenSim/Framework/Communications/Capabilities up to OpenSim/Framework/Capabilities. Didn't change the namespace because VC# is not helping, and this would imply manually changing more than 50 files. So the namespace is still OpenSim.Framework.Communications.Capabilities, to be cleaned up later by someone with more energy.
2009-06-18 00:48:39 +00:00
diva
ce7de3581c
Implementation of a simple authentication service + in connector in route to making HGInventory (client access) work in standalone again. This is the refactoring of what was/is there, but done in the new model. Not complete yet, but key authentication works. It should be enough to make HGInventory work again soon.
2009-06-17 03:52:39 +00:00
Mike Mazur
e6e88ac126
Give m_test* methods more reasonable names
...
Changing the names of these methods because they were being picked up by
nunit as tests even though they were marked private. Naming them Check*
after the original Test*.
2009-06-12 15:00:08 +00:00
diva
2afd733229
Fixes mantis #3803 . Thanks jhurliman.
2009-06-11 20:27:13 +00:00
Arthur Valadares
c13f3649d2
* Reinstating UserProfileCacheServiceTests. One test still fails (TestUpdateFolder)
2009-06-11 18:27:12 +00:00
diva
156604e28e
InterServiceInventoryService references *almost* completely removed from the simulator. Only a couple left, not important. Also updated the login tests -- Justin, this time I was able to fix this by myself :)
2009-06-11 03:00:25 +00:00
diva
6ddf70b128
Bug fix for creating users in standalone: the newly-created root folder was not being set in the cached profile. I suspect this bug has been around for a while.
2009-06-10 20:31:02 +00:00
diva
f6c6e3e5f2
Attempt at disabling the inventory unit tests, so I can figure out how to fix them. The test setup is broken.
2009-06-10 13:33:26 +00:00
diva
0f367bd7bb
Heart surgery no.2: the inventory service hooks.
...
Several improvements in the connectors themselves.
Several improvements in configurations.
Needed to add a hack in IUserService and UserManagerBase, to be removed when that service is refactored.
2009-06-10 13:18:32 +00:00
Jeff Ames
a23d64dec1
Formatting cleanup.
2009-06-10 04:28:56 +00:00
Jeff Ames
a7fcacf8f3
Formatting cleanup. Ignore some generated files.
2009-06-09 18:07:35 +00:00
Jeff Ames
135ff63c3d
Update svn properties.
2009-06-09 17:48:22 +00:00
diva
1ad237a8a7
First draft of inventory service connectors, and service implementation. No handlers yet, this is just the OUT part for now. It's not active and nothing in the simulator uses this yet. Just checking it in to start sharing with others. There are a couple of interesting software design points that could use other devs opinions.
...
Hopefully I added all needed files.
2009-06-07 19:00:55 +00:00
Justin Clarke Casey
87097f2484
* Fix unit tests so that they correctly handle 404 missing asset response
...
* I didn't think there were tests in this area - my bad
2009-06-05 17:03:44 +00:00
Justin Clarke Casey
593942b195
* Fix problem where known missing assets would stop save oar ever completing
...
* Issue was that region server was silently dropping an XmlException caused by trying to deserialize the blank asset service response
* So make asset service return http status NOT FOUND rather than OK in accordance with REST
* and interpret this correctly in the async response so that a null object is sent back
* This means that this fix won't be active until both region simulator and server reach this revision
2009-06-05 16:14:22 +00:00
Justin Clarke Casey
bfea077508
* Add oar saving timeout
...
* If an oar save fails to get responses to all asset requests to the asset service then timeout after 60 seconds
* Timeout executes abort, since missing assets in an OAR seems bad
* This means that oar saves won't permanently hang and instead can be retried if something goes wrong with the asset service
* This is not a solution to mantis 3714. Hopefully a fix will be along shortly since I can now consistently reproduce that problem
2009-06-05 13:48:43 +00:00
Jeff Ames
5f923f0632
Add copyright headers.
2009-06-04 01:09:18 +00:00
Jeff Ames
007016ecd2
Update svn properties.
2009-06-04 00:51:02 +00:00
Melanie Thielker
18cc7ffa44
Make AssetMetadata [Serializable] to help in binary caching
2009-06-03 19:54:19 +00:00
Dr Scofield
717fd3b5b9
From: Chris Yeoh <yeohc@au1.ibm.com>
...
This patch adds oar file date and time (UTC) meta data to an oar file
when it is created. It also adds a unique ID, though this id does not
in anyway identify the machine that the oar file was created on.
When an oar file with this meta data is loaded this extra information
is saved with the region settings and available via LSL through:
- osLoadedCreationDate()
- osLoadedCreationTime()
- osLoadedCreationID()
If there is no meta data these fields will be blank. Subsequent oar
file loads will erase the information for the previous oar file
load. Persistence has only been implemented for MySQL, the other
backends need updating.
Overall this allows us to much more easily identify the specific version of
software that clients are using. Its very straightforward to edit the oar file
to change the ID string to be something more human friendly.
Included in the patch is a new file OpenSim/Data/MySQL/Resources/030_RegionStore.sql
required for the MySQL DB migration.
btw I had a chat with justincc about this a few weeks ago since he
wrote the oar file import/export and he sounded happy to accept
something that included date/time information but didn't want anything
that would silently leak private information like machine names.
2009-06-03 12:48:04 +00:00
Dahlia Trimble
9e3b592fa3
Thank you Imaze Rhiano for a patch that implements Cenome Memory Asset Cache (Mantis #3759 )
...
See the files: bin/config-include/GridCommon.ini.example and bin/config-include/StandaloneCommon.ini.example to configure and enable this caching method.
2009-06-03 08:41:08 +00:00
Dahlia Trimble
528db43326
revert r9765 due to too many errors on some compilers. Affects Mantis #3759
2009-06-03 02:03:11 +00:00
Dahlia Trimble
e978edc264
add body to an empty getter/setter
2009-06-03 01:27:07 +00:00
Dahlia Trimble
23e0c84f51
fix a int[] declaration
2009-06-03 01:06:00 +00:00
Dahlia Trimble
b38be1a7fd
Thank you Imaze Rhiano for a patch that implements Cenome Memory Asset Cache (Mantis #3759 )
...
See the files: bin/config-include/GridCommon.ini.example and bin/config-include/StandaloneCommon.ini.example to configure and enable this caching method.
2009-06-02 22:42:47 +00:00
lbsa71
8e011ecbbb
* Removed some commented-out code
2009-06-01 20:17:10 +00:00
Arthur Valadares
eb330f71be
* Making silent logoff of old hung sessions for new connections default for
...
StandAlone users. Not touching grid.
2009-06-01 18:34:40 +00:00
Jeff Ames
840de6c036
Minor: Change OpenSim to OpenSimulator in older copyright headers and LICENSE.txt.
2009-06-01 06:37:14 +00:00
Jeff Ames
35b450d41d
Add copyright headers, formatting cleanup, ignore some generated files.
2009-05-31 18:35:00 +00:00
MW
e3e7e73db3
Added option (on my default) to the clone avatar function so that the clothes and attachments that the target avatar is wearing, to begin with, are removed. So the end result isn't a merger of those clothes/attachments and the ones the template avatar is wearing.
...
Added IPAddress ListenIPAddress property to BaseHttpServer so that the listening/binding IP can be set.
2009-05-30 16:13:40 +00:00
Arthur Valadares
d0084f08f2
* Allows standalone region users to skip the "You must wait 5 minutes to log again" message and
...
allow the region to kick the old user and log the new one without reporting any failure.
Default is still to show message and fail login
2009-05-29 22:38:18 +00:00
Justin Clarke Casey
4aad6a07ff
* refactor: Remove redundent prim id attribute on Scene.AddSceneObject()
2009-05-29 21:01:18 +00:00
Dahlia Trimble
42fa7cf989
plumbing for future sculpt map caching
2009-05-29 05:42:06 +00:00
lbsa71
0787967f59
* So, giving up on my efforts to de-duplicate the asset handlers. I'll just service commit my current state, then start over and this time concentrating only on the new handlers.
...
* Fixed some erroneous refs in Tests.Common
2009-05-27 18:27:28 +00:00
Dr Scofield
9e37e291b0
making TarArchiveReader more resilient when faced with OARs created by
...
ancient tars.
2009-05-27 17:34:06 +00:00
Jeff Ames
a576cca59e
Update svn properties.
2009-05-27 14:30:33 +00:00
diva
7ab1986bf0
Catching weirdnesses on resolving External EndPoint in agent transfers. Will probably need to do more aggressively.
2009-05-26 22:39:01 +00:00
lbsa71
b773a3a02f
* We have strand flavours.
...
* The version string is now reported as "OpenSim 0.6.5 (Dev)"
* This has to be administrated manually.
2009-05-26 16:18:41 +00:00
lbsa71
5d23ecebeb
* Introduced GetVersionString so we can harness the whole thing.
...
* Introduced 'Flavour' to spice things up.
2009-05-26 16:01:06 +00:00
lbsa71
f76615a66d
* slowly getting there...
2009-05-26 15:46:09 +00:00
lbsa71
1cfcace30f
* Changed Version to property for great justice
2009-05-26 15:43:43 +00:00
lbsa71
bac1194391
* Added test to make sure version info is 27 chars long (still don't know exactly why it has to be that, though)
2009-05-26 15:35:55 +00:00
diva
6ff01c774e
Addresses mantis #3718 .
2009-05-26 01:05:40 +00:00
Justin Clarke Casey
582c20b1c4
* reseparate inventory item creator id and creator uuid
...
* unfortunately, while the client requires uuids and we want to be able to have arbitrary string ids, these cannot be kept in sync
* I think the problems last time were due to a serialization change
* So the major inteface version has been bumped to take care of any lingering issues here.
* This means that region servers beyond this revision can only connect to similarly uptodate grid services, and vice versa
2009-05-25 19:54:47 +00:00
diva
896c206718
One more utility. Not used yet.
2009-05-25 19:20:27 +00:00
Justin Clarke Casey
ca9432d110
* Display normal log information in the console's default foreground colour, for those of us with white backgrounds
2009-05-25 16:29:01 +00:00
lbsa71
ba360ede8b
* Upped version number to 0.6.5
2009-05-25 11:43:56 +00:00
Adam Frisby
a38285f7f9
* Attaches debug info to some DNS resolution code.
2009-05-25 06:46:41 +00:00
Jeff Ames
d4957dd9be
Update svn properties.
2009-05-25 01:59:50 +00:00
Adam Frisby
9023b93e2f
* Disabled NAT translation support for a little while.
2009-05-25 01:12:28 +00:00
Adam Frisby
2cfe44f13e
* Mono sucks. (Fixes crash due to Mono not implementing NetworkInformation.IPv4Mask aka Subnet masks)
2009-05-24 02:07:54 +00:00
Adam Frisby
ac79ff8dc6
* Adds NAT routing support for MXP Asset Delivery. (This means MXP should be fully NAT compatible.)
2009-05-24 01:36:13 +00:00
Adam Frisby
70f6a2852e
* Fixes [irritating] edge case in Util.GetLocalHost which could return an IPv6 address if no non-loopback IPv4 address can be found.
...
* Restores internal IPv6 support to NetworkUtil.*
* Fixes bad login unit tests.
2009-05-23 07:51:29 +00:00
Adam Frisby
6fe55a7ff8
* Disables internal IPv6 Support - causing issues.
2009-05-23 07:29:14 +00:00
Adam Frisby
bb363d9aa4
* "Fixed" an issue with NAT Login Handler, apparently an IPv4Mask can be null on an IPv4 address. Go figure. (!?!)
2009-05-23 07:07:02 +00:00
Adam Frisby
6b312d9340
* Implements automatic loopback handling for standalone regions.
...
* This /should/ make OpenSim behave properly when hosting behind a NAT router and utilizing port forwarding (but the router doesn't support Loopback)
2009-05-23 06:29:08 +00:00
Adam Frisby
e9ea959263
* Pipes IPEndPoint through all Login methods, including LLSD/OSD login paths.
2009-05-23 06:14:02 +00:00
Adam Frisby
31baeef469
* Pipes requestors IP address through all XmlRpcRequest delegates. This is needed to be able to 'NAT-wrap' the login sequence.
...
* If you have something using XmlRpc that isn't in core, change your method signature from:
(XmlRpcRequest request)
to:
(XmlRpcRequest request, IPEndPoint remoteClient)
2009-05-23 06:05:20 +00:00
Adam Frisby
3b1b3ac9bb
* Breaks OpenSim.. err I mean.. adds NAT translation support to EnableSimulator EventQueue methods.
...
* NB: This may actually break logins on certain regions. Shake well before consuming.
2009-05-23 05:44:18 +00:00
Adam Frisby
f8c569dc7c
* NetworkUtil now handles an error case in a way which is easier to debug.
2009-05-23 05:18:37 +00:00
Adam Frisby
2d06135166
* Adds new NetworkUtil class, contains methods for handling IP resolution when located on the same subnet. (Eg, can be used to avoid NAT Loopback requirements if fully utilized.)
...
* Adds a few new network-related methods to Util.
2009-05-23 05:09:10 +00:00
Dr Scofield
1d02636c27
cleaning out warnings.
...
NOTE: we currently have a gazillion warnings caused stuff flagged as
"obsolete" (OGS1 stuff) --- what's up with that?
2009-05-22 14:57:00 +00:00
Dr Scofield
ac2fe53e89
adding RemoveXmlRpcHandler to IHttpServer
2009-05-22 11:37:14 +00:00
diva
da170cde46
Cleaning up a few HG things. HG Posts may now work in grids, but if the home grid is a standalone, this still doesn't work -- something wrong with RegionAssetService's DB connection.
2009-05-22 04:23:59 +00:00
Melanie Thielker
e5f3337c3f
Implement .ini file includes. Anything that begins with "Include-" will be
...
treated as another ini source to load.
For example:
Include-Asset = AssetSetup.ini
will load AssetSetup.ini after all other ini files are done.
This works recursively, too
2009-05-21 23:06:10 +00:00
Melanie Thielker
787d58ae7f
Put some meat on the bones of the REST console. NO user functionality yet
2009-05-20 20:28:57 +00:00
Melanie Thielker
3ae9bb6d83
Move the color console logic from the appender into the local console, since
...
that is the only one that can use it. Change appender output to always go
through the console output functions.
2009-05-20 14:40:50 +00:00
Melanie Thielker
4065ebff15
Remove the pre-log4net, discrete output methods from the consoles
2009-05-20 13:50:33 +00:00
Jeff Ames
e0bc5c5db2
Add copyright headers, formatting cleanup.
2009-05-20 01:32:06 +00:00
Melanie Thielker
23d902be42
Remove the old asset cache and local services and the configurations for them
2009-05-18 23:18:04 +00:00
Jeff Ames
5cfd84c924
Update svn properties.
2009-05-17 10:26:00 +00:00
Homer Horwitz
99cf8e3f5a
Send the owner name, not the client name on SendDialog.
...
This modifies IClientAPI.SendDialog slightly.
Fixes Mantis #3661 .
2009-05-16 16:01:25 +00:00
diva
99167c68b1
Bug fix on POST asset so that the new asset service connector can talk to the old asset server.
2009-05-15 21:11:37 +00:00
Justin Clarke Casey
c11e047410
* Resolve bug where save oar would never complete if any assets were missing
2009-05-15 20:20:55 +00:00
diva
5e4fc6e91e
Heart surgery on asset service code bits. Affects OpenSim.ini configuration -- please see the example. Affects region servers only.
...
This may break a lot of things, but it needs to go in. It was tested in standalone and the UCI grid, but it needs a lot more testing.
Known problems:
* HG asset transfers are borked for now
* missing texture is missing
* 3 unit tests commented out for now
2009-05-15 05:00:25 +00:00
Justin Clarke Casey
6277156044
* When saving an oar, save assets when immediately received rather than storing them all up in memory
...
* Hopefully this will remove out of memory problems when saving large oars on machines without much memory
* It may also speed up saving of large oars
2009-05-14 20:37:54 +00:00
Justin Clarke Casey
303aa4b65e
* refactor: move bottom part of 'xml2' serializaton to separate class
2009-05-14 18:08:54 +00:00
Justin Clarke Casey
d10b5e29bc
* refactor: break some of xml2 serialization out of sog
2009-05-14 16:33:04 +00:00
lbsa71
95d87244b0
* Moved BaseRequestHandlerTestHelper to OpenSim.Tests.Common.Setup for great justice.
2009-05-14 08:21:14 +00:00
Melanie Thielker
d843b897b2
Move the connector for the new asset server to a connectors project. Inherit
...
the region module version from this. This enables inter-server connections
to reuse connetor code from region modules.
2009-05-14 06:18:18 +00:00
Arthur Valadares
09df50915d
* Bug fix: Variable m_regionSettings can be null, using RegionSettings instead, that starts a new RegionSettings object if private variable is null.
...
Fixes Mantis #3634
2009-05-13 22:16:14 +00:00
lbsa71
40e95cab02
* Added some more tests to the GetAssetStreamHandlers
2009-05-13 17:11:53 +00:00
Dr Scofield
b95b7222f9
Disabling WebFetchInventoryDescendents CAPs for the time being as it
...
seems to screw up standalone mode.
2009-05-13 16:34:57 +00:00
Charles Krinke
a5feb0682a
Thank you kindly, BlueWall sir, for a patch that:
...
Adding a jsonp wrapper to the user supplied status report
uri if the key "callback" exists. It will work with many
javascript toolkits to provide an ajax callback to allow
the browser to update stats reports without the
intervention of an intermediate server.
2009-05-13 01:27:23 +00:00
Melanie Thielker
1b7d0a6c93
Paving the way for syncing group permissions across a grid
2009-05-12 14:59:11 +00:00
Charles Krinke
c1d680b6c3
Thank you kindly, Patnad, for a patch that:
...
This is to handle the changes in the v1.23 viewer
of LL regarding the adult rating. With this patch
a region can be changed to the adult rating from
LL viewer v1.23 and above.
2009-05-12 03:30:37 +00:00
Adam Frisby
6dcafec22d
* Implements IP and DNS based ban facilities to OpenSim.
...
* User interface is ... primitive at best right now.
* Loads bans from bans.txt and region ban DB on startup, bans.txt is in the format of one per line. The following explains how they are read;
DNS bans are in the form "somewhere.com" will block ANY matching domain (including "betasomewhere.com", "beta.somewhere.com", "somewhere.com.beta") - make sure to be reasonably specific in DNS bans.
IP address bans match on first characters, so, "127.0.0.1" will ban only that address, "127.0.1" will ban "127.0.10.0" but "127.0.1." will ban only the "127.0.1.*" network
2009-05-11 19:23:51 +00:00
Jeff Ames
5164403676
Update svn properties.
2009-05-11 15:14:15 +00:00
Dr Scofield
85bbcf196f
adding code to check for old-style responses ("True")
2009-05-11 09:58:36 +00:00
Adam Frisby
54ab7d7ceb
* Rather than crash the region simulator, declare the teleport a failure if the "success" mapping doesn't exist. (also; I hate LLSD.)
2009-05-10 21:35:07 +00:00
Adam Frisby
dd8c01d7a7
* Attempting to fix NullRef exception in inventory.
2009-05-10 21:00:07 +00:00
Adam Frisby
2d4166fecf
* Debugging some inventory related NullRefException's.
2009-05-10 20:50:38 +00:00
Melanie Thielker
a983f2a3ac
Create SynchronousRestObjectRequester and make SynchronousRestObjectPoster
...
use that. Mark SynchronousRestObjectPoster.BeginPostObject as obsolete.
2009-05-10 16:31:10 +00:00
Melanie Thielker
dc4f31db1a
Create an async form of the RestObjectPoster. Rename the file (but not the
...
class!) to SynchronousRestObjectRequester. Add CacheBuckets parameter to
cache
2009-05-10 16:20:25 +00:00
Melanie Thielker
1a910b6e1d
Connect up the new asset cache and introduce an asynchronous call path
...
for asset retrieval (full asset only) to ease migration to the new system
2009-05-10 14:03:06 +00:00
Melanie Thielker
d8e1842d25
Add some asset cache plumbing. Change the generic cache from UUID to string
...
keys to allow caching the new crop of URI identified objects.
2009-05-10 12:27:05 +00:00
Melanie Thielker
13b2ff83df
Small asset cache addition. Comment a debug output left in CAPS
2009-05-10 00:30:51 +00:00
Homer Horwitz
1d234ca83f
Fixed handling of inventory a bit
...
- AssetType isn't InventoryType. Those enums contain different numbers. Use AssetType for the asset type, InventoryType for the inventory type.
- The ToString method (or ToLower) of AssetType/InventoryType doesn't necessarily return the correct LLSD string.
- Replaced several magic numbers by their corresponding enum.
- Fixed the invType for gestures and animations in the library.
This should fix Mantis #3610 and the non-terminating inventory loading
2009-05-09 21:11:12 +00:00
Melanie Thielker
b3d29aaeb3
Make remote assets work through the new server system
2009-05-09 04:03:32 +00:00
Melanie Thielker
c8d44971c4
Implement an ingenious solution to pacekt pool performance suggested by
...
dlslake.
2009-05-08 19:03:01 +00:00
Sean Dague
c1a54c02d3
fix up the comments a little
...
From: Sean Dague <sdague@gmail.com>
2009-05-08 18:09:48 +00:00
Sean Dague
b333690969
added WebFetchInventoryDescendents CAP
...
From: Robert Smart <smartrob@uk.ibm.com>
2009-05-08 18:09:41 +00:00
lbsa71
54b5346f16
* Extracted common superclass for GetAssetStreamHandler and CachedGetAssetStreamHandler
...
* Added some more tests
2009-05-08 15:44:35 +00:00
Sean Dague
6b88a205d6
another possible cause of some of the inventory wierdness is the 1/2 implemented
...
OSP resolver, and the caching of the uuid seperate from the string that is a UUID.
Change this behavior back to something that ensures the data for the 2 is the same.
Put the 2 unit tests that depend on the new behavior into ignore state.
2009-05-08 15:40:39 +00:00
lbsa71
8ac73be917
* Introduced new HttpServer.Tests project
...
* Split the GetAssetStreamHandler testing into separate tests for BaseRequestHandler
* Ignored some gens
2009-05-08 06:11:44 +00:00
Sean Dague
f532767c6a
fix svn properties
2009-05-08 00:47:32 +00:00
Justin Clarke Casey
aaad2fc8ff
* minor: use system ascii encoding rather than newing up our own object
2009-05-07 19:27:38 +00:00
Sean Dague
ce0a84cbc0
instrument most of the tests with a new InMethod function that may help us figure
...
out where that pesky deadlock is during test runs.
2009-05-07 19:07:08 +00:00
Justin Clarke Casey
48c2e7796f
* minor: Quieten down temporary profile resolver to only log when it's actually dealing with a temporary profile
2009-05-07 14:23:26 +00:00
lbsa71
f3db3d6a00
* Added some more GetAssetStreamHandlerTests
...
* In the process, caught a potential bug where the handler would allow paths not starting with the registered prefix
2009-05-07 06:31:16 +00:00
lbsa71
1afdf2ee1f
* Added some GetAssetStreamHandlerTests
...
* Minor tweaks to attain testability
2009-05-06 17:02:51 +00:00
Justin Clarke Casey
78425e392b
* Change automatic properties back to manual get/set
...
* Automatic properties are only supported after .Net 2.0, causing these to fail when building via nant on Windows (and probably visual c# 2005 too)
* Hopefully these can be used once building support in Visual C# 2005 is dropped.
2009-05-05 17:09:46 +00:00
Justin Clarke Casey
f8e0653e73
* If an item creator id contains an iar loaded name, create a temporary profile and hashed UUID to represent the user
2009-05-05 16:45:21 +00:00
Dr Scofield
e0a06f6416
- moving banned check and public/private check to
...
Scene.NewUserConnection()
- adding reason reporting
this enforces estate bans very early on and prevents us from
circulating client objects that we'd then have to retract once we
realize that the client is not allowed into the region
2009-05-05 16:17:52 +00:00
Justin Clarke Casey
b6ae8b7ba7
* Fix http://opensimulator.org/mantis/view.php?id=3585
...
* Make public variables properties instead, as there is a difference
2009-05-05 15:23:44 +00:00
Jeff Ames
8ea12ad6c0
Add copyright header. Formatting cleanup. Ignore some generated files.
2009-05-05 09:59:15 +00:00
Jeff Ames
6ae88d129a
Update svn properties.
2009-05-05 09:32:30 +00:00
Jeff Ames
07d680a010
Remove bin directory from HttpServer.
2009-05-05 09:31:49 +00:00
Melanie Thielker
5865018088
Fix crash on login
2009-05-05 01:36:51 +00:00
Melanie Thielker
f28b380c4a
Committing the new server base
2009-05-05 01:34:41 +00:00
Adam Frisby
c45add5f31
* Attempting to find cause of NotSupportedException in Asset subsystem.
2009-05-04 22:37:38 +00:00
Melanie Thielker
2cded6d369
Fix the AsUuid thingy
2009-05-04 21:40:19 +00:00
Melanie Thielker
ebb8111f6c
Fox the InventoryItem.CreatorIdAsUuid property
2009-05-04 21:17:40 +00:00
Melanie Thielker
7f1c393bc3
Remove the csproj files that got into SVN
2009-05-04 21:05:15 +00:00
Melanie Thielker
ec0d2c28fa
Committing the changed tree
2009-05-04 20:19:21 +00:00
Melanie Thielker
acfb5051cd
Intermediate commit. WILL NOT COMPILE!
2009-05-04 20:15:39 +00:00
Justin Clarke Casey
b3178c8079
* Resolve http://opensimulator.org/mantis/view.php?id=3573
...
* Override add user for HG user services to hit local services if present
2009-05-04 19:15:44 +00:00
Justin Clarke Casey
780f57d551
* Initial infrastructure for ospa only uuid hashing of retrieved inventory items
2009-05-04 18:32:01 +00:00
Justin Clarke Casey
3a27a05607
* refactor: move OspResolver to a different namespace
2009-05-04 17:32:20 +00:00
Justin Clarke Casey
ee5774208f
* Enhance some internal inventory data plugin behaviour to match what was probably intended
...
* (e.g returning combined results of plugin rather than always the first result)
* This will not affect any existing functionality
2009-05-04 17:16:01 +00:00
Justin Clarke Casey
a61cbab799
* Insert profile references for creators for items saved into iars
2009-05-04 16:15:30 +00:00
Justin Clarke Casey
257fc5515a
* minor: remove some mono compiler warnings, minor cleanup
2009-05-04 15:38:36 +00:00
Melanie Thielker
f80ba373fa
Prebuild changes to allow the console to reference the http server
2009-05-04 15:04:24 +00:00
Justin Clarke Casey
509ec2637b
* Refactor: Simplify InventoryFolderImpl. No functional change.
2009-05-04 15:02:14 +00:00
Melanie Thielker
36dd346a91
Add a method to flush the prim update buffers once a frame, since the timer
...
appear to be too slow to be useful, or fail too fire. I may remove the timers
as a consequence if this.
2009-05-04 14:25:19 +00:00
Melanie Thielker
eedf216eba
Add a skeleton class, "RemoteConsole", for a console that uses REST
2009-05-04 12:29:44 +00:00
Melanie Thielker
1b877234da
Refactor. Make ConsoleBase a true base class. Create CommandConsole as a simple
...
console capable of processing commands. Create LocalConsole as a console
that uses cursor control and context help. Precursor to a distributed
console system for the new grid services. No functional change intended :)
2009-05-04 12:15:55 +00:00
Melanie Thielker
66e25abbfe
Plumb conifg into the client views. Add config option to configure packet
...
dropping.
2009-05-02 17:31:49 +00:00
Charles Krinke
280d2cbf4a
Thank you kindly, BlueWall, for a patch that:
...
Move json stats to non-published resource name
Remove well-known resource name for json stats,
creating dynamic uris with private keys and add
a user configurable resource name for region owner usage.
2009-05-02 16:28:30 +00:00
diva
070cd35f00
Added the "out" connector (aka client) for the Grid services. Not used yet.
2009-05-02 15:00:47 +00:00
Melanie Thielker
62bcf0e694
Numerous packet improvements.
...
Don't allow packets to be resent before they have actually been sent for the
first time. Switch from serializing a packet to get it's length to the LibOMV
provided Length property. Fix resend timing. Fix the use of dangling references
to Acked packets. Fix the packet handler to play nice with the packet pool.
Fix the packet pool. Add data block recycling to the packet pool. Packet pool
is now ENABLED by default. Add config option to disable packet and data block
reuse. Add ObjectUpdate and ImprovedTerseObjectUpdate to the packets being
recycled.
2009-05-02 13:16:41 +00:00
Melanie Thielker
8c97214741
Also add these packet to the list of packets to be recycled. No enabled
...
by default
2009-05-02 00:20:35 +00:00
Melanie Thielker
ac944def3f
Fix the issue that stopped the packet pool from working. Add a mechanism
...
to recycley data blocs within a packet. Recycle the ObjectUpdate* data
blocks. Speeds up loading even more.
This may mean that the packet pool is now viable.
2009-05-02 00:14:04 +00:00
Melanie Thielker
55a69f3f2d
Improve prim sending by combining multiple prim updates into a single packet
2009-05-01 16:29:15 +00:00
Jeff Ames
5ede445bdf
Update svn properties.
2009-05-01 05:16:05 +00:00
Justin Clarke Casey
e7078520db
* refactor: move iar name hashing into a method
2009-04-30 19:57:07 +00:00
Melanie Thielker
334738fca9
Thank you, mpallari, for a patch that increses efficiency by combining
...
avatar updates into a single packet.
Applied with changes.
Fixes Mantis #3136
2009-04-30 11:58:23 +00:00
Justin Clarke Casey
40c2e2e84f
* Add test to check temp profile creation on iar load
2009-04-29 19:31:48 +00:00
Justin Clarke Casey
c56f928c80
* Adjust load iar unit test to check load of items with creator names that exist in the system but which are not the loading user
2009-04-29 17:46:13 +00:00
Melanie Thielker
7e972b304b
Let estate owners and managers enter nonpublic estates unconditionally.
...
Let gods go to nonpublic estates as well.
2009-04-28 22:53:10 +00:00
Justin Clarke Casey
52d5628806
* Add preliminary code for resolving iar profile names
...
* Not yet active
2009-04-28 17:47:09 +00:00
diva
81bc38708a
Thanks Tommil for a patch that adds a caching option to GetAssetStreamHandler. It is used in the RegionAssetService.
2009-04-27 15:23:18 +00:00
Dr Scofield
515e62dc2f
From: Alan M Webb <alan_webb@us.ibm.com>
...
Added support for access control lists.
Scene: Added test to AddNewClient for an entry in the access
list when connecting to a region with limited access.
EstateSettings: Added an HasAccess(UUID) property to test for
an entry in the estate's access list.
RemoteAdmin: Add RPC calls for admin_acl_list, clear, add,
and remove.
2009-04-27 11:51:25 +00:00
Dahlia Trimble
4792e6139a
Thanks Bluewall for Mantis #3519 : a patch that adds simulator uptime and version to REST/json statistics reporting
2009-04-25 05:06:01 +00:00
Justin Clarke Casey
8fe70c826d
* minor: move user profile test utils to test/common/setup for future reuse
2009-04-24 19:19:19 +00:00
Justin Clarke Casey
35c7aae455
* correct spelling mistake in item seiralization
2009-04-24 15:56:41 +00:00
Justin Clarke Casey
170cea5088
* minor: make inventory item deserialization code easier to read
2009-04-24 15:44:22 +00:00
Justin Clarke Casey
d69a018ba8
* Write basic, incomplete load iar test
2009-04-24 15:02:48 +00:00
Justin Clarke Casey
1ccc99a3f9
* refactor: move archive user inventory item serialization out to a separate file
2009-04-23 20:15:05 +00:00
Justin Clarke Casey
0d51c22620
* Allow interested user data plugins to store temporary user profiles
...
* Database and the OGS1 plugins are not interested and hence ignore these calls
2009-04-23 18:57:39 +00:00
Justin Clarke Casey
ef9d140022
* Add user data plugin to store temporary profiles (which are distinct from cached)
...
* Plugin not yet used
* Existing functionality should not be affected in any way
2009-04-23 18:24:39 +00:00
Sean Dague
7943ae48f5
move the lock out a bit further in the ProccessAssetCache loop to reduce
...
the number of times we are going to take this lock in a row (which is
just wasted resource), and to keep us from attempting to array access a
list which might be changing right now. Extremely curious if this helps
prevent some of our mono segfaults.
2009-04-23 17:53:18 +00:00
Sean Dague
31bded51fb
based on recent unit test output, put some extra checking in the
...
RunAssetCache error code
2009-04-23 17:38:08 +00:00
Justin Clarke Casey
bd8e4a8892
* Fix hypergrid standalone login by overriding AddNewUserAgent in HGUserServices
2009-04-22 23:04:32 +00:00
Justin Clarke Casey
342126b7b9
* Resolve http://opensimulator.org/mantis/view.php?id=3509 by putting some service initialization into CommsManager
...
* What is really needed is a plugin and interface request system as being done for region modules
2009-04-22 22:19:43 +00:00
Justin Clarke Casey
4c80685563
* Allow plugins to play nicely in UserManagerBase
...
* Some methods were returning the value of the first plugin queried, even if the return was null
* Other methods are probably best off querying more than one plugin and aggregating results
2009-04-22 19:26:18 +00:00
Justin Clarke Casey
2c81e41c8a
* Fission OGS1UserServices into user service and OGS1 user data plugin components
...
* Make OGS1UserServices inherit from UserManagerBase
* This allows grid mode regions to use the same user data plugin infrastructure as grid servers and standalone OpenSims
2009-04-22 18:15:43 +00:00
Dr Scofield
7dbcf0570f
From: Alan Webb <alan_webb@us.ibm.com>
...
Changes to enable script state persistence across non-restart
serialization situations (inventory/OAR/attachments)
Also fixing test cases for OAR and IAR so they don't barf with the new code.
2009-04-22 18:09:55 +00:00
Dr Scofield
458f7eb9b3
cleaning up, fixing warnings
2009-04-22 09:42:44 +00:00
Jeff Ames
6aa5d3904d
Add copyright headers. Formatting cleanup.
2009-04-22 00:48:56 +00:00
Justin Clarke Casey
607156cae8
* Comment out user profile cache update method for now
2009-04-21 20:12:33 +00:00
Charles Krinke
27c8cc5b1f
Thank you kindly, TLaukkan for a patch that:
...
Added support for loading bare asset binaries (as opposed to
xml encoded asset base) to both sandbox asset service and cable beach.
* Added support for enabling region asset service when mxp is enabled.
* Moved base http server content type defaulting before invocation of
request handle method to allow for variable content type in the response.
2009-04-21 19:42:36 +00:00
Justin Clarke Casey
48720ea7a2
* extend user cache update test to check data backend
2009-04-21 16:21:15 +00:00
Justin Clarke Casey
d2d0b9877f
* Add the ability to update profiles via the cache, so that cached profiles don't become stale
...
* Add corresponding unit test
2009-04-21 15:21:27 +00:00
Melanie Thielker
d91330ea35
Add PlacesQuery packet
2009-04-20 20:43:48 +00:00
Homer Horwitz
5200a849f6
Reverting r9224. We don't have scripts in the SL sense (with binary and state).
...
Using this identifier prevents "our" scripts from working.
Reopens Mantis #3482 , I'm afraid.
2009-04-19 18:30:02 +00:00
Homer Horwitz
be08c2d411
Change invType of scripts from "lsl_text" to "script". Fixes Mantis #3482 .
2009-04-19 13:34:38 +00:00
diva
b824e488ba
Addresses mantis #3485 .
2009-04-18 15:45:05 +00:00
diva
bc02eab4b9
Commit agent to DB immediately after creation, for LLSD logins too. Addresses mantis #3471 . Requires upgrade of User Server in grid mode for this fix to kick in.
2009-04-18 02:37:12 +00:00
Charles Krinke
b4cb45bb79
Fixes Mantis # 3469. Thank you kindly, BlueWall, for a patch that:
...
This patch adds extended status reporting with the url
http://server:port/simstatusx/ [^] . The data is returned
in json format as "text/plain" type.
2009-04-17 21:48:48 +00:00
Sean Dague
37f98a65d4
add fix for LLSDVoiceAccountResponse to work with freeswitch (from Rob
...
Smart)
2009-04-17 20:00:35 +00:00
Justin Clarke Casey
bd1b478f2c
* Change inventory archiver module to use profile cache
...
* Clean up some log messages
2009-04-17 19:11:03 +00:00
Jeff Ames
2fafc74c74
Add copyright header.
2009-04-17 16:34:17 +00:00
Jeff Ames
e7c7917bf8
Update svn properties.
2009-04-17 15:57:44 +00:00
lbsa71
a189da844a
* Moved the DefaultConfig settings into already-existing ConfigSettings
2009-04-17 15:09:37 +00:00
lbsa71
1759d05cdf
* remind me to never touch EstateSettings ever again. Ever.
2009-04-17 15:06:51 +00:00
Justin Clarke Casey
3db52d95ef
* Extend get user profile test to cover retrieval by name
2009-04-17 14:41:56 +00:00
lbsa71
977f1e0373
* Apparently, I broke reflection voodo. Reverting.
...
This fixes mantis #3477
2009-04-17 13:56:07 +00:00
Dr Scofield
3cb82ce383
quick fix for mantis #3477 --- m_configMember is being picked up by
...
MySQLEstateData.cs via reflection and then causes MySQL to get all
confused and panicky...
NOTE: the MySQL test cases are still very unhappy...
2009-04-17 09:23:26 +00:00
lbsa71
bbe1e19696
* Some more work on refactoring configs;
...
* Moved the constants out into a separate DefaultConfig
* Pulled configMember up
* Some minor CCC
2009-04-17 05:52:46 +00:00
Justin Clarke Casey
235ae95b50
* minor: Eliminate redundant argument in PreloadUserCache
2009-04-16 20:24:11 +00:00
Justin Clarke Casey
cab7a2a45c
* Add name keyed cache to UserProfileCacheService
2009-04-16 20:12:46 +00:00
lbsa71
6391b5312a
* Since that was seemingly an false alarm, reverting the revert.
2009-04-16 19:27:00 +00:00
lbsa71
1d12274850
* bizarrely, two reports that that last commit broke script engine startup (!) on linux - reverting until we can investigate further.
2009-04-16 18:35:23 +00:00
lbsa71
ec219f025a
* Started arduous config refactoring task with babystep introduction of common baseclass for backend configs.
2009-04-16 17:57:17 +00:00
Melanie Thielker
4b85cbf0b6
Correctly flag group owned prims in the land prim list
2009-04-16 01:01:40 +00:00
Melanie Thielker
ac96722c1d
Fix build break and change some groups interfaces
2009-04-16 00:46:24 +00:00
Melanie Thielker
7e95783dd3
Expose the GroupRecord and it's accessor API
2009-04-16 00:15:57 +00:00
Melanie Thielker
7306b73f02
Commit the group deeding support, thank you, mcortez
2009-04-15 21:07:09 +00:00
Justin Clarke Casey
9f6b8ec9b0
minor: Remove some mono compiler warnings. Uncomment code when it's actually being used.
2009-04-15 19:46:37 +00:00
Johan Berntsson
119aeeed7d
Another cleanup: Region_Status renamed to RegionStatus, and a usage comment added
2009-04-15 04:15:47 +00:00
Homer Horwitz
2a321746fd
Fix a test-breakage introduced in r9144
2009-04-14 20:44:51 +00:00
diva
0413d052a3
Adds session authentication upon NewUserConnections. Adds user key authentication (in safemode only) upon CreateChildAgents. All of this for Hypergrid users too. This addresses assorted spoofing vulnerabilities.
2009-04-14 19:35:35 +00:00
Justin Clarke Casey
e1c449b492
* Change simple asset cache test to manually pump the asset server rather than relying on another thread
2009-04-14 17:44:10 +00:00
diva
2a49272b62
Changing the CAP seed to be the string representation of a full UUID, instead of a trunkated UUID.
2009-04-14 17:32:05 +00:00
Justin Clarke Casey
1894157dd3
* Explicitly start the asset server thread so that unit tests can run single rather than multi-threaded (which may be behind the occasional test freezes)
2009-04-14 17:15:09 +00:00
Justin Clarke Casey
ad2bd74057
* refactor: rename AssetCache.Initialize() to AssetCache.Reset() to avoid having Initialise() and Initialize() in the same class - very difficult to read.
2009-04-14 16:36:32 +00:00
Jeff Ames
cad0aab793
Formatting cleanup.
2009-04-14 11:38:33 +00:00
Jeff Ames
6e19fb8593
Add copyright headers.
2009-04-14 10:56:24 +00:00
Jeff Ames
fa29cf5c50
Update svn properties.
2009-04-14 10:00:13 +00:00
Melanie Thielker
a0417f5791
Thank you, Fly-Man, for a patch that adds the stub to handle the
...
avatar interests update.
2009-04-14 03:44:27 +00:00
diva
6204f23230
This was needed for the prior commit.
2009-04-14 03:00:17 +00:00
lbsa71
a7ed7665a6
* Changed all privates to m_ scheme
2009-04-13 20:05:12 +00:00
lbsa71
29355de6ee
* Some more experimental work on distributed assets. Nothing hotwired yet.
...
* Introduced preprocess step in FetchAsset (Might revert this later)
* Some minor CCC
* Added actual implementation of GetUserProfile( uri ) and the corresponding handler to OGS1.
* Introduced non-functioning GetUserUri( userProfile) awaiting user server wireup (this might move elsewhere)
2009-04-13 20:04:18 +00:00
Teravus Ovares
515bf6d7dc
* Patch from RemedyTomm Mantis 3440
...
* Revamps the server side texture pipeline
* Textures should load faster, get clogged less, and be less blurry
* Minor tweak to ensure the outgoing texture throttle stays private.
* Fixes mantis 3440
2009-04-10 08:30:21 +00:00
nlin
8e6c20b27f
Handle ObjectSpin* packets to spin physical prims on Ctrl+Shift+Drag
...
Addresses Mantis #3381
The current implementation works as expected if the object has no rotation or
only rotation around the Z axis; you can spin the object left or right (around
the world Z axis).
It works a little unexpectedly if the object has a non-Z-axis rotation; in this
case the body is spun about its local Z axis, not the world Z-axis. (But SL
also behaves oddly with a spin on an arbitrarily rotated object.)
2009-04-10 06:39:52 +00:00
Justin Clarke Casey
2176a80bcf
* Terminate OpenSim startup if we cannot listen to the designated HTTP port
...
* This makes the problem much more obvious to the user, and OpenSim isn't that useful without inbound http anyway
2009-04-09 19:46:14 +00:00
lbsa71
d2a412e94b
* Added some more experimental code; nothing wired in so far.
2009-04-09 16:45:22 +00:00
lbsa71
ed70ef6407
* butterfingers
2009-04-08 20:10:43 +00:00
lbsa71
e93b782f9d
* Introduced some experimental code with regards to asset data substitution
2009-04-08 19:59:37 +00:00
Justin Clarke Casey
f3c7298fc5
* Make it possible to store creator strings in user inventory items as well as UUIDs
...
* All existing functionality should be unaffected.
* Database schemas have not been changed.
2009-04-08 17:50:57 +00:00
Justin Clarke Casey
ed6165ab9c
* Apply http://opensimulator.org/mantis/view.php?id=3227
...
* Implement "Add To Outfit"
* Thanks FredoChaplin
2009-04-07 17:46:23 +00:00
Jeff Ames
5f34bd73fb
Update svn properties.
2009-04-06 14:24:13 +00:00
diva
3c9cba1627
Added CreateObject(regionhandle, userID, itemID) to post objects that are to be fetched from the user's inventory server and rezzed in the region. Added all code necessary to fetch the item and the asset, and rez it inworld. The access to the item is uncap-ed and unverified -- I may place it later either under a cap or with auth verification. But in this model regions don't have the user's inventory, so they would have to guess the item IDs.
...
Added safemode config to Standalone Hypergrid, similar effect to AllowRegionAccessToInventory in Inventory Server. Everyone should have these vars set to their default values except me!
2009-04-05 03:27:50 +00:00
Adam Frisby
9a4192d14e
* Fixed copyright headers on HyperGrid source files. (Now match the rest of OpenSim, license text is unchanged)
...
* Added Bitmap[,] to IParcel for MRM
2009-04-05 02:51:10 +00:00
Homer Horwitz
8136cf4075
Thanks jonc, for a patch that adds rendering of classic clouds.
...
First part of Mantis #964 , the necessary clouds image will follow separately.
2009-04-04 15:43:02 +00:00
Homer Horwitz
7acec9860d
DST setting wasn't transferred to client, leading to wrong time display.
2009-04-04 14:26:35 +00:00
Homer Horwitz
c6283cacac
Remove some Mono warnings.
2009-04-04 14:26:24 +00:00
nlin
449bebf16e
Preliminary work to support ObjectSpin* packets when user invokes CTRL / SHIFT / MOUSE DRAG on a physical object
...
Addresses Mantis #3381
2009-04-04 13:13:14 +00:00
diva
7322e19212
Added one more delegate to Caps, and a few guards, so that these objects can be used from more than just Scenes. Added the NewFileAgentInvengory cap to HGInventoryService.
2009-04-03 16:08:07 +00:00
diva
86c753a6bd
More refactoring. This time extracting the client-side of RESTInterregionComms into a RegionClient class.
2009-04-01 23:35:48 +00:00
diva
2e54f277d1
One more bit of refactoring, so this can be used outside region code.
2009-04-01 22:42:44 +00:00
diva
6e368c4b59
Refactoring, no functional changes. Moved ChildAgentDataUpdate data structures from OpenSim.Region.Framework.Scenes back to OpenSim.Framework, so they can be referenced more broadly. This involved having to move the small Animation data structure to OpenSim.Framework too.
2009-04-01 19:50:09 +00:00
lbsa71
958d764172
* Upped trunk version number to 0.6.4 as we just tagged 0.6.4-release
2009-04-01 19:44:46 +00:00
Melanie Thielker
76ca096384
Add a PIDFile in [Startup], which the PID will be written to
2009-04-01 12:13:42 +00:00
lbsa71
0266c344fb
* Added NUnit tested utility function GetHashGuid() for future use.
...
* Did some aligning refactoring of the MD5 and SHA-1 functions.
2009-04-01 06:11:51 +00:00
diva
d4f6750f82
Added AllowLoginWithoutInventory to LoginService, to be overwritten in subclasses. Default is false. HGLoginAuthService sets it true. Better error handling dealing with inventory service faults.
2009-04-01 01:18:21 +00:00
lbsa71
fb9a358b79
* Refactored out and de-duplicated Base64ToString(string)
...
* Fixed minor typo
2009-03-31 05:51:28 +00:00
Jeff Ames
54ccca1e2c
Update svn properties, add copyright header, formatting cleanup.
2009-03-31 02:00:33 +00:00
diva
b73ce1143a
Adds support at the inventory server for direct inventory manipulation from authorized clients using capabilities. Provided keys are verified with the designated authority. The added code is only executed for clients following HGLoginAuth procedure or similar. It does not remove any existing behavior.
2009-03-30 19:35:55 +00:00
diva
4cbf963354
HGInventoryService now uses the actual authority portion of the user's key to verify the key.
2009-03-30 19:26:25 +00:00
diva
6957803759
Sigh. Manual data typing grief.
2009-03-30 17:34:36 +00:00
Melanie Thielker
f88d755f96
Add PickInfoReply packet.
...
Fixes Mantis #3324
2009-03-30 11:51:34 +00:00
diva
c3e604c46c
Added Authorization client code that interfaces with HGLoginAuthService. Improved error handling in HGLoginAuthService. Instrumented HGInventoryService so that it can interface both with local and remote user and asset services.
2009-03-29 23:39:00 +00:00
diva
f7eac63e01
Another bit of refactoring to try to make sense of OpenSim.Framework.Communications. Everything that looks like a service, with service handlers, moved to .Services -- i.e. LoginService and Response, and GridInfoService. The rest of the changes were to adapt to the new locations of those files.
2009-03-29 22:04:45 +00:00
diva
08732b65be
Moved some files around, so that it's easier to share code between standalone and the grid services. Should not affect any functionality.
2009-03-29 20:29:13 +00:00
Melanie Thielker
03063375ee
Add AcceptNotices member to GroupMembershipData and an overload to
...
IGroupsModule interface
2009-03-29 11:18:45 +00:00
Melanie Thielker
c483206fd7
Change the client API to use GridInstantMessage for the "last mile" of IM
...
sending. With this change, all methods that handle IM now use GridInstantMessage
rather than individual parameters.
2009-03-29 05:42:27 +00:00
Melanie Thielker
404bfdc9a6
Finish the offline IM module (still needs a server). Add rudimentary
...
support for the mute list (no functionality yet, but allows the
RetrieveInstantMessages event to fire now).
2009-03-29 00:48:34 +00:00
Melanie Thielker
4f6c4378da
Add mute list request event and dummy response
2009-03-28 04:21:44 +00:00
Teravus Ovares
f5812b3702
* Adds AgentUUIDs into the CourseLocationUpdate to improve compatibility with LibOMV based clients.
...
* Modifies the IClientAPI! So client stacks will need to be modified!
2009-03-28 01:40:33 +00:00
Melanie Thielker
cbef90fec6
Add the events needed for profiles.
...
Fixes Mantis #3324
2009-03-27 22:47:41 +00:00
Teravus Ovares
52c482a7a7
* This updates LibOMV to the current release 0.6.0 on March 19 2009
...
* Important: HttpServer.dll was changed to HttpServer_OpenSim.dll so that the HttpServer references do not conflict if you've copied the OpenMetaverse.Http.dll and requirements to the OpenSimulator bin folder.
This means that if you reference HttpServer.dll in any projects, you will need to change the reference to HttpServer_OpenSim.dll. It still uses the Same HttpServer namespace though.
2009-03-27 22:13:09 +00:00
diva
bce5ed5812
Moved a method GetDefaultVisualParameters from Scene to AvatarAppearance, where it belongs. Better error handling in ScenePresence.CopyFrom.
2009-03-27 20:18:55 +00:00
Melanie Thielker
37e81c7d54
Remove a hardcoded flow/dependency on the money module from LLCLientView
2009-03-27 18:51:45 +00:00
Justin Clarke Casey
561f241564
* minor: move RegionSettingsSerializer into OpenSim.Framework.Serialization
2009-03-27 18:13:34 +00:00
diva
6b9125b319
Added the hg login procedure to the user server.
2009-03-27 16:23:52 +00:00
diva
f2b8691c9c
Forgot to comment an unnecessary log message on my last commit.
2009-03-26 22:21:39 +00:00
diva
a423b3060b
Notecard updates bypassing the regions. (HGStandalone only)
2009-03-26 22:17:57 +00:00
Justin Clarke Casey
6ffed09682
* Fix build break - went a const or two too far
2009-03-26 20:15:36 +00:00
Justin Clarke Casey
7e40315d5d
* minor: change some static readonlys to consts
...
* adjust user profile iar saving path
2009-03-26 20:09:12 +00:00
Justin Clarke Casey
3f1ec6334f
* Fix build break from last commit
2009-03-26 17:30:43 +00:00
Justin Clarke Casey
93b26f8933
* iars: Serialize information about item creators to archive
2009-03-26 17:25:12 +00:00
diva
28d9a73521
Small refactoring in Caps, no functional changes.
2009-03-26 16:05:00 +00:00
lbsa71
3ca1481c3d
* Minor fixes, inverted an if for readability and introduced a virtual pre-process step on the asset cache
2009-03-26 06:56:10 +00:00
Sean Dague
6323516a83
* Appearance patches suite: These patches are applied to allow libomv bots to wear outfits in the future.
...
This functionality will be upstreamed later.
** Fixed call of new AvatarAppearance without arguments, which caused bots look like clouds of gas
** Added a SendAvatarData in ScenePresence.SetAppearance, which is expected after SetAppearance is run
** Fixed AssetXferUploader: CallbackID wasn't being passed on on multiple packets asset uploads
** Set VisualParams in AvatarAppearance to stop the alien looking bot from spawning and now looks a little better.
*** TODO: Set better VisualParams value then 150 to everything
2009-03-25 20:15:46 +00:00
Dr Scofield
0bb3d2e6d7
cleanup
2009-03-25 07:36:56 +00:00
Justin Clarke Casey
64341fc965
* minor: remove a couple more compiler warnings
2009-03-24 20:57:02 +00:00
diva
c7d0e4ffc1
Added the login region's http to the login response.
2009-03-24 18:56:32 +00:00
Dr Scofield
b5f6aa6ff2
From: Alan Webb <alan_webb@us.ibm.com>
...
Changes to AssetCache and DynamicTextureModule to eliminate
opportunities for lost texture updates.
2009-03-24 08:21:50 +00:00
diva
ec07baa8c0
Preparing the loginauth service for gridmode logins.
2009-03-24 02:28:17 +00:00
Melanie Thielker
412112acba
Committing partial work on passing folders across instances. This may crash.
2009-03-23 00:11:34 +00:00
Melanie Thielker
48e87b6448
Make single item inventory gives work across regions
2009-03-22 18:25:04 +00:00
Melanie Thielker
e6bb86a224
Add QueryItem method to secure inventory and HG inventory, change method sig to
...
provide additional information the HG needs.
2009-03-22 15:42:22 +00:00
Melanie Thielker
73a982babe
Fox a null ref in the inventory give module
2009-03-22 15:19:43 +00:00
diva
9489ad57f9
Moving the LoginAuth service up, so that it can be shared among standalones and the User Server.
2009-03-22 04:39:16 +00:00
diva
09732b4d5d
Initial support for authentication/authorization keys in UserManagerBase, and use of it in HGStandaloneLoginService (producer of initial key for user, and of subsequent keys) and HGStandaloneInventoryService (consumer of a key).
...
Keys are of the form http://<authority>/<random uuid>
and they are sent over http header "authorization".
2009-03-21 20:16:35 +00:00
Melanie Thielker
1121a214b9
Add a QueryItem method to the inventory subsystem. Currently implemented for
...
MySQL only, stubs for the others. This allows updating the cache with a single
item from the database.
2009-03-21 17:46:58 +00:00
lbsa71
613201e220
* Normalized and pulled GetInventorySkeleton up.
2009-03-20 17:25:12 +00:00
lbsa71
feaa645071
* De-duplicated login service some more
...
* Normalized m_inventoryService
* Pulled AddActiveGestures up
2009-03-20 06:49:12 +00:00
diva
2a76b2a417
Moving GetInventoryItem up to InventoryServiceBase, since this seems like a pretty fundamental function.
2009-03-19 21:43:35 +00:00
Justin Clarke Casey
8f1844665b
* Group OpenSim.Framework.Servers interfaces together
2009-03-19 19:21:17 +00:00
Justin Clarke Casey
bd2180d9af
* refactor: Create IHttpServer interface instead of accessing BaseHttpServer via CommunicationsManager directly
2009-03-19 18:11:44 +00:00
Justin Clarke Casey
b05be5b06b
* Lock http handlers dictionary in other places as well to avoid race conditions
...
* No adverse effects on a quick multi-machine grid test
2009-03-19 17:07:00 +00:00
Justin Clarke Casey
1e6056c24b
* Add necessary locking to BaseHttpServer.RemoveHTTPHandler()
2009-03-19 16:51:21 +00:00
Justin Clarke Casey
eb0c369409
* Add documentation to BaseHttpServer.AddHTTPHandler()
2009-03-19 16:41:23 +00:00
diva
a7d610ffcc
Adds support for unlink-region command in hypergrid.
2009-03-18 16:37:26 +00:00
Mike Mazur
f28886e26d
Rename OpenSim.Framework.Archive to OpenSim.Framework.Serialization
...
Update using statements and prebuild.xml. Also trim trailing whitespace.
2009-03-16 00:12:25 +00:00
Melanie Thielker
ddbf81fa07
Thank you, mcortez, for a patch that fixes a number of long standing
...
issues with the sun module.
Fixes Mantis #3295
2009-03-13 23:45:02 +00:00
Justin Clarke Casey
c04e7cdf2b
* Support loading empty folders in an iar
2009-03-13 20:46:53 +00:00
Justin Clarke Casey
6573e2ee2f
* Remove asset cache size and texture stat reports from ASSET STATS since these are now inaccurate
...
* Correct count of assets in cache
2009-03-13 18:36:24 +00:00
Mike Mazur
4a21d92668
Mark AssetBase.Metadata with [XmlIgnore]
2009-03-13 05:58:32 +00:00
Jeff Ames
fb258c5ed9
Update svn properties, formatting cleanup.
2009-03-12 15:28:30 +00:00
lbsa71
33f511ee4b
* Another stab at refactoring up the CustomiseResponse function. Two fixes:
...
* Sometimes, null is a valid return value to indicate 'none found'. doh.
* Sometimes, the Grid server does not send simURI - this you need to reconstruct yourself. Euw.
(I believe) this solves mantis issue #3287
2009-03-12 10:50:59 +00:00
Mike Mazur
7b2977d625
Move ArchiveConstants to OpenSim.Framework.Archive
...
- move a couple constants from InventoryArchiveConstants to
ArchiveConstants, now only one of these is needed
- change InventoryArchiveConstants references to ArchiveConstants
- remove InventoryArchive AssetInventoryServer plugin dependency on
OpenSim.Region.CodeModules
- trim trailing whitespace
2009-03-12 06:04:17 +00:00
Mike Mazur
f784620780
Moving TarArchive to OpenSim.Framework.Archive
...
We now build OpenSim.Framework.Archive.dll which aims to contain code
used for archiving various things in OpenSim. Also remove trailing
whitespace.
2009-03-12 06:03:59 +00:00
diva
4eba67175d
Minor bug fix. Thanks daTwitch.
2009-03-12 01:43:22 +00:00
lbsa71
2133d35831
* Reverted r8750 to do another round of debugging on mantis #3287
2009-03-11 19:19:48 +00:00
Justin Clarke Casey
2e6e0cee28
* fix build break
2009-03-11 18:21:47 +00:00
Justin Clarke Casey
acad0328b2
* Make all coded defaults match settings in OpenSim.ini.example
...
* In most cases, the setting in OpenSim.ini.example is taken as the canonical one since this is the file virtually everyone ends up using
* OpenSim will start up with a blank OpenSim.ini, in which case sqlite is the default database (as before)
2009-03-11 18:02:22 +00:00
Justin Clarke Casey
dd28d6ceeb
* minor: reduce some code duplication in BaseHttpServer
2009-03-10 18:22:46 +00:00
Dr Scofield
c6415ef71d
fixing out-of-sync error in BaseHttpServer
2009-03-10 15:51:17 +00:00
lbsa71
0df0258087
*** POTENTIAL BREAKAGE ***
...
* Finally got to the point where I could pull up the CustomiseResponse function. Major de-duplication.
* Introduced FromRegionInfo on RegionProfileData
* This revision needs both grid and standalone testing galore.
Work in progress!
2009-03-10 12:11:19 +00:00
lbsa71
1917238cd3
* Re-aligned CustomiseResponse function for imminent up-pulling
2009-03-10 11:47:34 +00:00
lbsa71
1b34b94331
* Refactored out Create() methods to ensure proper transformation between RegionProfileData and RegionInfo
...
* Created ToRegionInfo method, still not using it pending peer review.
* This is a preparatory commit for a subsequent login service refactoring.
2009-03-10 09:05:06 +00:00
Justin Clarke Casey
051096e8ae
* minor: remove some mono compiler warnings
2009-03-09 19:58:39 +00:00
Justin Clarke Casey
ae759f2d06
* Add basic asset cache get test
2009-03-09 19:40:32 +00:00
Justin Clarke Casey
1bf05a543c
* Move method documentation from AssetCache up to IAssetCache
...
* No functional changes
2009-03-09 18:35:26 +00:00
Justin Clarke Casey
5a6bc26600
* Address http://opensimulator.org/mantis/view.php?id=3207
...
* A saved archive now immediately expires the data in the asset cache that it used, rather than retaining all the assets (esp textures) in the cache.
* This is an imperfect solution. Ideally we would only expire the assets newly requested for the archive (not existing ones). But doing that would require a lot more
restructuring.
* I don't believe there are any locking issues due to the locking performed by the underlying memory cache, but please report any issues.
2009-03-09 17:55:08 +00:00
Sean Dague
a2ff2e9000
* Added TXXX in front of unit tests to make sure they are running in the correct order. Although it might not make a difference here, this pattern should be followed to avoid further issues.
...
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-03-09 15:20:36 +00:00
Mike Mazur
5bee29e036
Refactor login test class.
...
There were multiple tests in one test method (T011_Auth_Login). This
test has been refactored into multiple tests. Common setup code was
placed into a SetUp method executed before each test.
2009-03-09 08:07:12 +00:00
Mike Mazur
66120f5a40
Fix tests broken in r8732.
...
Recent changes in the code handling login_to_simulator XMLRPC method
calls caused two tests to fail because not enough parameters were being
supplied with the method call. The parameters added in this patch work,
but I'm not sure whether they are actually correct or even relevant.
Diva, please look over this.
2009-03-09 07:29:53 +00:00
diva
6f4051c932
Making the web_login_key code work, even if the LL Viewer doesn't support it. Other clients can launch the LL Viewer with something like this, for example:
...
Process.Start("C:\\Program Files\\SecondLife\\SecondLife.exe",
"-loginuri " + loginuri + "?web_login_key=" + web_login_key + " -login " + firstName + " " + lastName + " -multiple");
This requires a prior step for actually getting the key, which can be done like this:
http://localhost:9000/?method=login&firstname=barak&lastname=obama&password=123&show_login_form=FALSE
2009-03-08 23:17:49 +00:00
Teravus Ovares
5b8c925641
* Adding application/x-oar to the list of content types to which the HTTP Server will return the response as if it was a binary file pending discussion on the [opensim-dev] mailing list to be initiated by dmiles.
2009-03-07 06:14:31 +00:00
Sean Dague
08509d5cf2
* Protects RestClient from crashing with dictionary exception, which leads to the client thread crashing if uncaught.
2009-03-06 19:25:33 +00:00
Melanie Thielker
3ad2fef2d3
Prevent ICommander-generated subcommand trees from generating an exception
...
when the tree root command is executes without another verb following it.
Fixes Mantis #3258
2009-03-05 21:20:57 +00:00
Justin Clarke Casey
0de34e9a18
* remove now unused serialization code
2009-03-05 18:36:37 +00:00
Jeff Ames
d81bc4b5f2
Avoid NRE if client sends unrecognized packet type.
2009-03-03 17:39:57 +00:00
MW
84d6b02475
Renamed ILoginRegionsConnector to ILoginServiceToRegionsConnector and moved it from OpenSim.Client.Linden to OpenSim.Framework.
2009-03-03 16:36:21 +00:00
MW
171015f65f
Moved Linden protocol login handling to modules in OpenSim.Client.Linden. There are two region modules in there LLStandaloneLoginModule (for standalone mode) and LLProxyLoginModule (for grid mode which just handles incoming expect_user and logoff_user messages from the remote login server)
...
Changed OpenSim.Framework.Communications.Tests.LoginServiceTests to use the LLStandaloneLoginService (from the LLStandaloneLoginModule) rather than LocalLoginService. Really these login tests should most likely be somewhere else as they are testing specific implementations of login services.
Commented out the old LocalLoginService as its no longer used, but want to check there are no problems before it gets deleted.
2009-03-03 15:41:21 +00:00
MW
76133d0763
Refactoring of CreateCommsManagerPlugin.
...
Plus some general cleanup of a few other files (deleting excess blank lines etc)
2009-03-03 12:51:54 +00:00
MW
3c46ee9326
Moved the SetupScene methods from RegionApplicationBase to OpenSimBase [Do we really still need RegionApplicationBase?]
...
Added a flag (bool m_autoCreateLindenStack = true) which says if the ClientStack will be autocreated and initialised when creating regions. This helps with moving ClientStacks to Region modules.
Currently this flag is hardcoded to true, as it is only for testing at the moment, so you need to change the value in the code if you want to turn off auto creating.
2009-03-02 16:33:11 +00:00
Jeff Ames
808e4a847a
Update svn properties, add copyright headers, minor formatting cleanup.
2009-03-01 09:15:31 +00:00
MW
23a7af4538
Added check so Util.ReadSettingsFromIniFile doesn't try to set static fields.
2009-02-28 16:42:13 +00:00
MW
77b70759a6
Copied the Util.ReadSettingsFromIniFile method from the branch to trunk.
2009-02-28 16:13:20 +00:00
Sean Dague
cddaaf3e13
svn attribute fixes so that we can play nice between windows and linux
2009-02-26 22:54:50 +00:00
MW
756c517069
Added IRegionCreator interface that all ApplicationPlugins that are creators of Scenes should implement and register with the ApplicationRegistry.StackModuleInterface<>(); So that other plugins can attach to their OnNewRegionCreated event.
...
Made some changes to IRegistryCore and RegistryCore so they support "Stacked" interfaces.
2009-02-26 22:51:52 +00:00
MW
e2d30a0244
Moved the Initialisation of the CommunicationsManager to a ApplicationPlugin.
...
Also in that plugin it registers the IUserService with all the Scenes (as they are created). So now we can start changing over all uses of IUserService, that currently access it from the CommunicationsManager to accessing it from the Scene.RequestModuleInterface call.
Once that is done we can move the UserService creation out to its own plugin and remove all references to it from the CommunicationsManager. Then we can take the next CommunicationsManager interface and repeat.
2009-02-26 21:30:12 +00:00
Sean Dague
57ab79e331
* Update ScenePresenceTests to reflect current REST communication workflow.
...
* Fixed an issue with AssetCache where it would break unit tests randomly.
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-02-26 21:29:16 +00:00
MW
5254c1dfa7
opps forgot to commit a changed file.
2009-02-26 20:18:29 +00:00
Melanie Thielker
ed2de7ac82
Plumb in the RetrieveInstantMessages event that is sent by the viewer
...
when it is ready to receive offline IM
2009-02-26 20:11:55 +00:00
MW
33e7c09b7b
Added IRegistryCore and RegistryCore to OpenSim.Framework.
...
Added a ApplicationRegistry to OpenSimBase.
Changed LoadRegionsPlugin so it registers itself to that application registry.
Added a event to LoadRegionsPlugin, that is triggered when it creates a new scene ,although maybe this event should actually be in opensimBase incase other plugins are creating regions (like the RemoteAdminPlugin).
2009-02-26 20:01:20 +00:00
MW
4db232763f
More refactoring of the Grid, User and Messaging servers.
2009-02-25 18:33:15 +00:00
Mike Mazur
72be38f7ae
Distinguish 404 errors in RestClient.Request().
...
Mantis #3225 .
2009-02-25 02:14:19 +00:00
Mike Mazur
bdf95e54a2
A few updates necessary for load balancer.
...
- handle GetUser request for nonexistent user gracefully
- include throttle levels in ClientInfo
- code to save/restore throttles in client stack
- only update/send updates to active clients
- make animation classes serializable
2009-02-25 00:32:26 +00:00
Adam Frisby
c2f3ff872d
* Performance Changes:
...
* Moves Entity Updates into a seperate thread, allowing for OpenSim to utilize a computers CPU more effectively in return for potentially greater user and prim capacity.
* Removes an expensive Sqrt call performed during Update on each object. This should lower CPU requirements for high-prim regions with physics enabled.
* MXP Changes: Centers the region around 0,0 for primitives instead of 128,128. Prim display should now look more correct for MXP viewers.
2009-02-23 06:55:42 +00:00
Charles Krinke
8f55b9d735
Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:
...
* Added log4net dependency to physxplugin in prebuild.xml.
* Added missing m_log fields to classes.
* Replaced Console.WriteLine with appropriate m_log.Xxxx
* Tested that nant test target runs succesfully.
* Tested that local opensim sandbox starts up without errors.
2009-02-22 20:52:55 +00:00
diva
99b051ccbe
Addresses some issues with appearance after TPs. Appearance.Owner was not being set, and that's what's being used in SendAppearanceToOtherAgent. Mantis #3204 .
2009-02-22 01:26:11 +00:00
lbsa71
fcb737c7f9
* Upping to interface version 3 - let's see how this goes.
2009-02-21 14:12:06 +00:00
Melanie Thielker
aaf8b07ecf
Allow entry of '?' in http URIs. If the field being typed begins with
...
"http", the ? is just an ordinary character in that field.
2009-02-21 11:48:50 +00:00
lbsa71
1cadad9ec6
* Applied a patch that: Added estate ban table to migration scripts and nhibernate mapping. Refactored property getters and setters for estate ban object to support NHibernate.
...
* Added estate ban table to migration scripts of all supported databases.
* Added nhibernate mapping for EstateBans property of EstateSettings
* Refactored property accessors for EstateBan object.
* Added comments for EstateBan properties.
* Ensured that NHibernate tests pass with NUnitGUI.
* Ensured that nant test target passes.
This fixes mantis #3210 . Thank you, tlaukkan!
2009-02-21 09:39:33 +00:00
Jeff Ames
7a649a758d
Add copyright headers. Minor formatting cleanup.
2009-02-21 03:32:25 +00:00
Jeff Ames
b515645151
Update svn properties.
2009-02-21 03:00:17 +00:00
lbsa71
2e095f5727
* Upped VersionInfo to 0.6.3 and in the process, changed assemblyinfo to 0.6.3.* to better track down dll ref and overwrite problems.
2009-02-20 16:47:31 +00:00
Justin Clarke Casey
01f70de2ea
* Consistently lock part.TaskInventory as pointed out in http://opensimulator.org/mantis/view.php?id=3159
...
* Not locking causes enumeration exceptions as described in this matis
* part.TaskInventory needs to be locked for every access as it's a dictionary
* Extra locking will hopefully not cause any major issues - in places where the enumeration of the dictionary performs other lock or long running operations, the dictionary is
cloned instead
2009-02-20 14:04:29 +00:00
diva
33330297d6
THE BIG ANTI-REMOTING SCHLEP -- StartRemoting is no more. Sims in older versions will have a hard time communicating with sims on this release and later, especially if they haven't transitioned to RESTComms at all.
...
There's still some cleanup to do on assorted data structures, but the main functional change here is that sims no longer listen on remoting ports.
2009-02-20 03:39:50 +00:00
lbsa71
5e39e515f9
* Another stab at removing AssetServer.exe dependencies
2009-02-20 02:26:27 +00:00
diva
e725e485fa
This moves the 2 friends-related interregion messages out of OGS1 and into the FriendsModule. No functional changes. Those messages were sent over XMLRPC, and that's how it continues to be for now. Just moving this couple of interregion messages out of OGS1, in preparation for the big shlep ahead.
2009-02-20 00:18:18 +00:00
lbsa71
b99d9bdeb1
* Reverted the AssetServer fix, apparently something was dependent on IAssetDataPlugin being in OpenSim.Data
2009-02-19 19:32:53 +00:00
lbsa71
1bcc489f5b
* Moved the AssetStreamHandlers to OpenSim.Framework.Servers
...
* And there, all refs to OpenSim.Grid.AssetServer.exe gone.
/me takes a bow.
2009-02-19 19:04:51 +00:00
lbsa71
b5502ef3c3
* Extracted IAssetData and moved it to OpenSim.Framework to prepare to get rid of ugly CoreModules dependency on AssetServer.exe
...
* And yes, the IAssetDataPlugin is misnomed, which became apparent on extracting it.
2009-02-19 18:40:32 +00:00
Justin Clarke Casey
4550093353
* Fix http://opensimulator.org/mantis/view.php?id=3193
...
* Make it possible once again to set a console log level threshold in OpenSim.exe.config
2009-02-19 17:57:40 +00:00
lbsa71
5af465a364
* Changed all AssemblyInfo to explicit version 1.0.0.0 to not confuse poor poor Nant. We probably should take the opportunity to let the non-module bins reside in their /bin/Debug dirs later.
2009-02-19 14:51:33 +00:00
Melanie Thielker
863556f2cc
Thank you, Snowdrop, for a patch that makes the callback ID parameter
...
usable. Applied with formatting changes, please don't introduce
K&R style indentations into OpenSim
Fixes Mantis #3190
2009-02-19 03:09:56 +00:00
Sean Dague
8ed631307b
From: Alan Webb <awebb@linux.vnet.ibm.com>
...
I've changed the extension point name, and the internal references that
used the same string. I also fixed up the messaging around the asset
loader so that it is more explicit.
2009-02-18 13:15:07 +00:00
diva
3f25128e77
Adds support for preserving animations on region crossings and TPs.
...
Known issue: after TP, the self client doesn't see the animations going, but others can see them. So there's a bug there (TPs only, crossings seem to be all fine).
Untested: did not test animation overriders; only tested playing animations from the viewer.
2009-02-18 01:49:18 +00:00
Justin Clarke Casey
d03c32aa69
* Allow inventory archives to be saved from the 'root' inventory directory
...
* Reload doesn't currently obey structure information
* Not yet ready for use
2009-02-17 18:46:42 +00:00
Justin Clarke Casey
229b69e044
* Establish InventoryArchiveSaved event for unit tests
...
* This is done on the inventory archiver module directly rather than Scene.EventManager - the module seems the more appropriate location
2009-02-17 15:39:18 +00:00
lbsa71
93465df5e3
* Moved the nifty MySQLEstateData connectionstring password-stripper out into the Util project
2009-02-17 14:12:57 +00:00
Melanie Thielker
3130784934
Re-add the objectID field to the anim pack, that was deemed unneccessary
...
and dropped nonths ago, because it is required to get smooth region
crossings with AO running. Without it, in some corner cases, anims will
continue to run in an unstoppable state.
2009-02-17 04:16:42 +00:00
Mike Mazur
76c0935ec7
- remove the Metadata property from AssetBase and return all previous
...
properties as before
- prefix private variables with m_ in AssetBase.cs
- related to Mantis #3122 , as mentioned in
https://lists.berlios.de/pipermail/opensim-dev/2009-February/005088.html
- all services will likely need to be upgraded after this commit
2009-02-17 01:36:44 +00:00
diva
7cc9062137
Major change to how appearance is managed, including changes in login and user service/server. Appearance is now sent by the user service/server along with all other loginparams. Regions don't query the user service for appearance anymore. The appearance is passed along from region to region as the avie moves around. And, as before, it's stored back with the user service as the client changes the avie's appearance. Child agents have default appearances that are set to the actual appearance when the avie moves to that region. (as before, child agents are invisible and non-physical).
2009-02-17 00:35:52 +00:00
Sean Dague
f4bec00057
From: Alan Webb <awebb@linux.vnet.ibm.com>
...
The change makes two principal implementation changes:
[1] It removes the hard coded set of possible asset server client
implementations, allowing any arbitrary implementation that has been
identified to the PluginLoader as an appropriate extension. The
extension point for asset server client extension
is /OpenSim/AssetServerClient. All of the old configuration rules have
been preserved, and any of the legacy configuration values will still
work as they did before, except the implementation is now loaded as a
plug-in, rather than as a hard-coded instantiation of a specific class.
The re-hashing of IAssetServer as an extension of IPlugin made upgrading
of the implementation classes a necessity.
Caveat: I have not been able to meaningfully test the crypto-grid
clients. I believe they should work correctly, but the refactoring
necessary to handle plug-in based initialization (vs constructor-based
initialisation) admits the possibility of a problem.
[2] The asset cache implementation, previously introduce as a hard-code
class instantiation is now implemented as an IPlugin. Once again the
previous (configurationless) behavior has been preserved. But now it is
possible for those interested in experimenting with cache technologies
to do so simply by introducing a new extension for the asset cache
extension point (/OpenSim/AssetCache).
I've tested all of the configuration settings, after applying the patch
to a newly extracted tree, and they seem to work OK.
2009-02-16 12:20:31 +00:00
Mike Mazur
5277fc64c0
- change AssetInventoryServer config from XML to INI
...
- convert AssetInventoryServer logging to OpenSim's log4net
- updated AssetInventoryServer.ini.example file
2009-02-16 02:27:43 +00:00
Mike Mazur
529dd66ed0
- remove dependency on ExtensionLoader.dll (DBConnString.cs can go)
...
- bring config system in line with other servers
- add new plugin filter class which filters on ID
- update AssetInventoryServer.ini file
2009-02-16 02:27:34 +00:00
diva
217ffee8cb
Moved RegionUp to REST/LocalComms. The original functionality has been entirely maintained, although it will have to be revisited soon, because it's buggy.
2009-02-14 16:37:55 +00:00
Melanie Thielker
a8f3d625cb
Guard the values used to set the cursor position in the real time console
2009-02-13 20:49:23 +00:00
Justin Clarke Casey
88b273bc71
* refactor: Move export map function to world map module from scene
2009-02-13 16:43:20 +00:00
Jeff Ames
163c1026d1
Fix some compiler warnings. Minor formatting cleanup.
2009-02-13 02:52:08 +00:00
Sean Dague
5959e42683
large scale fix for svn props after "the great refactor"
2009-02-12 18:59:45 +00:00
Justin Clarke Casey
6db1f3c6a6
* Lock remaining m_rpcHandlers use since these accesses are not guaranteed to be thread safe
2009-02-12 18:54:48 +00:00
Justin Clarke Casey
d29e0498ff
* Apply http://opensimulator.org/mantis/view.php?id=3138
...
* Adds a GetXmlRPCHandler() to the BaseHttpServer
* Thanks mpallari
2009-02-12 18:01:29 +00:00
Justin Clarke Casey
31ca3a8d4d
* refactor: Move RequestInventoryForUser() from service to CachedUserInfo
...
* This simplifies callers in most cases - CachedUserInfo is already handling the rest of the fetch inventory work anyway
2009-02-12 17:07:44 +00:00
lbsa71
801da4346a
* optimized usings.
2009-02-12 09:53:12 +00:00
diva
b6e7e5ed42
Enforce estate bans on Teleports.
2009-02-11 21:07:41 +00:00
Justin Clarke Casey
8645c7482d
* Change SendBulkUpdateInventory from two methods to one which accepts an InventoryNode
2009-02-11 19:57:45 +00:00
Justin Clarke Casey
e12981ef1b
* Establish a common InventoryNodeBase class from InventoryItemBase and InventoryFolderBase
2009-02-11 19:29:59 +00:00
Melanie Thielker
9bfbfa381a
Add proper handling for shared vs. unshared modules to the command
...
interface. Shared modules will now only get added once, so the command
handler is called once per module, not once per scene. Removal of scenes
has no adverse effects. Nonshared modules will be called for each scene.
2009-02-10 23:15:48 +00:00
Melanie Thielker
87f328bd30
Change the command parser and resolver to be able to disambiguate commands
...
that are a prefix of another command. Fixes "terrain load"
Fixes Mantis #3123
2009-02-10 14:39:04 +00:00
Melanie Thielker
a1393db7f0
Stopgap measure: To use gridlaunch, or GUI, start opensim with
...
OpenSim.exe -gui=true
2009-02-10 12:25:29 +00:00
Jeff Ames
a3d14832af
Update svn properties, minor formatting cleanup.
2009-02-09 22:49:05 +00:00
Sean Dague
b7cc4d73b7
oops, missing file from last patch set
2009-02-09 22:04:43 +00:00
Sean Dague
8088802c21
From Alan Webb <awebb@linux.vnet.ibm.com>
...
These changes replace all direct references to the AssetCache with
IAssetCache. There is no change to functionality. Everything works as
before.
This is laying the groundwork for making it possible to register
alternative asset caching mechanisms without disrupting other parts of
OpenSim or their dependencies upon AssetCache functionality.
2009-02-09 21:47:55 +00:00
Justin Clarke Casey
a034b640da
* Add the ability to type help <command> for more detailed help about a specific command if any is available
2009-02-09 20:52:04 +00:00
Justin Clarke Casey
d1d93fae6c
* Restore show information for the OpenSim region server (version, info, threads, etc.)
2009-02-09 18:11:09 +00:00
Justin Clarke Casey
eddcf620d8
* Apply http://opensimulator.org/mantis/view.php?id=3080
...
* Changes the NHibernate asset mapping and expose FullID on AssetBase for NHibernate
* mikem has seen this patch :)
2009-02-09 17:31:03 +00:00
Mike Mazur
369eef5fcd
The DataPluginFactory is now a set of generic methods instead of
...
multiple duplicates of the same code.
2009-02-09 00:33:44 +00:00
Melanie Thielker
e4ab15ccb1
Fix a .NET issue where changing a locked reference would cause a crash
2009-02-07 15:51:00 +00:00
Melanie Thielker
54c6a920ba
Replace the console for all OpenSim apps with a new console featuring command
...
line editing, context sensitive help (press ? at any time), command line
history, a new plugin command system and new appender features thet let you
type while the console is scrolling. Seamlessly integrates the ICommander
interfaces.
2009-02-07 12:25:39 +00:00
Dr Scofield
9b66108081
This changeset is the step 1 of 2 in refactoring
...
OpenSim.Region.Environment into a "framework" part and a modules only
part. This first changeset refactors OpenSim.Region.Environment.Scenes,
OpenSim.Region.Environment.Interfaces, and OpenSim.Region.Interfaces
into OpenSim.Region.Framework.{Interfaces,Scenes} leaving only region
modules in OpenSim.Region.Environment.
The next step will be to move region modules up from
OpenSim.Region.Environment.Modules to OpenSim.Region.CoreModules and
then sort out which modules are really core modules and which should
move out to forge.
I've been very careful to NOT BREAK anything. i hope i've
succeeded. as this is the work of a whole week i hope i managed to
keep track with the applied patches of the last week --- could any of
you that did check in stuff have a look at whether it survived? thx!
2009-02-06 16:55:34 +00:00
Justin Clarke Casey
732cd838b1
* Make existing module commanders register as help topics
...
* Typing help will now give a list of these topics at the top (as well as the rest of the current help stuff)
* Typing help <topic> will give information about commands specific to that topic
2009-02-05 21:35:59 +00:00
Justin Clarke Casey
a1da605706
* Introduce a new "default" option for asset_database in the [STORAGE] section
...
* This option makes OpenSim use the usual db based asset service in standalone, and the grid based one in grid mode
* The other options can (local, grid, etc) can still be used explicitly as before
* Also change OpenSim.ini.example and the surrounding explanative text
2009-02-04 18:56:12 +00:00
diva
cf1fd7de4a
Closing the requestStream and setting a 10 sec timeout for getting it.
2009-02-04 13:13:47 +00:00
Mike Mazur
0c03a48fb2
- add OpenSim.Framework.AssetMetadata class. AssetBase is now composed of it
...
- trim trailing whitespace
2009-02-04 00:01:36 +00:00
Mike Mazur
d259238c74
- moved data plugin loading code from various places to
...
OpenSim/Data/DataPluginFactory.cs
- removed dependencies on a few executable assemblies in
bin/OpenSim.Data.addin.xml
- trim trailing whitespace
2009-02-03 05:20:44 +00:00
Mike Mazur
d3eae4073e
- move OpenSim/Framework/IUserData.cs to OpenSim/Data/IUserData.cs
...
- trim trailing whitespace
2009-02-03 05:20:35 +00:00
Mike Mazur
9377c6f2b2
- move OpenSim/Framework/IInventoryData.cs to
...
OpenSim/Data/IInventoryData.cs
- trim trailing whitespace
2009-02-03 05:20:26 +00:00
Mike Mazur
e12b0a2496
- move IAssetDataPlugin from OpenSim/Framework/IAssetProvider.cs to
...
OpenSim/Data/IAssetData.cs
- remove some trailing whitespace
2009-02-03 05:20:16 +00:00
Mike Mazur
f8e45e8e98
Rename IAssetProviderPlugin to IAssetDataPlugin aligning with the other data plugins.
2009-02-03 05:20:03 +00:00
diva
4db9373b29
Oops. Forgot a try-catch on the last commit.
2009-01-31 01:59:05 +00:00
diva
26f99de45d
Fixes mantis #3061 . Thanks Hallow Palmer for diagnosing the issue so well. I bet this inconsistency happens a lot out there.
2009-01-31 00:28:51 +00:00
idb
ea6e4a95ce
Complete the implementation of llSHA1String.
2009-01-29 19:47:55 +00:00
Mike Mazur
7aa216d574
Slight cleanup of docs, removing trailing whitespace.
2009-01-28 01:55:45 +00:00
Justin Clarke Casey
dbd2b45233
* Write a simple archive loading test which doesn't actually do any testing yet apart from not blow up
2009-01-23 20:38:44 +00:00
Justin Clarke Casey
664f983943
* Extend archive test to check for the presence of a control file in a saved archive
2009-01-23 19:24:36 +00:00
Charles Krinke
bcc7a8f09c
Fixes Mantis #3032 . The VersionInfo.cs file was not updated from 0.6.1 to 0.6.2 with the last minor release and shows incorrectly on the console. This will resolve itself on the next svn update.
2009-01-22 15:57:47 +00:00
Justin Clarke Casey
37fa677548
* refactor: Extract caps related code from scene and put into a region module
...
* No functional changes in this revision
2009-01-21 21:14:17 +00:00
Mike Mazur
0e7aac0f65
- remove extra "; in http_loginform.html.example; fix issue 3025
...
- sync up default HTML generated in LoginService.cs with that in
http_loginform.html.example
2009-01-21 10:20:32 +00:00
Mike Mazur
792ebca5f3
Set request method for REST requests with no input.
2009-01-21 02:29:56 +00:00
Dahlia Trimble
e94d862db2
Removed some of the darker colors from console messages as they were not visible in some terminal emulators (like putty)
2009-01-20 10:09:16 +00:00
Sean Dague
280ba00c68
oops hash codes can be negative, account for that
...
From: Sean Dague <sdague@gmail.com>
2009-01-19 21:38:31 +00:00
Sean Dague
c81395593d
added display of exception
...
From: Sean Dague <sdague@gmail.com>
2009-01-19 21:38:25 +00:00
Sean Dague
0f289ca405
change the appender to have a few more colors, none of which are red
...
From: Sean Dague <sdague@gmail.com>
2009-01-19 21:38:16 +00:00
Teravus Ovares
8e01f75784
* Progressive texture patch + PriorityQueue put into the LLClient namespace.
...
* Updates LibOMV to r2362
2009-01-19 17:11:57 +00:00
Mike Mazur
92e6bbcd63
No longer append a "texture" parameter on texture asset requests. The
...
asset server doesn't check for the existence of this parameter since
r2744.
2009-01-19 02:30:51 +00:00
Justin Clarke Casey
eca6442bae
* Rig up enough infrastructure to actually perform a successful 'standalone' teleport unit test with checks that the scene presence disappeared from sceneA and appeared in
...
sceneB
* However, I'm not convinced that the actual process in the test completely reflects reality, and a lot of stuff had to be rigged up (which should get resolved over time)
2009-01-16 21:56:13 +00:00
Jeff Ames
23bd915ecd
Minor formatting cleanup, add copyright header.
2009-01-16 04:42:24 +00:00
Jeff Ames
5c310efb79
Update svn properties.
2009-01-16 04:23:10 +00:00
Justin Clarke Casey
d1456554f2
* Delete OpenSim/Framework/OpenJpeg for now, with Teravus' permission ;)
2009-01-15 21:37:22 +00:00
Johan Berntsson
a885d2a6ff
Added a primitive shape function for spheres
2009-01-14 07:16:03 +00:00
Melanie Thielker
1c3542303c
Change fake parcel ids to allow a Z coordinate. Change TP by lure
...
to also transmit and use a Z coordinate.
2009-01-13 23:29:54 +00:00
Justin Clarke Casey
1baa921463
* minor: remove some mono compiler warnings
2009-01-13 18:35:20 +00:00
Justin Clarke Casey
363054bb2c
* minor; Very minor non-functional tidy ups
2009-01-13 18:23:37 +00:00
Justin Clarke Casey
66637ad6e7
* minor: Add a couple of code comments about enabling httpserver logging
2009-01-13 16:56:10 +00:00
Justin Clarke Casey
ade107f04f
* Separate starting a client thread into a separate Start() method (which matches the existing Stop() and Restart() methods)
2009-01-12 19:37:56 +00:00
MW
3c9d57c11b
Added WearableItem class to the framework. This class can be used to: load from disk, create from code, or modify a existing Wearable item. Its not currently used by anything in trunk but is a handy utility class.
...
I'll be writing some instructions on its use as part of a more general article on various methods of creating better initial avatars for new users. Which will include some code samples, but as each grid has its own requirements, there will be no out of the box solution included.
2009-01-12 15:37:30 +00:00
Sean Dague
d770bea291
Enhanced LoginServiceTests to test for authentication and response
...
Expanded TestUserDataPlugin to cover new methods
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-01-12 15:33:56 +00:00
Melanie Thielker
7c7ea57c5c
Finish dwell sending, adding the forgotten method body.
...
Add UserInfo and a dummy reply to enable Hippo Viewer users to
disable IM logging (option was greyed out in OpenSim before)
2009-01-09 02:59:56 +00:00
Teravus Ovares
fcc3325f3b
* Adds the variables passed to the hashtable BaseHttpServer passes in.
...
* Null check on Sessions_report.
2009-01-08 22:01:57 +00:00
Justin Clarke Casey
a31792ee5c
* prune and regrade log messages relating to client login and logout
2009-01-06 21:39:55 +00:00
Justin Clarke Casey
31b0f07085
* Rename GetRandomCapsPath() to GetRandomCapsObjectPath() to fit in with terminology used elsewhere
...
* Last build break was probably a Bamboo failure - hopefully this should succeed
2009-01-06 18:26:27 +00:00
Justin Clarke Casey
498cd4f987
* Fix build break - forgot that I had renamed an argument
2009-01-06 18:12:22 +00:00
Justin Clarke Casey
715a776f7d
* Move common string aggregation for caps seed path to a method in CapsUtil
2009-01-06 18:06:53 +00:00
Justin Clarke Casey
e8dba51247
* Yeah, might just want to add the new class as well - sigh
2009-01-06 17:30:37 +00:00
Justin Clarke Casey
b1c2cb3d82
* minor: Move GetRandomCapsPath() to a CapsUtil class
2009-01-06 17:27:04 +00:00
Justin Clarke Casey
251387a391
* Remove unused CAPSService
2009-01-06 16:39:08 +00:00
Justin Clarke Casey
47a693ff1a
* remove mono compiler warnings
2009-01-06 15:26:30 +00:00
Justin Clarke Casey
b077723a20
* minor: remove some mono compiler warnings
2009-01-05 20:58:57 +00:00
Justin Clarke Casey
e7ac639f3a
* Centralize references to the well known blank texture 5748decc-f629-461c-9a36-a35a221fe21f to a constant in OpenSim.Framework.Util
2009-01-05 19:36:48 +00:00
Justin Clarke Casey
9d62dee531
* Add prereqs and usings required by the Windows compiler
2009-01-05 18:52:43 +00:00
Justin Clarke Casey
fcab408cc4
* Add seed cap check to login test
2009-01-05 18:30:56 +00:00
Justin Clarke Casey
0b07c9762b
* Simplify test code by always setting up mock 'in memory' user and inventory data plugins for every TestCommunicationsManager
...
* imo the gain in simplcity of test code outweighs the very small cost of setting up some stuff that some tests will never use
2009-01-05 18:00:53 +00:00
Justin Clarke Casey
04ffcce7ea
* Extend stub to test the successful login of a user on the local login service
...
* Test does not do authentication
2009-01-05 17:38:39 +00:00
Justin Clarke Casey
0b8d22ab54
* Check in login service tests beachhead
2009-01-05 16:30:35 +00:00
Melanie Thielker
7beb8a5abb
Plumb the remaining dwell packets
2009-01-03 20:45:33 +00:00
diva
19cb2cb395
Undoing the bump up of MajorInterfaceVersion number back to 2. This just doesn't work in practice!
2009-01-03 07:31:48 +00:00
diva
158de95bde
Another interregion comms change that will not work well with previous versions. This commit moves InformRegionOfChildAgent from OGS1 to RESTComms, effectively having the complete child agent life cycle over REST: create=POST, update=PUT, close=DELETE.
...
Additional changes include more functions in the IHyperlink interface, and some refactorings in the HG code for better reuse in RESTComms.
2009-01-03 07:05:33 +00:00
diva
1b7ce1c874
Plumbing for moving InformRegionOfChildAgent over to RESTComms: pack and unpack methods for AgentCircuitData. This code is not used yet.
2009-01-03 03:41:41 +00:00
Teravus Ovares
e9cef70f89
* Updates the sim stats module. Cleans out some of the rot.
...
* Adds a prototype web stats module which is disabled by default. It's functional with one report right now, however, the database structure may change, so I don't recommend enabling this to keep actual stats right now. I'll let you know when it's safe.
* Adds Prototype for ajaxy web content
* removed a warning or two.
2009-01-03 03:30:03 +00:00
diva
4144fd0eb2
Split agent updates into two messages: full update and position+camera update. They're both sent over HTTP PUT. The full update is sent on TPs, for now; later it will also be sent on region crossings.
2009-01-03 02:29:49 +00:00
diva
82700448f5
Some plumbing for additional agent update messages. Not used yet. Removed the compilation warnings on this file, and completed the packing/unpacking of AgentData (VisualParams, Anims and Groups).
2009-01-03 00:00:37 +00:00
Melanie Thielker
0138fdc5fd
Allow some values that are set in OpenSim.ini to be set from region config
...
XML as well.
2009-01-02 17:41:12 +00:00
diva
d8ebf2fc9d
Major changes in interregion communications. This breaks compatibility with older versions, and may result is all sorts of weirdnesses when interacting with sims in older versions. Changes:
...
- Introducing synchronous Teleports. Now the receiving region calls back the sending region after the client has been made a root agent there, that is, after client sends CompleteMovement to the destination.
- SendCloseAgent moved from OGS1 Remoting to RESTComms.
2009-01-01 19:42:24 +00:00
diva
fe20ff8072
Added http-method to the hashtable that gets passed to GenericHTTPMethods.
2008-12-31 18:26:31 +00:00
diva
f08f11fe60
Removing unnecessary null checks on structs in AgentsData pack/unpack.
2008-12-30 23:53:51 +00:00
Justin Clarke Casey
f0ea8eb534
* Implement saving of region settings in OAR files
...
* This means that you can now save terrain textures, water height, etc.
* Estate settings are not supported
* Older OAR files without these settings can still be loaded
2008-12-30 19:00:19 +00:00
Jeff Ames
2be0f7a6f0
Update svn properties, minor formatting cleanup.
2008-12-30 01:08:07 +00:00
diva
57518c3624
Merged the InterregionData that Melanie had placed there onto the existing ChildAgentDataUpdate. This commit involves a change in prebuild.xml, because ChildAgentDataUpdate uses OpenMetaverse.StructuredData. Still no use of this data structure, though. Crossing my fingers that this partial commit will compile ok...
2008-12-29 21:10:35 +00:00
Justin Clarke Casey
266d0fbaae
* Apply http://opensimulator.org/mantis/view.php?id=2927 with some changes
...
* This allows configuration of the assetset and library control file paths to be other than ./inventory/Libraries.xml and ./assets/AssetSets.xml
* This is controlled via the LibrariesXMLFile and AssetSetsXMLFile configuration settings in [StandAlone] in OpenSim.ini (in standalone)
and via the user and asset config xml files for grid mode
* Thanks to SirKimba for the patch
2008-12-29 16:56:48 +00:00
Teravus Ovares
e9411a4c59
* Eliminate a possible null reference from the LLSDLogin method.
2008-12-27 21:50:19 +00:00
Dahlia Trimble
a23e9a36a1
Substitutes the value of an environment variable if the value of a region configuration variable begins with a "$" character. Should be useful when moving region configs between hosts
2008-12-26 09:14:49 +00:00
Melanie Thielker
cce648244d
Add a few forgotten fields to interregion data
2008-12-25 23:33:49 +00:00
Melanie Thielker
23844a9073
Plumb the profile reply packets for picks, classifieds and notes
2008-12-25 20:28:13 +00:00
Melanie Thielker
318de200bd
Plumb in EventNotification* and EventGodDelete
2008-12-23 23:41:46 +00:00
Melanie Thielker
8e8abde7d4
Addinf InterregionData.cs IInterregionComms.cs and InterregionComms.cs
...
Creates a nonshared region module publishing IInterregionComms, to
send data of type InterregionData to another region directly.
2008-12-23 21:36:13 +00:00
Melanie Thielker
fc053a6af8
Plumb in the 4 missing classified events and the 3 packet methods
2008-12-23 18:16:30 +00:00
Justin Clarke Casey
cce1b096db
* refactor: Replace part of SceneObjectPart with the identical sound playing code in the SoundModule
2008-12-23 17:54:13 +00:00
Justin Clarke Casey
c1320112a9
* Add a method to allow friendship offers to a logged in client from an offline user directly from the server
2008-12-23 17:16:47 +00:00
diva
9af9f648ef
Small null check in DeregisterHandlers.
2008-12-21 02:25:14 +00:00
Teravus Ovares
119104e35b
* Re-implement packet tracking in IClientAPI so we can see what's going on in the client network in the simstats manager. This makes packets in per second, packets out per second, and unacked bytes work again in the simulator stats section.
2008-12-21 00:11:54 +00:00
Charles Krinke
b1d235a60c
Change VersionInfo.cs from 0.6.0 to 0.6.1 in preparation
...
for the 0.6.1 minor release.
2008-12-20 19:13:02 +00:00
Teravus Ovares
8f07f2e8b0
* A few more fixes to HttpServer.
...
* http://www.codeplex.com/webserver/WorkItem/View.aspx?WorkItemId=3110 fix erronious call to beginread that caused an exception which was caught and ignored (increase performance)
* Pass socket into httpclientcontectImp and call the disconnect + reuse method so the socket can be reused quicker (increase performance)
* Ensured that in every error scenario beginAccept is called (stability)
* Fixed header casing (standards compliance)
* Fixed Connection: close handling (standards compliance)
2008-12-20 15:09:01 +00:00
Teravus Ovares
4d26da545d
* ReCommit the OpenID patch with a few less dependencies.
...
* Removes all references to ASP.NET (System.Web.UI,*)
* Removes all references to System.Web.Mobile
2008-12-20 01:20:40 +00:00
Justin Clarke Casey
3a1b3ce32d
* Apply http://opensimulator.org/mantis/view.php?id=2810
...
* Fix set up of master avatar on a fresh OpenSim install
* Turns out we had started hashing the password too many times. Thanks jonc!
2008-12-18 15:59:48 +00:00
Teravus Ovares
a66657f155
* Tweak my previously mentioned nasty hack so it's a little less nasty
2008-12-18 13:17:54 +00:00
lbsa71
56f1b03cd0
* Added "show queues" command that shows throttling queues for all clients.
...
*** This only works for LLCLientView at the moment ***
2008-12-18 13:16:41 +00:00
Teravus Ovares
0f25e8298b
* Add a nasty hack to try and give the HttpServer a few extra lives until we dig more into what's causing it to stop listening.
2008-12-18 11:44:53 +00:00
lbsa71
68c53c6da0
* Caught unhandled IOException, and outputted it to log.
2008-12-18 11:39:24 +00:00