Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,13 @@ Vrij en open source onder de EUPL-1.2-licentie.
<step>OCA\OpenBuilt\Repair\InitializeSettings</step>
<step>OCA\OpenBuilt\Repair\SeedHelloWorld</step>
<step>OCA\OpenBuilt\Repair\PopulateApplicationPermissions</step>
<step>OCA\OpenBuilt\Repair\SeedApplicationTemplates</step>
</install>
<post-migration>
<step>OCA\OpenBuilt\Repair\InitializeSettings</step>
<step>OCA\OpenBuilt\Repair\SeedHelloWorld</step>
<step>OCA\OpenBuilt\Repair\PopulateApplicationPermissions</step>
<step>OCA\OpenBuilt\Repair\SeedApplicationTemplates</step>
</post-migration>
</repair-steps>

Expand Down
7 changes: 7 additions & 0 deletions appinfo/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@
// is order-sensitive when prefix overlaps).
['name' => 'applications#listMine', 'url' => '/api/applications', 'verb' => 'GET'],

// Clone-from-template action (openbuilt-templates-marketplace REQ-OBTC-004 / REQ-OBTC-005).
// POST so it does not collide with the GET {slug} routes; #[NoAdminRequired] on the
// controller method. Creates a per-app `openbuilt-{newSlug}` register, deep-copies the
// template's companion schemas into it, rewrites manifest schema refs, and persists a new
// Application in the shared `openbuilt` register tagged with the caller's UID.
['name' => 'applications#createFromTemplate', 'url' => '/api/applications/from-template/{templateSlug}', 'verb' => 'POST'],

// Manifest endpoint — returns the stored manifest JSON blob for a given virtual-app slug.
// Per ADR-016 routes.php is the only registration path; #[NoAdminRequired] is set on the
// controller method so auth-required-but-non-admin users can hit it (per design.md Decision 6).
Expand Down
14 changes: 14 additions & 0 deletions img/templates/employee-onboarding.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions img/templates/incident-reporter.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions img/templates/permit-tracker.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions img/templates/stakeholder-consultation.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading