main
|
Last change
on this file since 5f483e3 was 5f483e3, checked in by Robin Genis <roboburr@…>, 2 months ago |
|
chore: code cleanup — remove dead files, deps, DB tables, Google-login remnants
- Deleted dead files: routes/notifications.js + services/NotificationService.js +
views/pages/notifications.ejs (old bell, unmounted; live fedi notifications live in posts.js);
deploy/verify.ps1 (stale smoke test).
- package.json — drop unused
ws dependency (no WebSocket since Prutter was removed).
- .env.example — drop GOOGLE_* vars (Google login removed).
- config/database.js — remove CREATE statements for dead tables (circle_links/remote_actors/
remote_posts from old Circles v1; user_notifications; post_likes). No DROP — existing rows stay.
- services/i18n.js — remove dead keys: hub, prutter, and the whole Google-login set (+ the
agoog.* wizard + glog.* notices, ~280 lines). Kept aseo.verify_google. solo_desc/login_google_only de-Googled.
- views/pages/auth-login.ejs — drop the dead Google error block + button CSS; the password login form is unchanged.
- deploy/post-receive — fix stale
pm2 reload prutcms -> klonkt.
|
-
Property mode
set to
100644
|
|
File size:
1.1 KB
|
| Line | |
|---|
| 1 | {
|
|---|
| 2 | "name": "klonkt",
|
|---|
| 3 | "version": "1.0.0-rc1",
|
|---|
| 4 | "description": "Klonkt — self-hosted multi-site music & blog platform (solo, hub or circles). Node + SQLite + htmx.",
|
|---|
| 5 | "license": "AGPL-3.0-or-later",
|
|---|
| 6 | "type": "module",
|
|---|
| 7 | "main": "src/server.js",
|
|---|
| 8 | "scripts": {
|
|---|
| 9 | "start": "node src/server.js",
|
|---|
| 10 | "dev": "node --watch src/server.js",
|
|---|
| 11 | "test": "node --test",
|
|---|
| 12 | "migrate": "node src/db/migrate.js",
|
|---|
| 13 | "reset-admin": "node scripts/reset-admin.mjs",
|
|---|
| 14 | "backfill:durations": "node scripts/backfill-durations.mjs"
|
|---|
| 15 | },
|
|---|
| 16 | "dependencies": {
|
|---|
| 17 | "@resvg/resvg-js": "^2.6.2",
|
|---|
| 18 | "bcryptjs": "^2.4.3",
|
|---|
| 19 | "better-sqlite3": "^11.3.0",
|
|---|
| 20 | "body-parser": "^1.20.2",
|
|---|
| 21 | "dotenv": "^16.3.1",
|
|---|
| 22 | "ejs": "^3.1.9",
|
|---|
| 23 | "express": "^4.18.2",
|
|---|
| 24 | "express-rate-limit": "^7.4.1",
|
|---|
| 25 | "express-session": "^1.17.3",
|
|---|
| 26 | "ffmpeg-static": "^5.2.0",
|
|---|
| 27 | "fluent-ffmpeg": "^2.1.3",
|
|---|
| 28 | "helmet": "^7.1.0",
|
|---|
| 29 | "htmx.org": "1.9.12",
|
|---|
| 30 | "marked": "^11.1.1",
|
|---|
| 31 | "multer": "^1.4.5-lts.1",
|
|---|
| 32 | "nodemailer": "^6.9.15",
|
|---|
| 33 | "sanitize-html": "^2.17.3",
|
|---|
| 34 | "uuid": "^9.0.1"
|
|---|
| 35 | },
|
|---|
| 36 | "engines": {
|
|---|
| 37 | "node": ">=20"
|
|---|
| 38 | }
|
|---|
| 39 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.