Commit Graph

8883 Commits (0374f1b144f3faf35da39e3925e8abd4b2a8bd04)

Author SHA1 Message Date
Teravus Ovares (Dan Olivares) 656de67d85 Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-09-10 00:31:32 -04:00
Teravus Ovares (Dan Olivares) dc3798ddc3 * Another Timer lock 2009-09-10 00:31:14 -04:00
Melanie 0034dd043f Many databases contain folders with invalid folder ID. Folder IDs are
supposed to be within -1 .. 22 and other values break inventory loading.
This patch fixes it and allows inventory to load. Invalid folder types
will be treated as ordinary folders.
2009-09-10 00:33:00 +01:00
Teravus Ovares (Dan Olivares) df9f80aabd Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-09-09 16:20:46 -04:00
Teravus Ovares (Dan Olivares) c605509da3 * Lock timers when Calling Start() and Stop() when the Thread Context is murky. This affects Mono only. 2009-09-09 16:20:19 -04:00
Diva Canto 5bf288745d De-hardcode default home locations on create user (standalone). 2009-09-09 11:02:31 -07:00
Justin Clark-Casey (justincc) 0cdec1fbc3 Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim 2009-09-09 18:11:02 +01:00
Justin Clark-Casey (justincc) bb1f64fe51 minor: suppress mono warning 0162 generated when comparing const RegionSize against a literal number 2009-09-09 18:09:23 +01:00
Justin Clark-Casey (justincc) 0683cf6e0d Add test to check behaviour if an iar is loaded where no user profile exists for the creators
Disable generation of temporary profiles for now, instead record loading user as creator
2009-09-09 18:03:49 +01:00
dr scofield (aka dirk husemann) 62358014ed reformatting. 2009-09-09 09:56:07 +02:00
dr scofield (aka dirk husemann) d8a787bd89 fix: unicode notecards not surviving script treatment (fixes #4119 ---
perhaps).
2009-09-09 09:56:07 +02:00
Melanie 5c606d0233 Thank you, mcortez, for a patch to fix errors in FlotsamCache and expand
functionality, adding console commands.
2009-09-08 21:31:09 +01:00
Justin Clark-Casey (justincc) 2bb2a0ec44 Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim 2009-09-08 17:50:45 +01:00
Justin Clark-Casey (justincc) b7256f2567 extend load iar test to loading into a deeply nested directory
correct bug associated with this
2009-09-08 17:42:07 +01:00
Justin Clark-Casey (justincc) 36a40e0295 refactor: change method argument name 2009-09-08 16:29:31 +01:00
Justin Clark-Casey (justincc) 46d64da830 minor: remove warning 2009-09-08 16:14:52 +01:00
Justin Clark-Casey (justincc) 76b21860e9 refactor iar name generation
slightly change the format of item archive names
2009-09-08 16:12:15 +01:00
Teravus Ovares (Dan Olivares) f0e2fd426b Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-09-08 04:43:17 -04:00
Teravus Ovares (Dan Olivares) 9a06056c9a * Fixes a 'take object from mega region' and rez it in a regular region.. and have it appear 5 regions over bug by limiting the stored position in the asset to Constants.RegionSize. The stored position in the asset gets overwritten anyway by the rezzing routine, but at least this way, there's no chance of the objects border crossing before the rezzing routine finishes. 2009-09-08 04:43:00 -04:00
dahlia 665cf0194a llRot2Euler() now returns angles -PI < angle < PI 2009-09-07 18:02:02 -07:00
dahlia 7a67b726d5 random drive-by maths optimization in llRot2Euler() and llEuler2Rot() 2009-09-07 17:12:17 -07:00
Justin Clark-Casey (justincc) fa1d79533e Only allow iar load/save if user is logged in to the region simulator 2009-09-07 19:57:44 +01:00
Justin Clark-Casey (justincc) 71f1628578 make oar module logging a little less noisy 2009-09-07 19:11:16 +01:00
Justin Clark-Casey (justincc) 10b075a33d change default iar filename 2009-09-07 18:42:53 +01:00
Justin Clark-Casey (justincc) b061f2a3b0 oops, disable T012_EstateSettingsRandomStorage() again since it does appear to fail occasionally 2009-09-07 18:39:23 +01:00
Justin Clark-Casey (justincc) 116933bee5 Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim 2009-09-07 18:26:53 +01:00
Teravus Ovares (Dan Olivares) 326c3ee14f * Enables Child Agents for all virtual regions in the region and their neighbors. There still may be issues with crossing into the mentioned neighbors of the virtual regions. This makes regions larger then 512x512 (3 virtual regions) display fully to clients.
* Uses a grid request multiple times, so the more regions are in the instance, the longer logging in takes.   Consider this temporary until there's a RegionInfo request similar to the MapItem Request.
2009-09-07 12:57:30 -04:00
Teravus Ovares (Dan Olivares) c4edefd9a0 minor: organizational
* Move the neighbor region lookup to another method from where it was before in EnableNeighbourChildAgents.
2009-09-06 21:26:59 -04:00
Melanie a6e2e94345 Thank you, StrawberryFride, for a hit-and-run patch to add authentication
and user services to MSSQL
2009-09-06 23:05:06 +01:00
Justin Clark-Casey (justincc) fc8efc1667 T012_EstateSettingsRandomStorage() which wasn't being run because the method was private
test appears to work, so method made public to run in tests
2009-09-06 22:09:19 +01:00
Justin Clark-Casey (justincc) 61c286f5d6 change iar load to make discrete inventory service requests rather than the cache 2009-09-06 22:07:35 +01:00
Justin Clark-Casey (justincc) 5640cac8e0 Add convenience functions to InventoryArchiveUtils for locating folders by assuming we're starting from the root
Change test methods to use convenience functions
2009-09-06 21:34:20 +01:00
Justin Clark-Casey (justincc) a92afe8dca change load iar test to use non-cache find item by path function 2009-09-06 21:26:27 +01:00
Justin Clark-Casey (justincc) d8316810a1 remove now unnecessary parts of save iar test 2009-09-06 21:20:41 +01:00
Teravus Ovares (Dan Olivares) 8797a82098 Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-09-06 16:15:20 -04:00
Justin Clark-Casey (justincc) 1cc0c94f79 remove warning 2009-09-06 21:15:18 +01:00
Teravus Ovares (Dan Olivares) 511bddc8bc * Moves another Legacy avatar inbounds check to Border 2009-09-06 16:15:06 -04:00
Justin Clark-Casey (justincc) 881051c8cc Convert iar write request to use inventory service requests rather than cache 2009-09-06 21:14:42 +01:00
Justin Clark-Casey (justincc) 766d775625 remove warning 2009-09-06 20:17:30 +01:00
Justin Clark-Casey (justincc) 79c22651d7 refactor: use direct scene reference in inventory archive read request 2009-09-06 20:16:56 +01:00
Justin Clark-Casey (justincc) 8616230fcf refactor: replace some uses of iar module reference with scene instead 2009-09-06 20:04:18 +01:00
Justin Clark-Casey (justincc) 304c78bbbb Temporarily re-enable save iar test by manually insert the item into the old cache during the test 2009-09-06 19:30:03 +01:00
Melanie 998624544c Addendum to last commit. With the last commit, some other code that should
have been in this commit slipped in. If the last heartbeat is more than
2 seconds ago, kill that thread and start a new one. Untested.
his commit adds support to let the first heartbeat complete unconditionally,
since it is almost always longer.
2009-09-06 16:14:45 +01:00
Melanie 67d9a6bcc1 Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim 2009-09-06 15:55:57 +01:00
Melanie dcebbc3f1b Remove the encryption from the IAuthenticationService interface. That
is too high up for that type of stuff. It needs to be at the
connector/handler level
2009-09-06 15:55:14 +01:00
Adam Frisby 5e4b7be712 * Typo in previous commit. 2009-09-06 21:53:03 +10:00
Adam Frisby 25313c2105 * Debugging why region loading is occurring so slowly on a setup with 64 regions in a Regions.ini (took 38 minutes on my test box) 2009-09-06 21:52:11 +10:00
Melanie bb1d4d23c4 Change the loader to actually load the user service data module 2009-09-06 04:44:08 +01:00
Melanie 2303945b4e Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim 2009-09-06 04:29:21 +01:00
Melanie 2a8f66b221 Revising the user account data interfaces. No user functionality yet 2009-09-06 04:28:42 +01:00
Diva Canto babe392709 uh-hum. It might help if I remembered to save the file. 2009-09-05 17:16:43 -07:00
Diva Canto 7d9d8eb90f This should get rid of the infinite loop upon looking up users/agents by UUID in grid mode. Grr. 2009-09-05 16:56:33 -07:00
Teravus Ovares (Dan Olivares) 8855c2e54c Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-09-05 03:00:50 -04:00
Teravus Ovares (Dan Olivares) 855fb58c96 * Moves ScenePresence SendCourseLocations to a delegate and provide a method to replace the delegate
* RegionCombinerModule replaces this delegate and distributes the CoarseLocationUpdates through the client connection in the region where the user would be if it was a separate region.
* Fixes Mini Map display on combined regions.
2009-09-05 02:58:35 -04:00
Diva Canto b6744a6566 Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-09-04 22:31:10 -07:00
Diva Canto c48ec97817 Fixed some long-standing issues with appearance in HG1. 2009-09-04 22:30:30 -07:00
Teravus Ovares (Dan Olivares) 2c09634aed Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-09-04 20:19:50 -04:00
Teravus Ovares (Dan Olivares) 016a648a30 * Fixes various quirks rezzing in virtual regions.
* Breaks up the Client event registrations in Scene into methods of similar event types.   The generic event registration registers all of the event types.
*Created symmetrical Un-Registration methods.
* Made the Registration and Unregistration methods public
* Hooks The events required for creating new prim and rezzing new prim into the proper scene.
2009-09-04 20:19:34 -04:00
Justin Clark-Casey (justincc) 7ca61e0174 Add ids to iar requests
Stop save iar test wrongly relying on thread pulsing (still disabled though)
2009-09-04 21:10:56 +01:00
Justin Clark-Casey (justincc) 4c560df8ac If running tests manually, fail immediately on error 2009-09-04 19:22:09 +01:00
Teravus Ovares (Dan Olivares) 50a9e01dfa * Last commit was a bit of a fail, it registered the root region for it's own permissions events again.
* This commit fixes that and does what the last one intended.
2009-09-04 04:41:43 -04:00
Teravus Ovares (Dan Olivares) d49ee1f8ab Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-09-04 04:26:14 -04:00
Teravus Ovares (Dan Olivares) f7861a6bad * Make the RegionCombinerModule also register to handle permissions for the virtual region scenes. 2009-09-04 04:25:56 -04:00
dr scofield (aka dirk husemann) f23f7b1fc4 preparing LandData seriali(s|z)ation into OAR [not yet functional] 2009-09-04 10:12:36 +02:00
Melanie 67f803c919 Add the new AuthStore to migrations. Update OpenSim.Server.ini 2009-09-04 08:10:05 +01:00
Melanie ac40c7a74c Fully implement unencrypted auth token operations 2009-09-04 07:48:09 +01:00
Teravus Ovares (Dan Olivares) b93f512433 * Fix for GetTerrainHeightAtXY to make it compatible when Constants.RegionSize isn't 256 2009-09-04 02:48:07 -04:00
Melanie 548f508044 Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim 2009-09-04 07:04:36 +01:00
Melanie 11700ba4a4 Implement plain password authentication partway. Tested, but no user
functionality yet.
2009-09-04 07:03:43 +01:00
Teravus Ovares (Dan Olivares) 9f05edab04 Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-09-04 00:04:26 -04:00
Teravus Ovares (Dan Olivares) bb5857c4bb * Fixes the function 'GetTerrainHeightAtXY' 2009-09-04 00:03:54 -04:00
Melanie c9a24ece54 More work on new authentication service 2009-09-04 03:13:32 +01:00
Melanie e39d0ef627 Flech out the Authentication service. Add the database loader. Introduce
inheritance to deal with common tasks like crypto.
Still untested.
2009-09-04 00:55:21 +01:00
Melanie 90262d4092 Add the user authentication data adapter. This is meant to use a new table
schema, but can read the old ones for compatibility. It should not be used
to write to the old tables unless you know what you're doing!
This is untested and will probably not work.
2009-09-04 00:23:26 +01:00
Melanie 5c2bf97bf2 Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim 2009-09-03 21:04:06 +01:00
Melanie 328fd104e1 Remove the distinction between password and login key in the authentication
service. This will be done in the login service instead, it's out of
scope for an authenticator
2009-09-03 21:03:04 +01:00
Diva Canto 639bf79aec Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-09-03 12:42:25 -07:00
John Hurliman 33133e23b1 Fixes seven leaky .BeginInvoke() calls 2009-09-03 12:36:51 -07:00
John Hurliman 584c113836 Added Util.FireAndForget(), to replace leaking calls to Delegate.BeginInvoke() 2009-09-03 12:27:23 -07:00
Justin Clark-Casey (justincc) 64fa23df7c If a test dll fails, stop immediately rather than trying all the other test dlls
This is very useful behaviour if debugging test failures otherwise it's hard to pick out the test output
Also, some minor method shuffling in the iar module
2009-09-03 19:41:38 +01:00
Chris Hart c4ae9413f1 MSSQL Minor tweak to recent patch for region loading (Thanks Grumly57 for spotting it!) 2009-09-03 19:07:50 +01:00
dahlia 6cf610bc44 eliminate unnecessary storage of mesh objects which are no longer necessary after recent startup optimizations 2009-09-02 17:40:55 -07:00
Chris Hart 4841858600 MSSQL patch to mirror mantis 4077 for MySQL to improve region load times 2009-09-02 19:42:18 +01:00
Jeff Ames 56ddd6828c Add copyright headers. Formatting cleanup. 2009-09-03 02:04:17 +09:00
Melanie 8e7b385883 Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim 2009-09-02 16:29:50 +01:00
Melanie 65d7644993 Correct the icons on wearables in agent inventory. To fully correct the issue
immediately, run
update inventoryfolders set version=version+1;
2009-09-02 16:27:08 +01:00
dr scofield (aka dirk husemann) bb0cbdc064 switching LandManagementModule to "new" region module scheme; cleaning
up method names in LandManagementModule (was a bit of a
mess). suppressing warnings re Constants.RegionSize.
2009-09-02 11:06:18 +02:00
dr scofield (aka dirk husemann) 05756e1fb9 warnings safari. 2009-09-02 11:06:18 +02:00
Teravus Ovares (Dan Olivares) 9505297fb1 * One last attempt to get the bordercrossing/primcrossing/attachmentcrossing right in the new border framework.
* This also contains some inactive preliminary code for disconnecting combined regions that will be used to make one root region a virtual region of a new root region.
2009-09-02 04:39:00 -04:00
Melanie 994c5e2094 Prevent the Viewer's threaded inventory retrieval causing a OOM and overload
the inventory server by serializing upstream requests.
2009-09-02 05:04:24 +01:00
Melanie f32de6fe88 Thank you, dslake, for a set of patches to improve OpenSim startup
and idle performance.
2009-09-02 03:33:31 +01:00
Teravus Ovares (Dan Olivares) 2fc3f61a42 Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-09-01 19:39:07 -04:00
Teravus Ovares (Dan Olivares) afc72cc10e * Fixes diagonal teleporting when in RegionCombining mode by adding 4 additional borders that have infinite distances perpendicular to the cardinal of the border surrounding the entire combined region. Recalculates this boundary each time AddScene is called. 2009-09-01 19:38:45 -04:00
dr scofield (aka dirk husemann) 47e0024238 adding new IniConfigSource() to SceneSetupHelpers to fix empty
IConfigSource causing grief to region modules expecting it to be
non-empty (which a number of them do).
2009-09-01 11:33:10 +02:00
dr scofield (aka dirk husemann) 39726f0fda switching SerialiserModule to "new" region module scheme 2009-09-01 10:28:29 +02:00
dr scofield (aka dirk husemann) ef6c0bd7d8 cleanup. 2009-09-01 10:28:29 +02:00
Teravus Ovares (Dan Olivares) 2245e2977e * The return of fuzzy borders! 2009-08-31 23:16:24 -04:00
Teravus Ovares (Dan Olivares) 3718bbc6a5 Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-08-31 22:51:03 -04:00
Teravus Ovares (Dan Olivares) c09884a467 No more fuzzy borders 2009-08-31 22:50:27 -04:00
Teravus Ovares (Dan Olivares) 2068b6714a * -2 on the south and west side, -1 on the north and east side. Fuzzy borders! yay 2009-08-31 21:40:06 -04:00
Melanie c89fc36f28 Applying Mantis #4079. Thank you, dslake 2009-09-01 02:17:08 +01:00
Teravus Ovares (Dan Olivares) de1c2a51e2 * Put Borders back the way they were to resolve the endless ----> crossing into region X,Y 2009-08-31 21:11:04 -04:00
Melanie 29df190a3f Baad git, baad baad git. 2009-09-01 02:02:52 +01:00
Melanie 22457c9843 Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim 2009-09-01 01:56:59 +01:00
Melanie e458a87e91 Experimental. Set attachment flag early on rezzing from inventory. 2009-09-01 01:53:54 +01:00
Teravus Ovares (Dan Olivares) fed089971e * Previously south and west border were required to be -1 for border crossings diagonally to work.. but.. seems they're working now without it.. and maybe it will help attachments. 2009-08-31 20:36:06 -04:00
Teravus Ovares (Dan Olivares) b8d21d9eae * Get rid of some debug info and kill the code to make a large AABB until I can figure out how to detect the fact that the system is done starting up new regions. 2009-08-31 20:10:08 -04:00
Teravus Ovares (Dan Olivares) b997174d08 * Fix attachment cross issues with new borders. 2009-08-31 20:07:33 -04:00
Teravus Ovares (Dan Olivares) 895c612647 * When the RegionCombinerModule is active add an extra set of borders with Infinite distances around the whole AABB of the region 2009-08-31 16:29:27 -04:00
dr scofield (aka dirk husemann) 27b378ca8b switching Archiver to "new" region module scheme 2009-08-31 17:25:16 +02:00
dr scofield (aka dirk husemann) 3581b9abce Merge branch 'regionready' into opensim 2009-08-31 15:02:21 +02:00
dr scofield (aka dirk husemann) 3195af39a7 cleaning up RegionReadyModule:
- wrong namespace
- converted to "new" region module
2009-08-31 14:59:28 +02:00
Melanie 9e6684661a Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim 2009-08-31 11:58:49 +01:00
Melanie 090868ff4a Change the return value if the compiler to "object" to allow compilers
to return dynamic method objects
2009-08-31 11:42:54 +01:00
dr scofield (aka dirk husemann) 5209305615 oops. fixing missing argument. 2009-08-31 12:05:14 +02:00
dr scofield (aka dirk husemann) 86521adb7e adding log message to vector render to inform about default font being used 2009-08-31 11:35:49 +02:00
dr scofield (aka dirk husemann) 953581698d - making font name used by VectorRenderModule configurable: can be set
via

      [VectorRender]
      font_name = "Comic Sans MS"

  in OpenSim.ini

