Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
521 commits
Select commit Hold shift + click to select a range
5096edd
Mask path secrets on every log event, not only the request line: the …
pieroviano Oct 21, 2026
622130d
npm package page: owner links go to the server-wide profile, not to a…
pieroviano Oct 21, 2026
aca38bc
npm: write routes authorize before looking up and hide packages from …
pieroviano Oct 21, 2026
0cbd1a2
npm publish keeps its precise 403 (a hidden refusal still differs fro…
pieroviano Oct 22, 2026
d647e1f
CLAUDE.md: database test count
pieroviano Oct 22, 2026
d07cafa
CLAUDE.md: the UI must cover every server capability; every docs page…
pieroviano Oct 22, 2026
461ec2c
Cleaned solution
pieroviano Oct 22, 2026
6b932e2
UI coverage audit: deprecation alternate range, validation status pag…
pieroviano Oct 22, 2026
3c3a9e5
CLAUDE.md: test baseline 2637
pieroviano Oct 22, 2026
b980c89
BaGetWebApplication sample: minimal hosting in Program.cs, Startup re…
pieroviano Oct 22, 2026
d4d1285
Removed warning
pieroviano Oct 22, 2026
b77bd20
Sign all projects
pieroviano Oct 22, 2026
21ce7d6
Updated documentation to reflect signing assemblies
pieroviano Oct 22, 2026
9c1d6b4
Maven format: entities, layout rules, metadata, POM reader, repositor…
pieroviano Oct 22, 2026
c7117c2
Maven: protocol controller, routes, read filter, pages (browse, artif…
pieroviano Oct 22, 2026
b504771
Maven: Packages and RepositoryEdit pages, manage page 404 outside Mav…
pieroviano Oct 22, 2026
88b6a48
Maven: real mvn tests (deploy, dependency resolution, snapshots, poli…
pieroviano Oct 22, 2026
0dd65dd
Maven docs: maven-repositories.md, formats, ui-coverage, plan, CLAUDE…
pieroviano Oct 22, 2026
cbe91e4
AdminFormatsTests: Docker is the format without a module now; CLAUDE.…
pieroviano Oct 22, 2026
89b0599
MavenPagesTests: pass the test cancellation token (xUnit1051)
pieroviano Oct 22, 2026
32a87ae
Streaming storage API (B2): IStreamingStorageService on FileSystem, N…
pieroviano Oct 22, 2026
5765acb
Streaming storage: Azure block order fixed (found by the 5 GB run), w…
pieroviano Oct 22, 2026
dcf487f
Streaming storage: GCS tail as one simple upload and idempotent reque…
pieroviano Oct 22, 2026
ba35230
Storage tests: GCS emulator client without connection reuse; plan dev…
pieroviano Oct 22, 2026
f85f51f
Storage: InternalsVisibleTo BaGet.Storage.Tests with the assembly pub…
pieroviano Oct 22, 2026
f9bdd3e
OCI format: Docker repository format, Oci tables (migration x4), name…
pieroviano Oct 22, 2026
8e2ebeb
OCI: HTTP protocol tests (token flow, blobs, manifests, indexes, refe…
pieroviano Oct 22, 2026
f552f5e
OCI pages: browse, image and manifest pages, manage tools (delete tag…
pieroviano Oct 22, 2026
6a0c12c
OCI: real Docker CLI and conformance tests (docker:dind), invalid man…
pieroviano Oct 22, 2026
49b2124
OCI: empty chunks are not appended, AdminFormatsTests uses an unknown…
pieroviano Oct 22, 2026
73a305d
NuGet upload page lists NuGet repositories only; repositories doc cov…
pieroviano Oct 22, 2026
a90109d
Plan: P5 local Docker registry verification
pieroviano Oct 22, 2026
c97d37a
Remote and virtual Maven repositories (P4): Central proxy with checks…
pieroviano Oct 22, 2026
769bd3e
Maven remote/virtual: CLI test fixes, test baseline 2899
pieroviano Oct 22, 2026
7ff8c17
Test baseline 3062 after integrating OCI and remote/virtual Maven
pieroviano Oct 22, 2026
9bd42b6
Remote Docker repositories (P5): pull-through cache of a registry wit…
pieroviano Oct 22, 2026
493ae03
Virtual Docker repositories and Docker garbage collection (P5): tests…
pieroviano Oct 22, 2026
8a0d46c
Docker remote: mirror.fetch spans, multi-platform index test
pieroviano Oct 22, 2026
b264228
Docker GC: the collection that removes asks for the administrator's p…
pieroviano Oct 22, 2026
9b45c08
Plan: P5 remote/virtual Docker and GC done
pieroviano Oct 22, 2026
9f639e5
Test baseline 3192 after remote/virtual Docker and GC
pieroviano Oct 22, 2026
d5cafa3
Plan: P4 and P5 done, wave 3 integrated (3192 tests, Docker suites no…
pieroviano Oct 22, 2026
5ed49f9
UI coverage audit: Serilog level and event log settings on the Settin…
pieroviano Oct 22, 2026
462762b
Review fixes: GC orphan-file sweep re-reads rows and fences commits, …
pieroviano Oct 23, 2026
e710451
Docker GC: re-check the sweep plan in a serializable transaction so a…
pieroviano Oct 23, 2026
cc24146
CLAUDE.md: InternalsVisibleTo table lists BaGet.Storage.Tests for the…
pieroviano Oct 23, 2026
115f126
Retention and cleanup (P6): policies per repository or project, dry r…
pieroviano Oct 23, 2026
26ffa42
Retention: test counts, plan as built
pieroviano Oct 23, 2026
9781745
P7 scanning: model and migrations (ScanResults, ScanFindings, ScanPol…
pieroviano Oct 23, 2026
ecc737b
P7 scanning: format scanners (NuGet, npm, Maven, Docker), deploy and …
pieroviano Oct 23, 2026
e4e9c42
P7 scanning: integration tests for npm, NuGet, Maven and Docker (fake…
pieroviano Oct 23, 2026
5d098f7
P7 scanning: web UI (findings section on every format's package page,…
pieroviano Oct 23, 2026
03d15de
P7 scanning: unit tests (severities, version order, OSV matching, Tri…
pieroviano Oct 23, 2026
595f58a
P7 scanning: offline copy and live OSV tests
pieroviano Oct 23, 2026
1d42c18
P7 scanning: docs (vulnerability-scanning.md, configuration, ui-cover…
pieroviano Oct 23, 2026
974a659
P7 scanning: regenerate the AddScanning migration (x4) after the AddR…
pieroviano Oct 23, 2026
7a9eb1d
CLAUDE.md: test counts after integrating P6 and P7 (3372)
pieroviano Oct 23, 2026
d872c34
P8 admin REST API: /api/v1 over repositories, access model, users, op…
pieroviano Oct 23, 2026
babe515
P8: docs (CLAUDE.md, configuration, advanced api, plan), API page and…
pieroviano Oct 23, 2026
9774ab6
P8: plan blocking table (B22)
pieroviano Oct 23, 2026
0d64b6b
CLAUDE.md: test counts after P8 (3409)
pieroviano Oct 23, 2026
9595b92
Plan: P6, P7 and P8 done with commit ranges
pieroviano Oct 23, 2026
c7183fa
Removed lightweight from documentation
pieroviano Oct 23, 2026
7bb8219
UI coverage audit: log levels per source on the Settings page, standi…
pieroviano Oct 23, 2026
20c68ea
Review fixes: block-unscanned no longer refuses what cannot be scanne…
pieroviano Oct 23, 2026
13c493e
Review fixes: an unscanned-image exemption never lifts the download-s…
pieroviano Oct 23, 2026
721090f
Retention: a run the read-only gate interrupts still audits its delet…
pieroviano Oct 24, 2026
d3e3423
P9: replication core (planner, engine, jobs, worker, deploy trigger, …
pieroviano Oct 24, 2026
4e3d85f
P9: replication pages, REST API, inventory service and engine tests a…
pieroviano Oct 24, 2026
15ebc87
P9: replication docs (replication.md, ui-coverage, admin-api, index, …
pieroviano Oct 24, 2026
2d73261
P9: a disabled replication is refused by the page and the API before …
pieroviano Oct 24, 2026
a482031
CLAUDE.md: baseline 3484 after rebase onto main (real full run)
pieroviano Oct 24, 2026
a958e9c
Move to Entity Framework Core 10: Microting.EntityFrameworkCore.MySql…
pieroviano Oct 24, 2026
62ad0bc
Restructured solution
pieroviano Oct 24, 2026
21ab754
P10: cluster core (store, leases, gate/access/copy sync, readiness, s…
pieroviano Oct 24, 2026
36f12ed
P10: Cluster admin page, cluster tests (two nodes in process), BaGet.…
pieroviano Oct 24, 2026
1470482
P10: high-availability docs (high-availability.md, configuration, ui-…
pieroviano Oct 24, 2026
bd945f1
Integrate wave 2: CLAUDE.md baseline 3531, plan status P9/P10 done
pieroviano Oct 24, 2026
bfcd697
UI coverage audit: repositories list filter and Docker referrers arti…
pieroviano Oct 24, 2026
47d0507
Review fixes: pull replication applies the scan deploy gate, deploy n…
pieroviano Oct 24, 2026
0e0193d
Replication: a SourceWins pull replaces the local copy only after the…
pieroviano Oct 24, 2026
d4dd04c
Review fixes: peer key sent to the peer's origin only, data protectio…
pieroviano Oct 24, 2026
c9c58cd
CLAUDE.md: test baseline 3551
pieroviano Oct 24, 2026
c9a6e82
Docs site: build mkdocs and deploy it to GitHub Pages on every push t…
pieroviano Oct 25, 2026
473985d
Remove plan
pieroviano Oct 25, 2026
a5480cc
Removed twitter
pieroviano Oct 25, 2026
e8d5779
Docs: configuration lists Maven:MaxFileBytes, the full restart-requir…
pieroviano Oct 25, 2026
c1e6025
Docs audit: CLAUDE.md (Docker GC is scheduled by retention, replicati…
pieroviano Oct 25, 2026
7871c9d
Docs: align index, readme, architecture, server API, debugging and vs…
pieroviano Oct 25, 2026
a93329a
Docs: align format, repository, remote and virtual pages with the cod…
pieroviano Oct 25, 2026
4c426c2
Docs: fix the validation anchor in repositories.md, drop a phase tag …
pieroviano Oct 25, 2026
d84d056
Add the user manual (docs/user-manual.md), linked from index, mkdocs …
pieroviano Oct 25, 2026
b9cac2d
Add the installation manual (docs/installation-manual.md), linked fro…
pieroviano Oct 25, 2026
13be0c5
Add the DevOps manual (docs/devops-manual.md), linked from index, mkd…
pieroviano Oct 25, 2026
9484c95
Add the how-to (docs/howto.md), linked from index, mkdocs nav and the…
pieroviano Oct 25, 2026
d92806a
Accounts:RequireApproval: a self-registered account stays disabled un…
pieroviano Oct 25, 2026
b9eff83
Restructured files
pieroviano Oct 25, 2026
62f8eae
Fixed project after restructuring files
pieroviano Oct 25, 2026
9b5e9ba
Account approval hardening: tests for the review fixes (pending-accou…
pieroviano Oct 25, 2026
e734b58
Account approval: an unrecordable failed attempt on a pending account…
pieroviano Oct 25, 2026
934cf7e
BaGet.Web.V3 rename: static web assets keep their /_content/BaGet.Web…
pieroviano Oct 25, 2026
03ebfa4
Plan: Razor Pages to MVC controllers and views without breaking chang…
pieroviano Oct 25, 2026
a9fd55a
Reduced Program.cs size
pieroviano Oct 25, 2026
21c457c
Fixed @addTagHelper after the BaGet.Web.V3 rename: NavLinkTagHelper a…
pieroviano Oct 25, 2026
8470f1c
UI contract snapshots on the unmigrated Razor Pages: routes, rendered…
pieroviano Oct 25, 2026
023da6b
Contract snapshots keep LF line ends
pieroviano Oct 25, 2026
7f44480
MVC infrastructure for the Razor Pages migration: PageHandler/LegacyP…
pieroviano Oct 25, 2026
652e279
Legal pages pilot: LegalController + views replace the Razor Pages (L…
pieroviano Oct 25, 2026
e410947
MVC infrastructure docs: how to migrate a page, READMEs, CLAUDE.md; c…
pieroviano Oct 25, 2026
0936bfc
UiCoverageInventoryTests finds CLI commands in every host source file…
pieroviano Oct 25, 2026
97fbbce
Wave 0 integrated: baseline 3608 tests, plan status
pieroviano Oct 25, 2026
46380eb
Wave 0 review fix: views name the layout and _Avatar/_ScanFindings pa…
pieroviano Oct 25, 2026
363b407
Foreign keys (Restrict) from RepositoryKey, ProjectKey, UserId, Confi…
pieroviano Oct 25, 2026
c4caf2a
Ownership foreign keys: OciTags.ImageKey is NoAction, image/project/r…
pieroviano Oct 25, 2026
eb9f405
Tests: ownership foreign keys in the model, enforced by SQLite, orpha…
pieroviano Oct 25, 2026
c7b107d
Docs: ownership foreign keys (CLAUDE.md, devops upgrade note, entity …
pieroviano Oct 25, 2026
0948b95
AddGroupMember refuses an unknown user; tests create the parents thei…
pieroviano Oct 25, 2026
8f8601c
Review fixes: create a missing default repository row before the orph…
pieroviano Oct 25, 2026
6cc7b61
CLAUDE.md: baseline 3653 tests with the ownership foreign keys
pieroviano Oct 25, 2026
8877738
Razor Pages to MVC, wave 1 mvc-browse: Index, Package, Statistics, Re…
pieroviano Oct 25, 2026
43b3df7
Razor Pages to MVC (wave 1, formats-ui): Upload, npm, Maven and Docke…
pieroviano Oct 25, 2026
ed12fb5
Account screens: Razor Pages to controllers (AccountController, Accou…
pieroviano Oct 25, 2026
c055c32
Packages/Manage to MVC: PackageManageController over ManageWorkflow, …
pieroviano Oct 25, 2026
d9195d3
Packages/* to MVC: Npm/Maven/Docker manage, ContactOwners, Scan and V…
pieroviano Oct 25, 2026
c3510f9
Razor Pages to MVC, admin core: Users, UserDetail, DeleteUser, UserPa…
pieroviano Oct 25, 2026
80d6ad6
Admin core: default POST action for screens whose forms post to their…
pieroviano Oct 25, 2026
4f63b71
Admin core: rename admin Organizations/Settings view models and workf…
pieroviano Oct 25, 2026
92e5e3f
Razor Pages to MVC: wave 1 integrated (5 tracks), baseline 3655 tests…
pieroviano Oct 25, 2026
7817dd3
Razor Pages to MVC, admin access: Groups, GroupDetail, Permissions, P…
pieroviano Oct 25, 2026
8518b51
Razor Pages to MVC, admin repos: Repositories, RepositoryEdit and Rep…
pieroviano Oct 25, 2026
47fc52c
Razor Pages to MVC, admin policies: Retention, RetentionPolicy, Reten…
pieroviano Oct 25, 2026
e0126f9
Razor Pages to MVC, admin policies: docs (CLAUDE.md, plan)
pieroviano Oct 25, 2026
d68dba8
Razor Pages to MVC: wave 2 integrated (3 tracks), baseline 3656 tests…
pieroviano Oct 25, 2026
4f9564f
Razor Pages to MVC: access detail buttons carry asp-route-name so the…
pieroviano Oct 25, 2026
4de6f29
Razor Pages to MVC, finish: page conventions and filter no longer reg…
pieroviano Oct 25, 2026
148e88a
Razor Pages to MVC, finish: docs rewritten for the controller/view mo…
pieroviano Oct 25, 2026
6f3e69f
Razor Pages to MVC, finish: RepositoryUrlHelper without an action map…
pieroviano Oct 25, 2026
152f54a
Razor Pages to MVC: wave 3 integrated, baseline 3657 tests, plan status
pieroviano Oct 25, 2026
c9dd037
Final review fixes: an unknown handler falls back per page (LegacyPag…
pieroviano Oct 25, 2026
0b104fe
Razor Pages to MVC done: plan removed (references dropped), PageHandl…
pieroviano Oct 25, 2026
43119b4
Plan references dropped, PageHandler tolerates a descriptor without a…
pieroviano Oct 25, 2026
bb013ac
Remove the [Obsolete] page-model shims (Compat/), RepositoryPageFilte…
pieroviano Oct 25, 2026
7c874ba
Docs: page-model removal (CLAUDE.md, upgrade note), baseline 3648 tests
pieroviano Oct 25, 2026
8a78367
Migration RenameAspNetTables (x4 providers): Identity tables lose the…
pieroviano Oct 25, 2026
4325941
Plan: JSON UI API (/api/ui) twins of every view, Application projects…
pieroviano Oct 25, 2026
e40f430
AdminOperationsTests retry test waits for the submission to leave the…
pieroviano Oct 25, 2026
0a00d45
Refactored BaGet,Web.V2
pieroviano Oct 25, 2026
08b16aa
Remove the Pages/ forwarding stubs (layout, partials, _ViewImports/_V…
pieroviano Oct 25, 2026
5d07faf
Docs, comments and HostViewOverrideTests after removing the Pages/ fo…
pieroviano Oct 25, 2026
5238373
UI API infrastructure (plan wave 0): Application projects, screen res…
pieroviano Oct 25, 2026
0a9081d
OpenAPI documents ui/v1/protocols (Microsoft.AspNetCore.OpenApi) and …
pieroviano Oct 25, 2026
87a3726
ScreenGate: an API key reaches the access screens through AlsoAllow o…
pieroviano Oct 26, 2026
d0d32da
Split browse screens (UI API wave 1): Index/packages, Package, Report…
pieroviano Oct 26, 2026
992de6d
UI API wave 1 split-formats: use cases and JSON twins for Upload, Npm…
pieroviano Oct 26, 2026
ebadff5
Regenerate ui-api.txt after rebasing split-formats onto split-browse
pieroviano Oct 26, 2026
2dd7a9c
Split the account screens (UI API wave 1): use cases in BaGet.Identit…
pieroviano Oct 26, 2026
0e45277
Regenerate ui-api.txt after rebasing split-account
pieroviano Oct 26, 2026
094ed18
Split the package-management screens (Manage, NpmManage, MavenManage,…
pieroviano Oct 26, 2026
3dd4e50
split-manage: ui-api snapshot, test fixes, plan notes
pieroviano Oct 26, 2026
d494ad4
Regenerate ui-api.txt after rebasing split-manage
pieroviano Oct 26, 2026
80ed1c5
UI API wave 1, split-admin-core: use cases and JSON twins for Users, …
pieroviano Oct 26, 2026
b6b6eac
Regenerate ui-api.txt after rebasing split-admin-core
pieroviano Oct 26, 2026
6953273
Wave 1 integrated: test baseline 3848 (3727 passed, 109 skipped, 12 k…
pieroviano Oct 26, 2026
3c7f692
Plan status: wave 1 commit range
pieroviano Oct 26, 2026
124fe76
UI API wave 2, split-admin-access: use cases and JSON twins for Group…
pieroviano Oct 26, 2026
3cc5acd
UI API wave 2, split-admin-repos: use cases and JSON twin for Reposit…
pieroviano Oct 26, 2026
9f1503d
Regenerate ui-api.txt after rebasing split-admin-repos
pieroviano Oct 26, 2026
987eb8c
UI API wave 2, split-admin-policies: use cases and JSON twins for Ret…
pieroviano Oct 26, 2026
b162953
Fix conflict markers and regenerate ui-api.txt after rebasing split-a…
pieroviano Oct 26, 2026
73907e4
Wave 2 integrated: test baseline 3912 (3791 passed, 109 skipped, 12 k…
pieroviano Oct 26, 2026
e29f0be
Docs: testing the APIs with Scalar (docs/scalar.md, in sln/index/nav)…
pieroviano Oct 26, 2026
96c7d31
Password confirmation honours lockout and counts wrong passwords; Pro…
pieroviano Oct 26, 2026
63dc3f0
UI API split finished: unused workflows and pending lists removed, la…
pieroviano Oct 26, 2026
b6ba289
Renamed nuget package
pieroviano Oct 26, 2026
0f1dc72
Wave 3 integrated: test baseline 3916 (3796 passed, 109 skipped, 11 k…
pieroviano Oct 26, 2026
244db7b
/api/ui authenticates with API keys only; no antiforgery; every twin …
pieroviano Oct 26, 2026
abd26fb
CLAUDE.md: test baseline 3871 after the keys-only /api/ui change
pieroviano Oct 26, 2026
b8801af
UI API review fixes: screen-only doc comments, parity test checks unc…
pieroviano Oct 26, 2026
0b3c767
Reorganize files
pieroviano Oct 27, 2026
8968b88
Modified snapshot to reflect file system
pieroviano Oct 27, 2026
9cd379f
One type per file in BaGet.Identity, BaGet.Identity.Application, BaGe…
pieroviano Oct 27, 2026
07a5b2e
Nested types made top-level (one type per file, no subtypes); extensi…
pieroviano Oct 27, 2026
6864fbc
Layout by functionality: folders describe the code, namespace = RootN…
pieroviano Oct 27, 2026
b5e989c
CodeLayoutTests guard the layout rules (one type per file, no nested …
pieroviano Oct 27, 2026
32e11bc
public-api.txt: namespaces moved with the layout (every removed entry…
pieroviano Oct 27, 2026
1b790b4
Docs follow the code layout: READMEs, CLAUDE.md layout rules, ui-api,…
pieroviano Oct 27, 2026
bda2ae9
View controllers moved to Controllers/FrontEnd (namespace *.Controlle…
pieroviano Oct 27, 2026
a3b3dfa
Removed unused usings
pieroviano Oct 27, 2026
ac3f9ff
Docker image builds again: copy the root Directory.Build.props and Si…
pieroviano Oct 27, 2026
b8a9bb2
Fixing docker instructions
pieroviano Oct 27, 2026
e27da54
Docs: the default administrator (Admin / Admin1234!) in its own secti…
pieroviano Oct 27, 2026
e9014bd
BaGet.Catalog layout: one type per file, namespace = folder (Controll…
pieroviano Oct 27, 2026
9a0303c
Remove LegacyPageAttribute: a screen is its controller and default GE…
pieroviano Oct 27, 2026
3a3e404
LegacyPage removal review fixes: an asp-page nav link is never active…
pieroviano Oct 27, 2026
ae91987
Reformatted package references
pieroviano Oct 27, 2026
88f348a
Changed projects locations and renamed nuget packages
pieroviano Oct 27, 2026
f6d53f7
Moved staric web resources under extension.baget.site
pieroviano Oct 27, 2026
4db6428
Split the projects BaGet.Identity in 2 projects: BaGet.Identity.Base …
pieroviano Oct 27, 2026
6a71d4f
Move the /api/v1 controller bases and their support (ApiProblems, Api…
pieroviano Oct 27, 2026
b21ab68
Renamed BaGet.Identity.Base to BaGet.Frontend.Base
pieroviano Oct 27, 2026
333b5cf
BaGet.Frontend.Base holds only the MVC base controllers and what they…
pieroviano Oct 27, 2026
a2343ae
Changed BaFet.Frontend.Base root namespace
pieroviano Oct 27, 2026
1ef8afc
Split web APIs from MVC screens: new projects BaGet.Api.Base, BaGet.I…
pieroviano Oct 27, 2026
363456f
Split web APIs from MVC screens (complete): tests, contracts, protoco…
pieroviano Oct 27, 2026
da05899
API/MVC split review fixes: an API-only host (no AddBaGetFrontEnd) ma…
pieroviano Oct 27, 2026
2c392c2
Code review of the whole codebase: 61 findings in eight areas (docs/p…
pieroviano Oct 27, 2026
b5b49c0
Data layer review fixes: database copy refused in a cluster, replicat…
pieroviano Oct 27, 2026
6eecce1
npm and Maven review fixes: serialized npm publish with row re-check,…
pieroviano Oct 27, 2026
1115a4b
Security review fixes: V2 by-id and autocomplete honour package-level…
pieroviano Oct 27, 2026
45ea5fa
NuGet path review fixes: atomic file-storage puts, concurrency-safe u…
pieroviano Oct 27, 2026
aae3a60
Docker registry: layer usage counts changed atomically in the databas…
pieroviano Oct 27, 2026
7d0c240
Web UI review fixes: manage screens answer 404 to a caller without Re…
pieroviano Oct 27, 2026
292dacc
Read filter judges the first value of a repeated id query key (what M…
pieroviano Oct 27, 2026
62ec988
Cloud storage and scanning review fixes: Docker images judged by medi…
pieroviano Oct 27, 2026
d1e3c3b
npm review fixes 2: normalized gyp install script and directories.bin…
pieroviano Oct 27, 2026
6d2fd83
Re-authentication return address is written application-relative in o…
pieroviano Oct 27, 2026
98ea63a
NuGet path review round 2: reject stops a running validation and the …
pieroviano Oct 27, 2026
b2854bd
Host hardening: forwarded headers trusted from loopback and Proxy:* o…
pieroviano Oct 27, 2026
1e912c2
Scanning review fixes: virtual Docker download check judged by the re…
pieroviano Oct 27, 2026
cdf4de1
Docker registry: a vanished blob file undoes its record; monolithic P…
pieroviano Oct 27, 2026
26696f2
Review fixes: key ring DPAPI-protected on Windows and startup check t…
pieroviano Oct 27, 2026
b893e5c
Merge branch 'worktree-wf_480c3aaf-3f6-1'
pieroviano Oct 27, 2026
afe233c
Merge branch 'worktree-wf_480c3aaf-3f6-2'
pieroviano Oct 27, 2026
f5ab6a5
Merge branch 'worktree-wf_480c3aaf-3f6-3'
pieroviano Oct 27, 2026
7455b90
Merge branch 'worktree-wf_480c3aaf-3f6-4'
pieroviano Oct 27, 2026
9ba482a
Merge branch 'worktree-wf_480c3aaf-3f6-5'
pieroviano Oct 27, 2026
40977ce
Merge branch 'worktree-wf_480c3aaf-3f6-6'
pieroviano Oct 27, 2026
93cf3ff
Merge branch 'worktree-wf_480c3aaf-3f6-7'
pieroviano Oct 27, 2026
33b118b
Merge branch 'worktree-wf_480c3aaf-3f6-8'
pieroviano Oct 27, 2026
12ff01d
Integration: move ActiveRun out of PackageValidationRunner (one type …
pieroviano Oct 28, 2026
1751128
Disabled log sinks and resolved log paths survive a configuration sou…
pieroviano Oct 28, 2026
9878814
Removed code review markdown file and fixed build.ps1
pieroviano Oct 28, 2026
440884c
Pack cleanup targets work on Windows, Linux and macOS: DeleteOldPacka…
pieroviano Oct 28, 2026
ab61dab
V2 feed $metadata: the EDMX declares the entries as media link entrie…
pieroviano Oct 28, 2026
a48d000
UI API for single-page applications: interactive session tokens (/api…
pieroviano Oct 28, 2026
2f14421
Review fixes for the SPA sessions: expired header tolerated on sessio…
pieroviano Oct 28, 2026
019302f
SPA samples: React (Vite + React 18 + openapi-fetch) and Angular (sta…
pieroviano Oct 28, 2026
af041fd
Second review of the SPA sessions: per-email registration allowance c…
pieroviano Oct 28, 2026
ce9edef
How-to: building a custom frontend in React or Angular over /api/ui (…
pieroviano Oct 28, 2026
efe3237
SPA samples follow the ui document's new shape (string enums, typed e…
pieroviano Oct 28, 2026
a9458bd
Solution: the React and Angular SPA samples as linked items under sam…
pieroviano Oct 28, 2026
fb88984
Renamed solugion folders
pieroviano Oct 29, 2026
92ef368
Moved libman.js in BaGet project
pieroviano Oct 29, 2026
6598003
Rename the /api/ui controllers and their bases from *UiApiController*…
pieroviano Oct 29, 2026
e5ad115
Used implicit type constructor
pieroviano Oct 29, 2026
2b4b041
Support several OpenID Connect providers: Accounts:OpenIdConnectProvi…
pieroviano Oct 30, 2026
47c02e1
React and Angular samples: one external sign-in button per provider o…
pieroviano Oct 30, 2026
74dfe07
OpenID Connect providers: match claims through the handler's inbound …
pieroviano Oct 30, 2026
83005ba
React and Angular samples: read the external providers from the anony…
pieroviano Oct 30, 2026
a10caef
Modified favicon.ico
pieroviano Oct 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
13 changes: 13 additions & 0 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"version": 1,
"isRoot": true,
"tools": {
"dotnet-ef": {
"version": "10.0.13",
"commands": [
"dotnet-ef"
],
"rollForward": false
}
}
}
24 changes: 24 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# The image is built from Directory.Build.props, SignKey.snk and src/ only (see Dockerfile).
**/bin/
**/obj/
**/*.user
.git/
.vs/
.config/
.devcontainer/
.github/
Packages/
TestResults/
tests/
samples/
docs/

# Local data and settings of a developer's run of src/BaGet: never in the image.
src/BaGet/appsettings.Overrides.json
src/BaGet/baget.db*
src/BaGet/catalog/
src/BaGet/packages/
src/BaGet/symbols/
src/BaGet/staging/
src/BaGet/logs/
src/BaGet/Properties/launchSettings.json
36 changes: 35 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,25 @@ indent_style = space
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
dotnet_style_operator_placement_when_wrapping = beginning_of_line
tab_width = 4
indent_size = 4
end_of_line = crlf
dotnet_style_coalesce_expression = true:suggestion
dotnet_style_null_propagation = true:suggestion
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:suggestion
dotnet_style_prefer_auto_properties = true:silent
dotnet_style_object_initializer = true:suggestion
dotnet_style_collection_initializer = true:suggestion
dotnet_style_prefer_simplified_boolean_expressions = true:suggestion
dotnet_style_prefer_conditional_expression_over_assignment = true:silent
dotnet_style_prefer_conditional_expression_over_return = true:silent
dotnet_style_explicit_tuple_names = true:suggestion
dotnet_style_prefer_inferred_tuple_names = true:suggestion
dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
dotnet_style_prefer_compound_assignment = true:suggestion
dotnet_style_prefer_simplified_interpolation = true:suggestion
dotnet_style_namespace_match_folder = true:suggestion

[*.{htm,html,js,ts,tsx,css,sass,scss,less,svg,vue}]
indent_size = 2
Expand Down Expand Up @@ -53,7 +72,7 @@ dotnet_naming_style.pascal_case_style.capitalization = pascal_case
# Use PascalCase for constant fields
dotnet_naming_rule.constant_fields_should_be_pascal_case.severity = suggestion
dotnet_naming_rule.constant_fields_should_be_pascal_case.symbols = constant_fields
dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_style
dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_style
dotnet_naming_symbols.constant_fields.applicable_kinds = field
dotnet_naming_symbols.constant_fields.applicable_accessibilities = *
dotnet_naming_symbols.constant_fields.required_modifiers = const
Expand Down Expand Up @@ -94,3 +113,18 @@ csharp_space_between_method_call_empty_parameter_list_parentheses = false
# Wrapping preferences
csharp_preserve_single_line_statements = true
csharp_preserve_single_line_blocks = true
csharp_indent_labels = one_less_than_current
csharp_using_directive_placement = outside_namespace:silent
csharp_prefer_simple_using_statement = true:suggestion
csharp_prefer_braces = true:silent
csharp_style_namespace_declarations = block_scoped:silent
csharp_style_prefer_method_group_conversion = true:silent
csharp_style_prefer_top_level_statements = true:silent
csharp_style_expression_bodied_methods = false:silent
csharp_style_expression_bodied_constructors = false:silent
csharp_style_expression_bodied_operators = false:silent
csharp_style_expression_bodied_properties = true:silent
csharp_style_expression_bodied_indexers = true:silent
csharp_style_expression_bodied_accessors = true:silent
csharp_style_expression_bodied_lambdas = true:silent
csharp_style_expression_bodied_local_functions = false:silent
3 changes: 2 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,5 @@
*.dbproj text=auto
*.sln text=auto eol=crlf

*.sh eol=lf
*.sh eol=lf# UI contract snapshots are compared as text with LF line ends
tests/BaGet.Tests/Contracts/*.txt text eol=lf
3 changes: 3 additions & 0 deletions .github/ISSUE_TEMPLATE/Bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ Steps to reproduce the behavior:
3. With these arguments '....'
4. See error

### Configuration
Database and storage provider, and `Accounts:Enabled`, `Feeds:EnableV2`, `Validation:Enabled` if not default.

### Expected behavior
A clear and concise description of what you expected to happen.

Expand Down
7 changes: 6 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,9 @@ Summary of the changes (in less than 80 chars)
* Detail 1
* Detail 2

Addresses https://github.com/loic-sharma/BaGet/issues/123
Addresses https://github.com/pieroviano/BaGet/issues/123

Checklist:

* [ ] Tests pass: `dotnet test BaGet.sln -p:GeneratePackageOnBuild=false`
* [ ] A schema change has a migration in all four `BaGet.Database.*` projects
47 changes: 47 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Docs

# Builds the mkdocs site (mkdocs.yml, docs/) and deploys it to GitHub Pages on every push to main.
# Requires Settings > Pages > Source = "GitHub Actions".
on:
push:
branches: [ main ]
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

# One deployment at a time; a newer push replaces a queued one.
concurrency:
group: pages
cancel-in-progress: false

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v6
with:
python-version: '3.12'
- name: Install mkdocs
run: pip install mkdocs-material==9.8.0
- name: Build
run: mkdocs build --strict -d site
env:
NO_MKDOCS_2_WARNING: 1
- uses: actions/configure-pages@v5
- uses: actions/upload-pages-artifact@v4
with:
path: site

deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v4
20 changes: 14 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,27 @@ on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v7
- name: Setup .NET
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v6
with:
dotnet-version: 3.1.x
dotnet-version: 10.0.x
# nuget.config lists ./Packages as a package source. Locally it is a symlink to a shared
# feed; in a clean checkout it does not exist, and restore fails with NU1301.
- name: Create the local package source
run: mkdir -p Packages
- name: Restore dependencies
run: dotnet restore
run: dotnet restore BaGet.sln
# Directory.Build.props packs every project on build; CI only needs the binaries.
- name: Build
run: dotnet build --no-restore
run: dotnet build BaGet.sln --no-restore -p:GeneratePackageOnBuild=false
- name: Test
run: dotnet test --no-build --verbosity normal
run: dotnet test BaGet.sln --no-build --verbosity normal
60 changes: 40 additions & 20 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@ on:
releaseVersion:
description: 'Release version'
required: true
default: '1.0.0-preview1'
default: '1.0.0'
packageSource:
description: 'Package source'
required: true
default: 'https://api.nuget.org/v3/index.json'

permissions:
contents: read

env:
Version: ${{ github.event.inputs.releaseVersion }}
PackageVersion: ${{ github.event.inputs.releaseVersion }}
Expand All @@ -22,29 +25,34 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v7
- name: Setup .NET
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v6
with:
dotnet-version: 3.1.x
dotnet-version: 10.0.x
# nuget.config lists ./Packages as a package source; it does not exist in a clean checkout.
- name: Create the local package source
run: mkdir -p Packages
- name: Test
run: dotnet test --verbosity normal
run: dotnet test BaGet.sln --verbosity normal -p:GeneratePackageOnBuild=false

release_zip:
needs: verify
name: Release BaGet.zip to GitHub
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v7
- name: Setup .NET
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v6
with:
dotnet-version: 3.1.x
dotnet-version: 10.0.x
- name: Create the local package source
run: mkdir -p Packages
- name: Publish
run: dotnet publish src/BaGet --configuration Release --output artifacts
run: dotnet publish src/BaGet --configuration Release --output artifacts -p:GeneratePackageOnBuild=false
- name: Upload
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v7
with:
name: BaGet
path: artifacts
Expand All @@ -55,36 +63,48 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v7
- name: Setup .NET
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v6
with:
dotnet-version: 3.1.x
dotnet-version: 10.0.x
- name: Create the local package source
run: mkdir -p Packages
# Packing on build as well would pack every project twice.
- name: Pack
run: dotnet pack --configuration Release --output artifacts
run: dotnet pack BaGet.sln --configuration Release --output artifacts -p:GeneratePackageOnBuild=false
# Inputs and secrets go through the environment, never into the script text. A .nupkg push
# also pushes its .snupkg, so the symbol packages are not listed separately.
- name: Push
run: dotnet nuget push "*" -s ${{ github.event.inputs.packageSource }} -k ${{secrets.NUGET_API_KEY}}
run: dotnet nuget push "*.nupkg" --source "$PACKAGE_SOURCE" --api-key "$NUGET_API_KEY" --skip-duplicate
working-directory: artifacts
env:
PACKAGE_SOURCE: ${{ github.event.inputs.packageSource }}
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}

release_docker_image:
needs: verify
name: Release Docker image to Docker Hub
runs-on: ubuntu-latest
env:
# Repository variable DOCKER_IMAGE (e.g. "myorg/baget"); defaults to "<DOCKER_USERNAME>/baget".
IMAGE: ${{ vars.DOCKER_IMAGE || format('{0}/baget', secrets.DOCKER_USERNAME) }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v7

- name: Log in to Docker Hub
uses: docker/login-action@v1
uses: docker/login-action@v4
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build and push Docker image
uses: docker/build-push-action@v2
uses: docker/build-push-action@v7
with:
context: .
push: true
labels: org.opencontainers.image.source=${{ github.server_url }}/${{ github.repository }}
tags: |
loicsharma/baget:latest
loicsharma/baget:${{ github.event.inputs.releaseVersion }}
${{ env.IMAGE }}:latest
${{ env.IMAGE }}:${{ github.event.inputs.releaseVersion }}
15 changes: 15 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,11 @@ PublishScripts/
**/packages/*
# except build/, which is used as an MSBuild target.
!**/packages/build/
# ... and except BaGet's own package-management Razor Pages, which live in a folder called
# Packages: the rule above matched them and left the Manage page untracked.
!src/BaGet.Identity/Pages/Packages/**
# ... and the Models/Packages folders of the Identity/Web projects (forms and view models).
!src/**/Models/Packages/**
# Uncomment if necessary however generally it will be regenerated when needed
#!**/packages/repositories.config
# NuGet v3's project.json files produces more ignoreable files
Expand Down Expand Up @@ -272,3 +277,13 @@ __pycache__/
**/baget.db
**/baget.db-shm
**/baget.db-wal

# BaGet host logs (Serilog file sink)
logs/

# BaGet host storage when Storage:Path is empty (the content root, e.g. src/BaGet under dotnet run / Visual Studio)
src/BaGet/catalog/
src/BaGet/symbols/
src/BaGet/staging/
src/BaGet/validation/
src/BaGet/repos/
46 changes: 0 additions & 46 deletions .vscode/launch.json

This file was deleted.

Loading