Justin Clarke Casey
f1ebe79824
Fix up other sqlite db interactions to use non-hyphenated uuid
...
Inventory contents retrieval and persistent region storage standalone now appear to work as well as they did before :)
This patch will not fix grid problems.
May be bugs present due to conversions I didn't spot.
I personally probably don't have any more time for this today. I'm also not entirely convinced this is the right way forward
so this might be a handy pause for thought. I'll also be delighted if I wake up tommorrow and everything is fine again.
2007-12-20 19:13:34 +00:00
Justin Clarke Casey
dd1e2c8eb9
Establish Util.ToRawUuidString to get LLUUIDs in unhyphenated form
...
Apply method to UUID crud in SqliteInventoryStore as an initial test
This appears now to successfully recover inventory upon login
This will almost certainly only work on standalone
2007-12-20 18:43:39 +00:00
Jeff Ames
be2ad79e52
Added patch from Johan. First attempt to solve the LibSL.Packet GC problem. Works with LibSL rev>1532
2007-12-20 05:43:02 +00:00
Jeff Ames
6702b03733
Misc. cleanup:
...
* added Util.Clip(value, min, max)
* modified asset cache's numPackets calculation to use max packet size (600) instead of 1000
* removed a few magic numbers
2007-12-19 08:44:25 +00:00
Justin Clarke Casey
019d662606
Put out a more comprehensible message when user authentication fails than the current NullReferenceException based one
2007-12-15 21:58:07 +00:00
Brian McBee
8a8c89a0f3
Grid Inventory feature upgrade: renaming folders should now be correct, subfolders work, moving folders works.
...
Tested only in MYSQL, but may work in MSSQL and sqlite.
Probably not working in standalone mode.
2007-12-15 04:57:14 +00:00
Jeff Ames
8d995a5a5d
Minor cleanup
2007-12-13 18:45:32 +00:00
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