aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Do proper locking of m_localScenes list in SceneManagerJustin Clark-Casey (justincc)2011-08-061-4/+3
|
* Get "show region" command in GridService to show grid co-ordinates rather ↵Justin Clark-Casey (justincc)2011-08-051-2/+3
| | | | | | | than meters co-ord. This makes it consistent with "show regions" Addresses http://opensimulator.org/mantis/view.php?id=5619
* If GetRegionByName can't match something in the local db, then search the ↵Justin Clark-Casey (justincc)2011-08-021-6/+27
| | | | | | hypergrid if that functionality has been enabled. This should fix the problem today where old style HG addresses (e.g. "hg.osgrid.org:80:Vue-6400") stopped working since 8c3eb324c4b666e7abadef4a714d1bd8d5f71ac2
* Change GridService.GetRegionByName() to only return info if there is an ↵Justin Clark-Casey (justincc)2011-08-022-1/+7
| | | | | | | exact region name match, unlike GetRegionsByName() This should fix the first part of http://opensimulator.org/mantis/view.php?id=5606, and maybe 5605. Thanks to Melanie for helping with this.
* Revert "In GridService, have GetRegionByName() call GetRegionsByName() with ↵Justin Clark-Casey (justincc)2011-08-021-5/+4
| | | | | | | | a max return of 1 instead of duplicating code." This reverts commit 8d33a2eaa10ed75146f45cca4d6c19ac814d5fee. Better fix will be along in a minute
* In GridService, have GetRegionByName() call GetRegionsByName() with a max ↵Justin Clark-Casey (justincc)2011-08-021-4/+5
| | | | | | return of 1 instead of duplicating code. This also fixes the problem where this method would not return a hypergrid region, unlike GetRegionsByName()
* Get rid of AvatarAppearance.Owner to simplify the code.Justin Clark-Casey (justincc)2011-08-025-7/+7
| | | | This is not used for anything - appearances are always properties of objects with ids (ScenePresence, AgentCircuitData) and just has the potential to get out of sync when the appearance is cloned.
* Temporary code to change bad AvatarHeight values in the AvatarService to the ↵Justin Clark-Casey (justincc)2011-07-301-1/+27
| | | | | | | default Ruth height. I was persuaded to do this because simulators on osgrid will persist in inserting bad values for an unknown length of time, even after the original simulator bug which was inserting bad values is out in an osgrid distro This code can be removed at some point in the future, though I think there is an argument for having services police these values in open grids.
* Pass the first name and last name from the agent circuit data to the ↵Justin Clark-Casey (justincc)2011-07-232-16/+21
| | | | | | | | | | authorization service rather than from the account. This is to accomodate situations where the authorization service is being used by the hypergrid, where visitors have no user account. See http://opensimulator.org/mantis/view.php?id=5517, this code is somewhat adapted/cleaned up from Michelle's patch I'm a little ambivalent about this since visitors could put anything in firstname/lastname so it's not much of an auth measure. It's up to the auth service to decide which data it actually uses. Possibly we should be passing through other info such as agent circuit ip
* For default everyone permissions on library items, make notecards and ↵Justin Clark-Casey (justincc)2011-07-231-1/+2
| | | | | | | | | | scripts non-modifiable (but still copyable, etc). Users should not be given the impression that they can modify these items. This still does not solve the issue where library items cannot be dragged into prims or user inventory any time after they are initially seen. Curiously, manually copying and pasting still appears to work. On the surface, this seems to have something to do with library item caching on the client, since deleting the cache allows drag to work again once Not sure what the exact problem is.
* Remove manually permissions settings on all current library items so that ↵Justin Clark-Casey (justincc)2011-07-231-4/+4
| | | | | | | they use the defaults instead. Some items had completely wrong permissions - this is easier than correcting them all. The ability to set permissions in xml is retained since there are use cases for this (e.g. to create no-mod library scripts)
* Revert "Don't load current/next/everyone/base permissions from the library ↵Justin Clark-Casey (justincc)2011-07-231-11/+26
| | | | | | | | item xml files - always use PermissionMask.All instead (which was the existing default)." There actually are uses for this. I will correct the perms instead since some entries appear to be wrong. This reverts commit 667b54f5a2a04fa5a2859397868d270eab3913f1.
* Don't load current/next/everyone/base permissions from the library item xml ↵Justin Clark-Casey (justincc)2011-07-231-26/+11
| | | | | | files - always use PermissionMask.All instead (which was the existing default). Library items always need the same permissions, so it doesn't make sense to load them from the xml files. This just opens the door to permissions mistakes.
* When an uncached asset is requested multiple times concurrently, only load ↵Oren Hurvitz2011-07-211-9/+49
| | | | | | it once Signed-off-by: root <root@grid00001.t-data.com>
* add test for resizing one part in a groupJustin Clark-Casey (justincc)2011-07-161-1/+0
|
* minor: remove mono compiler warningsJustin Clark-Casey (justincc)2011-07-161-35/+36
|
* refactor: Move all callers of the obsoleted ↵Justin Clark-Casey (justincc)2011-07-131-5/+3
| | | | SychronousRestObjectPoster.BeginPostObject() to the identical SynchronousRestObjectRequester.MakeRequest()
* When loading library asset set, only store an asset if it's different from ↵Justin Clark-Casey (justincc)2011-07-081-3/+12
| | | | | | | | | an existing one with the same id. We compare existing and loaded asset by doing an SHA1 on both, so that a changed library asset will still update the store. This cuts asset library load time from 10 seconds to <1 sec. Note, a fix on the previous commit revealed a bug where a library script cannot be copied except on the first login after a cache clear. This is unrelated to this commit and needs to be fixed at some subsequent time.
* Fix bug in reset user password where entering an invalid name would cause an ↵Justin Clark-Casey (justincc)2011-06-251-4/+7
| | | | | | exception. Also, convert this commands log output to console output. Console output is more appropriate for console commands. The log only gets one side of the conversation anyway (since it doesn't necessarily record command inputs).
* Implement "set user level" console command to set the user level (which ↵Justin Clark-Casey (justincc)2011-06-251-0/+47
| | | | | | determines whether a user has a god account) Adapted from Makopoppo's patch in http://opensimulator.org/mantis/view.php?id=5552. Thanks!
* Add a command "show account <first-name> <last-Name>" to the user account ↵Justin Clark-Casey (justincc)2011-06-241-1/+38
| | | | service that will show the given user details
* Tell hypergridders when their teleports fail because of the 4096 limit ↵Justin Clark-Casey (justincc)2011-06-241-56/+59
| | | | | | | | | | | rather than just saying "destination not found" Instead of performing the 4096 check when the region is linked (and subsequently removing the link), leave the link in place and perform the check in the entity transfer module This allows us to explicitly tell the hypergridder why the teleport failed (region out of range). It also allows people on regions that are within range (on a large source grid) to teleport. The Check4096 config parameter in the [GridService] section is replaced by a max_distance paramter in a new [EntityTransfer] section in OpenSimDefaults.ini Since the parameter is in OpenSimDefaults.ini no action needs to be taken unless you want to increase this limit. It could also be decreased. The check is being made in the base entity transfer module, since I believe the viewer problem occurs both on extremely large grids and while hypergridding.
* V2 map now working in grids too. WARNING: A few visible configuration ↵Diva Canto2011-06-132-42/+41
| | | | variables added in order for this to work. See .ini.example changes
* Add credit and link to SimianGrid project. Thanks, guys!Diva Canto2011-06-121-0/+4
|
* People are bound to forget the '/' at the end of MapTileURL, so let's ↵Diva Canto2011-06-121-0/+8
| | | | correct that from the inside.
* bit depth: 24!!! begeez! -- zoom levels work now.Diva Canto2011-06-121-3/+2
|
* A few bug fixes on map V2. Zoom level weirdness still there.Diva Canto2011-06-121-1/+1
|
* First pass at making the V2 map work. Standalones only for now. There are ↵Diva Canto2011-06-123-2/+457
| | | | some issues with the zoom level -- TBD.
* Only send AgentOnline to the client if the friendsOnline list has elements. ↵Diva Canto2011-06-111-1/+1
| | | | Also, increased the timeout on UserAgentServiceConnector, StatusNotification again.
* More tweaking on the UserAgentServiceConnector: add constructor that does ↵Diva Canto2011-06-101-13/+22
| | | | not do DNS lookup, and use that for friends notification.
* Decreased timeout of HG StatusNotification to 4secs. ↵Diva Canto2011-06-101-1/+1
| | | | http://opensimulator.org/mantis/view.php?id=5516
* Removing special casing on failures. This may also fix reports of this issue:Diva Canto2011-06-081-2/+4
| | | | 22:07:53 - [USER AGENT CONNECTOR]: remote call to http://hg.osgrid.org:80/ returned an error: Requested method [locate_user] from 127.0.0.1 threw exception: Object reference not set to an instance of an object at OpenSim.Services.HypergridService.UserAgentService.LocateUser (UUID userID) [0x00000] in <filename unknown>:0
* Deleted wrong debug message.Diva Canto2011-06-081-1/+0
|
* Added error message to help understand ↵Diva Canto2011-06-071-0/+5
| | | | http://opensimulator.org/mantis/view.php?id=5527
* This hopefully fixes all issues with online/offline notifications across ↵Diva Canto2011-06-073-10/+76
| | | | grids. http://opensimulator.org/mantis/view.php?id=5528
* Remove scary error messageDiva Canto2011-06-071-6/+0
|
* This fixes the crash reported in ↵Diva Canto2011-06-073-18/+14
| | | | http://opensimulator.org/mantis/view.php?id=5529 related to sending IMs to foreign friends who are offline. Hopefully.
* This should make offline IMs work again. It should work for incoming foreign ↵Diva Canto2011-06-061-4/+47
| | | | IMs where the local recipient is offline. I can't test any of this, because I don't run an offline IM server.
* Fix give inventory tests to use different users rather than (accidentally) ↵Justin Clark-Casey (justincc)2011-06-041-2/+6
| | | | the same user. Extend TestGiveInventoryItem() to test giving back the same item.
* HG IM: increase the timeout valueDiva Canto2011-06-021-1/+1
|
* Bug fix on HG IM.Diva Canto2011-06-022-14/+14
|
* HG Friends bug fix: connector was shrinking principalID to UUID.Diva Canto2011-06-021-12/+12
|
* Re-Apply Use current TravelingAgent if the the login failure reason is ↵BlueWall2011-06-011-2/+5
| | | | | | "Logins Disabled" to fix NullReferenceException, allowing agent to login to fallback region when logins are disabled by "StartDisabled = true" or when logins are disabled by RegionReady"" This reverts commit 0a430bbffb561a5172220e7617257798c11a66f5.
* Revert "Use current TravelingAgent if the login failure reason is "Logins ↵BlueWall2011-06-011-5/+2
| | | | | | Disabled" to fix NullReferenceException, allowing agent to login to fallback region when logins are disabled by "StartDisabled = true" or when logins are disabled by RegionReady" This reverts commit 4b9e446c6267a1161263d885699e72c97e8a94eb.
* Merge branch 'master' of /home/opensim/src/opensimBlueWall2011-06-011-2/+5
|\
| * Use current TravelingAgent if the login failure reason is "Logins Disabled" ↵BlueWall2011-06-011-2/+5
| | | | | | | | to fix NullReferenceException, allowing agent to login to fallback region when logins are disabled by "StartDisabled = true" or when logins are disabled by RegionReady
* | Merge branch 'master' of /home/opensim/src/opensimBlueWall2011-06-011-3/+15
|\ \ | |/
| * Add alternate region handling for url based logins as found in login to ↵BlueWall2011-06-011-3/+15
| | | | | | | | "home" or "last"
* | Made GetMapImage public in the HyperlinkerDiva Canto2011-05-301-5/+5
| |
* | Made the GatekeeperConnector a public property.Diva Canto2011-05-301-0/+4
| |