public
anord
read
Ledger
Why work hard when you can work easier?
Languages
Repository composition by tracked source files.
TypeScript
86%
CSS
10%
SQL
3%
Shell
1%
HTML
0%
Trace
apps/api/src/services/settings.ts
Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.
settings.ts
on main
Author
Date
Commit
Line
Code
Alex Nord
3 months ago
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 1
import { env } from "../config/env.js";
import { env } from "../config/env.js";
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 2
import { pool } from "../db/pool.js";
import { pool } from "../db/pool.js";
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 3
Alex Nord
3 months ago
7b9fd81
Continues UI Fixes
- Full commit hash
7b9fd81fba50e4e63f3a981dc8ac583996c2482c- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 4
const FIXED_FOOTER = "Powered by Ledger made by ANord.cc";
const FIXED_FOOTER = "Powered by Ledger made by ANord.cc";
same change
7b9fd81
Continues UI Fixes
- Full commit hash
7b9fd81fba50e4e63f3a981dc8ac583996c2482c- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 5
Alex Nord
3 months ago
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 6
function parseFooterLinks(value: unknown) {
function parseFooterLinks(value: unknown) {
same change
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 7
if (!Array.isArray(value)) {
if (!Array.isArray(value)) {
same change
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 8
return [] as Array<{ label: string; href: string }>;
return [] as Array<{ label: string; href: string }>;
same change
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 9
}
}
same change
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 10
same change
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 11
return value
return value
same change
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 12
.map((item) => {
.map((item) => {
same change
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 13
if (!item || typeof item !== "object") {
if (!item || typeof item !== "object") {
same change
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 14
return null;
return null;
same change
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 15
}
}
same change
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 16
same change
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 17
const label = "label" in item ? String(item.label ?? "").trim() : "";
const label = "label" in item ? String(item.label ?? "").trim() : "";
same change
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 18
const href = "href" in item ? String(item.href ?? "").trim() : "";
const href = "href" in item ? String(item.href ?? "").trim() : "";
same change
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 19
if (!label || !href) {
if (!label || !href) {
same change
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 20
return null;
return null;
same change
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 21
}
}
same change
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 22
same change
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 23
return { label, href };
return { label, href };
same change
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 24
})
})
same change
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 25
.filter(Boolean) as Array<{ label: string; href: string }>;
.filter(Boolean) as Array<{ label: string; href: string }>;
same change
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 26
}
}
same change
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 27
Alex Nord
3 months ago
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 28
export async function getBrandingSettings() {
export async function getBrandingSettings() {
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 29
const result = await pool.query(`SELECT * FROM branding_settings ORDER BY created_at ASC LIMIT 1`);
const result = await pool.query(`SELECT * FROM branding_settings ORDER BY created_at ASC LIMIT 1`);
Alex Nord
3 months ago
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 30
const row =
const row =
Alex Nord
3 months ago
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 31
result.rows[0] ?? {
result.rows[0] ?? {
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 32
id: "default",
id: "default",
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 33
site_name: "Ledger",
site_name: "Ledger",
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 34
logo_url: null,
logo_url: null,
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 35
brand_color: "#245cff",
brand_color: "#245cff",
Alex Nord
3 months ago
7b9fd81
Continues UI Fixes
- Full commit hash
7b9fd81fba50e4e63f3a981dc8ac583996c2482c- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 36
footer_text: FIXED_FOOTER,
footer_text: FIXED_FOOTER,
Alex Nord
3 months ago
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 37
footer_links: [],
footer_links: [],
Alex Nord
3 months ago
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 38
public_knowledge_base_enabled: true
public_knowledge_base_enabled: true
Alex Nord
3 months ago
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 39
};
};
same change
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 40
same change
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 41
return {
return {
same change
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 42
...row,
...row,
same change
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 43
footer_text: FIXED_FOOTER,
footer_text: FIXED_FOOTER,
same change
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 44
footer_links: parseFooterLinks(row.footer_links)
footer_links: parseFooterLinks(row.footer_links)
same change
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 45
};
};
Alex Nord
3 months ago
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 46
}
}
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 47
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 48
export async function upsertBrandingSettings(input: {
export async function upsertBrandingSettings(input: {
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 49
siteName: string;
siteName: string;
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 50
logoUrl: string | null;
logoUrl: string | null;
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 51
brandColor: string;
brandColor: string;
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 52
publicKnowledgeBaseEnabled: boolean;
publicKnowledgeBaseEnabled: boolean;
Alex Nord
3 months ago
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 53
footerLinks: Array<{ label: string; href: string }>;
footerLinks: Array<{ label: string; href: string }>;
Alex Nord
3 months ago
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 54
}) {
}) {
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 55
const existing = await getBrandingSettings();
const existing = await getBrandingSettings();
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 56
if (existing) {
if (existing) {
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 57
const result = await pool.query(
const result = await pool.query(
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 58
`
`
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 59
UPDATE branding_settings
UPDATE branding_settings
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 60
SET site_name = $2, logo_url = $3, brand_color = $4, footer_text = $5,
SET site_name = $2, logo_url = $3, brand_color = $4, footer_text = $5,
Alex Nord
3 months ago
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 61
public_knowledge_base_enabled = $6, footer_links = $7, updated_at = now()
public_knowledge_base_enabled = $6, footer_links = $7, updated_at = now()
Alex Nord
3 months ago
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 62
WHERE id = $1
WHERE id = $1
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 63
RETURNING *
RETURNING *
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 64
`,
`,
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 65
[
[
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 66
existing.id,
existing.id,
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 67
input.siteName,
input.siteName,
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 68
input.logoUrl,
input.logoUrl,
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 69
input.brandColor,
input.brandColor,
Alex Nord
3 months ago
7b9fd81
Continues UI Fixes
- Full commit hash
7b9fd81fba50e4e63f3a981dc8ac583996c2482c- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 70
FIXED_FOOTER,
FIXED_FOOTER,
Alex Nord
3 months ago
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 71
input.publicKnowledgeBaseEnabled,
input.publicKnowledgeBaseEnabled,
same change
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 72
JSON.stringify(input.footerLinks)
JSON.stringify(input.footerLinks)
Alex Nord
3 months ago
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 73
]
]
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 74
);
);
Alex Nord
3 months ago
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 75
return {
return {
same change
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 76
...result.rows[0],
...result.rows[0],
same change
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 77
footer_text: FIXED_FOOTER,
footer_text: FIXED_FOOTER,
same change
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 78
footer_links: parseFooterLinks(result.rows[0].footer_links)
footer_links: parseFooterLinks(result.rows[0].footer_links)
same change
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 79
};
};
Alex Nord
3 months ago
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 80
}
}
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 81
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 82
const created = await pool.query(
const created = await pool.query(
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 83
`
`
Alex Nord
3 months ago
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 84
INSERT INTO branding_settings (site_name, logo_url, brand_color, footer_text, public_knowledge_base_enabled, footer_links)
INSERT INTO branding_settings (site_name, logo_url, brand_color, footer_text, public_knowledge_base_enabled, footer_links)
same change
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 85
VALUES ($1, $2, $3, $4, $5, $6)
VALUES ($1, $2, $3, $4, $5, $6)
Alex Nord
3 months ago
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 86
RETURNING *
RETURNING *
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 87
`,
`,
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 88
[
[
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 89
input.siteName,
input.siteName,
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 90
input.logoUrl,
input.logoUrl,
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 91
input.brandColor,
input.brandColor,
Alex Nord
3 months ago
7b9fd81
Continues UI Fixes
- Full commit hash
7b9fd81fba50e4e63f3a981dc8ac583996c2482c- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 92
FIXED_FOOTER,
FIXED_FOOTER,
Alex Nord
3 months ago
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 93
input.publicKnowledgeBaseEnabled,
input.publicKnowledgeBaseEnabled,
same change
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 94
JSON.stringify(input.footerLinks)
JSON.stringify(input.footerLinks)
Alex Nord
3 months ago
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 95
]
]
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 96
);
);
Alex Nord
3 months ago
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 97
return {
return {
same change
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 98
...created.rows[0],
...created.rows[0],
same change
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 99
footer_text: FIXED_FOOTER,
footer_text: FIXED_FOOTER,
same change
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 100
footer_links: parseFooterLinks(created.rows[0].footer_links)
footer_links: parseFooterLinks(created.rows[0].footer_links)
same change
b71e6dd
Fixing loading issue when putting Ledger behind domain
- Full commit hash
b71e6dd42f7e2cd7409b68365a17c561433e6687- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 101
};
};
Alex Nord
3 months ago
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 102
}
}
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 103
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 104
export async function getAdminSettingsBundle() {
export async function getAdminSettingsBundle() {
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 105
const branding = await getBrandingSettings();
const branding = await getBrandingSettings();
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 106
const smtp = await pool.query(`SELECT * FROM smtp_settings ORDER BY created_at ASC LIMIT 1`);
const smtp = await pool.query(`SELECT * FROM smtp_settings ORDER BY created_at ASC LIMIT 1`);
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 107
const ai = await pool.query(`SELECT * FROM ai_settings ORDER BY created_at ASC LIMIT 1`);
const ai = await pool.query(`SELECT * FROM ai_settings ORDER BY created_at ASC LIMIT 1`);
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 108
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 109
return {
return {
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 110
branding,
branding,
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 111
smtp: smtp.rows[0],
smtp: smtp.rows[0],
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 112
ai: ai.rows[0],
ai: ai.rows[0],
Alex Nord
3 months ago
5600eb6
Build enterprise imports webhooks and AI admin workflows
- Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 113
mcp: {
mcp: {
Alex Nord
3 months ago
39c4a7e
Continues UI fixes and fixing Docs
- Full commit hash
39c4a7eb40e70508ca2290d8656cf640971c5c56- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 114
endpoint: `${env.LEDGER_APP_URL}/mcp`,
endpoint: `${env.LEDGER_APP_URL}/mcp`,
Alex Nord
3 months ago
5600eb6
Build enterprise imports webhooks and AI admin workflows
- Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 115
authMode: "session_cookie"
authMode: "session_cookie"
same change
5600eb6
Build enterprise imports webhooks and AI admin workflows
- Full commit hash
5600eb6c876ab31ee652ee6abe12884b31088496- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 116
},
},
Alex Nord
3 months ago
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 117
authProviders: {
authProviders: {
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 118
oidc: Boolean(env.OIDC_ISSUER && env.OIDC_CLIENT_ID && env.OIDC_CLIENT_SECRET),
oidc: Boolean(env.OIDC_ISSUER && env.OIDC_CLIENT_ID && env.OIDC_CLIENT_SECRET),
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 119
google: Boolean(env.GOOGLE_CLIENT_ID && env.GOOGLE_CLIENT_SECRET),
google: Boolean(env.GOOGLE_CLIENT_ID && env.GOOGLE_CLIENT_SECRET),
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 120
discord: Boolean(env.DISCORD_CLIENT_ID && env.DISCORD_CLIENT_SECRET),
discord: Boolean(env.DISCORD_CLIENT_ID && env.DISCORD_CLIENT_SECRET),
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 121
microsoft: Boolean(env.MICROSOFT_CLIENT_ID && env.MICROSOFT_CLIENT_SECRET),
microsoft: Boolean(env.MICROSOFT_CLIENT_ID && env.MICROSOFT_CLIENT_SECRET),
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 122
slack: Boolean(env.SLACK_CLIENT_ID && env.SLACK_CLIENT_SECRET)
slack: Boolean(env.SLACK_CLIENT_ID && env.SLACK_CLIENT_SECRET)
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 123
}
}
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 124
};
};
same change
4527dbd
First commit v2
- Full commit hash
4527dbdfcb1470a5c2476e2a5208f7bf48cc9d27- Author
- Alex Nord <[email protected]>
- Date
- 3 months ago
- Selected line
- 125
}
}