- adding osSetFontName OSSL function
2009-08-31 10:30:10 +02:00
Jeff Ames bbef5c344e Remove typo version of ReplaceableInterface property from RegionCombinerModule. 2009-08-31 14:16:16 +09:00
Melanie d2eba2cf22 Recreate the shell of the AuthenticationService to squelch Windows build
error. WIll be filled in as soon as I figure out the crypto stuff.
2009-08-31 01:03:14 +01:00
Teravus Ovares (Dan Olivares) 9f2f3afe22 * Fixes a teleport issue when teleporting out of a region to a different one. 2009-08-30 02:49:50 -04:00
Teravus Ovares (Dan Olivares) d4dd179547 * whoops, forgot the other class initializer. 2009-08-30 00:29:43 -04:00
Teravus Ovares (Dan Olivares) 59c8a02a24 * When the RegionCombinerModule is off, make borders have an infinite aabb perpendicular to the cardinal 2009-08-30 00:22:38 -04:00
Teravus Ovares (Dan Olivares) 2f40161f38 Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-08-29 23:50:24 -04:00
Teravus Ovares (Dan Olivares) efe737b895 Ok, merging the RegionCombinerModule with master. 2009-08-29 23:49:48 -04:00
Teravus Ovares (Dan Olivares) 33f36c9010 * Rename the RegionCombiner Module from PhysicsCombiner 2009-08-29 23:39:27 -04:00
Melanie 07e8907569 Remove another IAuthentificationInterface user 2009-08-30 03:27:09 +01:00
Teravus Ovares (Dan Olivares) 44b7c39c93 * Fix the reason why physical vehicles have a problem in virtual regions. 2009-08-29 21:47:28 -04:00
Teravus Ovares (Dan Olivares) 3ccf3aba89 * Fixes looking up parcel permissions in virtual regions. 2009-08-29 16:24:03 -04:00
Melanie 5b06079a83 Remove a user of the old auth interface 2009-08-29 17:49:58 +01:00
Melanie dce04df4f2 Redesign the IAuthenticationService interface to use PKI. Sessioning is
now in the domain of the presence module where it belongs.
2009-08-29 17:37:41 +01:00
Teravus Ovares (Dan Olivares) d45f871d8f * Only lock the Borders when they're being changed, otherwise one avatar's movement could hinder another avatar's movement. 2009-08-29 03:36:41 -04:00
Melanie 1a6b30e092 Add a slow cache cleaner thread. By default, the thread starts a cleanup
sweep every 10 minutes. If any texture data is older than 12 hours, it is
regenerated and the memory cache is refreshed. After each decode, the thread
delays for 5 seconds.
2009-08-29 05:54:38 +01:00
Melanie 2a5b9f7740 the beginning of some changes to the decode cache to address concerns about
system load. This commit effectively disables expiration.
2009-08-29 05:29:54 +01:00
Melanie 4b2e62fd3c Make the j2kDecodeCache expire after 50 minutes (configurable). Alse allows
setting the path for it. This commit introduces NEW DEFAULT BEHAVIOR. To
retain the old behavior (eternal cache) you will need to change your OpenSim.ini
and set the timeout to 0.
2009-08-29 04:35:18 +01:00
Melanie 976cf4284b Fix up WebFetchInventoryDescendents to really return all data needed,
especially the folder version and the subfolders. Fixes inventory search
hang and folders not loading.
2009-08-29 03:26:44 +01:00
Teravus Ovares (Dan Olivares) 9eb8c14e87 * Deal with teleports to other virtual regions in the same scene. 2009-08-28 19:42:28 -04:00
Melanie 22a0dff226 Modify CAPS inventory code. Currently this is not executed 2009-08-28 23:28:32 +01:00
Arthur Valadares 3d6edc04a3 Implements osDrawPolygon, similar to already implemented osDrawFilledPolygon 2009-08-28 17:48:03 -03:00
Teravus Ovares (Dan Olivares) ac718843d9 * Allow corner prim crossings. Previously this was only on a single cardinal direction
* Some leg work in getting avatar teleports into 'virtual regions' moved to the proper region.
2009-08-28 14:45:17 -04:00
Justin Clark-Casey (justincc) 33004b613d Standardize FlotsamAssetCache header
Add mcortez to CONTRIBUTORS
Other minor tidy of CONTRIBUTORS
2009-08-28 18:12:30 +01:00
Justin Clark-Casey (justincc) 18c5dc0953 Try to cache system folders if they aren't already there when one is requested
This operation can be performed legitimately on standalones without a logged in user
2009-08-28 17:19:45 +01:00
Justin Clark-Casey (justincc) 7ff4c2e50b Pull out distinct cache system folders and drop cache methods in InventoryCache 2009-08-28 17:07:17 +01:00
Justin Clark-Casey (justincc) 7f8df4242b Correct build break 2009-08-28 12:58:10 +01:00
Justin Clark-Casey (justincc) d649194be3 minor: formatting and comments 2009-08-28 12:52:40 +01:00
Justin Clark-Casey (justincc) cf58c0ab08 minor: remove some commented out iar test code 2009-08-28 12:01:21 +01:00
Teravus Ovares (Dan Olivares) 65dda8a795 Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-08-27 19:36:52 -04:00
Justin Clark-Casey (justincc) d704e62b39 Remove OpenSim.ini comments from the top of FlotsamAssetCache.cs to avoid duplication and divergence with config-include/FlotsamCache.ini.example 2009-08-27 21:49:32 +01:00
Justin Clark-Casey (justincc) 40fbdaaac4 Apply http://opensimulator.org/mantis/view.php?id=3829
Fix file access violation on Flotsam cache
Thanks mcortez
2009-08-27 21:25:16 +01:00
Teravus Ovares (Dan Olivares) 6f077d5e5f * Another attempt at fixing the random spurious test error.
* This time it might be the listening socket thread from HttpServer aborting with a non blocking thread abort exception.   Hopefully calling Stop() on MainServer.Instance will solve that.
2009-08-26 21:05:46 -04:00
Teravus Ovares (Dan Olivares) 54e05a083d Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-08-26 11:48:05 -04:00
Melanie 8a9d168928 Add try/catch around EQ request processing
Fixes Mantis #4061
2009-08-26 14:46:10 +01:00
Jeff Ames cf2d1b5c10 Add copy constructor to PhysicsVector. 2009-08-26 14:28:54 +09:00
Jeff Ames 02f937b0dc Fix some compile warnings. 2009-08-26 14:02:52 +09:00
Jeff Ames 256624566f Formatting cleanup, minor refactoring. 2009-08-26 14:02:01 +09:00
Teravus Ovares (Dan Olivares) 5f794d3e59 A slightly modified version of
http://opensimulator.org/mantis/view.php?id=4040 by jhurliman.    The patch didn't match up, so I winged it here.   My effort to manually merge the patch seems to make sense, so I'm going to commit it.
2009-08-25 17:36:04 -04:00
Arthur Valadares efb287f28f Implemented osPenCap, that sets EndCap and StartCap to Pen. This allows using arrow, diamond, round and flat caps.
* Made image request safer, if it can't find an image for any reason, draws a square where the image should be and a message alerting the user.
2009-08-25 10:32:45 -03:00
Arthur Valadares 9c9fa51b0f Merge branch 'master' of ssh://opensimulator.org/var/git/opensim into arthursv 2009-08-25 10:28:22 -03:00
Diva Canto cfd9cf7b18 Closed the web request and stream in SynchronousRestSessionObjectPoster -- maybe this is the cause of some timeouts seen in some monos? 2009-08-25 06:17:36 -07:00
Melanie 1e4238af92 Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim 2009-08-22 20:18:56 +01:00
Melanie a22b12ecd4 Change prompt handling in console. No user changes 2009-08-22 20:18:24 +01:00
Diva Canto 71f2d8391b Moved a debug message. 2009-08-22 10:30:27 -07:00
Diva Canto 751c2000cc Changed the namespace of old InventoryServiceBase amd AuthedSessionCache. 2009-08-22 10:30:04 -07:00
Diva Canto b03eeeb9f6 * Fixes mantis http://opensimulator.org/mantis/view.php?id=4044. Turns out folders were never being removed from trash when they were singled out for purging in trash. They were being removed when Trash was purged as a whole. That behavior is now fixed for the new InventoryService set.
* Removed left-overs from AssetInventoryServer.
2009-08-22 10:24:26 -07:00
Diva Canto 8ef758d826 Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-08-22 09:04:25 -07:00
Diva Canto 75021b5309 Moved AuthedSessionCache to where it is used -- Grid/InventoryServer. 2009-08-22 09:03:59 -07:00
Arthur Valadares 7923fd29a0 Adds osDrawPolygon to OSSL. Works a little different then other OS Drawing functions, this one has no start and end point, but a number of points that will form the desired polygon. Only FilledPolygon implemented so far.
* Also added some LSL transparent type conversion, as it's done in LSL scripting (string to integer, float to string, etc)
2009-08-21 21:12:22 -03:00
Arthur Valadares 173701dd63 Merge branch 'master' of ssh://opensimulator.org/var/git/opensim 2009-08-21 17:52:25 -03:00
Arthur Valadares 604ef5ba79 Fix issue where conversion of temporary boolean variable fails on MySQL 2009-08-21 17:48:45 -03:00
Diva Canto f9ee8be2bc Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-08-21 11:01:23 -07:00
Diva Canto 3318652723 Added a more sane InventoryServerMoveItemsHandler. Changed SynchronousRestObjectRequester so that it also understands PUTs. 2009-08-21 11:00:45 -07:00
Teravus Ovares (Dan Olivares) e1b38ff001 * It turns out that Physics heightmap values were being stored in managed memory in _heightmap and using multiple heightmaps caused them all to overwrite each other and the last one was the heightmap for all of the regions. This fixes that. It also reduces the terrain resolution to half. 2009-08-21 13:22:49 -04:00
Melanie de3cca6061 Fix Messaging server so -xmlfile actually works 2009-08-21 17:00:18 +01:00
Melanie 7daf6dbbd3 Add -xmlfile= option to UGM, to let the files be outside bin if desired 2009-08-21 11:35:40 +01:00
Jeff Ames 158ad39df0 Add copyright header. Formatting cleanup. 2009-08-21 15:47:55 +09:00
Diva Canto 31e7e1b5f9 Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-08-20 22:37:06 -07:00
Diva Canto e4f64dd714 Made HandleFetchInventoryDescendents async, so that the client thread doesn't wait for the download of the entire inventory. 2009-08-20 22:36:47 -07:00
Adam Frisby bd7757de22 * oops. Mistake with value return. 2009-08-21 15:15:15 +10:00
Adam Frisby f7c5eca978 * Moves NPC Creation across AppDomains to prevent a major perfomance issue. 2009-08-21 15:12:50 +10:00
Diva Canto 9e64427262 Putting the inventory packets back to ThrottleOutPacketType.Asset, because that didn't work. 2009-08-20 21:56:06 -07:00
Diva Canto 922007443e Changed most of inventory packets to LowPriority, to see if that helps with freezing on searching large inventories. 2009-08-20 21:36:57 -07:00
Adam Frisby 98da8e9b16 * Make cache, actually cache. 2009-08-21 14:20:05 +10:00
Adam Frisby 29e2067ec3 * Implements a cache in NPCModule for Appearance. 2009-08-21 14:10:21 +10:00
Adam Frisby 25dbf16cfb * Once more into the breach! 2009-08-21 13:44:20 +10:00
Adam Frisby d4600eec4d * Attempting to diagnose a connection bug. 2009-08-21 13:35:13 +10:00
Teravus Ovares (Dan Olivares) 64dcb71c14 * Fixes Terrain issues with combined regions. 2009-08-20 23:26:40 -04:00
Teravus Ovares (Dan Olivares) c9b52cd0b6 * Adds PhysicsCombiner Module
* May rename this later
2009-08-20 23:25:40 -04:00
Adam Frisby bce98f9670 * Fixing an issue with NPC's and Circuit Codes. 2009-08-21 13:12:51 +10:00
Adam Frisby 7ef3e5f41c * Protip: Declare publically accessible functions, as public functions. 2009-08-21 11:43:45 +10:00
Adam Frisby c7e140171e * Addendum to previous 2009-08-21 11:35:19 +10:00
Adam Frisby 1740fd60b3 Merge branch 'master' of ssh://opensimulator.org/var/git/opensim 2009-08-21 11:15:48 +10:00
Adam Frisby 01f394d203 * Fleshes more of NPCModule out.
* Implements some OSSL commands:
        key osNpcCreate(string user, string name, vector position, key cloneFrom);
        void osNpcMoveTo(key npc, vector position);
        void osNpcSay(key npc, string message);
        void osNpcRemove(key npc);
