Commit Graph
137 Commits
Author SHA1 Message Date
openhands b7f14ff5e6 Revert "chore(deps): update dependency tsx to ^4.23.7"
This reverts commit ac9b3e3cb5.
2026-08-05 11:11:12 +02:00
openhands dc8fb8a6ed feat: speed up admin clone import and enable Cache Components
- Clone import: defer FurnitureData.json writes and append all entries in a
  single batched write instead of one read-modify-write per item, removing
  the main serialization bottleneck for large batches.
- Clone import: raise SSE batch concurrency cap from 5 to 10 and bump the
  clone client/route default from 2 to 6.
- Add a flush hook to runSseBatch so callers can batch deferred work before
  batch_complete is emitted, and surface flush errors as an error event.
- Enable Next.js Cache Components (instant: false opt-out) and silence the
  related build warnings in next.config.ts.
- Switch isomorphic-dompurify to dompurify and refresh dependencies.
2026-08-05 11:10:16 +02:00
remco ac9b3e3cb5 chore(deps): update dependency tsx to ^4.23.7
renovate/artifacts Artifact file update failure
CI / check (push) Failing after 7s
CI / release (push) Skipped
CI / deploy (push) Skipped
CI / check (pull_request) Failing after 8s
CI / release (pull_request) Skipped
CI / deploy (pull_request) Skipped
2026-08-05 09:00:31 +00:00
remco b892786ff8 chore(deps): update dependency tsx to ^4.23.6
CI / check (pull_request) Failing after 8s
CI / release (pull_request) Skipped
CI / deploy (pull_request) Skipped
CI / check (push) Failing after 8s
CI / release (push) Skipped
CI / deploy (push) Skipped
2026-08-05 02:00:27 +00:00
openhands b06f27ef89 chore: update dependencies 2026-08-04 21:27:09 +02:00
openhands 3edc987281 feat: integrate FlareSolverr for Cloudflare bypass on clone sources
CI / check (push) Successful in 23s
CI / release (push) Skipped
CI / deploy (push) Successful in 46s
- Add FLARESOLVERR_URL env var to .env.example
- Update fetchSourceFurnidata to fall back to FlareSolverr on CF challenges (403/HTML)
- Add docker-compose.yml with FlareSolverr service
- Add scripts/health-check.sh for FlareSolverr readiness check
- Add health:check script to package.json
- Document FlareSolverr setup in README
2026-08-04 19:00:30 +02:00
openhands b87c9a5b8d chore: remove puppeteer CF bypass (not working for Leet/Hubbly/Habblet)
CI / check (push) Failing after 14s
CI / release (push) Skipped
CI / deploy (push) Skipped
Cloudflare has strengthened protection on these hotels.
Puppeteer-based bypass returns HTML instead of JSON.
cloudscraper has dependency issues with Node.js v26.

Reverted to simple HTTP fetch with clear error messages.
2026-08-04 18:45:10 +02:00
openhands 5c60ce364c chore: remove cf-fetch.ts (puppeteer CF bypass not working for Leet/Hubbly/Habblet)
Cloudflare has strengthened protection on these hotels.
Puppeteer-based bypass returns HTML instead of JSON.
cloudscraper has dependency issues with Node.js v26.

Reverting to simple HTTP fetch with clear error messages.
2026-08-04 18:42:20 +02:00
openhands 9fbfd2f51a chore: verify clone sources with Cloudflare bypass test script; remove broken Hubbly URLs
CI / check (push) Successful in 26s
CI / release (push) Skipped
CI / deploy (push) Successful in 55s
Verified working sources via puppeteer Cloudflare bypass test:
- Habbo (GitHub) - 200
- Wibbo - 200 furnidata, 403/403 nitro/icons
- Hubba.cc - 200 furnidata, 404 nitro
- Leet - 200 304 304 (all working)
- Habblet City - 200 200 200 (all working)
- Soda Ho - 200 furnidata, 404 nitro/icons

Cloudflare-blocked sources removed (habba.io, habcrush.pw, fobba.net, etc)
Hubbly URLs removed (all 404) pending verification
Added test-cf.ts script for future source validation
2026-08-04 17:28:01 +02:00
Simo 1f4aadb3d7 chore: remove Sentry integration
CI / check (push) Successful in 21s
CI / release (push) Skipped
CI / deploy (push) Successful in 53s
2026-08-01 22:12:31 +02:00
SimoandCursor ba82789166 chore(db): finish Prisma cutover to Drizzle Kit tooling
CI / check (push) Failing after 9s
CI / release (push) Skipped
CI / deploy (push) Skipped
Move CMS SQL to drizzle/migrations, drop prisma packages/schema, wire drizzle-kit scripts, and regenerate schema names from src/db/schema.ts.

