aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-05-30Changes osFunction permissions again. Allow_ with a list of UUIDs now againMelanie Thielker1-16/+51
refers to prim OWNERS. A new option set, Creators_, is added to allow selection by script creator. For existing installs, this means no functional change. The warning from my prior commit doesn't apply anymore.
2010-05-30Changes OSSL Api permissions for the case of UUID list. In 0.6.9, the UUIDsMelanie Thielker1-3/+18
would be the IDs of the prim owners in whose prims these functions would run. This changes it so the UUID is the SCRIPT CREATOR instead. Further, osfunctions limited by uuid will not run if the creator and owner differ and the owner has mod rights on the script. There is still a danger in passing moodifiable scripts to others, as they can insert a harmful function, then remove the mod rights to make it runnable. As before, care needs to be taken, but where it was modable prims that were the risk before, modable scripts are the weak spot now. In cases where prim owner == script creator == script owner, nothing will change.
2010-05-29Get the user's DOB back from the server response properly.Melanie Thielker1-1/+1
2010-05-28get TestSaveIarV0_1() uncommented but not running as a test yet since I ↵Justin Clark-Casey (justincc)4-110/+138
didn't get the authentication server to work and my brain is about to fizzle out my ears
2010-05-28restore InventoryArchiverTests.TestReplicateArchivePathToUserInventory() to ↵Justin Clark-Casey (justincc)2-52/+49
work with the new UserAccountService/InventoryService
2010-05-28minor: move a method so that the #regions make more senseJustin Clark-Casey (justincc)1-36/+35
2010-05-28fission UserAccountService.HandleCreateUser() into two methods, one which ↵Justin Clark-Casey (justincc)4-138/+143
handles user command parsing and another which actually does the work
2010-05-28If a command has descriptive help, add a line above and below the print out ↵Justin Clark-Casey (justincc)1-0/+10
for readability
2010-05-28minor: remove mono compiler warningJustin Clark-Casey (justincc)1-1/+2
2010-05-28Add ability to load IARs directly from URIsJustin Clark-Casey (justincc)4-9/+44
So, something like load iar Justin Clark-Casey / PASSWORD http://justincc.org/downloads/iars/my-great-items.iar Will load my IAR directly from the web.
2010-05-28minor: remove mono compiler warningJustin Clark-Casey (justincc)1-1/+1
2010-05-28tidy up help information on load oar and save oarJustin Clark-Casey (justincc)1-5/+11
2010-05-28refactor: move GetStream and URI methods from ArchiveReadRequest -> ↵Justin Clark-Casey (justincc)3-64/+65
ArchiveHelpers
2010-05-28Adjust Scene.DeleteAllSceneObjects() to not delete objects attached to avatars.Justin Clark-Casey (justincc)1-2/+6
This is going to be the right behaviour in all cases, I should think. This means that avatars in region when an oar is loaded do not lose their attachments
2010-05-28comment out large chunks of appearance/inventory region access services to ↵Justin Clark-Casey (justincc)2-660/+656
eliminate warnings that this code is unused
2010-05-28add a smidgen more log debug information in the form of the operating system ↵Justin Clark-Casey (justincc)1-1/+5
version
2010-05-28Simplify AddFullUpdateToAvatars()/AddPartialUpdateToAvatars() by calling the ↵Justin Clark-Casey (justincc)1-2/+5
object's corresponding single avatar update method, rather than calling the sceneviewer directly
2010-05-28remove redundant ScenePresence.QueuePartForUpdate() - every place in the ↵Justin Clark-Casey (justincc)1-9/+0
code calls SceneViewer.QueuePartForUpdate() directly
2010-05-27Prevent a null refMelanie Thielker1-0/+3
2010-05-27Comment noisy "CONNECTION DEBUGGING" messages, because they push moreMelanie Thielker2-14/+14
important stuff off screen too fast. Clean this time
2010-05-27Revert "Comment noisy "CONNECTION DEBUGGING" messages, because they push more"Melanie4-28/+16
Some other stuff snuck in. This reverts commit 4cc533e7ad94d148351c16f48afd2a688a64c48a.
2010-05-27Comment noisy "CONNECTION DEBUGGING" messages, because they push moreMelanie Thielker4-16/+28
important stuff off screen too fast
2010-05-26Just because there is an agent update handler, that doesn't mean there isMelanie Thielker1-3/+4
a pre agent update handler. Null check these separately.
2010-05-26Minor correction to AssetTests.csAlexRa1-3/+3
(forgot to change test descriptions, has no effect on running the tests)
2010-05-24fix sculpt normal direction for mirrored plane sculptsdahlia1-2/+1
2010-05-24Change the way alpha is interpreted on prim text. Manris #4723Melanie1-1/+1
2010-05-24minor: expand upon comments about not scheduling two full updates for ↵Justin Clark-Casey (justincc)1-2/+3
attachments
2010-05-23The 8th migration statement in AssetStore.migrations didn't look right.Diva Canto1-1/+1
2010-05-23Ensured that tests are skipped for wrong conn string, also m_log chngAlexRa1-2/+23
The base test class now tries to connect to DB, ignores all tests in the class if unable to. Also m_log changed to instance field (which in this case shouldn't cause any problems), to avoid having to define it separately in each derived class. Here I touched things that I don't understand well (using log4net), so please review this commit.
2010-05-23Removed (unused?) empty SQL files from MSSQL resource dirAlexRa9-0/+0
There was a whole bunch of these SQL files, all empty and apparently unused. Removing them is just a clean-up, if anybody has a reason for these files to be there, feel free to revert.
2010-05-23MySQL Migrations: Minor correcton to Region/Estate splitAlexRa2-6/+12
(some Estate SQL left behind in the Region migration)
2010-05-23MSSQL Migration: CreatorID in InventoryItems changed to VARCHAR(36)AlexRa1-0/+70
Again, the same thing about potentially having non-GUID CreatorID.
2010-05-23Various minor changes in the data testsAlexRa5-16/+18
2010-05-23Further corrections to MS SQL stores (now passes all tests)AlexRa2-89/+49
Besides, AssetData is slightly optimized to StoreAsset in one request ("IF EXISTS() UPDATE ... ELSE INSERT ...") The main change in the MS SQL Inventory implem. is that it now return empty list (or whatever) when called with UUID.Zero, which is consistent with how the code for other DBs work. I did no changes at all in XInventory, as there is no test set for them.
2010-05-23Split migrations for RegionStore and EstateStore (see WARNING!)AlexRa4-103/+157
ok, so the estate stores now want their own migration files, but as it happened the SQL definition were inside the Region migrations. It seems better/cleaner to keep each 'store' separately updatable. WARNING: any editing in the middle of the migration scripts (as opposite to just appending to them) has the potential of messing up updates of existing databases. As far as I can see, this one is (probably) safe, the worst that could happen is the EstateStore migration silently fail if the estate the tables are already there.
2010-05-23Unitests: Asset, Estate, Region (the "legacy" one), InventoryAlexRa5-173/+137
The tests have been modified to work under NUnit 2.4.6 (the one currently used in the project). They will also work with NUnit 2.5+ as is, but will look better if you #define NUNIT25 for them.
2010-05-23Added MS SQL test conn to INI - only as an example, modify before use!!!AlexRa1-4/+21
NOTE that this INI file is currently loaded as a embedded RESOURCE, which is weird and has a disadvantage of having to rebuild the Tests whenever the conn strings are changed. The only reason is that I couldn't figure out a reliable way to put this INI into the correct dir at runtime. If somebody can do it, that would be cool.
2010-05-23Removed MySql and SQLite-specific asset test filesAlexRa2-156/+0
2010-05-23BasicAssetTest.cs replaced by AssetTests.csAlexRa1-0/+161
AssetTests: The name has changed to reflect the fact it is no longer a base class, but the complete asset test for all supported databases. The test can also check storing of CreatorID, but the feature is disabled at this commit!
2010-05-23Bugfix in tests (must clear db before migrations, not after)AlexRa3-3/+3
2010-05-23EstateData tests passing on all DBsAlexRa1-28/+2
2010-05-23Corrections in RegionTests.cs. It now fully works!AlexRa1-48/+75
The problem was that some tests relied on prior tests to leave the DB in a particular state, but the test class cleared the DB every time. The affected tests have been merged into one to remove the dependencies. tested on all 3 Dbs, all tests green.
2010-05-23Minor corrections in BasicDataServiceTest.csAlexRa1-0/+41
(added more functions for cleaning up DB from the derived tests)
2010-05-23MSSQL: added asset_flags, CreatorID to migrationsAlexRa1-0/+6
2010-05-23MSSQLAssetData updated to support [CreatorID], [asset_flags]AlexRa1-5/+11
2010-05-23MSSQLAssetData: fixed some weirdnessAlexRa1-7/+12
Fixed unfinished SQL in FetchAssetMetadataSet, fixed SQL in UpdateAsset (must not modify ID). NOT tested! But apparently shouldn't work worse than the previous version, esp. the FetchMetadata thing.
2010-05-23All data tests made DBMS-independentAlexRa10-610/+160
2010-05-23Added generic base classes for testing database servicesAlexRa3-0/+241
These are some generic classes that simplify writing tests for any of the data connectors and databases. Among other things, configuring the connection strings is done once, in a separate resource file. Tests based on the new BasicDataServiceTest class require NUnit 2.5 or better.
2010-05-23Remove an unneeded conditionalMelanie1-2/+1
2010-05-21Apply http://opensimulator.org/mantis/view.php?id=4632Justin Clark-Casey (justincc)2-2/+60
Adds dialog methods for MRM. Thanks ziah.