aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-06-02Added a ResetLand method to RemoteAdmin, whereby all land is reset with the ↵Diva Canto1-0/+53
given parameters.
2014-06-01Fixed a few things pertaining to interfacing with the estate service. ↵Diva Canto1-6/+6
Specifically, StoreEstateSettings was not being used anywhere; instead EstatSetting.Save was being called, but that method is a trigger to the DB-layer code directly, which, besides being wrong, was making it impossible to replace the service with a remote connector. Also added more packing/unpacking code.
2014-04-20Stopped setting the Service URL "GatekeeperURI" on users' accounts. It isn't ↵Oren Hurvitz1-1/+0
actually used.
2014-01-19varregion: add --noterrain and --noparcel to 'load oar'.Robert Adams1-2/+4
--noterrain suppresses the loading of the terrain from the oar. --noparcels suppresses the loading of parcel information from the oar.
2014-01-19varregion: add --displacement parameter to 'load oar'.Robert Adams1-1/+2
Adds displacment to all objects and terrain loaded from the oar. As an example, if you have a 512x512 region and an old 256x256 oar, doing load oar --displacement "<128,128,0>" oarFile.oar will load the object (and terrain) into the middle of the 512x512 region. If displacement is not specified, 'load oar' works like it always has. If you have a 5
2014-01-10Refactored: use a single function to apply an object's folded permissions to ↵Oren Hurvitz1-7/+5
its main permissions
2013-12-14varregion: rename 'LegacyRegionLocX' back to 'RegionLocX' and same for Y and Z.Robert Adams1-10/+10
Rename 'RegionWorldLocX' to 'WorldLocX' and same for Y and Z. This keeps the downward compatibility and follows the scheme of 'region' and 'world' location naming that is happening in the Util module.
2013-11-28varregion: many replacements of in-place arithmetic with calls toRobert Adams1-3/+3
the Util functions for converting world addresses to region addresses and converting region handles to locations.
2013-11-20Added admin_authenticate_user commandEva Comaroski1-0/+136
2013-11-08Make admin_save_oar request submit a request ID and log this for tracking.Justin Clark-Casey (justincc)1-4/+14
Previous behaviour of always logging 'name' is unhelpful since this actually an error message parameter which is only filled out if an error has occurred
2013-09-28VarRegion: change RegionInfo storage of region coordinates from regionRobert Adams1-10/+10
count number to integer world coordinates. Added new methods RegionWorldLoc[XY]. Refactored name of 'RegionLoc*' to 'LegacyRegionLoc*' throughout OpenSim. Kept old 'RegionLoc*' entrypoint to RegionInfo for downward compatability of external region management packages.
2013-09-25VarRegion: change RegionInfo storage of region coordinates from regionRobert Adams1-10/+10
count number to integer world coordinates. Added new methods RegionWorldLoc[XY]. Refactored name of 'RegionLoc*' to 'LegacyRegionLoc*' throughout OpenSim. Kept old 'RegionLoc*' entrypoint to RegionInfo for downward compatability of external region management packages.
2013-08-17Fix issues with RemoteAdmin admin_save_heightmap and admin_load_heightmap ↵Justin Clark-Casey (justincc)1-15/+30
not working. This is because they were wrongly looking for both regionid and region_id parameters in the same request. Now only region_id is required (and recognized), regionid having been already deprecated for some time. This is essentially Michelle Argus' patch from http://opensimulator.org/mantis/view.php?id=6737 but with tabs replaced with spaces. Thanks!
2013-05-09minor: Remove mono compiler warning in RemoteAdminPluginJustin Clark-Casey (justincc)1-1/+1
2013-05-06Added new method to Remote Admin for reloading the estate settings. This is ↵Diva Canto1-0/+17
meant to be called when some other program has changed the data on the backend.
2013-05-03On startup, start scenes after we're set up all local scenes, rather than ↵Justin Clark-Casey (justincc)1-0/+1
starting scenes before others have been created. This aims to avoid a race condition where scenes could look to inform neighbours that they were up before those neighbours had been created. http://opensimulator.org/mantis/view.php?id=6618
2013-04-04Fix XmlRpcAdmin admin_exists_user call so that it actually returns the last ↵Justin Clark-Casey (justincc)1-1/+1
user login time rather than serializing the DateTime directly which generates a set of unexpected fields. lastlogin return is in unix timestamp format.
2013-03-26Add admin_get_agents xmlrpc method.Justin Clark-Casey (justincc)1-0/+66
This allows one to retrieve information about agents from a particular region (name, id, position, etc.) Similar to output from "show users" See http://opensimulator.org/wiki/Remoteadmin:admin_get_agents for more details
2013-03-26Phase 1 of implementing a transfer permission. Overwrite libOMV's PermissionMaskMelanie1-0/+1
with our own and add export permissions as well as a new definition for "All" as meaning "all conventional permissions" rather than "all possible permissions"
2012-11-17Remove unnecessary ability to directly set InventoryItemBase.CreatorIdAsUuidJustin Clark-Casey (justincc)1-4/+0
This was necessary historically but hasn't been for many years. Can still get CreatorIdAsUuid, which is really just a UUID cached version of the string CreatorId
2012-09-29Get rid of some unnecessary casts in RemoteAdminPlugin.Justin Clark-Casey (justincc)1-5/+5
This was stopping http://code.google.com/p/opensimtools/wiki/RemoteAdminPHPClass from working with some methods (e.g. create_user). However, this casting has been around for at least 2 years so I'm puzzled that it worked in the first place, though it probably is extremely old sample code.
2012-09-22Remove deprecated parameters for region_id.Michelle Argus1-74/+0
Remove deprecated parameters for region_id as anounced in january 2012.
2012-09-14Support multi-region OAR filesOren Hurvitz1-0/+7
Merged ArchiveWriteRequestPreparation.cs and ArchiveWriteRequestExecution.cs. This simplifies the code, and it's faster to write each scene to the archive as it's found rather than all at once at the end.
2012-02-03Changed save oar and save iar parameter -p|--profile to -h|--home, including ↵Snoopy Pfeffer1-2/+2
corresponding RemoteAdmin parameter
2012-01-06Allow RemoteAdmin to deal with all the different kinds of region id ↵Justin Clark-Casey (justincc)1-215/+191
parameter that have been used in different methods. See http://opensimulator.org/mantis/view.php?id=5814 Thanks Michelle Argus!
2011-12-19addresses mantis #5827nebadon1-1/+1
RAdmin - admin_save_oar fails if noassets parameter missing thanks Michelle Argus
2011-12-08Remove a left over log outputMelanie1-2/+1
2011-12-07Remove warning in admin_save_oar xmlrpc method where noassets == true was ↵Justin Clark-Casey (justincc)1-1/+1
comparing against an object rather than a string
2011-12-07Have admin_load_heighmap and admin_save_heightmap xmlrpcadmin methods return ↵Justin Clark-Casey (justincc)1-2/+2
success = true on success rather than false
2011-12-07Refactor RemoteAdminPlugin so that every xmlrpc method calls a common block ↵Justin Clark-Casey (justincc)1-1711/+1370
of code to do password checks, etc., instead of copy/pasting this code into every method
2011-12-07Implement XMLRPCAdmin command admin_teleport_agent.Justin Clark-Casey (justincc)1-0/+113
This allows someone with access to this command on the XMLRPCAdmin interface to teleport an avatar to an arbitrary region and/or position.
2011-10-21RemoteAdmin - Added optional terrain loading on region create using ↵Michelle Argus1-21/+41
parameter heightmap_file to specify the terrain file to be loaded
2011-10-08Remove the inconsistently applied now pointless FailIfRemoteAdminDisabled() ↵Justin Clark-Casey (justincc)1-39/+1
check on XMLRPC RemoteAdmin handlers. If admin is disabled then the XMLRPC handlers are never registered, which means that they cannot be called anyway.
2011-10-08replace List used by m_accessIP in RemoteAdminPlugin with the more efficient ↵Justin Clark-Casey (justincc)1-5/+4
HashSet
2011-10-08Add option to allow only explicitly listed IPs to access RemoteAdmin facilities.Justin Clark-Casey (justincc)1-124/+116
Also adds password check to some functions where this was missing and fixes some parameter checking. This is a patch from http://opensimulator.org/mantis/view.php?id=5715 with a few small unrelated spacing tweaks from me. Thanks Michelle Argus.
2011-10-04When creating a new user on the comand line, give the option of allowing a ↵Justin Clark-Casey (justincc)1-1/+1
UUID to be specified to override the randomly generated one. This can be useful in some migration cases where recreating user accounts with known IDs will preserve region scene object ownership.
2011-10-04Turn off keepalives when commands are specifiedMic Bowman1-1/+1
2011-10-01Add ability to pass in the permissions option (perm) to save oar via RemoteAdminJustin Clark-Casey (justincc)1-1/+8
Applies patch in http://opensimulator.org/mantis/view.php?id=5686 Thanks Michelle Argus!
2011-09-16Reattaching a region was failing if the estate name had not changed (issue ↵Kevin Houlihan1-4/+13
5035). Using the RemoteAdmin API to close then recreate a region would fail if the estate name had not changed. If the estate name /was/ changed then the existing estate would be renamed rather than a new one being created. The problem really arose from a lack of distinction in the data storage layer between creating new estates and loading existing ones.
2011-09-09Added a check to the CreateRegion method of the RemoteAdmin module that the ↵Kevin Houlihan1-0/+13
specified user exists. A meaningful exception message is returned if the user is not found. Previously it was returning "Object not set..."
2011-07-02Add profile, merge, noassets and skip-assets options for loading/saving oars ↵Justin Clark-Casey (justincc)1-2/+39
via RemoteAdmin This is http://opensimulator.org/mantis/view.php?id=5453 Thanks Michelle Argus!
2011-04-17Mantis #5442: Add admin_save_heightmapMelanie1-0/+56
2011-04-15Make remote admin error messages more helpful on windows.Justin Clark-Casey (justincc)1-88/+73
Also, make log messages conform more with convention.
2011-04-15Thanks Snoopy for a patch that allows setting of perms on items given to new ↵BlueWall1-1/+34
avatars
2010-11-25Change all restarting to use the restart module. Remove hardcoded behaviorMelanie1-5/+12
2010-11-21Added creator info across the board -- TaskInventoryItems and InventoryItems ↵Diva Canto1-1/+5
themselves. Tested. Seems to be working, main tests pass. Nothing done for IARs or HG transfers yet -- this only works for OARs for the time being. New migration in inventory table in order to make CreatorID varchar(255).
2010-11-08Formatting cleanup.Jeff Ames1-1/+1
2010-11-03Change the default of the new bind_ip_address RemoteAdmin option to 0.0.0.0Melanie1-1/+1
so it reflects the prior default. We are not in the habot of changing default behavior without good reason and making localhost the default would break most current use cases.
2010-11-03Admin Server can now bind to a private ip addressmores1-1/+3
Signed-off-by: Melanie <melanie@t-data.com>
2010-10-30READ CAREFULLY!!! This is a BROKEN commit. It is UNTESTED and INCOMPLETE.Melanie1-10/+8
It contains a major interface version bump and will NOT work with earlier grid services. This is preliminary work that will lead to layers support. Rest appearance services are commented out completely, they will have to be adapted by someone who actually uses them. Remote admin is working, but has no layers support. There is no layers support in the database. Login likely won't work. You have been warned.