Commit Graph
29 Commits
Author SHA1 Message Date

2026-09-22

Furrium Network f59739e36f Update README.md 2026-09-22 22:06:35 +08:00

2026-08-14

lezi 56352167b4 Merge pull request #33 from forumlify/feat/docker-image-update
feat: update app container after image pull
2026-08-14 17:17:19 +08:00
lezi fff303a46e Update README.md 2026-08-14 17:12:24 +08:00
lezi-fun dafd1a53a5 feat: update app container after image pull 2026-08-14 17:06:04 +08:00
lezi-fun 6202d89e26 fix: update cd command to match new clone directory name 2026-08-14 09:48:50 +08:00
lezi-fun a4b2e47bb2 docs: update repository links to forumlify/public 2026-08-14 09:43:06 +08:00

2026-08-13

lezi-fun 8911455e5e docs: add Codecov coverage badge 2026-08-13 14:03:05 +08:00

2026-08-12

lezi 56a5fc903e Update README.md 2026-08-12 10:49:50 +08:00

2026-08-11

Furrium Network 684d502deb Update README.md 2026-08-11 20:03:42 +08:00
Furrium Network 1fcea44c49 Update README.md 2026-08-11 20:02:25 +08:00
Furrium Network 07cf69b723 Update README.md 2026-08-11 20:01:41 +08:00
lezi ad89aa3e04 Update README.md 2026-08-11 17:27:20 +08:00
lezi 77d4cc370a Update README.md 2026-08-11 17:26:37 +08:00
lezi 773db0dec7 Update README.md 2026-08-11 12:25:27 +08:00
lezi-fun c8a3fcfe3a docs: update Next.js 16 + React 19 in README 2026-08-11 09:51:34 +08:00
lezi-fun 3049aa96e4 docs: Cloudflare Workers one-click deploy (OpenNext) in README 2026-08-11 09:27:13 +08:00

2026-08-10

lezi-fun 4d4c227f58 docs: deploy button → dedicated template repo (forumlify-deploy)
Separate one-click deploy template repo with next as default branch,
so Vercel imports the Next.js version without branch selection.

# Conflicts:
#	README.md
2026-08-10 15:20:01 +08:00
lezi-fun 35a3fe0e8f docs: one-click Vercel deploy badge + clear env var table
- Add Deploy with Vercel button (auto-fills env var prompts)
- Environment variable reference table (required vs optional, with examples)
- Cloudflare Pages: explicit build settings and env config steps
2026-08-10 15:05:44 +08:00
lezi-fun 3d2886ec07 sync upstream: sidebar admin layout, latest styles, clean install
- README: clone -b next for the Next.js branch (was cloning Express main)
- AdminPage: sidebar layout matching upstream main (admin-layout/sidebar/nav)
- globals.css: sync latest upstream style.css (1200 lines)
- Remove broken lockfiles (package-lock.json, bun.lock) that caused
  'Failed to patch lockfile' build warnings; clean npm/bun install verified
2026-08-10 14:56:38 +08:00
lezi-fun 694fa2bfaf feat: user signature (设置页编辑 + 帖子底部显示)
- schema: users.signature column (upstream aligned)
- API: posts query JOIN signature, /auth/me returns signature, PUT /users/:id updates signature
- Settings: signature textarea (Markdown hint), saved with profile
- PostDetail: signature shown under post content with divider
- README: remove upstream DB schema note (fixed upstream)
2026-08-10 14:46:05 +08:00
lezi-fun c8dcf32dd4 fix: dropdown menu not opening on avatar click
React synthetic event stopPropagation doesn't stop native document
listeners (React 17+ attaches to root, document listener is separate).
The document click handler was closing the menu right after avatar
opened it. Now it checks if the click target is inside the dropdown
or on the avatar and skips closing.
2026-08-10 14:38:45 +08:00
lezi-fun ec50efea89 feat: support serverless deployment (Vercel / Cloudflare Pages)
- Replace bcrypt (native) with bcryptjs (pure JS) — no native build on serverless
- Storage abstraction (lib/storage.js): local uploads/ for traditional deploy, S3-compatible (R2/MinIO/S3 via aws4fetch) for serverless
- DB pool auto-adapts to serverless (single connection, rotation, timeouts)
- next.config.js: standalone output only when DOCKER=1 (serverless skips it)
- Docs: serverless deployment section in README, S3 env vars in .env.example
2026-08-10 09:55:18 +08:00

2026-08-09

lezi-fun 94cb0f50be docs: preserve upstream attribution note in README 2026-08-09 17:03:00 +08:00
lezi-fun 281460fb03 feat: migrate to Next.js 14 (App Router + Route Handlers)
- Replace Express server with Next.js Route Handlers (16 API routes)
- Rewrite index.html SPA as React components (feed, post, admin, modals)
- Move style.css to app/globals.css with dark/light themes intact
- Add lib/db.js, lib/auth.js (JWT), lib/api.js (client API wrapper)
- Server binds 0.0.0.0 by default; host/port configurable via config.js
- Uploads served via /api/uploads route (rewrite keeps /uploads/ URLs)
- Multi-stage dockerfile using standalone output
2026-08-09 17:02:11 +08:00
Furrium Network ef1318da66 Update README.md 2026-08-09 16:47:09 +08:00
lezi-fun 8e3aa558b0 Add source-build docs, optional SERVER_PORT config 2026-08-09 16:28:31 +08:00
Furrium Network 20c31b4156 Update README.md 2026-08-09 11:54:01 +08:00
Furrium Network e1d21bb502 Update README.md 2026-08-09 11:51:42 +08:00
Furrium Network d9341a01ec Initial commit 2026-08-09 11:50:39 +08:00