Commit graph

33368 commits

Author SHA1 Message Date
Mike Dickson
5d7d18b049 Merge branch 'release/0.9.3.9037'
Some checks failed
CodeQL / Analyze (push) Has been cancelled
2024-10-02 21:08:32 -04:00
Mike Dickson
0281a9f87b Fix for the script reset that was occuring exactly once on region startup. If you are loading script state from a region that was not previously running experiences a variable would be null and the null needed to be tested for when parsing a UUID. After this initial load the experience entry is saved and exists on future restarts. Also bumped the version number to 9037 2024-09-28 16:09:04 -04:00
Mike Dickson
bb19c868c7 Merge tag '0.9.3.9030' into develop
Some checks failed
CodeQL / Analyze (push) Has been cancelled
dotnet package / build (8.0.x) (push) Has been cancelled
dotnet package / build (9.0.x) (push) Has been cancelled
What will be release 0.9.3.9032 with additional postfixes.
2024-09-23 13:40:27 -04:00
Mike Dickson
04f67c0272 Merge branch 'release/0.9.3.9030'
Some checks failed
CodeQL / Analyze (push) Has been cancelled
2024-09-23 13:39:40 -04:00
Mike Dickson
d3aac7d244 Example entry for alias service 2024-09-23 13:01:23 -04:00
Mike Dickson
93aa5fc473 Bump version for changes 2024-09-23 12:43:34 -04:00
Mike Dickson
010a033169 Merge remote-tracking branch 'origin/develop' into release/0.9.3.9030 2024-09-23 12:38:52 -04:00
StolenRuby
fea07bd0fd
Fixed silly mistakes (#95) 2024-09-23 12:34:17 -04:00
Mike Dickson
45232b2f31 Correct the case of the UserAccounts table name in migration statement for display names. The Table is actually MixedCase where the original statement was using all lower case. 2024-09-22 00:39:01 -04:00
Mike Dickson
48199f0596 Merge branch 'feature/load-oar-enhancements' into develop
Some checks failed
CodeQL / Analyze (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-09-20 21:27:20 -04:00
Mike Dickson
39aaed76b7 Cache negative lookups for aliases when doing lookups so a missed entry doesnt hammer the alias connector. Log a message the first time we lookup an alias and its not found. Bump version number. 2024-09-20 21:25:46 -04:00
Mike Dickson
cfd4742a29 Add options to OAR handling to allow disabling use of a defaultUser if no local user is found and to resolve from an alias if one is defined. Default should work as an oar currently does. 2024-09-20 16:15:48 -04:00
Mike Dickson
d978ab12b4 Never call Environment.Exit() from a library, This terminates the process on an estate lookup that fails if the estate doesnt exist, Do a null exit to signal no available data and let the caller decide how to handle it.
Some checks are pending
CodeQL / Analyze (push) Waiting to run
dotnet package / build (8.0.x) (push) Waiting to run
dotnet package / build (9.0.x) (push) Waiting to run
2024-09-19 19:39:37 -04:00
Mike Dickson
0e0953667c
Display Names (#94)
Some checks failed
CodeQL / Analyze (push) Has been cancelled
dotnet package / build (8.0.x) (push) Has been cancelled
dotnet package / build (9.0.x) (push) Has been cancelled
Authored-by: StolenRuby <26614880+StolenRuby@users.noreply.github.com>
Reviewed-by: Michael Dickson
2024-09-17 21:04:58 -04:00
Mike Dickson
4bb0209eea
Create xinv.php (#92)
Some checks failed
CodeQL / Analyze (push) Has been cancelled
dotnet package / build (8.0.x) (push) Has been cancelled
dotnet package / build (9.0.x) (push) Has been cancelled
This helper checks or fixes common inventory problems: root folder issues, duplicate system folders, my suitcase issues, duplicate system folders in the suitcase.

php xinv.php [-v] --chkinv[="fn ln"]
php xinv.php [-v] --fixinv[="fn ln"]

Co-authored-by: Rene Vega <rv@spiritmoving.com>
2024-09-13 11:04:39 -04:00
Mike Dickson
46d0eda541 Add a location for helper scripts and tools to live
Some checks failed
CodeQL / Analyze (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-09-06 17:06:18 -04:00
Mike Dickson
07a56b489d
Upstream changes through 9/5, 2024 (#91)
Some checks failed
CodeQL / Analyze (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

* another null ref, thx Tampa

* another typo, thx Tampa

* verify vivox requests

* Basic implementation of SSL selfsigned certificates creation and renewal

Allows selfsigned certificates creation and renewal for local and external use. When enabled, will create a folder SSL\ and 2 sub folders SSL\ssl\ and SSL\src\. Next creates and store an RSA private key in SSL\src\ and the derived selfsigned certificates in SSL\ssl\ folder. Is also possible to renew the certificate on every server restart if CertRenewOnStartup is set to true.

Note: The SSL related params in the network section was adapted to be user friendly and allow the usage just by uncommenting the SSL params in both sections and a password change.

* Add selfsigned certificates support to Robust and osGetLinkInventoryKeys plus some fixes

* Revert some default params and fixes to SSL support

* a few changes. in same cases http/https can't be determined. possible both need to be present, possible with http a redir to https. TODO

* ... in same cases http/https can't be determined. possible both need to be present, possible with http a redir to https. TODO

* fixed check of EnableSelfsignedCertSupport option

* Upstream changes through Aug 26, 2024

* mantis 9159: ignore spaces in z on cast string to vector

* mantis 9159: same on rotation s

* mantis 9158: allow it on prim inv to non-mod prim inventory if same owner and allowdrop was set on target

* Address CodeQL feedback "variable may be null"

---------

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>
Co-authored-by: Adil El Farissi <144741970+AdilElFarissi@users.noreply.github.com>
2024-09-05 14:22:13 -04:00
Mike Dickson
8b2a5673ee
Update message used when blocking unsupported viewers. (#89)
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
* Update Scene.cs

Change viewer banned message to a more explanatory message.

* Update Scene.cs

* Update Scene.cs

---------

Co-authored-by: Rene Vega <rv@spiritmoving.com>
2024-08-25 14:08:25 -04:00
Mike Dickson
1009b69bb2 Bump Version Numer - 8999
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-08-20 23:40:56 -04:00
Mike Dickson
4f23954514 Unecessary cast, the object is already of the cast type. 2024-08-20 23:35:05 -04:00
Mike Dickson
26d3971448
Local branch for StolenRuby experience changes (#86)
* Experience Tools

Signed-off-by: StolenRuby <26614880+StolenRuby@users.noreply.github.com>

* EEP lsl functions, and updated llTeleport functions

* API Changes in test cases due to experience changes.

* Address some return statements picked up by CodeQL

---------

Signed-off-by: StolenRuby <26614880+StolenRuby@users.noreply.github.com>
Co-authored-by: StolenRuby <26614880+StolenRuby@users.noreply.github.com>
2024-08-20 21:19:44 -04: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