Files
Malin bc9f96cbd4 feat: rebrand Hemmelig to paste.es for cloudhost.es
- Set Spanish as default language with ephemeral/encrypted privacy focus
- Translate all user-facing strings and legal pages to Spanish
- Replace Norwegian flag with Spanish flag in footer
- Remove Hemmelig/terces.cloud links, add cloudhost.es sponsorship
- Rewrite PrivacyPage: zero data collection, ephemeral design emphasis
- Rewrite TermsPage: Spanish law, RGPD, paste.es/CloudHost.es references
- Update PWA manifest, HTML meta tags, package.json branding
- Rename webhook headers to X-Paste-Event / X-Paste-Signature
- Update API docs title and contact to paste.es / cloudhost.es

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-24 09:30:19 +01:00

41 lines
2.4 KiB
SQL

/*
Warnings:
- You are about to drop the column `enforceHttps` on the `instance_settings` table. All the data in the column will be lost.
- You are about to drop the column `maxPasswordAttempts` on the `instance_settings` table. All the data in the column will be lost.
- You are about to drop the column `maxSecretsPerUser` on the `instance_settings` table. All the data in the column will be lost.
- You are about to drop the column `sessionTimeout` on the `instance_settings` table. All the data in the column will be lost.
*/
-- RedefineTables
PRAGMA defer_foreign_keys=ON;
PRAGMA foreign_keys=OFF;
CREATE TABLE "new_instance_settings" (
"id" TEXT NOT NULL PRIMARY KEY,
"instanceName" TEXT DEFAULT '',
"instanceDescription" TEXT DEFAULT '',
"allowRegistration" BOOLEAN DEFAULT true,
"requireEmailVerification" BOOLEAN DEFAULT false,
"defaultSecretExpiration" INTEGER DEFAULT 72,
"maxSecretSize" INTEGER DEFAULT 1024,
"allowPasswordProtection" BOOLEAN DEFAULT true,
"allowIpRestriction" BOOLEAN DEFAULT true,
"enableRateLimiting" BOOLEAN DEFAULT true,
"rateLimitRequests" INTEGER DEFAULT 100,
"rateLimitWindow" INTEGER DEFAULT 60,
"smtpHost" TEXT,
"smtpPort" INTEGER,
"smtpUsername" TEXT,
"smtpPassword" TEXT,
"smtpSecure" BOOLEAN DEFAULT true,
"fromEmail" TEXT,
"fromName" TEXT,
"createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updatedAt" DATETIME NOT NULL
);
INSERT INTO "new_instance_settings" ("allowIpRestriction", "allowPasswordProtection", "allowRegistration", "createdAt", "defaultSecretExpiration", "enableRateLimiting", "fromEmail", "fromName", "id", "instanceDescription", "instanceName", "maxSecretSize", "rateLimitRequests", "rateLimitWindow", "requireEmailVerification", "smtpHost", "smtpPassword", "smtpPort", "smtpSecure", "smtpUsername", "updatedAt") SELECT "allowIpRestriction", "allowPasswordProtection", "allowRegistration", "createdAt", "defaultSecretExpiration", "enableRateLimiting", "fromEmail", "fromName", "id", "instanceDescription", "instanceName", "maxSecretSize", "rateLimitRequests", "rateLimitWindow", "requireEmailVerification", "smtpHost", "smtpPassword", "smtpPort", "smtpSecure", "smtpUsername", "updatedAt" FROM "instance_settings";
DROP TABLE "instance_settings";
ALTER TABLE "new_instance_settings" RENAME TO "instance_settings";
PRAGMA foreign_keys=ON;
PRAGMA defer_foreign_keys=OFF;