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
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

Admin interface for managing DreamFactory instance.


## Overview

DreamFactory is a secure, self-hosted enterprise data access platform that provides governed API access to any data source, connecting enterprise applications and on-prem LLMs with role-based access and identity passthrough.
Expand Down

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/7846.4bd56ca374e2b1ac.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion dist/7846.ec7ac8023cd7c3fa.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/8105.0d5741524ca32908.js

This file was deleted.

1 change: 1 addition & 0 deletions dist/8105.6e958ba9d47b8f91.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/8876.4ba91f2d2ebf9d46.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion dist/8876.e018d519f7446d4f.js

This file was deleted.

1 change: 1 addition & 0 deletions dist/common.e87a23c6fc0b6d04.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
<body class="mat-typography">
<df-root></df-root>
<script type="text/javascript" src="https://assets.calendly.com/assets/external/widget.js"></script>
<script src="runtime.33fade54d492ba80.js" type="module"></script><script src="polyfills.cb64ea9d35bc0a9e.js" type="module"></script><script src="main.a54e1010cb4191bc.js" type="module"></script></body>
<script src="runtime.34ef136ad11c59f6.js" type="module"></script><script src="polyfills.cb64ea9d35bc0a9e.js" type="module"></script><script src="main.a6a066bad24eea1c.js" type="module"></script></body>
</html>
1 change: 0 additions & 1 deletion dist/main.a54e1010cb4191bc.js

This file was deleted.

1 change: 1 addition & 0 deletions dist/main.a6a066bad24eea1c.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/runtime.34ef136ad11c59f6.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
'status-loading': healthStatus === 'loading',
'status-healthy': healthStatus === 'healthy',
'status-unhealthy': healthStatus === 'unhealthy',
'status-warning': healthStatus === 'warning',
'status-warning': healthStatus === 'warning'
}">
<div *ngIf="healthStatus === 'loading'">
<p>{{ 'apiHealthBanner.loading' | transloco }}</p>
Expand Down
13 changes: 4 additions & 9 deletions src/app/adf-api-docs/df-api-docs/df-api-docs.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ import {
SESSION_TOKEN_HEADER,
API_KEY_HEADER,
} from 'src/app/shared/constants/http-headers';
import {
mapCamelToSnake,
mapSnakeToCamel,
} from 'src/app/shared/utilities/case';
import { DfThemeService } from 'src/app/shared/services/df-theme.service';
import { AsyncPipe, NgIf, NgFor, SlicePipe, NgClass } from '@angular/common';
import { environment } from '../../../../environments/environment';
Expand Down Expand Up @@ -166,11 +162,10 @@ export class DfApiDocsComponent implements OnInit, AfterContentInit, OnDestroy {
this.subscriptions.push(
this.activatedRoute.data.subscribe(({ data }) => {
if (data) {
if (data.paths['/']?.get?.operationId === 'getSoapResources') {
this.apiDocJson = { ...data, paths: mapSnakeToCamel(data.paths) };
} else {
this.apiDocJson = { ...data, paths: mapCamelToSnake(data.paths) };
}
// Pass the OpenAPI spec as-is to Swagger UI without transformation
// The OpenAPI spec has specific property names (like operationId, $ref, etc.)
// that must not be transformed, or Swagger UI won't parse them correctly
this.apiDocJson = data;
}
})
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ <h4>{{ 'cors.pageSubtitle' | transloco }}</h4>
class="dynamic-width"
formControlName="methods"
[schema]="{
label: 'cors.formControls.methods' | transloco,
label: 'cors.formControls.methods' | transloco
}"
type="verb_multiple"></df-verb-picker>
<mat-slide-toggle
Expand Down
11 changes: 9 additions & 2 deletions src/app/adf-data-explorer/df-data-explorer.component.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
<div class="data-explorer-container" [class.dark-theme]="isDarkMode$ | async" *transloco="let t; scope: 'dataExplorer'">
<div
class="data-explorer-container"
[class.dark-theme]="isDarkMode$ | async"
*transloco="let t; scope: 'dataExplorer'">
<mat-sidenav-container class="explorer-sidenav-container">
<!-- Left Panel -->
<mat-sidenav mode="side" opened class="explorer-sidenav" [fixedInViewport]="false">
<mat-sidenav
mode="side"
opened
class="explorer-sidenav"
[fixedInViewport]="false">
<div class="sidenav-content">
<!-- Database list or Schema tree -->
<ng-container *ngIf="!selectedDb">
Expand Down
10 changes: 7 additions & 3 deletions src/app/adf-data-explorer/df-data-explorer.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ import { DfThemeService } from '../shared/services/df-theme.service';
DfDataGridComponent,
],
})
export class DfDataExplorerComponent implements OnInit, OnDestroy, AfterViewInit {
export class DfDataExplorerComponent
implements OnInit, OnDestroy, AfterViewInit
{
@HostBinding('style.height.px') hostHeight: number | null = null;
databases: DatabaseService[] = [];
tables: TableInfo[] = [];
Expand Down Expand Up @@ -119,7 +121,8 @@ export class DfDataExplorerComponent implements OnInit, OnDestroy, AfterViewInit
this.loadingDbs = false;
},
error: err => {
this.errorDbs = err?.error?.error?.message || 'Failed to load databases';
this.errorDbs =
err?.error?.error?.message || 'Failed to load databases';
this.loadingDbs = false;
},
});
Expand All @@ -144,7 +147,8 @@ export class DfDataExplorerComponent implements OnInit, OnDestroy, AfterViewInit
this.loadingSchema = false;
},
error: err => {
this.errorSchema = err?.error?.error?.message || 'Failed to load schema';
this.errorSchema =
err?.error?.error?.message || 'Failed to load schema';
this.loadingSchema = false;
},
});
Expand Down
Loading
Loading