Commit graph

33459 commits

Author SHA1 Message Date
Mike Dickson
196359a967 Rename bin to Library to reflect its only containing non-managed dlls for the moment. 2024-11-15 15:42:04 -05:00
Mike Dickson
7fc7da35d0 Moved files from bin to individual exe projects. We will install them with the executable on publish 2024-11-15 15:36:05 -05:00
Mike Dickson
1f2652a3aa Missed semicolon when reformatting some code.
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-11-14 19:45:48 -05:00
Mike Dickson
e572818e53 Merge remote-tracking branch 'upstream/master' into develop (0.9.3.1) 2024-11-14 19:43:27 -05:00
UbitUmarov
24cbfb284a change version 2024-11-08 21:35:50 +00:00
UbitUmarov
3506134ede fix typo 2024-10-21 20:28:08 +01:00
UbitUmarov
1ba9257650 fix typo 2024-10-20 00:06:50 +01:00
Michael Dickson
1f976e5120 Rename Develop to Tranquillity.sln. Repo has halso been renamed as well.
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
Remove hack changes for System.Drawing.  We're going to replace that on a branch.
2024-10-17 00:18:17 -04:00
UbitUmarov
3f70e493b0 fix LogOutgoingDetail output length limit 2024-10-16 23:46:34 +01:00
UbitUmarov
45372514c2 remove old bad code 2024-10-16 23:32:05 +01:00
Mike Dickson
580ffb5b6a
Feature/project restructure (#88)
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
* First pass to allow bulding different build artifact types (libraries, exes, web apps, etc) from the same tree.  Each project is seperated physically and can have a local obj and bin directory wehen building.  We assemble a release using dotnet publish.

This still needs a few changes and  updates for compilation.  I want to get the structural changes made however and committed locally at least.

* Rename some Assembly attribute files to Addin.cs and strip them down to just plugin info so we can use generated Assembly information.    A few additions to csproj dependencies to get things to compile.

* Cleanup Directory.build.props. Make it reflect using the standard directories for output and publish to assemble a release.

* Restructure Projects so they are no longer nested (no need to remove files from compilation) and there can be project types in the solution that use a different SDK.  We need the last bit in order to do ASP.NET in the same solution tree.  Goal is to be able to dotnet publish and get useable output.

* Move OpenSim.sln to OpenSim.Server.RegionServer so the Server instances have similar naming (MoneyServer and RobustServer).

* Added a Data directory for each of the *.Server.* packages and put Server specific configuration here.   Added a rule to csproj to install the configuration into the bin directory on a build.   There are now OpenSim.Server.{RegionServer|RobustServer|MoneyServer} executables and if publish is used a platform specific binary will be built.  Next step from this is Docker files to run each of the server components.

* More changes to get libs to resolve cleanly while we are in transition from mono addins.

* Move projects under Source in solution tree.

* Update nuget packages to address a vulnerability and pick up updates.

* Add metadata to create NuGet Package for EF Core Data Models.

* Include dlls we just carry in bin in the output directory when building.

* Bump version.  Some changes to not publish test components.
2024-10-16 15:19:52 -04:00
UbitUmarov
cda1c7f1f2 and update pointer to macOS native Bulletsim lib 2024-10-09 22:33:33 +01:00
UbitUmarov
ec19f9c71c missed one 2024-10-09 22:29:26 +01:00
UbitUmarov
a690a8b033 mantis 9167: update native libs for macOS 2024-10-09 22:25:56 +01:00
UbitUmarov
c10747e1ea mantis 9166: restore heapUsedFieldInfo also on method exit via state statement 2024-10-08 18:23:00 +01:00
Mike Dickson
d79b4dc0b4 Merge tag '0.9.3.9037' 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
Detect null value when pulling experience key out of script state
and don't use it.  Avoids a null pointer exception which causes
script recompilatiion and a reset.
2024-10-02 21:10:12 -04:00
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
UbitUmarov
54114a23f5 cosmetics 2024-09-23 00:47:31 +01:00
UbitUmarov
4eb8fa29f4 oops fix typo 2024-09-23 00:06:31 +01:00
UbitUmarov
a9be42a304 a few changes to EstateDataRemoteConnector, LoadEstateSettings can not be fatal so work around it 2024-09-22 23:37:42 +01: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
UbitUmarov
00c0816275 mantis 9157: remove trail '/' from remoteconsole urls 2024-09-21 01:04:09 +01:00
UbitUmarov
3823940205 add GetLocalRegionByName to GridServicesConnector plus cosmetics 2024-09-21 00:41:25 +01: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
UbitUmarov
fcddf631ce cosmetics 2024-09-20 00:21:36 +01:00
UbitUmarov
81cfd6e956 some changes to PresenceServerPostHandler 2024-09-19 01:05:15 +01: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
UbitUmarov
7587595f92 fix built 2024-09-17 20:50:55 +01:00
Ubit Umarov
a86b6c0d21
Merge pull request #24 from AdilElFarissi/master
Add try/catch to capture CryptographicException for invalid cert path or incompatible formats...
2024-09-17 20:36:59 +01:00
Adil El Farissi
c31875bae8
Merge branch 'opensim:master' into master 2024-09-17 18:28:40 +00:00
Adil El Farissi
0f3fb330bf Update Util.cs 2024-09-17 18:23:22 +00:00
UbitUmarov
27361a4472 miss one minor changes, for coerence 2024-09-16 21:20:15 +01:00
UbitUmarov
833d8f4991 minor changes 2024-09-16 21:08:11 +01:00
Ubit Umarov
7369bb6a52
Merge pull request #23 from AdilElFarissi/master
Implementation of a basic PEM encoded to OpenSim compatible PKCS12 certificates converter.
2024-09-16 20:55:31 +01:00
Adil El Farissi
52c77b2f12 Implementation of a basic PEM encoded to OpenSim compatible PKCS12 certificates converter.
As you know most CAs return PEM encoded certificates and require a conversion using OpenSSL to make them compatible with OpenSim.
This implementation does the automatic conversion from .pem to .p12 and .pfx at OpenSim startup which updates the certificate in case of automatic certificates renewal...
Note: still under testing using certbot and Let's Encrypt certs...

Thank you and good continuaion
Web Rain :)
2024-09-16 01:52:19 +00:00
Adil El Farissi
70f3b02f65 Fixing changes 2024-09-15 22:09:24 +00:00
Adil El Farissi
fbd0053581
Merge branch 'opensim:master' into master 2024-09-15 20:03:27 +00: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