aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/SQLite/SQLiteFriendsData.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-11-14More consistently dispose of SqliteCommand in OpenSim.Data.SQLite where ↵Justin Clark-Casey (justincc)1-12/+13
possible. Not doing SQLiteInventoryStore since this is no longer used and should disappear in the future.
2012-02-10Fix: Unable to remove AV from friend list (sqldb-bug) ↵PixelTomsen1-1/+1
http://opensimulator.org/mantis/view.php?id=3731
2011-05-22More on HG Friends. Added Delete(string, string) across the board. Added ↵Diva Canto1-0/+5
security to friendship identifiers so that they can safely be deleted across worlds. Had to change Get(string) to use LIKE because the secret in the identifier is not always known -- affects only HG visitors. BOTTOM LINE SO FAR: HG friendships established and deleted safely across grids, local rights working but not (yet?) being transmitted back.
2011-05-21Fixed permissions bug related to friends in PermissionsModule. Added ↵Diva Canto1-1/+6
FriendsData[] GetFriends(string principalID) to IFriendsData and FriendInfo[] GetFriends(string PrincipalID) to IFriendsService. Refactored some more in the FriendsModule. Made client get notification of local friends permissions upon HGLogin. HG Friends object permissions work.
2010-09-23* Add CSharpSqlite to prebuildTeravus Ovares (Dan Olivares)1-1/+5
* Use a conditional define to determine whether we're using CSharpSqlite or Mono.Data.Sqlite #if CSharpSqlite using Community.CsharpSqlite.Sqlite; #else using Mono.Data.Sqlite; #endif * Hopefully, this will restore sqlite functionality on a Mac. In visual studio, you can edit the OpenSim.Data.SQLite project, go to the Build tab and enter CSharpSqlite in the box. I'm not sure how to define CSharpSqlite in Mono, someone better at it then me will have to take the job of figuring out the best way to define it in Mono.
2010-04-30Fix a bunch of issues that crop up after the naive porting of the new sqlite ↵Justin Clark-Casey (justincc)1-70/+0
db from master to 0.6.9
2010-04-30rename SQLiteNG to SQLite and SQLite to SQLiteLegacy this seems the least ↵Justin Clark-Casey (justincc)1-1/+1
evil way forward since mono 2.6 and later will see increasing usage, and this only works with what was SQLiteNG MAC USERS WILL NEED TO CHANGE REFERENCES TO "OpenSim.Data.SQLite.dll" to "OpenSim.Data.SQLiteLegacy.dll" in OpenSim.ini and config-include/StandaloneCommon.ini (if using standalone) See the OpenSim.ini.example and StandaloneCommon.ini.example files for more details This commit also temporarily changes unsigned ParentEstateID values in the OpenSim.Data.Tests to signed temporarily, since the new plugin enforces creation of signed fields in the database (which is what the SQL actually specifies). And change data columns in sqlite is a pita.
2010-04-30put SQLiteNG classes in their own namespace to avoid confusionJustin Clark-Casey1-1/+1
2010-04-30Change SQLiteNG to work with mono 2.6 and above using the Mono.Data.Sqlite.dllJustin Clark-Casey (justincc)1-4/+4
Include the library so that Windows builds correctly It appears that Windows is okay with either SQLite or SQLiteNG Incorporate the latest fixes made by Diva to OpenSim.Data.SQLite
2010-04-30Duplicate OpenSim.Data.SQLite into OpenSim.Data.SQLiteNG. SQLiteNG will ↵Justin Clark-Casey (justincc)1-33/+20
shortly be changed to work under mono 2.6 and above
2010-04-30rename SQLiteNG to SQLite and SQLite to SQLiteLegacyJustin Clark-Casey (justincc)1-5/+9
this seems the least evil way forward since mono 2.6 and later will see increasing usage, and this only works with what was SQLiteNG MAC USERS WILL NEED TO CHANGE REFERENCES TO "OpenSim.Data.SQLite.dll" to "OpenSim.Data.SQLiteLegacy.dll" in OpenSim.ini and config-include/StandaloneCommon.ini (if using standalone) See the OpenSim.ini.example and StandaloneCommon.ini.example files for more details This commit also temporarily changes unsigned ParentEstateID values in the OpenSim.Data.Tests to signed temporarily, since the new plugin enforces creation of signed fields in the database (which is what the SQL actually specifies). And change data columns in sqlite is a pita.
2010-02-21SQLite connector for UserAccounts and Auth works. Yey!Diva Canto1-17/+14
2010-02-20Restored mising m_Connection.Diva Canto1-0/+1
2010-02-21Fix SQLite locking and make it more fascist for nowMelanie1-14/+22
2010-02-20SQLite connector better, but access to tables still doesn't work.Diva Canto1-8/+5
2010-02-20Added UserAccountData and auth to the SQLite connector. Compiles, runs, but ↵Diva Canto1-3/+8
access to these tables doesn't work.
2010-01-04Sqlite framework and generic handler. They compile. More I cannot say.Melanie1-47/+12
2009-11-02Removing Console.WriteLine()s that were brought in with the revertJohn Hurliman1-2/+0
2009-11-02Reverting the memory leak patch for MySQL. Problems have been reported with ↵John Hurliman1-8/+5
the grid server after running for several hours
2009-10-06Remove the using() constructs from the new style database modules; they causedMelanie1-4/+10
the underlying connection of a reader or command to be closed before the reader or command itself. Added the proper logic to Close and dispose items in CloseDBConnection. Readers and Connections need Close(), Commands need Dispose(), in the order Reader, Command, Connection. Also reinstated 80-column-friendly formatting
2009-10-05Added CloseDBConnection() to replace the old CloseReaderCommand(). This will ↵John Hurliman1-7/+7
close the MySQLConnection attached to a MySQLCommand. I'm not sure if this accounts for every time a database connection needs to be closed, but it matches up 1:1 with the places where the database connection was previously being closed
2009-10-04* MySQL data tests now pass by fixing a bad fix for a bad cast on the asset ↵John Hurliman1-10/+4
Local member in MySQLAssetData * First pass at applying the using(){} pattern to IDisposable objects. Always use the using pattern on IDisposable objects whenever possible, do not manually call .Close() or .Dispose() unless there is no other way to write the code. This pass mostly covers OpenSim.Data.MySQL, and should have no functional change (tests still pass)
2009-09-04More work on new authentication serviceMelanie1-0/+8
2009-09-04Add the user authentication data adapter. This is meant to use a new tableMelanie1-0/+115
schema, but can read the old ones for compatibility. It should not be used to write to the old tables unless you know what you're doing! This is untested and will probably not work.