Co-authored-by: Cursor <[email protected]>
2026-08-01 15:02:21 +02:00
SimoandCursor 24d0b735c1 chore(db): remove Prisma facade and drop prisma:generate from CI (2)
CI / check (push) Successful in 22s
CI / release (push) Skipped
CI / deploy (push) Successful in 1m0s
Co-authored-by: Cursor <[email protected]>
2026-08-01 14:39:20 +02:00
SimoandCursor 67656a9aad fix(ci): migrate on tag release and wire drizzle schema generate
CI / check (push) Successful in 23s
CI / release (push) Skipped
CI / deploy (push) Successful in 1m1s
Co-authored-by: Cursor <[email protected]>
2026-07-31 21:03:54 +02:00
openhands 56061e41d4 refactor: replace Prisma ORM runtime with Drizzle ORM facade
CI / check (push) Failing after 12s
CI / deploy (push) Skipped
CI / release (push) Skipped
- Replace Prisma client runtime with Drizzle ORM (zero Prisma engine/query engine in production)
- Add Prisma-compatible facade (@/lib/prisma-facade.ts) backed by Drizzle for backwards compatibility
- Runtime queries route through Drizzle ORM; @prisma/client is now devDependency (types only)
- Remove @prisma/adapter-mariadb dependency; delete prisma-pool.ts and types/prisma.ts
- New Drizzle schema layer: src/db/schema.ts (176 tables) and src/lib/db.ts (connection)
- Update README documenting the dual-layer ORM architecture
- Restore src/generated/ gitignore (build artifact for local type generation)
- 0 TypeScript errors, 583 tests passing

The facade intentionally uses `any` types to match the Prisma Client API surface,
allowing existing code to run unmodified while routing queries through Drizzle at runtime.
2026-07-31 14:11:03 +02:00
remco 9d1c71d926 chore(deps): update dependency lint-staged to ^17.3.0
CI / check (pull_request) Successful in 21s
CI / release (pull_request) Skipped
CI / deploy (pull_request) Skipped
CI / check (push) Successful in 22s
CI / release (push) Skipped
CI / deploy (push) Successful in 1m14s
2026-07-31 09:04:53 +00:00
remco 744e224fd0 chore(deps): update dependency knip to ^6.30.0
CI / check (pull_request) Successful in 21s
CI / deploy (pull_request) Skipped
CI / release (pull_request) Skipped
CI / check (push) Successful in 22s
CI / release (push) Skipped
CI / deploy (push) Successful in 58s
2026-07-31 08:00:29 +00:00
remco a2acac2c4c chore(deps): update All dependencies
CI / check (pull_request) Successful in 22s
CI / release (pull_request) Skipped
CI / deploy (pull_request) Skipped
CI / check (push) Successful in 22s
CI / release (push) Skipped
CI / deploy (push) Successful in 1m10s
2026-07-30 22:00:34 +00:00
SimoandCursor 749dc237f1 fix(deploy): export PORT from .env before PM2 reload so health check matches
CI / check (push) Successful in 26s
Deploy / release (push) Skipped
Deploy / deploy (push) Failing after 2m6s
Co-authored-by: Cursor <[email protected]>
2026-07-30 18:33:38 +02:00
openhands 340ecb42c8 cleanup: remove old unused tooling and reference configs
CI / check (push) Failing after 6s
Deploy / release (push) Skipped
Deploy / deploy (push) Failing after 5s
Remove:
- @lhci/cli + lighthouserc.cjs (Lighthouse CI, never used in CI pipeline)
- @playwright/test + e2e/ tests + playwright.config.ts (E2E tests not used)
- setup/ directory (emulator/nitro reference install configs)
- Build artifacts: .next.prev/, coverage/, backups/
2026-07-30 18:05:44 +02:00
remco da390e447f chore(deps): update All dependencies 2026-07-30 17:01:53 +02:00
remco 1311d36933 chore(deps): update All dependencies 2026-07-30 00:00:20 +02:00
remco 65fae257ba chore(deps): update dependency @tanstack/react-virtual to ^3.14.9 2026-07-28 23:00:41 +02:00
openhands e08e366266 fix: remove orphaned @node-rs/argon2 and restore CI workflow
The hash-wasm package now handles both argon2id and bcrypt hashing,
making @node-rs/argon2 unused. Leaving it in package.json causes
native binary compilation failures on deploy servers (EACCES/build
errors), which breaks the deploy pipeline entirely.

