From c164b85ea6351f7a00ea6ec2776101287976da10 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Mon, 28 Dec 2009 20:26:44 -0800 Subject: * Added packing/unpacking of the Home fields in PresenceInfo * Cleaned up IUserService and beefed up UserAccoutData --- OpenSim/Data/IUserAccountData.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Data/IUserAccountData.cs') diff --git a/OpenSim/Data/IUserAccountData.cs b/OpenSim/Data/IUserAccountData.cs index 6bec188..d1d6c66 100644 --- a/OpenSim/Data/IUserAccountData.cs +++ b/OpenSim/Data/IUserAccountData.cs @@ -40,7 +40,7 @@ namespace OpenSim.Data } /// - /// An interface for connecting to the authentication datastore + /// An interface for connecting to the user accounts datastore /// public interface IUserAccountData { -- cgit v1.1 From 18ca978b81fb504b53bddadf292319b85807a299 Mon Sep 17 00:00:00 2001 From: Melanie Date: Tue, 29 Dec 2009 18:31:27 +0000 Subject: Give the new user tables the once-over. Strip the current set of methods from IUserAccountService, we need to define what goes in there. Change the handler to the generic handler. Adjust migrations, add index --- OpenSim/Data/IUserAccountData.cs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'OpenSim/Data/IUserAccountData.cs') diff --git a/OpenSim/Data/IUserAccountData.cs b/OpenSim/Data/IUserAccountData.cs index d1d6c66..0004a5f 100644 --- a/OpenSim/Data/IUserAccountData.cs +++ b/OpenSim/Data/IUserAccountData.cs @@ -36,6 +36,8 @@ namespace OpenSim.Data { public UUID PrincipalID; public UUID ScopeID; + public string FirstName; + public string LastName; public Dictionary Data; } @@ -44,12 +46,6 @@ namespace OpenSim.Data /// public interface IUserAccountData { - UserAccountData Get(UUID principalID, UUID ScopeID); - - List Query(UUID principalID, UUID ScopeID, string query); - bool Store(UserAccountData data); - - bool SetDataItem(UUID principalID, string item, string value); } } -- cgit v1.1 From 8631cea2154f0ded2e3fa27349045650ce6f5998 Mon Sep 17 00:00:00 2001 From: Melanie Date: Tue, 29 Dec 2009 20:14:26 +0000 Subject: Change the interface a bit before someone depends on it's current form --- OpenSim/Data/IUserAccountData.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Data/IUserAccountData.cs') diff --git a/OpenSim/Data/IUserAccountData.cs b/OpenSim/Data/IUserAccountData.cs index 0004a5f..3d0dde4 100644 --- a/OpenSim/Data/IUserAccountData.cs +++ b/OpenSim/Data/IUserAccountData.cs @@ -46,6 +46,6 @@ namespace OpenSim.Data /// public interface IUserAccountData { - bool Store(UserAccountData data); + bool Store(UserAccountData data, UUID principalID, string token); } } -- cgit v1.1 From b6097ae9a8a4566330d882213179feba6d05da62 Mon Sep 17 00:00:00 2001 From: Melanie Date: Wed, 30 Dec 2009 22:23:17 +0000 Subject: Some modifications to user service. Query by name is implemented now --- OpenSim/Data/IUserAccountData.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'OpenSim/Data/IUserAccountData.cs') diff --git a/OpenSim/Data/IUserAccountData.cs b/OpenSim/Data/IUserAccountData.cs index 3d0dde4..5ebe7d3 100644 --- a/OpenSim/Data/IUserAccountData.cs +++ b/OpenSim/Data/IUserAccountData.cs @@ -46,6 +46,7 @@ namespace OpenSim.Data /// public interface IUserAccountData { + UserAccountData[] Get(string[] fields, string[] values); bool Store(UserAccountData data, UUID principalID, string token); } } -- cgit v1.1 From 99ad7aac7f854eaae075e93880c39796183ba7e4 Mon Sep 17 00:00:00 2001 From: Melanie Date: Thu, 31 Dec 2009 01:34:03 +0000 Subject: Implement saving user account data --- OpenSim/Data/IUserAccountData.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Data/IUserAccountData.cs') diff --git a/OpenSim/Data/IUserAccountData.cs b/OpenSim/Data/IUserAccountData.cs index 5ebe7d3..e350a18 100644 --- a/OpenSim/Data/IUserAccountData.cs +++ b/OpenSim/Data/IUserAccountData.cs @@ -38,7 +38,7 @@ namespace OpenSim.Data public UUID ScopeID; public string FirstName; public string LastName; - public Dictionary Data; + public Dictionary Data; } /// @@ -47,6 +47,6 @@ namespace OpenSim.Data public interface IUserAccountData { UserAccountData[] Get(string[] fields, string[] values); - bool Store(UserAccountData data, UUID principalID, string token); + bool Store(UserAccountData data); } } -- cgit v1.1 From 01f6aee020eddb46893cbfbcf3b1e114a85ac261 Mon Sep 17 00:00:00 2001 From: Melanie Date: Thu, 31 Dec 2009 02:26:00 +0000 Subject: Implement avatar picker queries --- OpenSim/Data/IUserAccountData.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'OpenSim/Data/IUserAccountData.cs') diff --git a/OpenSim/Data/IUserAccountData.cs b/OpenSim/Data/IUserAccountData.cs index e350a18..6ee5995 100644 --- a/OpenSim/Data/IUserAccountData.cs +++ b/OpenSim/Data/IUserAccountData.cs @@ -48,5 +48,6 @@ namespace OpenSim.Data { UserAccountData[] Get(string[] fields, string[] values); bool Store(UserAccountData data); + UserAccountData[] GetUsers(UUID scopeID, string query); } } -- cgit v1.1