Commit graph

33348 commits

Author SHA1 Message Date
Rene Vega
7c1ea18797
Update OutboundUrlFilter.cs
Issue 82 - LSL endpoints must not be filtered.
2024-08-10 13:40:27 -07:00
Mike Dickson
90d3148f5f Merge tag 'opensim-rel-0.9.3.8984' into develop
Some checks failed
CodeQL / Analyze (csharp) (push) Has been cancelled
dotnet package / build (8.0.x) (push) Has been cancelled
dotnet package / build (9.0.x) (push) Has been cancelled
Finalize 0.9.3.8984
2024-08-10 11:24:42 -04:00
Mike Dickson
7b46ce6fd3 Merge branch 'release/opensim-rel-0.9.3.8984'
Some checks failed
CodeQL / Analyze (csharp) (push) Has been cancelled
2024-08-10 11:24:06 -04:00
Mike Dickson
9aa8c20770 Fix fat fingered typo. 2024-08-09 09:39:36 -04:00
Mike Dickson
4a85d6a9de Dont call Add when updating a kvp in the LinksetData list. Add throws if a key already exists. Use an array operator [] which handles add or update/ 2024-08-08 23:49:10 -04:00
Mike Dickson
2393cfd9b6 Get rid of the meaningless 0 in the 4 digit version number. It's now 0.9.3.generationnumber. 2024-08-08 22:33:05 -04:00
Mike Dickson
9ed1c4d97c Limit output if we hit a desrtialization exception due to format change. This isnt really an exceptional condition and we handle it by parsing old format. Log it as Debug. 2024-08-08 22:32:03 -04:00
Mike Dickson
9bd83b5593
Features/upstream-08062024 (#84)
Some checks failed
CodeQL / Analyze (csharp) (push) Has been cancelled
dotnet package / build (8.0.x) (push) Has been cancelled
dotnet package / build (9.0.x) (push) Has been cancelled
* also add default uuid zero string to mysql and pgsql pbr entries

* add llDerezObject(..)

* update ScriptSyntax

* Postgresql Fixes: region store, mutelist and generic table handler.

Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>

* Fix wrong primary key on telehub spawn points. With the RegionUUID being created as a unique primary key only one spawn point could be created. Replaced the primary key with one using multiple columns to guarantee that each spawn point occupies a unique space in the region.

Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>

* Fix region data loading to prevent deletion of telehub spawnpoints

Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>

* Adding missing 'regionextra' table and associated handlers to the PgSQL adapter.

Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>

* viewers now are sending a useless flood of agent updates. Ignore some

* fix shared group object item modify permission check

* Add llGetNotecardLineSync

* a few changes to llGetNotecardLineSync

* minor cleanup

* fix typo

* improve script cpu time resolution specially on windows

* catch some possible null refs

* mantis 9135: avoid null ref

* Get Npgsql from NuGet and remove the hard coded version. Upgrade to 8.0.3 so its compatible with dotnet 8.    Remove the copy from bin.

---------

Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
Co-authored-by: UbitUmarov <ajlduarte@sapo.pt>
Co-authored-by: BlueWall <jamesh@bluewallvirtual.com>
Co-authored-by: Sue Cripter <Sue.Cripter@gmail.com>
2024-08-08 11:00:49 -04:00
Mike Dickson
d64ff145cd
Feature/lsd fix (#83)
Some checks failed
CodeQL / Analyze (csharp) (push) Has been cancelled
dotnet package / build (8.0.x) (push) Has been cancelled
dotnet package / build (9.0.x) (push) Has been cancelled
* Placeholders for AISv3.  EF Core Model code in OpenSim.Data.Models.  Both projects are in the Source directory and not yet included in the solution.  Tests are added back in Tests.  Still need to Add the LinkSet Data tests and activate them in the solution.

* Add PBR Terrain fields to ef core regionsettings table. Add OpenSIm.Data.Models to solution.

* Restructure the LinksetData Deserialize.  We'll also save the size value so it doesnt need to be calculated.  We make the size a required field so we can tell if its not present and fall back to handling the old format as well.  Make the serialized fields writable publically so they can be deserialized successfully. This is a change in dotnet 8.

* Address CodeQL comments. Ternary operator in LinksetData Deserialize and rename some generated code for the Search tables ef core support away from Object which is of course a reserved word.
2024-08-06 11:14:16 -04:00
dependabot[bot]
c96c26097d
Bump System.Text.Json (#79)
Some checks failed
CodeQL / Analyze (csharp) (push) Has been cancelled
dotnet package / build (8.0.x) (push) Has been cancelled
dotnet package / build (9.0.x) (push) Has been cancelled
Bumps System.Text.Json from 6.0.9 to 8.0.4.

---
updated-dependencies:
- dependency-name: System.Text.Json
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-30 22:33:10 -04:00
Mike Dickson
200c40e856 Upgrade Mailkit and MimeKit to >= 4.7.1 to address a Github reported vulnerability. The issue is actually in a dependency but this changes picks that up. 2024-07-30 22:22:11 -04:00
Mike Dickson
6083a1db07 Merge tag '0.9.3.0.8939' into develop
Some checks failed
CodeQL / Analyze (csharp) (push) Has been cancelled
dotnet package / build (8.0.x) (push) Has been cancelled
dotnet package / build (9.0.x) (push) Has been cancelled
Note this release uses dotnet 8 for the runtime and requires it installed on the machine you're targeting to run on. For more information installing dotnet 8 see: https://dotnet.microsoft.com/en-us/download/dotnet/8.0

This release is OpenSim core plus. We include an implementation of LinkSet Data that is SL compatible and (unfortunately, ours existed before core's did) OpenSim Core incompatible.

The Major milestone for this release is PBR support. This release adds support for PBR materials as well as PBR Terrain. Also 2k texture uploads. These features are supported in the Firestorm 7 release and it is required to see/access them.
2024-06-24 17:34:54 -04:00
Mike Dickson
b6b2c0fb7b Merge branch 'release/0.9.3.0.8939'
Some checks failed
CodeQL / Analyze (csharp) (push) Has been cancelled
2024-06-24 17:34:15 -04:00
Mike Dickson
127fee104f Look for default config files in dll.config instead of exe.config because of dotnet changes. 2024-06-23 13:57:26 -04:00
Mike Dickson
32b21239bd Add a default value of NULL_KEY for PBR Terrain textures to keep mixed grids of new and old code happy. Probably not an issue ultimately but during migration to the new code its likely to be. Bump the version number. 2024-06-23 12:14:42 -04:00
Mike Dickson
8dc009d334 Merge remote-tracking branch 'upstream/master' through 6/19/2024 into develop
Some checks failed
CodeQL / Analyze (csharp) (push) Has been cancelled
dotnet package / build (8.0.x) (push) Has been cancelled
dotnet package / build (9.0.x) (push) Has been cancelled
2024-06-22 18:26:12 -04:00
UbitUmarov
c4635d86d0 llSetCameraAtOffset() or llSetCameraEyeOffset() on a child prim do not mess root prim ( reverts 174df94172) 2024-06-19 20:22:43 +01:00
UbitUmarov
37d37665bf fix sqlite migration 2024-06-19 11:13:09 +01:00
UbitUmarov
644af5093e remove duplicated cap service 2024-06-15 05:30:22 +01:00
UbitUmarov
8e874d97c5 if at load all pbt terrain id are zero reset all to non pbr ids (so on version update they look the same automaticly) 2024-06-15 00:31:25 +01:00
UbitUmarov
58f74dceb3 do not reset SentTPBR state 2024-06-14 21:59:56 +01:00
UbitUmarov
ed455616f7 decouple mirrors feature from VTPBR 2024-06-12 13:33:50 +01:00
UbitUmarov
8becea09c1 oops wrong sent flag 2024-06-11 23:21:33 +01:00
UbitUmarov
f81a11aaab duhh why did i compare regionSize Z ?? phhhh 2024-06-11 22:26:15 +01:00
UbitUmarov
65738b3766 a few more changes for hypothetical terrain PBR 2024-06-10 21:02:31 +01:00
UbitUmarov
183350b617 viewers MUST ask for pbr terrain, requesting fake cap VTPBR if only support terrain pbr on standard size regions or cap VETPBR support on all region sizes 2024-06-08 22:05:41 +01:00
UbitUmarov
54fe5747ea add storage for pbr terrain feature that viewers for opensim may add 2024-06-08 21:58:46 +01:00
Mike Dickson
201d8e69ca Merge tag '0.9.3.0.8915' into develop
Some checks failed
CodeQL / Analyze (csharp) (push) Has been cancelled
dotnet package / build (8.0.x) (push) Has been cancelled
dotnet package / build (9.0.x) (push) Has been cancelled
- Additional changes from Core to handle recompiles if the framework has
 changed and to call through a jump table to avoid direct references.
- Added logging on Asset POST to detect unwanted accesses.
2024-06-07 12:44:57 -04:00
Mike Dickson
10f37a5ca9 Merge branch 'release/0.9.3.0.8915'
Some checks failed
CodeQL / Analyze (csharp) (push) Has been cancelled
2024-06-07 12:43:07 -04:00
UbitUmarov
ecdc979687 oops it is sRGB not linear, so rename to osTemperature2sRGB 2024-06-04 09:46:11 +01:00
UbitUmarov
1d9d39328d add osTemperatureToLinearColor() 2024-06-04 09:05:03 +01:00
UbitUmarov
30586b34f6 replace Util.Clamp<T>() 2024-06-04 09:01:10 +01:00
Mike Dickson
3891738813 Log message at Info level when an Asset PUT/POST is done to create a new asset. We log IP address, Asset name and type, creator and description. 2024-05-29 17:34:57 -04:00
Mike Dickson
fcd9d5f6e4 Set RenderMinHeight to Z = 0 and clamp values to that. 2024-05-29 17:33:34 -04:00
Mike Dickson
99001fa109 bump version number 2024-05-29 00:42:49 -04:00
UbitUmarov
5ffe928392 remove some warnings in unused code 2024-05-28 22:21:31 +01:00
Mike Dickson
4aca979bd1 Merge branch 'feature/8882-fixes' into develop
Some checks failed
CodeQL / Analyze (csharp) (push) Has been cancelled
dotnet package / build (8.0.x) (push) Has been cancelled
dotnet package / build (9.0.x) (push) Has been cancelled
2024-05-27 10:47:37 -04:00
Mike Dickson
3ed5150059 Remove duplicate log4j reference in OpenSim.Framework 2024-05-27 10:44:35 -04:00
UbitUmarov
547c431c43 update github action 2024-05-22 02:16:22 +01:00
Mike Dickson
be0146c5ad A bit more defensive code around serialization. Still causing issues. Im considering moving it to the SOG (in memory) as Core did. There is no sog table so persistence is the same to the root part. 2024-05-19 23:40:04 -04:00
Mike Dickson
2b3e46bdab Be a bit more defensive on handling LinksetData items. Check for empty or null key, etc. 2024-05-19 11:00:50 -04:00
UbitUmarov
270427ba2a add vector osGetLinkColor(LSL_Integer linknum, LSL_Integer face) 2024-05-18 22:17:10 +01:00
Mike Dickson
14d2228bcd Commit the same changes for LinkSetData,cs after save 2024-05-18 16:29:05 -04:00
Mike Dickson
a7d2271b67 Clean up a few LinkSet Data calls and make sure we lock around state changes. 2024-05-18 16:28:23 -04:00
Mike Dickson
17b1778cd5 Clean up references to runtime classes that are explicitely listed and coming from bin 2024-05-18 11:12:52 -04:00
UbitUmarov
7b731a387b oops we do have DATA_PAYINFO for local users, thx Tampa 2024-05-17 22:07:16 +01:00
UbitUmarov
c69a112293 mantis 9130: several changes to llRequestAgentData 2024-05-17 19:27:08 +01:00
Mike Dickson
d2f08c1401 Remove reference to System.Security. It comes from the framework. 2024-05-16 11:13:20 -04:00
Michael Dickson
36c1d2b8ae Merge remote-tracking branch 'upstream/master' into feature/8882-fixes 2024-05-16 11:06:12 -04:00
UbitUmarov
cbe6071f29 and more on broke pgsql 2024-05-16 01:07:45 +01:00