Also restore .gitea/workflows/ci.yaml so CI pipelines run again.
2026-07-28 22:32:56 +02:00
SimoandCursor e644362d09 chore(deps): update dependency isomorphic-dompurify to v3
CI / check (pull_request) Failing after 10s
Co-authored-by: Cursor <[email protected]>
2026-07-28 20:51:46 +02:00
remco 9177230dc2 chore(deps): update dependency isomorphic-dompurify to ^1.13.0
CI / check (pull_request) Failing after 11s
Deploy / release (push) Skipped
Deploy / deploy (push) Successful in 1m25s
2026-07-28 18:00:36 +00:00
openhands 9c0b339736 chore: update typescript configuration for typescript 7 compatibility
Deploy / release (push) Skipped
Deploy / deploy (push) Failing after 5s
2026-07-28 19:19:28 +02:00
openhands a513d9b7bd Migrate dependencies: bcrypt→@node-rs/argon2, sanitize-html→isomorphic-dompurify, remove nodemailer/next-view-transitions
Deploy / release (push) Skipped
Deploy / deploy (push) Failing after 27s
2026-07-28 19:03:04 +02:00
openhands 3827f3e686 Migrate from framer-motion to motion/react
Deploy / release (push) Skipped
Deploy / deploy (push) Successful in 2m4s
2026-07-28 18:49:25 +02:00
openhands e408fdd5e6 chore(deps): update dependency framer-motion to ^12.43.0
Deploy / release (push) Skipped
Deploy / deploy (push) Successful in 1m36s
2026-07-28 18:40:53 +02:00
remco 2d003a2101 chore(deps): update dependency resend to ^6.18.1
CI / check (pull_request) Successful in 51s
CI / check (push) Successful in 58s
Deploy / release (push) Skipped
Deploy / deploy (push) Successful in 1m35s
2026-07-28 13:01:23 +00:00
remco 2f5d2b6e09 chore(deps): update All dependencies
CI / check (pull_request) Successful in 1m6s
CI / check (push) Successful in 36s
Deploy / release (push) Skipped
Deploy / deploy (push) Successful in 1m37s
2026-07-28 10:00:31 +00:00
openhands 02280d0f42 fix: execute aliased tsc6 binary in typecheck script
CI / check (push) Failing after 51s
Deploy / release (push) Skipped
Deploy / deploy (push) Failing after 16s
2026-07-27 23:21:26 +02:00
openhands f43bb234ab fix: use pnpm exec for local tsc in typecheck script
CI / check (push) Failing after 15s
Deploy / release (push) Skipped
Deploy / deploy (push) Failing after 12s
2026-07-27 23:18:30 +02:00
openhands dacc4cadfd chore(deps): upgrade to typescript 7 bridge and clean up pnpm v11 workspace configs
CI / check (push) Failing after 58s
Deploy / release (push) Skipped
Deploy / deploy (push) Failing after 11s
2026-07-27 23:14:00 +02:00
remco 65f118c918 chore(deps): update All dependencies
CI / check (pull_request) Successful in 48s
CI / check (push) Successful in 1m0s
Deploy / release (push) Skipped
Deploy / deploy (push) Successful in 1m38s
2026-07-27 20:00:33 +00:00
remco 3f43a62243 chore(deps): update dependency eslint to v10.8.0
CI / check (pull_request) Successful in 1m8s
CI / check (push) Successful in 1m9s
Deploy / release (push) Skipped
Deploy / deploy (push) Successful in 1m56s
2026-07-27 19:03:11 +00:00
remco 5f98b949ad chore(deps): Pin dependencies
CI / check (push) Successful in 1m9s
Deploy / release (push) Skipped
Deploy / deploy (push) Successful in 1m58s
2026-07-27 20:46:27 +02:00
remco cab4280e63 chore(deps): Pin dependencies
CI / check (pull_request) Successful in 1m5s
CI / check (push) Successful in 1m18s
Deploy / release (push) Skipped
Deploy / deploy (push) Successful in 2m8s
2026-07-27 18:46:12 +00:00
openhands 7df37728aa fix(deps): update nodemailer to v9 to resolve SSRF vulnerability (GHSA-p6gq-j5cr-w38f)
CI / check (push) Successful in 58s
Deploy / release (push) Skipped
Deploy / deploy (push) Successful in 1m56s
2026-07-27 17:56:53 +02:00
openhands 423a33200e chore: improve tooling, linting, testing, and CI
CI / check (push) Failing after 14s
Deploy / release (push) Skipped
Deploy / deploy (push) Successful in 2m38s
- Add LICENSE file (CC BY-NC-SA 4.0)
- Add .nvmrc pinning Node 22
- Add Renovate config with daily schedule and Gitea Actions workflow
- Reduce ESLint max-warnings from 1000 to 50
- Re-enable Biome a11y/security recommended rules
- Fix Biome lint issues (a11y, hook deps, SVG labels, checkbox semantics)
- Improve CI: run on pushes to feat/fix branches, add pnpm audit
- Add Vitest coverage with v8 provider and thresholds
- Add E2E tests (auth, admin, navigation specs)
- Add admin-maintenance server action test
- Install @vitest/coverage-v8
- Ignore coverage/ directory
2026-07-27 17:03:09 +02:00
openhands c670227ad4 fix: downgrade typescript to 5.x and nodemailer to 8.x for peer dep compatibility + update lockfile
Deploy / release (push) Skipped
Deploy / deploy (push) Failing after 28s
2026-07-25 17:37:23 +02:00
openhands 1acace49d0 refactor: full codebase overhaul — dead code removal, env validation, logger migration, date consolidation, Prisma schema cleanup, button consistency, useEffect deps, test coverage
Deploy / release (push) Skipped
Deploy / deploy (push) Failing after 8s
- env.ts: added 10 missing Zod-validated env vars (imager, paypal currency, argon2/bcrypt params)
- Migrated 6 modules from process.env to validated env.* (auth, proxy-auth, paypal, password, redis, imager, moderation, alert, logger)
- Replaced console.warn/error with pino logger in 9 server-side modules
- Removed 50+ dead exports (SWF wrappers, coalesceHotelName, signIn, isStaff re-export, formatTimestamp, Skeleton/SkeletonCard, 4 unused housekeeping sections)
- Consolidated date formatting: 28 files migrated to shared formatDate() from @/lib/format-date
- Wired 4 radio/settings API routes through cached siteSettings service instead of raw Prisma queries
- Added getMany()/getAll() helpers to SiteSettings service
- Removed 88 dead Prisma model definitions (schema 2763→1846 lines)
- Created admin action-helper.ts with wrapAction() for standardized error handling
- Fixed useEffect dependency arrays in 4 data-heavy components
- Replaced raw btn CSS classes with shadcn Button component across admin pages
- Stripped dead i18n namespaces (common, pages.client) from all 22 translation files
- Removed 2 dead scripts (create-release.sh, check-local-imports.ts)
- Fixed knip.json configuration
- Added 7 new test suites: format-date, paypal, moderation, alert, webhook, action-helper, and fixed password.test.ts for env mocking
- All 358 tests passing across 72 test files
- TypeScript: 0 errors
2026-07-25 17:33:06 +02:00
openhands 3773c6cb29 chore: switch from standalone to normal next start
Deploy / release (push) Skipped
Deploy / deploy (push) Failing after 2s
- Remove output:standalone from next.config.ts
- Remove postbuild standalone copy script
- Change start script from standalone/server.js to next start
- Update PM2 to run pnpm start
2026-07-24 13:57:21 +02:00
openhands 5fa342018d chore: remove dead code and unused dependencies
Deploy / release (push) Skipped
Deploy / deploy (push) Successful in 1m51s
- Delete 4 unused files detected by knip
- Remove lint-staged, eslint-config-prettier, plausible-tracker
- Clean up knip.json entry patterns
2026-07-24 11:59:50 +02:00
openhands a058a6e923 Rename deploy script to avoid pnpm conflict
Deploy / release (push) Skipped
Deploy / deploy (push) Failing after 1m55s
2026-07-23 18:59:38 +02:00
openhands 5913328a53 Switch to PM2, add deploy script
Deploy / release (push) Skipped
Deploy / deploy (push) Failing after 2m8s
- Replace tmux with PM2 process manager
- Add deploy script (pnpm deploy = build + pm2 reload)
- PM2 auto-starts on boot via systemd (pm2-root.service)
- Remove old atom-nexst.service (direct next start)
2026-07-23 18:50:46 +02:00
openhands 83356b9a9c Polish home, register, and login pages
Deploy / release (push) Skipped
Deploy / deploy (push) Successful in 1m49s
- Add pixel font to headings across all pages
- Improve stats icons (online-friends.png, friends.png)
- Fix features icons (star.gif → navigation/me.png)
- Replace top bar logo with lighthouse.png
- Add read-more arrow overlay on news cards
- Add Nitro client CTA section
- Add Discord link in top bar
- Add view-all link to online users section
- Add Reveal scroll animations to register/login
- Add Habbo gradient headers to register/login sidebars
- Add gradient headers to register/login form boxes
- Switch start script to standalone server
- Add postbuild script to copy static files
2026-07-23 18:17:16 +02:00
openhands 57f85f5453 chore: add professional tooling (husky, lint-staged, playwright, lighthouse, eslint)
Deploy / release (push) Skipped
Deploy / deploy (push) Failing after 6s
2026-07-21 23:36:54 +02:00
SimoandCursor 2ff08e5127 chore: patch deps, CSP style nonces, otplib 13, and PR CI
Deploy / release (push) Skipped
Deploy / deploy (push) Successful in 1m35s
Co-authored-by: Cursor <[email protected]>
2026-07-21 20:46:02 +02:00
SimoandCursor 964c8b5f5a fix: pin TypeScript 5.9 until Next.js supports TS 7
Deploy / release (push) Skipped
Deploy / deploy (push) Successful in 1m35s
Co-authored-by: Cursor <[email protected]>
2026-07-21 20:39:14 +02:00