2026-08-09
lezi-fun
300ad5959c
feat: port private messaging (私信) from upstream
...
- Add conversations/messages tables to schema.sql (upstream missed them)
- API: GET/POST /api/conversations, GET/POST /api/conversations/[id]/messages, PUT /api/messages/[id]/read
- Chat UI: conversation list modal, chat window with 3s polling, unread badge
- Navbar message entry opens DM list; user profile has 发私信 button
- Access control: only conversation participants (403 otherwise)
2026-08-09 21:01:55 +08:00
lezi-fun
5ef8d4b1ff
feat: port user profile feature from upstream
...
- GET /api/users?username= filter (admin)
- GET /api/posts?user_id= filter
- Add UserProfile page (profile card + user's posts), reachable via ?user=<username>
- Clickable usernames on feed, post detail, replies
2026-08-09 18:30:49 +08:00
lezi-fun
e6ba5507ae
Merge remote-tracking branch 'origin/main' into nextjs-migration
2026-08-09 18:24:37 +08:00
Furrium Network
d0df10df7f
Update user.js
2026-08-09 18:22:10 +08:00
Furrium Network
7170add911
Update server.js
2026-08-09 18:21:08 +08:00
lezi-fun
e16887a4b3
chore: remove orphaned js/ modules from reverted upstream split
2026-08-09 18:17:53 +08:00
lezi-fun
70a198ae32
fix: restore original Feather icons across UI
...
- Add components/Icons.js with SVG paths extracted verbatim from the original index.html (14 unique icons)
- Restore icons on navbar menu, sidebar, feed actions, post/reply, modals, admin tabs and settings
- Replaces emoji placeholders from the initial migration
2026-08-09 18:12:46 +08:00
lezi-fun
3e9d004fb6
Merge remote-tracking branch 'origin/main' into nextjs-migration
2026-08-09 17:15:57 +08:00
Furrium Network
6deb213d89
拆分了index.html并整出来了这些
2026-08-09 17:06:06 +08:00
Furrium Network
91b4852951
Create nothing
2026-08-09 17:05:25 +08:00
Furrium Network
b875dbc8ce
Update index.html
2026-08-09 17:05:04 +08:00
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
Furrium Network
d986ecdbc4
ACCEPT REQUEST
...
docs: add build-from-source guide, optional SERVER_PORT config
2026-08-09 16:34:25 +08:00
lezi-fun
2ffad8422f
Add .gitignore, remove node_modules from repo
2026-08-09 16:28:32 +08:00
lezi-fun
8e3aa558b0
Add source-build docs, optional SERVER_PORT config
2026-08-09 16:28:31 +08:00
lezi-fun
d24b852f2a
Add package-lock.json extracted from built Docker image
2026-08-09 16:28:31 +08:00
Furrium Network
dcf0386432
Update index.html
...
将内容居中展示
2026-08-09 16:23:36 +08:00
Furrium Network
88f1b9f4f7
Update style.css
2026-08-09 16:11:27 +08:00
Furrium Network
610da5729f
Update index.html
...
支持修改标题
2026-08-09 15:48:23 +08:00
Furrium Network
993d6c0a56
Update index.html
2026-08-09 15:44:48 +08:00
Furrium Network
f453970360
Update docker-compose.yml
2026-08-09 12:51:01 +08:00
Furrium Network
1513686ed5
Update index.html
2026-08-09 12:41:51 +08:00
Furrium Network
2d46d587fb
Update server.js
2026-08-09 12:41:29 +08:00
Furrium Network
6deb72beda
Update schema.sql
2026-08-09 12:41:00 +08:00
Furrium Network
30014cc936
Update config.js
...
将BASEURL改为了相对路径
2026-08-09 12:30:08 +08:00
Furrium Network
89e37cd48d
我怎么忘了放这个
2026-08-09 12:17:52 +08:00
Furrium Network
1c4b7bb2c2
我特么的怎么打了个中文冒号?
2026-08-09 12:05:33 +08:00
Furrium Network
3f9468a69b
Rename dockerfile.dockerfile to dockerfile
...
怎么搞的
2026-08-09 12:03:15 +08:00
Furrium Network
de0bb6f197
修改端口为3001
2026-08-09 12:02:54 +08:00
Furrium Network
57b9e987dc
第一次上传
2026-08-09 11:58:28 +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