aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-04-11Fix the presence info caching used in llRequestAgentData(), which was ↵Justin Clark-Casey (justincc)1-1/+1
completely inoperative. This means the presence info may be out of date by up to 20 seconds, but this avoids scripts potentially triggering constants requests to user accout and presence info services. Relates to http://opensimulator.org/mantis/view.php?id=7088 though I fixed in a different way. Adds regression test for this case.
2014-04-02Fixed AssetsExist in SQLiteOren Hurvitz1-2/+2
2014-04-02Made the SQLite unit tests work on Windows (sqlite3.dll wasn't being loaded)Oren Hurvitz1-0/+3
2014-04-02Added assets service method AssetsExist(), which returns whether the given ↵Oren Hurvitz10-83/+166
list of assets exist. This method is used to optimize sending assets with embedded assets: e.g., when a Hypergrid visitor takes an item into the inventory.
2014-03-26Fix MSSQLInventoryHandler.IncreementFolderVersion where sql accidentally ↵Justin Clark-Casey (justincc)1-1/+1
used a MySQL style ?folderID insted of @folderID Thanks to LuciusSirnah in http://opensimulator.org/mantis/view.php?id=7075 for this fix
2014-03-26minor: remove compiler warning from NullEstateDataJustin Clark-Casey (justincc)1-1/+1
2014-03-26Add MSSQL EstateStore.migrations VERSION 10 transaction to add ↵Justin Clark-Casey (justincc)1-0/+8
AllowLandMark, AllowParcelChanges and AllowSetHome columns to estate_settings table. Taken from http://opensimulator.org/mantis/view.php?id=7074 by LuciusSirnah. Thanks!
2014-03-26Fix extra physics params MSSQL migration (version 39).Justin Clark-Casey (justincc)1-5/+5
This was failing because it used MySQL syntax This is taken from Lucius Sirnah's entry in http://opensimulator.org/mantis/view.php?id=6593 But with the column existence checking removed, as this should not be necessary in a migration and is inconsistent with all other migrations, though I can see a case for doing it.
2014-03-24Fixed updating usersettings in the databaseOren Hurvitz1-2/+2
Resolves http://opensimulator.org/mantis/view.php?id=6938
2014-03-24Don't show hidden groups in search resultsOren Hurvitz1-3/+3
Resolves http://opensimulator.org/mantis/view.php?id=6937
2014-03-18Fix a bug in previous commit 01520bb where I accidentally saved ↵Justin Clark-Casey (justincc)1-1/+1
OtherCleanTime instead of Dwell
2014-03-18Save and load dwell parcel stat in MySQL DB adaptor. Field in table already ↵Justin Clark-Casey (justincc)1-3/+4
exists! The SQLite database adaptor was loading and saving dwell whilst MySQL was not, even though the field already exists in the db table.
2014-03-07Add regression test for sending group notices via xmlrpc groups connector.Justin Clark-Casey (justincc)2-25/+68
2014-01-28Repair database routines so they properly return null when asked forRobert Adams5-4/+21
the heighmap of a region that does not exist.
2014-01-16In the offline message table, store the sender.Oren Hurvitz2-2/+13
This data is useful for preventing abuse (e.g., someone who sends too many messages), or for deleting message if their sender has been deleted.
2013-12-16Fix issue with editing notes for other avatarsBlueWall1-0/+4
2013-12-16Populate user preferences with UserAccount email if it is present, else ↵BlueWall2-7/+12
return an error indicating no email is on record for the user.
2013-12-14varregion: rename 'LegacyRegionLocX' back to 'RegionLocX' and same for Y and Z.Robert Adams1-4/+4
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-12-06Add support for user preferences (im via email)BlueWall7-36/+148
2013-12-05Adding profile partners fix to SQLite and PgSQL driversBlueWall2-4/+0
2013-12-05Stop writing partner id to record when updating profile data. This should be ↵BlueWall1-2/+0
changed only by admin in backend.
2013-12-06Reversing back to the row["ColumnName"] case field name. ↵Fernando Oliveira1-1/+1
http://opensimulator.org/mantis/view.php?id=6868
2013-11-25Corrected case to get columns from Regions table from PostgreSQL ↵Fernando Oliveira1-2/+2
http://opensimulator.org/mantis/view.php?id=6865 Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2013-11-22Fixed the update StoreRegionWindlightSettings() wasn't updating ↵Fernando Oliveira1-4/+5
regionwindlight table, raising PrimaryKey violation; Signed-off-by: Fernando Oliveira <fernando@oliveira.eti.br> Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2013-11-08varregion: elimination of Constants.RegionSize from all over OpenSimulator.Robert Adams1-2/+2
Routines in Util to compute region world coordinates from region coordinates as well as the conversion to and from region handles. These routines have replaced a lot of math scattered throughout the simulator. Should be no functional changes.
2013-11-04varregion: remove unused terrain serialization code in SQLite and PGSQL modulesRobert Adams2-40/+0
2013-11-01varregion: push TerrainData implementation up and down the database storage ↵Robert Adams5-95/+97
stack. Implement both LoadTerrain and StoreTerrain for all DBs. Move all database blob serialization/deserialization into TerrainData.
2013-10-16Corrected estateID to EstateID on getEstates function at PGSQLEstateData.csFernando Oliveira1-1/+1
2013-10-16* One More thing, add an appdomain data element to ensure that we don't ↵Fernando Oliveira2-4/+15
duplicate the assembly resolving.
2013-10-16* Fixes mantis mantis 0006803 [PGSQL] - Simulator crashes - ↵Fernando Oliveira2-0/+47
Mono.Security.dll missing. The root of the issue is that the Postgres driver relies on Mono.Security.dll from the mono project. Unfortunately, when using Mono, including the dll in the distribution causes conflicts. This solution puts Mono.Security.dll in bin/lib/NET/ and, if windows .NET is the runtime, informs the assembly loader to load bin/lib/NET/Mono.Security.dll when .NET is scanning for the Mono.Security namespace. On Mono, the included Mono.Security assembly is ignored.
2013-10-16varregion: update PGSQL driver for storing variable terrain size blobs.Robert Adams1-15/+30
2013-10-15* Fixes mantis #6802 Simulator crashes whist loading (lighshare enabled)fernando4-9/+40
* Please test
2013-10-12Fernando Oliveira's Postgress SQL Server Data Connector as a single commit.Fernando Oliveira40-0/+11892
* Added PostGreSQL support * Added MySQL/MySQLXGroupData.cs * PostgreSQL data access implementation * PostgreSQL dll binarie and RegionStore.migrations * Migrations Scripts from MSSQL to POSTGRES * Postgres SQL Type fixes * Postgres SQL Connection string * Data type issues * more fixes * tests and +tests * UUID x string - FIGHT! * Fixed PG types to internal csharp types * More data type fix (PostgreSQL fields are case sensitive) :( * more field case sensitive fixes * changed the migration files to be case sensitive for fields. * fixed fields case * finished converting, now search for hidden bugs. * some more fixes * bool type fixed * more case fixes; * creatorID case fixed * case fields fixed * fixed default now() for TMStamp fields with don't allow nulls. * fix case sensitve for Region name and Estate name * fixed case for names for search * fix class name Error * Bug fixed on select and migrations * Un-Reverting my change due to Postgres issue with the ILIKE function * Fixed some issued for Diva Distro * Fixes for integration with Diva Distro * Added System.Core to prebuild.xml for PG project * Configured to make DIff for Push to OpenSim Project * Diffs only to PostgreSQL mods.
2013-10-07varregion: plug in TerrainData class and modify TerrainModule and ↵Robert Adams3-84/+48
LLClientView to use same. This passes a terrain info class around rather than passing a one dimensional array thus allowing variable regions. Update the database storage for variable region sizes. This should be downward compatible (same format for 256x256 regions).
2013-10-04Bump OPenSimulator version and assembly versions up to 0.8.0 DevJustin Clark-Casey (justincc)5-5/+5
2013-09-28Remove time based terrain storage in SQLite so revision number can be usedRobert Adams3-16/+7
to denote terrain format revision. Add terrain DB format revision codes to ISimulationDataStore.cs. Setup so legacy compatible terrain storage and fetch is possible while allowing future format extensions.
2013-09-28VarRegion: change RegionInfo storage of region coordinates from regionRobert Adams1-4/+4
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-25Remove time based terrain storage in SQLite so revision number can be usedRobert Adams3-16/+7
to denote terrain format revision. Add terrain DB format revision codes to ISimulationDataStore.cs. Setup so legacy compatible terrain storage and fetch is possible while allowing future format extensions.
2013-09-25VarRegion: change RegionInfo storage of region coordinates from regionRobert Adams1-4/+4
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-22Preserve attachment point & position when attachment is rezzed in worldAleric Inglewood6-9/+87
Patch taken from http://opensimulator.org/mantis/view.php?id=4905 originally by Greg C. Fixed to apply to r/23314 commit ba9daf849e7c8db48e7c03e7cdedb77776b2052f (cherry picked from commit 4ff9fbca441110cc2b93edc7286e0e9339e61cbe)
2013-09-02Allow one to specify a DefaultHGRegion flag in [GridService] in order to ↵Justin Clark-Casey (justincc)4-0/+16
allow different default regions for HG and direct grid logins. This requires a new GridService.GetDefaultHypergridRegions() so ROBUST services require updating but not simulators. This method still returns regions flagged with just DefaultRegion after any DefaultHGRegions, so if no DefaultHGRegions are specified then existing configured defaults will still work. Immediate use is for conference where we need to be able to specify different defaults However, this is also generally useful to send experienced HG users to one default location and local users whose specified region fails (e.g. no "home" or "last") to another.
2013-07-28This makes group search work (Groups V2).Diva Canto1-1/+1
2013-07-19Fix HGTravelStore.migrations in SQLite (mantis #6709)Diva Canto1-10/+10
2013-07-18Enable storing of environment settings in NullSimulationDataDan Lake1-3/+17
2013-07-14Added SQLite version of hg travel data store. UNTESTED. Hope it works!Diva Canto2-0/+100
2013-07-14Cleanup old hg sessions (older than 2 days)Diva Canto3-0/+12
2013-07-14HG UAS: Moved hg-session data from memory to DB storage. This makes it so ↵Diva Canto3-0/+145
that traveling info survives Robust resets. It should also eliminate the cause of empty IP addresses in agent circuit data that we saw in CC grid. MySQL only.
2013-07-11Enhance NullEstateData to remember stored estate values and returnRobert Adams1-7/+21
them next time asked. This keeps any estate settings from being reset when the estate dialog is opened in a region with null estate storage.
2013-07-04HG Friends: migration #3 is failing on some installations of MySql. Setting ↵Diva Canto1-1/+1
the table to InnoDB seems to fix the problem.
2013-07-02Fix SQL statementDiva Canto3-3/+3