Commit graph

27 commits

Author SHA1 Message Date
22b397ce7e Relocate test project: test/yavscTests -> src/Yavsc.Org.Tests
Move the integration test project from the top-level test/ directory into
src/ alongside the projects it tests. Rename the project (and folder) to
Yavsc.Org.Tests to match .NET conventions and reflect that it tests the
Org runtime primarily.

Path changes:
- test/yavscTests/yavscTests.csproj -> src/Yavsc.Org.Tests/Yavsc.Org.Tests.csproj
- All .cs / .json / .resx files moved to their new location
- PostItViewModelTests moved out to the dedicated src/PostIt.Tests project
  (it was unrelated to Org testing)

Build adjustments:
- <ProjectReference> paths shortened (..\..\src\X -> ..\X)
- PostIt project reference removed (covered by its own test project)
- <OutputType>exe added (required by xunit.v3)
- xunit.v3.common and xunit.v3.extensibility.core added to package versions

Solution + sln:
- yavsc.sln Project Name updated to 'Yavsc.Org.Tests' and path updated
- GUID preserved so existing build configs stay valid

Static web assets:
- The CopyStaticWebAssetsManifest target was hard-coding the destination
  filename to 'testhost.staticwebassets.endpoints.json', which worked
  when the assembly was named 'yavscTests'. Now that the assembly name
  is 'Yavsc.Org.Tests', ASP.NET Core's MapStaticAssets() looks for
  'Yavsc.Org.Tests.staticwebassets.endpoints.json' (entry-assembly-based
  resolution). Use $(MSBuildProjectName) so the copy target stays
  correct under any future rename.
2026-06-19 17:52:54 +01:00
ad19ccbcfa PostIt testing setup 2026-06-19 16:55:42 +01:00
94fb98eff6 doc, doc and doc. 2026-06-18 02:18:49 +01:00
c1f4d19975 fices the UI 2026-06-15 02:55:22 +01:00
cef6002fef fix: drop nuget bootstrap and popper.js, npm bundles take over
Removing the 'bootstrap' and 'popper.js' NuGet package references
that were used solely to copy assets to wwwroot/ at build time.
The npm-based esbuild bundles now provide the same files, and the
duplicate-asset build error is gone.

'bootstrap 5.3.8' (NuGet) was flagged with vulnerabilities by
Dependabot. Pinning to 4.6.2 via npm (matching what the views
were using from wwwroot/lib/) is closer to what the rest of the
codebase expects.

Verified: 'dotnet test' passes (11/11).

Refs: this is the fix to make the 'separate front assets into
esbuild bundles' commit green.
2026-06-14 14:24:55 +01:00
e98bba4247 refacts and PostIt Nav 2026-06-11 20:02:32 +01:00
1a0556695c Login settings 2026-06-10 16:59:23 +01:00
8dc1680582 no Microsoft.Playwright depedency 2026-06-07 06:52:24 +01:00
963f1327f1 Xamarin.AndroidX.Core.SplashScreen 2026-06-07 06:13:33 +01:00
365a970ae7 CommunityToolkit.Mvvm 2026-06-07 06:10:12 +01:00
77b97aaa5e build w\ Avalonia Android and Browser 2026-06-07 06:06:19 +01:00
1aafb7cc7d IModerationService 2026-05-30 18:20:17 +01:00
71c4f5022c modernization + PostIt 2026-05-29 01:29:36 +01:00
95dec3636a Use InMemory db driver at testing 2026-05-28 22:18:26 +01:00
e1ad899158 Modernization 2026-04-19 17:23:18 +01:00
87d62791b8 fix: test infrastructure with in-memory DB, SMTP mocking, and thread-safe billing configuration
- Add in-memory database support for test isolation in WebServerFixture
- Implement TestMailSender fake SMTP provider for email test support
- Add thread synchronization to billing service registration to prevent race conditions
- Make RegisterBilling<T> idempotent to safely handle reconfiguration
- Configure test environment via in-memory settings (UseTestEmailSender, UseInMemoryDatabase)
- Add regression tests for billing module idempotency and duplicate registration detection
- Fix tests: EMaillingTests.SendEMailSynchrone, BillingServiceTests (2 tests), HaveConfigurationRoot (3 tests)

All core test infrastructure tests now passing.
2026-04-19 14:40:40 +01:00
Paul Schneider
40e8e08690 reorg 2026-02-28 21:17:54 +00:00
Paul Schneider
5cf4bd48e8 refact & cookies 2026-02-17 19:24:30 +00:00
Paul Schneider
ca03b496db cleanup 2026-02-16 00:14:33 +00:00
Paul Schneider
f17202e3bb build 2026-02-14 17:52:01 +00:00
Paul Schneider
a68287d847 Dockerfile & actions 2026-02-02 00:39:24 +00:00
Paul Schneider
e5fa31c9cb using AscDocCsharp, and fixing the tag helper 2025-09-14 17:47:11 +01:00
Paul Schneider
714b2e0efb Passwor re-init 2025-09-07 17:43:13 +01:00
Paul Schneider
03161bbfb6 Id Stores from db 2025-08-24 16:07:53 +01:00
Paul Schneider
0c98ab489d version bumps 2025-07-30 15:51:06 +01:00
Paul Schneider
5c046dfa88 build cli 2025-07-16 00:47:50 +01:00
Paul Schneider
8fc1153e59 testing 2025-07-14 20:35:13 +01:00