aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-07-26provide config option for media on a primJustin Clark-Casey (justincc)2-4/+21
2010-07-26relocate serialization code from SQLiteRegionData to MoapModule using load ↵Justin Clark-Casey (justincc)1-2/+68
and save events. This is better modularity. It also allows MoapModule to be replaced with some other media module that may behave completely differently in the future. Remaining non-modularity: PrimitiveBaseShape needs explicit Media and MediaRaw fields. MediaRaw is required in order to shuttle the pre-serialization data back and forth from the database layer. The database also needs to know about MediaRaw though not about Media. IMO, it would be extremely nice to remove these hard codings but this is a bridge too far at the present time.
2010-07-26Add EventManager.OnSceneObjectPreSave() for future use. This is triggered ↵Justin Clark-Casey (justincc)1-2/+9
immediately before a copy of the group is persisted to storage
2010-07-26Add EventManager.OnSceneObjectLoaded() for future use. This is fired ↵Justin Clark-Casey (justincc)1-6/+13
immediately after a scene object is loaded from storage.
2010-07-26also add avatar id to an updated media url - not just new onesJustin Clark-Casey (justincc)1-1/+1
2010-07-26Properly set TextureEntry.MediaFlags when a media texture is setJustin Clark-Casey (justincc)1-3/+43
Media flags is cleared via a direct TextureEntry update from the client. If the clearing leaves no media textures on the prim, then a CAP ObjectMediaUpdate is not received. If there are still media textures present then one is received. This change fixes drag-and-drop on Windows (and Mac?) clients. It may also fix problems with clearing and then subsequently setting new media textures.
2010-07-26start adding user ids to the media urlsJustin Clark-Casey (justincc)1-12/+16
2010-07-26Handle checking of line starting "*" wildcard for whitelist patternsJustin Clark-Casey (justincc)1-8/+22
A line starting * can only be applied to the domain, not the path
2010-07-26refactor: simplify current whitelist url checking by using System.UriJustin Clark-Casey (justincc)1-7/+8
2010-07-26Implement * end wildcard for whitelist urlsJustin Clark-Casey (justincc)1-1/+5
2010-07-26properly expose prim media LSL functions to scriptsJustin Clark-Casey (justincc)1-1/+1
scripts using these functions should now compile but I don't know how well the methods themselves work yet llSetPrimMedia(), at least, appears to have problems when a current url is set for a face that doesn't yet have a texture
2010-07-26fix previous media interact serverside checking. perform very basic ↵Justin Clark-Casey (justincc)2-10/+91
serverside url whitelist checks at the moment, only checking for the exact name prefix is implemented for some reason, whitelists are not persisting this commit also fixes a very recent problem where setting any media texture parameters after the initial configuration would not work
2010-07-26implement code to deregister users on DeregisterCapsJustin Clark-Casey (justincc)1-3/+34
2010-07-26implement serverside checks for media texture navigation in order to stop ↵Justin Clark-Casey (justincc)2-7/+34
naughty clients
2010-07-26factor out soon to be common media permissions check codeJustin Clark-Casey (justincc)1-4/+9
2010-07-26implement prim media control permissions serverside in order to stop bad clientsJustin Clark-Casey (justincc)2-22/+108
2010-07-26discard an object media update message if it tries to set more media ↵Justin Clark-Casey (justincc)1-0/+8
textures than the prim has faces
2010-07-26Fire CHANGED_MEDIA event if a media texture is set or clearedJustin Clark-Casey (justincc)1-0/+5
2010-07-26implement llClearPrimMedia()Justin Clark-Casey (justincc)1-0/+5
untested
2010-07-26fix issue with GetMediaEntry if the face requested wasn't set to a media textureJustin Clark-Casey (justincc)1-1/+2
2010-07-26fix problem persisting when only one face had a media textureJustin Clark-Casey (justincc)1-0/+7
2010-07-26factor out common code for updating the media urlJustin Clark-Casey (justincc)1-41/+27
2010-07-26factor out common face parameter checking codeJustin Clark-Casey (justincc)1-35/+21
2010-07-26implement llSetPrimMediaParams()Justin Clark-Casey (justincc)1-8/+46
Untested
2010-07-26Implement llGetPrimMediaParams()Justin Clark-Casey (justincc)1-2/+17
Exposes method to get media entry via IMoapModule As yet untested.
2010-07-26handle ObjectMediaNavigateMessageJustin Clark-Casey (justincc)1-14/+55
Other avatars can now see the webpages that you're navigating to. The requirement for an initial prim click before the texture displayed has gone away. Flash (e.g. YouTube) appears to work fine. Still not persisting any media data so this all disappears on server restart
2010-07-26send a full object update out to avatars when a media texture is initially setJustin Clark-Casey (justincc)1-6/+2
this allows other avatars to see it, but still only after they've clicked on the face still not handling navigation yet
2010-07-26start storing a mediaurl on the scene object partJustin Clark-Casey (justincc)1-6/+24
not yet persisted or sent in the update
2010-07-26replace hand parsing of incoming object media messages with parsing code in ↵Justin Clark-Casey (justincc)1-60/+31
libopenmetaverse
2010-07-26start storing incoming MediaEntry on a new Media field on PrimitiveBaseShapeJustin Clark-Casey (justincc)1-3/+60
This allows the media texture to persist in memory - logging in and out will redisplay it (after a click) though navigation will be lost Next need to implement media uri on prim and delegate more incoming llsd parsing to libomv
2010-07-26have a stab at sending the correct number of media entries to shapesJustin Clark-Casey (justincc)1-2/+14
actually, this is probably wrong anyway if there's a default texture it's going to be easier just to gather the object media updates and retain those in-memory now but what the hell
2010-07-26do a whole load of crappy hacking to get cubes to display google.comJustin Clark-Casey (justincc)1-6/+89
currently, for smoe reason the page only appears when you click a face. also, actually navigating anywhere always snaps you back to the google search box, for some unknown reason you can still change the url and normal navigation will work again
2010-07-26Register ObjectMedia and ObjectMediaNavigate capabilities from moap module.Justin Clark-Casey (justincc)1-5/+53
Not sure if these are correct, but just supplying these to the viewer is enough to allow it to put media textures on prims (previously the icons were greyed out). This is not yet persisted even in-memory, so no other avatars will see it yet.
2010-07-26add stub media-on-a-prim (shared media) moduleJustin Clark-Casey (justincc)1-0/+56
2010-07-14Remove getting the object capacity from the money module. It is now setMelanie Thielker1-2/+2
directly from the Region Info (and the region ini file)
2010-07-02Fixes mantis #4782Diva Canto1-1/+1
2010-06-29Revert "don't report the null uuid as a missing asset on saving oars/iars"Justin Clark-Casey (justincc)1-5/+3
This reverts commit 5ce119174e03715bfc61f7864bd3e7182c5d21ea. This change led to infinite timeout since the expected number of assets no longer matched requests. Rather than introduce yet fresh bugs with another fix, just revert this since the inaccurate report is just inconvenient
2010-06-25don't report the null uuid as a missing asset on saving oars/iarsJustin Clark-Casey (justincc)1-3/+5
2010-06-11* Added a new method to IMapImageGenerator for getting the map tile before ↵John Hurliman3-28/+32
it is JPEG2000 compressed * Aesthetically improved map tile water * SimianGrid connector now uploads a PNG tile to the AddMapTile API
2010-06-11Remove the lastmap stuff from the map module, also remove a bunch of commentsMelanie1-27/+1
that no longer reflect actual conditions
2010-06-04remove pointless mock user account service since the real one can now be ↵Justin Clark-Casey (justincc)1-1/+1
easily configured for test purposes
2010-05-28minor: remove mono compiler warningJustin Clark-Casey (justincc)1-1/+1
2010-05-28refactor: move GetStream and URI methods from ArchiveReadRequest -> ↵Justin Clark-Casey (justincc)2-63/+65
ArchiveHelpers
2010-05-21Fix a problem where SceneGraph.AddSceneObject() would return false on ↵Justin Clark-Casey (justincc)1-1/+0
successfully adding an object rather than true, in defiance of its method documentation This meant that the returns were inconsistent - false would be returned both for various scene object failure conditions (e.g. root part was null) and if the object was successfully added.
2010-05-21make oar object filename/pathname creation a helper methodJustin Clark-Casey (justincc)4-38/+75
reused in both tests and oar code reduction in checking is outweighed by greater test clarity
2010-05-21add prim item and test asset save in save oar unit testJustin Clark-Casey (justincc)2-3/+31
2010-05-13Implements three new OSSL functions for parcel management: osParcelJoin ↵OpenSim Master2-0/+26
joins parcels in an area, osParcelSubdivide splits parcels in an area, osParcelSetDetails sets parcel name, description, owner and group owner. Join and Subdivide methods in LandChannel are exposed.
2010-05-09* Fixed spamming the assets table with map tiles. The tile image ID is now ↵Diva Canto1-17/+14
stored in regionsettings. Upon generation of a new tile image, the old one is deleted. Tested for SQLite and MySql standalone. * Fixed small bug with map search where the local sim regions weren't found.
2010-05-07Also remove sale and search flags on god owner change.Melanie1-0/+1
2010-05-07Remove land that is being abandoned from search. This is now consistent withMelanie1-0/+1
sale and reclaim.