This commit is contained in:
Harivansh Rathi 2026-04-01 02:27:08 +00:00
parent 7ae2b7a71c
commit 4ac6275dbf
20 changed files with 83 additions and 83 deletions

View file

@ -2,12 +2,12 @@
<info xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://apps.nextcloud.com/schema/apps/info.xsd">
<id>ainascontrolplane</id>
<name>aiNAS Control Plane</name>
<summary>Thin aiNAS shell app for Nextcloud integration</summary>
<description>Provides aiNAS-branded entry points inside Nextcloud while delegating business logic to the aiNAS control plane.</description>
<name>betterNAS Control Plane</name>
<summary>Thin betterNAS shell app for Nextcloud integration</summary>
<description>Provides betterNAS-branded entry points inside Nextcloud while delegating business logic to the betterNAS control plane.</description>
<version>0.1.0</version>
<licence>AGPL-3.0-or-later</licence>
<author homepage="https://ainas.local">aiNAS</author>
<author homepage="https://ainas.local">betterNAS</author>
<namespace>AinasControlplane</namespace>
<category>integration</category>
<dependencies>
@ -16,7 +16,7 @@
<navigations>
<navigation>
<id>ainascontrolplane</id>
<name>aiNAS</name>
<name>betterNAS</name>
<route>ainascontrolplane.page.index</route>
<icon>app.svg</icon>
<type>link</type>

View file

@ -1,6 +1,6 @@
{
"name": "ainas/ainascontrolplane",
"description": "aiNAS Nextcloud shell app",
"description": "betterNAS Nextcloud shell app",
"license": "AGPL-3.0-or-later",
"autoload": {
"psr-4": {

View file

@ -33,7 +33,7 @@ class PageController extends Controller {
Application::APP_ID,
'index',
[
'appName' => 'aiNAS Control Plane',
'appName' => 'betterNAS Control Plane',
'controlPlaneUrl' => $this->controlPlaneConfig->getBaseUrl(),
'snapshot' => $this->controlPlaneClient->fetchSnapshot(),
],

View file

@ -33,7 +33,7 @@ class ControlPlaneClient {
'version' => $versionResponse['body'],
];
} catch (\Throwable $exception) {
$this->logger->warning('Failed to reach aiNAS control plane', [
$this->logger->warning('Failed to reach betterNAS control plane', [
'exception' => $exception,
'url' => $baseUrl,
]);

View file

@ -21,7 +21,7 @@ class AdminSection implements IIconSection {
}
public function getName(): string {
return $this->l->t('aiNAS');
return $this->l->t('betterNAS');
}
public function getPriority(): int {

View file

@ -15,7 +15,7 @@ $version = $snapshot['version']['version'] ?? 'unreachable';
<div class="ainas-shell ainas-shell--admin">
<div class="ainas-shell__hero">
<p class="ainas-shell__eyebrow">Admin settings</p>
<h1 class="ainas-shell__title">aiNAS control-plane wiring</h1>
<h1 class="ainas-shell__title">betterNAS control-plane wiring</h1>
<p class="ainas-shell__copy">
The local scaffold wires this app to the control plane through the <code>AINAS_CONTROL_PLANE_URL</code> environment variable in the Nextcloud container.
</p>

View file

@ -15,10 +15,10 @@ $error = $snapshot['error'] ?? null;
<div class="ainas-shell">
<div class="ainas-shell__hero">
<p class="ainas-shell__eyebrow">aiNAS inside Nextcloud</p>
<p class="ainas-shell__eyebrow">betterNAS inside Nextcloud</p>
<h1 class="ainas-shell__title"><?php p($_['appName']); ?></h1>
<p class="ainas-shell__copy">
This shell app stays intentionally thin. It exposes aiNAS entry points inside Nextcloud and delegates business logic to the external control-plane service.
This shell app stays intentionally thin. It exposes betterNAS entry points inside Nextcloud and delegates business logic to the external control-plane service.
</p>
</div>
@ -42,7 +42,7 @@ $error = $snapshot['error'] ?? null;
<h2>Boundary</h2>
<ul>
<li>Nextcloud provides file and client primitives.</li>
<li>aiNAS owns control-plane policy and orchestration.</li>
<li>betterNAS owns control-plane policy and orchestration.</li>
<li>The shell app only adapts between the two.</li>
</ul>
</section>