Commit Graph

64 Commits

Author SHA1 Message Date
Jeff Ames
af6eb67999 saved OpenSim source code from the giant rampaging unterminated copyright notice of doom 2007-12-10 05:25:16 +00:00
Sean Dague
934c54de5a From Justin Casey (IBM)
This corrects an off by one mistake in my previous patch - with this patch
the user root inventory folder should once again be correctly returned
under sqlite.
This was done correctly for mysql and mssql, my only (feeble) defence is
that with sqlite the code was a little different and I was eliminating
clauses rather than slightly modifying them.
2007-12-09 21:48:29 +00:00
Sean Dague
0855066968 This patch fixes mantis 105. Basically, it stops the index exception when
no root folder is found and it makes the user server wait longer for the
inventory server to do its work.

From Justin Casey (IBM)
2007-12-08 14:27:12 +00:00
Teravus Ovares
b287015028 * Fixed a bug in my 'user already logged in' fix that could cause a null reference exception. 2007-11-30 21:01:03 +00:00
Teravus Ovares
57e6b51639 * Here's the issue, on log-off, the routine sets up a null useragent member and then tries to save it to the database.. where it was going wrong, is the database had a check to do *nothing* when it got a null useragent. I made it delete the userAgent row. This should be a good enough fix to solve the problem. It still needs to be looked at by a DB guy 2007-11-30 02:01:12 +00:00
Jeff Ames
6d7ce67db1 fixed duplicate login in standalone mode (mostly untested in grid mode) 2007-11-29 07:22:11 +00:00
Teravus Ovares
9f6b3e2357 * Added AvatarPicker in Standalone mode. Works for finding avatar to ban, manually trying to add a friend (with the add button) or useful to those who are curious which usernames have visited your standalone sim. Important for future development :D.
* Grid mode always returns 0 results until the Grid Communications portion is done.
2007-11-13 22:48:19 +00:00
lbsa71
67e12b95ea * Optimized usings
* Shortened type references
* Removed redundant 'this' qualifier
2007-10-30 09:05:31 +00:00
MW
3d8219f6c7 as per the "Filesystem cleanup for OpenSim repository" mailing list thread. Have flattened the OpenSim.Framework project/namespace. The problem is that the namespace is still wrong as its "OpenSim.Framework" while the directory is "OpenSim\Framework\General" , so we need to decide if we change the directory or correct the namespace.
Note this has lead to a big flat project, but I think a lot of the files we most likely don't even use any longer. And others belong in other projects/namespaces anyway.
2007-10-29 21:46:25 +00:00
Adam Frisby
3143768468 * Removed plenty more untagged console messages. Everything now has shiny groups. :) 2007-10-22 22:37:39 +00:00
lbsa71
26b8018bcc * Some asset loading refactoring 2007-10-17 10:58:19 +00:00
Tleiades Hax
44a7db0e44 Renamed SimProfileData to RegionProfileData 2007-10-17 09:36:11 +00:00
lbsa71
849eaffbe5 * Applied patch #418 : copyright-r2012.patch - some errors, but got most thru 2007-10-15 07:10:21 +00:00
Tleiades Hax
1232eb1c58 Asset server implementation. Again one of these "plumbing" releases, where no real functionality has been introduced, but ground work has been made, enabling the asset server, and preparing the sim server to query the asset server.
Introduced an "IPlugin" interface, which plugins can inherit from.
2007-10-13 07:26:21 +00:00
MW
4c25008850 Applied patch 485, inventory patch from tleiades (thanks again). 2007-10-08 10:30:15 +00:00
MW
4e6b68df13 Applied Patch 473, Inventory Patch from Tleiades (many thanks). 2007-10-06 08:23:51 +00:00
lbsa71
d4a4aafaf1 * So, ok, maybe renaming serialized fields on a friday wasn't the smartest of things. Reverting 2056. 2007-10-05 13:54:16 +00:00
lbsa71
ed6168b96b * UserProfileData meets code conventions 2007-10-05 11:27:46 +00:00
lbsa71
5a65521203 == The "right name and place" commit ==
* Moved InventoryData to Framework.Types/InventoryItemBase.cs
* Moved UserData to Framework.Interfaces/IUserData.cs
* Moved UserProfileData to Framework/Types/UserProfileData.cs
* Deleted ass-backwards Framework dependency on Framework.Data (now it's the other way round)
* Changed some namespaces to reflect file structure
2007-10-05 10:14:42 +00:00
lbsa71
b5eaea7b0c * Moved setup of LocalInventoryService and LocalUserServices to the app layer
* Killed off 'parent' relation from LocalUserServices to CommunicationsLocal
* Deleted obsolete project InventoryServiceBase
* Deleted superfluous createCol function
2007-10-02 00:00:12 +00:00
Sean Dague
1a10d4828a revert working getInventoryFolder function because this seems
to break multi region environments.
2007-10-01 08:17:43 +00:00
Sean Dague
ebfb057583 negative code checkin. All these functions are in the base
class which we get for free now.
2007-09-28 11:11:36 +00:00
Sean Dague
77354612ff implement getInventoryItem and getInventoryFolder (not
sure why these weren't implemented previously)
2007-09-28 10:23:48 +00:00
lbsa71
863195612b Reverting back to 2017 since 2018 were causing Linux breakage; reopening Tleiades patch 444 and 445. 2007-09-27 14:57:43 +00:00
Sean Dague
664de12898 oops, I broke the build. Fixed now 2007-09-27 13:53:50 +00:00
Sean Dague
5b4d631d34 implement something in sqlite inventory that wasn't before
not sure how we missed this function
2007-09-27 13:44:45 +00:00
lbsa71
8143c597fc * Tleiades grid mode inventory (#444) - thanx Tleiades!
* updated to rev 1413 on libsecondlife.dll and libsecondlife.dll.config (#423)
2007-09-27 13:25:45 +00:00
lbsa71
47256cebda * Renamed methods on IUserData 2007-09-24 01:31:00 +00:00
lbsa71
604b786d89 * A feeble attempt at adding Grid db support to SQLite, just adding some code based on User db. Nothing hot-wired though. 2007-09-19 23:16:30 +00:00
Sean Dague
b931048b16 put some locking around user access, which should help with
the exception dalien found during crash-a-thon
2007-09-15 10:43:19 +00:00
Sean Dague
a1e2fea7c1 move the locks closer to the data, sqlite for assets now works like a champ 2007-09-11 08:25:32 +00:00
Sean Dague
207bf2e4cf add DeleteAsset
this also moves commit points around a bit for debuging, though 
this will change back now the MW has worked out synchronization
2007-09-11 05:26:14 +00:00
Sean Dague
a1be7f4be5 added some debugging for tracing where asset code isn't working with sqlite 2007-09-10 13:34:20 +00:00
Sean Dague
ffe9c9374a mass update of urls in source code to new website 2007-09-10 08:14:38 +00:00
MW
15423539f9 hooked up sdague new sqlite asset database provider to the old asset system. So we can still use sqlite for assets while we wait for the rest of the new asset system to be wrote.
Needs more testing, so if it causes problems will have to swap back to db4o.
2007-09-10 06:45:54 +00:00
Sean Dague
294572d7bb added SQLiteAssetData class first pass. This should work,
but it will current store local and temporary assets as well.
Will fix that later.
2007-09-07 13:29:08 +00:00
Sean Dague
6a45a1ce9c factor out common methods to SQLiteBase 2007-09-07 12:37:05 +00:00
Sean Dague
bad1df704a remove debugging statement 2007-08-30 19:58:41 +00:00
Sean Dague
6bd4c6fee6 some changes which get us closer to Sqlite storage for users 2007-08-28 15:11:56 +00:00
Sean Dague
c1a899b651 Ensure that UserProfileData doesn't pass down null values.
These cause some issues with the ADO.NET mapping
2007-08-28 13:02:51 +00:00
Sean Dague
6dd6ef3fa2 sqlite is storing now, uint64 makes things "interesting".
however lookup isn't working
2007-08-28 12:34:00 +00:00
Sean Dague
5363549bf4 added some more types that will be needed 2007-08-28 11:49:25 +00:00
Sean Dague
d5c5aff919 sqlite user datastore "should" be functionally complete
with this checkin, though it's not tested.  Will do that 
tommorrow.
2007-08-28 02:25:44 +00:00
Sean Dague
e92f2accad first pass implementation of sqlite storage for user data. This
isn't functional enough to use yet, but does compile.  Should be
ready for testing in another day or so.
2007-08-27 22:03:21 +00:00
Sean Dague
487a54ffc0 it helps to actually call TestTables to get the new tables created 2007-08-24 15:51:31 +00:00
Sean Dague
a70fac535f updated SQLite Inventory to newer model data definition,
and add automatic generating of the inventory table
2007-08-24 15:42:53 +00:00
MW
531f64a53b Taking Prims (SceneObjectGroups) in and out of inventory should now work and if left in inventory will still be there after restarts. (as with the rest of inventory it will only fully work in standalone mode with account authentication turned on). 2007-08-16 16:31:32 +00:00
MW
181a90967e Start of inventory items, when you upload a texture the data will now be stored in the inventory database and you will still have that texture in inventory on later logins (Again only in standalone mode with authentication.)
Also there might be some problems if you upload textures in other regions to the start one (due to us not updating the CAPS url properly).
2007-08-14 17:29:15 +00:00
MW
a228b5984e Start of Inventory service, currently only (partially) functional in standalone mode and using sqlite).
In standalone mode, if you have account authenticate turned on (setting in opensim.ini) then when you create a new account, a set of inventory is created for that account and stored in database (currently only a set of empty folders). Then during login the database is search for that set and sent to the client in the login response.
More functions will be added soon, like creating new folders (and a bit later items) from the client inventory window.
2007-08-14 13:54:46 +00:00
Sean Dague
2a3c79df83 changed to native line ending encoding 2007-07-16 15:40:11 +00:00