* Untested. Requires ThreatLevel.High.
2009-08-21 11:14:55 +10:00
Melanie ea32600b8b Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim 2009-08-21 00:26:49 +01:00
Teravus Ovares (Dan Olivares) 181b992b4a Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-08-20 19:25:52 -04:00
Melanie 70c870972a Fix the user and password defaults int he remote console setup 2009-08-21 00:25:50 +01:00
Teravus Ovares (Dan Olivares) b8d7663f54 * Deal with git thinking that file was changed even though it wasn't and it's blocking a pull 2009-08-20 19:25:37 -04:00
Teravus Ovares (Dan Olivares) 66c40dd3de * Switch border cross tests over to the new Border class.
* Use List<Border> for each cardinal to allow for irregular regions.
2009-08-20 19:24:31 -04:00
Diva Canto a3d895908f Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-08-20 16:19:02 -07:00
Diva Canto 118f710a79 Fixed a missing field in SendBulkInventoryFolderUpdate. 2009-08-20 16:18:32 -07:00
Adam Frisby e83b00a3df * Implements a bunch of stuff in NPCModule 2009-08-21 08:51:43 +10:00
Melanie b23160a871 Remove the AssetInventory server from core. It has fallen behind both
upstream and the reference implementation to the point where it is no
longer usable. It has no known users, and sinnce it doesn't work anymore,
it is safe to assume that no one has used it in a long time.
2009-08-20 21:45:49 +01:00
Melanie 297393f349 Remove a load-order dependency in inventory transfer that was biting
Windows users
2009-08-20 21:05:00 +01:00
Melanie 4c8bcd2ff6 Add some output (at DEBUG level) to the message transfer module to aid
in tracking down an initialization failure.
2009-08-20 20:19:08 +01:00
John Hurliman ae2ceda479 * Only update TextureEntry in AvatarAppearance if the incoming XML-RPC has a valid TextureEntry. About half the time update_avatar_appearance calls are made, the TextureEntry is empty 2009-08-20 10:32:38 -07:00
Diva Canto 1604c9d19e One more place fixed for setting the inventory folder owner. Thanks jhurliman. 2009-08-20 10:14:53 -07:00
Diva Canto 948c7ea20b Commented T021_TestCrossToNewRegion because (1) it can fail on panda, and (2) it is not a meaningful representation of region crossing. 2009-08-19 18:08:20 -07:00
Diva Canto a3db2936f7 Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-08-19 17:36:34 -07:00
Diva Canto 6e35ddb0e9 Fixes GetItem and GetFolder for SQLite. Turns out some methods were no-op in SQlite. Fixes most grief in
http://opensimulator.org/mantis/view.php?id=4035
http://opensimulator.org/mantis/view.php?id=4027
2009-08-19 17:35:42 -07:00
Kunnis b1853d9f26 Fixing a spot I missed in assets. Switching Grid to the new naming schema with Store/Get 2009-08-19 23:46:25 +01:00
Kunnis f1287cc7af * Switching IAssetData to follow the new naming schema, removing the separate insert and update methods. 2009-08-19 23:45:22 +01:00
Diva Canto c295354ea0 Fixes GetRootFolder for normal standalone, which was being incorrectly redirected to the wrong object. Probably fixes most grief in
http://opensimulator.org/mantis/view.php?id=4035
http://opensimulator.org/mantis/view.php?id=4027
2009-08-19 16:15:04 -07:00
Diva Canto 51e487a172 Makes the inventory connectors fully compatible with the old Grid.InventoryServer.
WARNING: interacting with the old server is _much_ slower than interacting with the new one. Grids with the old server will not see any improvements on crossings and TPs, because inventory needs to be fetched from it in its entirety.
2009-08-19 12:02:57 -07:00
Teravus Ovares (Dan Olivares) 289439c832 Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-08-19 14:43:18 -04:00
Teravus Ovares (Dan Olivares) de543002aa Add Border (a virtual border management class)
Move Cardinals to it's own file.
2009-08-19 14:43:03 -04:00
Diva Canto d519f1885f Added MoveItems, which is most useful upon viewer-delete inventory operation. Moving a batch of items is a 1-time operation. Made it async anyway, so that the viewer doesn't wait in case the DB layer is dumb (which is the case currently). 2009-08-19 10:56:08 -07:00
Diva Canto 4382f28efc Async purge so that the client thread doesn't wait. 2009-08-19 00:33:02 -07:00
Diva Canto 4818d11b9d Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-08-19 00:31:51 -07:00
Diva Canto c5af39239f A better purge of trash folder. 2009-08-19 00:13:51 -07:00
Diva Canto e5f33e7505 GetFolderItems implemented. It's not being called, but it might. 2009-08-18 22:36:03 -07:00
Diva Canto 124f66bfc2 jhurliman's patch in http://opensimulator.org/mantis/view.php?id=4024 2009-08-18 22:17:47 -07:00
Melanie 2111c66f89 Graft the REST console onto the message server as well. What a dirty hack!
Works the same as the others.
2009-08-19 05:40:23 +01:00
Melanie dd0234f500 Graft the REST console onto the grid server. Same procedure as with
the user server.
2009-08-19 05:15:25 +01:00
Melanie c5bbcb04e0 Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim 2009-08-19 04:40:57 +01:00
Melanie 99c7a43ffd Add rest console support to the user server. Will ask new questions at
startup. To use, run it normally once, answering the questions, then
run again with -console=rest.
Also now supports -console=basic for a console that reads stdin
2009-08-19 04:39:02 +01:00
Jeff Lee 32cc00ec7b osGetLinkPrimitiveParams fix 2009-08-18 20:05:27 -07:00
dahlia 465d1095dd Added new OpenSim.ini setting: "client_throttle_max_bps" which overrides user's viewer network throttle settings 2009-08-18 17:06:14 -07:00
Teravus Ovares (Dan Olivares) 311b51a184 *remove conflicts 2009-08-18 11:09:43 -04:00
Teravus Ovares (Dan Olivares) c54cb59a71 * Some Physics Scene Changes to prepare for larger regions 2009-08-18 11:05:07 -04:00
Diva Canto d95d3b949b Fixes mantis #4020 (http://opensimulator.org/mantis/view.php?id=4020) 2009-08-18 07:05:22 -07:00
Diva Canto 89cd8a99ed Commented 2 tests in ScenePresenceTests, one because things were being done in the wrong order, and the other because it NEEDS the inventory service set up. Test-writers, please please please do the scene setup properly EVERYWHERE. It's close to impossible to rely on tests that don't setup resource service references! 2009-08-17 18:52:10 -07:00
Diva Canto 806f48d81a Added one conditional missing on login, for creating inventory if it doesn't exist already. This hopefully fixes the master avatar problems on standalone. 2009-08-17 17:00:27 -07:00
Diva Canto d7aa622050 Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-08-17 15:28:16 -07:00
Diva Canto df889855ec Commented out one IAR test, because it's failing and needs attention from justincc or arthursv. I think the mock inventory service needs a little bit more beef. 2009-08-17 15:16:21 -07:00
Diva Canto 3a3f9d5abb Added some padding to the remote inventory connector so that it tries to operate with the old Grid.InventoryServer.exe. Untested, but it should work -- slow. 2009-08-17 14:14:22 -07:00
Melanie 9ad3e72ae1 Did I say that i don't like git? Remove some stuff that shouldn't have
gone in.
2009-08-17 22:06:51 +01:00
Diva Canto 59b4cf2d5b Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-08-17 13:27:22 -07:00
Justin Clark-Casey (justincc) 0d7bcee560 no-op to poke panda 2009-08-17 20:25:14 +01:00
Justin Clark-Casey (justincc) 4a992388e3 Apply http://opensimulator.org/mantis/view.php?id=4016
Make previously hidden cookies available to code
Thanks jhurliman
2009-08-17 20:02:42 +01:00
Justin Clark-Casey (justincc) eb78ac343e Apply http://opensimulator.org/mantis/view.php?id=3538
Add ability to silence IRC relay of region joins and quits from certain users
This is useful for admins who wish to remain hidden, or service bots.
Thanks RemedyTomm
2009-08-17 19:48:32 +01:00
Adam Frisby 95bb22f883 Merge branch 'master' of ssh://opensimulator.org/var/git/opensim 2009-08-18 00:59:05 +10:00
Adam Frisby 30c4aa55e6 Added additional configuration options for MRM Security. See OpenSim.ini.example under the [MRM] section. 2009-08-18 00:58:42 +10:00
Teravus Ovares (Dan Olivares) f34e89f385 * More Test tweaking to get down to the root cause of the test wierdness 2009-08-17 10:28:58 -04:00
Adam Frisby 58d9d6026e Merge branch 'master' of ssh://opensimulator.org/var/git/opensim 2009-08-18 00:23:27 +10:00
Adam Frisby 8c101d24df * Implementing a bunch of Unimplemented MRM stubs. 2009-08-18 00:23:02 +10:00
Diva Canto 94cd4c136c Bumping the interface number down again, because this *may* not be a breaking change with older sims. 2009-08-17 06:41:26 -07:00
Diva Canto fa8a94577a Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-08-17 05:55:38 -07:00
Melanie 644db1e540 Add System.Xml reference to the console project 2009-08-17 09:40:38 +01:00
Melanie 3d7bb7567c Add the ability to use -console=rest to the region server. User
and pass are specified the same way as for the ROBUST server
2009-08-17 09:21:39 +01:00
Melanie dc0f0f5da8 Limit the scrollback buffer output of the command line client to
100 lines (4 screens worth) so things don't scroll endlessly on connect
2009-08-17 08:56:40 +01:00
Melanie cef16bec6d Add the OpenSim.ConsoleClient app.
Usage: OpenSim.ConsoleClient -h <host> -p <port> -u <user> -P <pass>
host defaults to localhost, port defaults to 8003.
2009-08-17 08:45:20 +01:00
Melanie b05539e7cf Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim 2009-08-17 05:01:23 +01:00
Melanie 002940dd5d Filling in the blanks: The "meat" of the REST console 2009-08-17 05:00:30 +01:00
Diva Canto 052c51f90f Bumped up grid services interface number. 2009-08-16 20:38:30 -07:00
Diva Canto 67a629081e uh. how about *really* removing it, and not just write a comment above, hey diva? 2009-08-16 19:54:49 -07:00
Diva Canto 87f116ab3a Remove the call to ResetAttachments upon login. The info in the DB should always have {itemID, assetID}. 2009-08-16 19:51:16 -07:00
Diva Canto 50056871b8 IAvatarFactory.UpdateDatabase gets the assetID and not the object's inworld UUID. 2009-08-16 19:35:14 -07:00
Diva Canto 550d0e434f Removing the conditional for assetID=Zero upon rezzing attachments on login. 2009-08-16 19:21:19 -07:00
Jeff Ames 82c888fc6c Add copyright headers. Formatting cleanup. Fix a compiler warning. 2009-08-17 10:29:06 +09:00
Diva Canto 5d47e08dad Removed some debug messages 2009-08-16 17:11:20 -07:00
Diva Canto e02062051d Making attachments work again. Tons of debug more. This needs more testing and a lot of cleaning. 2009-08-16 16:17:19 -07:00
Teravus Ovares (Dan Olivares) bf8e07606f * handle litjson errors for now. We'll remove this when we hear back from http://jira.openmetaverse.org/browse/LIBOMV-675 2009-08-16 17:19:52 -04:00
Kunnis dd78c250ae * Added Expression based ignores to the PropertyScrambler, which makes a lot of the tests clearer because I'm not constantly resetting properties. 2009-08-16 14:34:16 -04:00
Kunnis 5dde4a4cfa * More improvements to BasicAssetTest.cs 2009-08-16 14:26:43 -04:00
Kunnis d2e5380cb2 * Fixed MySQL/MySQLAssetData.cs to properly do updates * Removed an extra parameter from MySQL/MySQLInventoryData.cs * Fixed a bug in SQLite/SQLiteAssetData.cs that was causing a NRE when updating an asset. * Improved the BasicAssetTest.cs to do full create/update/get testing * Improved the BasicInventoryTest.cs to do full create/update/get of both a folder and an item * Moved the null ref tests to the start of the PropertyCompareConstraint.cs, so that it doesn't throw when passing in a null item 2009-08-16 14:17:29 -04:00
Kunnis f6251ce810 * Modified SQLite/SQLiteInventoryStore.cs to not throw if the inventory row does not exist, to match the mysql behavior. * Modified SQLite/SQLiteRegionData.cs to only persist temporary items following the same rules mysql uses. * Added another ignore to the inventory test that was missing. * Added a few more ignores to the RegionTest that the first version of my test were missing. * Added ignoring the root Folder ID, which is set by the inventory system. * Added several improvements to the PropertyCompareConstraint: Protection against infinite loops, added IComparable<T> (for UUID) and moved IComparable before the property matching. * Fixed a bug where I was saving the inside of the ignore expression instead of the outside of it. 2009-08-16 14:15:59 -04:00
Kunnis 23d478f2fa Adding in Reflection-based testing, to ensure that all properties are covered. 2009-08-16 13:35:44 -04:00
Jeff Ames 58d2775ff2 Add copyright header. Formatting cleanup. 2009-08-17 02:05:12 +09:00
Jeff Ames ad02aefaee Fix argument index in log4net call. (fixes #4003) 2009-08-17 01:46:00 +09:00
Adam Frisby e5b94346b6 Merge branch 'master' of ssh://opensimulator.org/var/git/opensim 2009-08-17 02:25:24 +10:00
Adam Frisby fa921ec147 * Implements AppDomain Security for MRM Scripts.
* Added permissionLevel attribute to [MRM] section in OpenSim.ini. Default is 'Internet', however may be any of the following (case sensitive), FullTrust, SkipVerification, Execution, Nothing, LocalIntranet, Internet, Everything. For previous functionality, set to FullTrust or Execution.
2009-08-17 02:25:00 +10:00
Teravus Ovares (Dan Olivares) acc14c472d Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-08-16 12:15:14 -04:00
Teravus Ovares (Dan Olivares) 5e391b9f7c * ShortVersion, another attempt at fixing the test thread death that randomly occurs.
* LongVersion nIni may be causing the test thread death.  Pausing OpenSimulator during startup causes a nIni error that makes debugging startup operations difficult for users.  It might be because when it's in pause mode, something else reads from the nini config passed?   If it is, it might not be fixable..   however, if it's concurrency that causes nini death it would make sense to give each section of the tests a new IConfigSource so that they don't read from the same configsource at the same time.
2009-08-16 12:14:49 -04:00
Teravus Ovares (Dan Olivares) 4eeab4097a * minor: comments 2009-08-16 12:10:06 -04:00
Diva Canto 6808b9109e Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim into inventory-connector 2009-08-16 08:59:58 -07:00
Adam Frisby cbd454d692 * Implements ISecurityCredential member on SPAvatar, SPAvatarAttachment
* Disables 'event not used' warning for IRCClientView; cuts OpenSim total warnings back.
2009-08-16 22:01:18 +10:00
Adam Frisby c2be3edd2d * Refactor: Moves IAvatarAttachment into IAvatarAttachment.cs instead of IAvatar.cs 2009-08-16 21:49:53 +10:00
Adam Frisby b28e826541 * Implements ISecurityCredential on all uses of SOPObject.cs except Avatar Attachments. 2009-08-16 21:41:57 +10:00
Adam Frisby adae13cd18 * [MRM] Added permission checks to MRM Events (ie, requires edit permission to bind to OnTouch) 2009-08-16 21:36:33 +10:00
Adam Frisby 8621dc405e * Fixes potential NulRef in MRM Security Checks. 2009-08-16 21:23:39 +10:00
Adam Frisby aea4d7c63b Merge branch 'master' of ssh://opensimulator.org/var/git/opensim 2009-08-16 21:21:38 +10:00
Adam Frisby 975c49a399 * [MRM] Implements permission checks on IObject implementations in SOPObject.cs. Does not implement security on IObjectInventory yet. 2009-08-16 21:20:45 +10:00
Jeff Ames 2b630470b0 Add copyright headers. Formatting cleanup. 2009-08-16 17:30:13 +09:00
Jeff Ames 9d9fcac038 Misc cleanup. 2009-08-16 17:14:21 +09:00
Adam Johnson a42569d896 Thanks dmiles for a patch that adds PacketType.RequestMultipleObjects Packet Handler - ref mantis #4010 2009-08-16 15:06:06 +09:00
Diva Canto 710a15845c Merge branch 'master' into inventory-connector 2009-08-15 15:08:04 -07:00
Diva Canto 19e45466f2 Changed one word in a comment 2009-08-15 14:57:24 -07:00
Melanie 973be65945 Merge branch 'master' of ../opensim-diva/ into inventory-connector 2009-08-15 19:00:56 +01:00
Adam Frisby 8b6d79aa3c Merge branch 'master' of ssh://opensimulator.org/var/git/opensim 2009-08-16 03:50:12 +10:00
Adam Frisby 9090a90769 * Beginnings of a Security Credential system in MRM. This will eventually lead to trusted execution of untrusted MRMs. 2009-08-16 03:48:16 +10:00
Teravus Ovares (Dan Olivares) 30ce56e721 Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-08-15 13:10:21 -04:00
Teravus Ovares (Dan Olivares) 8000812700 * part one of adding physics combining 2009-08-15 13:10:10 -04:00
Diva Canto 1bbf06405c Changed FromAssetID to FromItemID 2009-08-15 09:36:45 -07:00
Diva Canto dd8b9d5810 Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-08-15 08:21:15 -07:00
Teravus Ovares (Dan Olivares) ddac88da6a * whoops, missing a / 2009-08-15 00:29:34 -04:00
Teravus Ovares (Dan Olivares) 72c2819c53 * Comment out XEngineTest that doesn't appear to test anything. It just creates a scene named 'My Test' which just happens to be the last scene displayed in the nunit log before it goes boom. 2009-08-15 00:22:18 -04:00
Teravus Ovares (Dan Olivares) 95be3eccd2 * minor: comments
* also re-trigger panda
2009-08-15 00:01:58 -04:00
Teravus Ovares (Dan Olivares) f208628667 * minor : Comments
* Also re-trigger Panda.
2009-08-14 21:37:25 -04:00
Teravus Ovares (Dan Olivares) 2f61fb0243 * minor : comments
* also re-trigger panda
2009-08-14 21:19:04 -04:00
Teravus Ovares (Dan Olivares) 1b933c9116 * Put the StandaloneTeleportTest in a new thread and call Thread.Join() inside a try/Catch (ThreadAbortException) to try and get around scene code aborting the testing thread. Use a Messenger class to report the results back to the test thread. 2009-08-14 19:12:42 -04:00
Diva Canto cd444c1e82 Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-08-14 14:04:15 -07:00
Justin Clark-Casey (justincc) e17a2331a0 * Re-enable TestLoadIarV0_1ExistingUsers() 2009-08-14 20:38:56 +01:00
Justin Clark-Casey (justincc) ff28ecee1b Re-enable TestSaveIarV0_1()
Implement more parts of TestAssetService
2009-08-14 20:07:13 +01:00
Justin Clark-Casey (justincc) 3e94eecc5c Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim 2009-08-14 20:00:24 +01:00
Justin Clark-Casey (justincc) a668a5b0d3 Add standard doc and standard doc formatting to IAssetService 2009-08-14 19:59:42 +01:00
Diva Canto 46116864b9 Returning UUID.Zero is scene and user profile service are null in GetSession. This doesn't fix the underlying problem of these things being null -- they shouldn't be. 2009-08-14 11:50:42 -07:00
Diva Canto bb513c1d88 Changed the way to get to the profile service. Changed GetSystemsFolder in HGBroker. 2009-08-14 11:32:25 -07:00
Teravus Ovares (Dan Olivares) 7554641703 Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-08-14 14:16:02 -04:00
Teravus Ovares (Dan Olivares) dce81225c5 * allocate the dictionary for AgentCircuitData.ChildrenCapSeeds when creating the circuitdata object to see if it's the cause of a null reference exception in the TestAddNeighbourRegio test 2009-08-14 14:15:49 -04:00
Justin Clark-Casey (justincc) 957962b482 Remove NRE catching on TestReplicateArchivePathToUserInventory() since race failure now appears to have gone 2009-08-14 19:06:24 +01:00
Justin Clark-Casey (justincc) 31820b0026 minor formatting adjustments 2009-08-14 18:36:09 +01:00
Diva Canto c56e51a6e3 More debug messages. 2009-08-14 10:29:29 -07:00
Kunnis c18f7560d9 Adding in Reflection-based testing, to ensure that all properties are covered. 2009-08-14 18:15:25 +01:00
Diva Canto 70d7c97e94 Doing session lookup in the right way. 2009-08-14 09:57:18 -07:00
Diva Canto 332d1b5f2f Additional debug messages, and bug fix in RemoteInventoryServiceConnector.cs, where the scene reference wasn't being set. 2009-08-14 08:43:46 -07:00
Melanie a851b68333 Remove one more sponsor reference 2009-08-14 14:27:56 +01:00
Melanie 7a2a2e68e7 Remove the script sponsor logic because scripts are timing out again.
This needs to be looked into. This commit, unfortunately, reinstates
a memory leak in regions that see significant script fluctuation,
e.g. lots of scripted attachments, or script development.
2009-08-14 14:18:56 +01:00
Teravus Ovares (Dan Olivares) 6ece8d86e0 Deal with possible race in TestAddNeighborRegion in ScenePresenceTests 2009-08-13 23:06:29 -04:00
Teravus Ovares (Dan Olivares) 02f55ff9bd Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-08-13 22:12:57 -04:00
Teravus Ovares (Dan Olivares) 0781ac9a5e * Add ThreadTracker Tests, Tests default thread, Adding Testing and Removing a thread, a dead thread, and a null Thread
* Fix a null thread situation
2009-08-13 22:12:37 -04:00
Diva Canto 21b5ebdc1f Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-08-13 19:11:38 -07:00
Teravus Ovares (Dan Olivares) 7a761560c6 * Add AgentCircuitManager tests for adding, removing, changing circuit code, and authentication. 2009-08-13 21:01:39 -04:00
Diva Canto ded76723eb Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-08-13 17:45:17 -07:00
Melanie 73b0cf492d Add some extra info to script load messages 2009-08-14 01:35:14 +01:00
Diva Canto 034c9cf606 Added GetAssetPermissions. Few last bugs nixed. This is ready for testing. 2009-08-13 17:34:15 -07:00
Teravus Ovares (Dan Olivares) f5fc5226f8 * Adds two tests to OpenSim.Framework.Tests. *AgentCircuitData test to ensure that the Packing and unpacking method to and from OSD works as expected called, TestAgentCircuitDataOSDConversion. Also created a HistoricalAgentCircuitDataOSDConversion to ensure that any changes in the way the json wire format is parsed warns us via this test. 2009-08-13 18:10:09 -04:00
Diva Canto 5246dc33dc Renamed QueryItem/QueryFolder to GetItem/GetFolder. The word 'query' starting to get on my nerves. 2009-08-13 14:10:12 -07:00
Diva Canto 6b9cc6c48d Inventory redirects from CachedUserInfo to InventoryService COMPLETE! 2009-08-13 11:30:29 -07:00
Teravus Ovares (Dan Olivares) 9bcca3dc95 Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-08-13 12:39:46 -04:00
Teravus Ovares (Dan Olivares) 5b325f1f54 * minor: comments 2009-08-13 12:39:33 -04:00
Diva Canto 6a0f7c2275 Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-08-13 06:31:24 -07:00
Melanie 3669115d60 Some small fixes 2009-08-13 13:25:33 +01:00
Melanie 0f3f2e1dc0 Add reference to the profile module in the avatar profiles handler, plus
an example of how to override legacy core data with data retrieved from
the profile module
2009-08-13 13:19:12 +01:00
Melanie 94dfe2a20d Add a profile module interface for the client view to use 2009-08-13 13:05:27 +01:00
Jeff Ames 1123a326ab Formatting cleanup. Fix some compiler warnings. 2009-08-13 15:43:24 +09:00
Diva Canto b0292d59a5 Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-08-12 20:40:49 -07:00
Diva Canto 7aa54593e0 Redirected all calls to CachedUserProfile methods to the inventory service. Redirection of the RootFolder property is still todo. This compiles but probably inventory will be inconsistent. 2009-08-12 20:39:48 -07:00
Teravus Ovares (Dan Olivares) 0a85d1d767 minor:comments 2009-08-12 23:34:12 -04:00
Teravus Ovares (Dan Olivares) 18634e9dd8 minor: comments 2009-08-12 23:18:00 -04:00
Teravus Ovares (Dan Olivares) 6c1adbf9a5 Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-08-12 22:55:21 -04:00
Teravus Ovares (Dan Olivares) b47e405420 * minor: Comments 2009-08-12 22:54:57 -04:00
Jeff Ames 50f29752f5 Formatting cleanup. Add copyright headers. 2009-08-13 11:48:39 +09:00
Diva Canto 41ad610f3e * Added two new packet handler implementations for inventory ops. This is starting to work! - but can't be activated incrementally, the flip needs to be global for all inventory ops.
* Added a base inventory connector that does common processing of inventory among all reference connector implementations. E.g. AddItem requires additional processing before being forwarded to service.
* Added if (m_Enabled) upon RemoveRegion
2009-08-12 13:11:15 -07:00
Diva Canto b3b506cba2 Better test for dropping inventory cache and writing out debug messages. 2009-08-12 09:31:33 -07:00
dr scofield (aka dirk husemann) 613e6f07fc change 535cb0efc so that the default LLSD serialization format is
llsd+xml instead of llsd+json --- the latter seems to break existing
bots. this assumes that those bots that want llsd+json will properly
signal that desire, if that is not the case, we need to revisit
this. fixes mantis #3977.
2009-08-12 14:49:59 +02:00
Diva Canto 10d923dbea Fixes a race condition in EQ processing that was making EQs pop up again upon client close.
Commented remote call on GetSystemFolders again, so that it's not live yet.
2009-08-11 16:47:36 -07:00
Diva Canto 41839efcc5 Some more hammering on the head of the obsolete rest inventory handlers, just to make this work. 2009-08-11 14:52:17 -07:00
Diva Canto bd7ff803fe Re-adding a conditional in UserManager that was removed with arthusv's commit. Changing new inventory ops to POST. 2009-08-11 14:31:45 -07:00
Diva Canto dae9a111aa Added new operations to mock inventory service in tests. 2009-08-11 13:16:53 -07:00
Diva Canto bf3f376b10 Fixed test for detecting when user is no longer in sim. 2009-08-11 12:55:46 -07:00
Diva Canto 08544e576d Disabling the remote call for the time being, so that I can test it on a grid before making it live. 2009-08-11 12:48:19 -07:00
Diva Canto 764ec7ba0a Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-08-11 12:31:02 -07:00
Diva Canto e3dbd0e049 Added http handlers for the two new inventory operations. 2009-08-11 12:30:28 -07:00
Justin Clark-Casey (justincc) fdd0ce68b3 Do new inventory module setup, which is why the test was failing (not the original race condition, hopefully!)
Still always catching the NRE for now pending analysis
2009-08-11 20:09:35 +01:00
Diva Canto dc897b2288 Merged with origin, and resolved one conflict in LoginServiceTests.cs 2009-08-11 10:51:49 -07:00
Diva Canto 263f32a493 Improved test for system folders. Removed log messages. 2009-08-11 10:42:44 -07:00
Diva Canto 31419a70ce System folders inventory cache added to OUT inventory modules. This tracks agents in and out of *sims* in order to fetch/drop their system folders from the cache. Also added region-side support for fetching the system folders from the inventory service. Nothing of this is called yet. 2009-08-11 10:30:03 -07:00
Justin Clark-Casey (justincc) 2dbdb7e036 Re-enable TestReplicateArchivePathToUserInventory() but stop it failing on the NRE for now
Add temporarily logging for diagnosis
2009-08-11 17:49:52 +01: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
Justin Clark-Casey (justincc) a52b5e46c0 Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim 2009-08-11 17:10:22 +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) f9b60f5c34 Disable test again. Ho hum. 2009-08-11 17:05:01 +01:00
Justin Clark-Casey (justincc) 39c9f681ab re-enable just TestReplicateArchivePathToUserInventory() for now to find out if the race condition has been vanquished 2009-08-11 16:55:45 +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 2054093908 Added some needed comments to SceneSetupHelper (actually just retriggering panda) 2009-08-11 12:24:41 -03: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 9f95ec4998 Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-08-10 16:02:33 -07:00
Diva Canto 0c47f8e7ab Changed RequestRootFolder to GetRootFolder 2009-08-10 16:02:09 -07:00
Melanie eba23048ca Replace the Replaceable modules name 2009-08-10 23:08:22 +01: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 43b7e67288 Et voila! - Old inventory code removed. 2009-08-10 10:58:43 -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
Justin Clark-Casey (justincc) da82fe0409 * Fix test failure by setting up MainConsole.Instance in SceneSetupHelpers.SetupScene() 2009-08-10 16:55:53 +01:00
Jeff Ames 3e247a8eaa Minor: formatting cleanup. 2009-08-11 00:32:59 +09:00
Jeff Ames 8863092f7c Split BasicPhysics classes into separate files. 2009-08-11 00:32:59 +09:00
Diva Canto 0d8284c7a1 Removed IAssetCache.
WARNING: PLEASE MAKE SURE TO USE THIS NEW bin/OpenSim.addin.xml
2009-08-10 08:14:57 -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
Melanie 239a14265e Stub out the Profile and Presence services 2009-08-10 00:17:54 +01:00
Melanie 430cc0a24a Add "show digest <id>" console commdn to the ROBUST asset handler
R.O.B.U.S.T.# show digest b8d3965a-ad78-bf43-699b-bff8eca6c975
Name: Terrain Dirt
Description:
Type: 0
Content-type: image/jp2
0000: FF-4F-FF-51-00-2F-00-00-00-00-00-80-00-00-00-80
2009-08-09 23:22:59 +01:00
Diva Canto a5a5e44246 Re-removing 2 lines that got added back on Melanie's commits. git hickup. 2009-08-09 15:17:42 -07:00
Melanie 474f58faf5 Finish the renaming and mae things compile again 2009-08-09 22:25:15 +01:00
Melanie 6ba89bef61 More renames 2009-08-09 22:09:10 +01:00
Melanie 11d72f270d Rename UserData to UserAccount data 2009-08-09 21:53:11 +01:00
Diva Canto 6a6dd66129 More removal of HG2 code, this time authentication module and handlers. 2009-08-09 14:21:47 -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
Jeff Ames bc6ec3b564 Formatting cleanup. 2009-08-09 00:43:13 +09:00
Teravus Ovares (Dan Olivares) e88903f481 * Fix one physics crash for regions larger then 512mx512m 2009-08-08 10:38:53 -04:00
Teravus Ovares (Dan Olivares) b5727a1d77 Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-08-08 00:10:38 -04:00
Teravus Ovares (Dan Olivares) bff26ccdbb * More tweaking of the various services to work with nonstandard region sizes. * Now, what's available of the terrain will show and it'll be truncated if it's larger on Linden Clients. Parcel minimum is 64 (256/4) for the client to accept it. 2009-08-08 00:10:19 -04:00
Melanie 7fc9358ec3 Patch from otakup0pe:
A better solution for making the FreeSwitch module cooperate with
existing installations
2009-08-08 03:29:00 +01:00
Melanie 0b0ed200f6 Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim 2009-08-08 01:43:28 +01:00
Melanie dd03ad86c5 Change the default for internal IP address back to 0.0.0.0 2009-08-08 01:42:50 +01:00
Teravus Ovares (Dan Olivares) d842c1d459 Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-08-07 20:32:23 -04:00