Commit Graph
2952 Commits
Author SHA1 Message Date
plebeius 11697db1ec refactor(settings): remove blocked addresses setting and block user/board feature
Obsolete with pseudonymity mode (user IDs randomized per board) and custom boards
requiring explicit search/subscribe. Unsubscribe suffices for boards.
2026-02-19 15:30:55 +08:00
plebeius 137241705a refactor(settings): rename subscriptions setting to board subscriptions 2026-02-19 15:25:46 +08:00
plebeius 410b988fbd fix(upload): resolve electron file-path fallback and android provider automation stalls 2026-02-19 13:18:15 +08:00
plebeius afdf129c3e fix: resolve android plugin registration and electron upload runtime detection regressions 2026-02-18 20:13:28 +08:00
plebeius 4cdbf8c6bc fix: upgrade react-i18next to resolve key prop warning 2026-02-18 20:03:15 +08:00
plebeius a39fafa08f fix(electron): make macOS dev dock icon setup non-fatal 2026-02-18 19:52:09 +08:00
plebeius 023adccddf fix: compute click center from full box model quad 2026-02-18 18:58:36 +08:00
plebeius 5fbddcd1ac Update default.json 2026-02-18 18:56:46 +08:00
plebeius 96a4aaec0e feat(media-hosting): add multi-provider configurable upload with fallback
Add Random/Preferred/None modes, preferred provider selection, and provider-order fallback. Catbox/Imgur/PostImages on Android via WebView; Electron CDP automation for Imgur/PostImages. Hide upload controls on web runtime.
2026-02-18 18:51:02 +08:00
plebeius 72b70915fd Update .gitignore 2026-02-18 18:13:38 +08:00
plebeius 2669c9ab09 refactor(settings): rename p2p options to advanced settings 2026-02-18 17:29:41 +08:00
plebeius f5eba9adbe fix(error-display): reset showAfterDelay when error clears 2026-02-18 16:19:50 +08:00
plebeius 91752206f6 Update AGENTS.md 2026-02-18 16:06:36 +08:00
plebeius e0ed510fc6 perf(react-doctor): fix compiler-blocking patterns, raise score 72→81
Replace sync setState-in-effect with keyed remount and render-derived patterns in app, error-display, topbar-edit-modal, catalog-filters; use useCurrentTime() instead of Date.now() in hot paths; fix conditional hooks, passive scroll listeners, lodash path imports.
2026-02-18 15:31:01 +08:00
plebeius afb50ad02d Update AGENTS.md 2026-02-18 15:29:30 +08:00
plebeiusandCursor 0ed95ed6e2 chore: add advisory react-doctor workflow for contributors
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-18 14:11:01 +08:00
plebeius 255f170b8b chore: add translations 2026-02-17 19:34:03 +08:00
plebeius 96f11b3e26 feat(settings): add media hosting settings and provider-based upload gating 2026-02-17 18:57:54 +08:00
plebeius 45a6ff0bab feat(directories): implement features.noSpoilers and features.noSpoilerReplies for board-specific spoiler checkbox 2026-02-17 17:35:53 +08:00
plebeius 2733ab260b fix(reply-modal): remove link type previewer that displaces UI 2026-02-17 17:21:13 +08:00
plebeius 69231f7bdc Update 5chan-directories.json 2026-02-17 17:18:27 +08:00
plebeius 317b993439 chore: update translations 2026-02-17 16:46:34 +08:00
plebeius d7cdfa393a Merge branch 'development' of github.com:plebbit/plebchan into development 2026-02-17 16:44:34 +08:00
plebeius dbbc83d369 feat: add shared cross-platform catbox media upload flow
Added `useFileUpload()` and `uploadToCatbox()` to centralize upload behavior and remove duplicated upload code from `post-form.tsx` and `reply-modal.tsx`. The flow now routes Android to `FileUploader`, Electron to hidden-input + catbox upload, and web to a translated fallback alert with consistent upload UI state.
2026-02-17 16:44:16 +08:00
TomandGitHub 36e12843eb Merge pull request #919 from bitsocialhq/master
Development
2026-02-17 14:48:50 +08:00
plebeius 6f7dcb410b chore: release v0.6.6 v0.6.6 2026-02-16 19:20:53 +08:00
TomandGitHub 5822b6b05b Merge pull request #917 from bitsocialhq/development
Development
2026-02-16 19:19:40 +08:00
plebeius 9c558d21c1 fix(modqueue): enforce role-gated access with not-allowed view 2026-02-16 19:17:38 +08:00
plebeius 6befc6bacd fix(electron): add macOS app icon via icon.icns
Add public/icon.icns generated from icon.png. Update forge.config.js DMG maker and electron/main.js dev dock to use icon.icns. Fixes missing 5chan icon (default Electron icon shown).
2026-02-16 16:16:05 +08:00
plebeius ee7c254e7b Update AGENTS.md 2026-02-16 16:14:52 +08:00
plebeius bb4be3ff6b fix(challenge-utils): format challenge errors with board identifier 2026-02-16 15:13:52 +08:00
plebeius b409766615 Merge branch 'development' of github.com:plebbit/plebchan into development 2026-02-16 14:14:15 +08:00
plebeius 8797232ff1 Update .gitignore 2026-02-16 13:37:16 +08:00
TomandGitHub 75582f9e7a Merge pull request #912 from bitsocialhq/master
Merge pull request #904 from bitsocialhq/development
2026-02-16 13:30:52 +08:00
plebeius 64a5a6a526 chore: add missing key, fix translation 2026-02-15 20:40:06 +08:00
plebeius f4727641b4 chore: add translation 2026-02-15 20:35:20 +08:00
plebeius 50e5370b56 Update 5chan-directories.json 2026-02-15 18:51:05 +08:00
plebeius dedf18e199 perf(replies): progressive render, 500 replies/page, content-visibility
Set repliesPerPage to 500 to avoid Virtuoso pagination sort drift. Add useProgressiveRender with startTransition batching and CSS content-visibility for long reply lists.
2026-02-15 18:46:49 +08:00
plebeius ec620238e3 feat(directories): add schema adapters and preserve v2 metadata
Multi-adapter boundary in normalizeDirectoriesData() supports both
communities[] and directories[] upstream schemas. Sync script mirrors
logic and writes canonical format. Preserves directoryCode and features
for future use.
2026-02-15 18:27:12 +08:00
plebeius 2f563b441a fix(popular-posts): base quota on loaded boards instead of total directories
The postsPerSub quota is now calculated from boards with actually loaded hot comments, not total filtered directories. This prevents the list from collapsing to a single post when many boards are empty or unavailable.
2026-02-15 14:52:27 +08:00
plebeius c667657e96 Update boards-list.tsx 2026-02-15 14:50:17 +08:00
plebeius 32bf635a3c Update use-directories.ts 2026-02-15 14:40:48 +08:00
plebeius e47727c074 fix(home): derive board link state from directory availability
Replaced one-off /biz/ and /pol/ checks with a single board-name-to-address resolver built from useDirectories() data. The homepage boards list now consistently colors and links any available directory board without manual hardcoding.
2026-02-15 14:32:14 +08:00
plebeius 8645f7365a feat(build): sync vendored directories from GitHub on start and build
Adds sync-directories.js script that fetches 5chan-directories.json from bitsocialhq/lists and updates the vendored fallback. Runs before generate:assets in prestart and prebuild to ensure the fallback is fresh for every build. Non-fatal: if fetch fails, existing file is kept.
2026-02-15 14:14:21 +08:00
plebeius 44847b7e95 fix(post): refresh author ID tooltip count when replies change 2026-02-15 14:07:12 +08:00
plebeius afc08e3659 Update AGENTS.md 2026-02-14 20:21:34 +08:00
TomandGitHub c2db8929fc Merge pull request #904 from bitsocialhq/development
Development
2026-02-14 17:48:18 +08:00
plebeius 14c6bf8f3a fix(replies): make thread replies update instantly for pending and confirmed states
Aligned 5chan’s flat thread reply behavior with plebones by using `useReplies` in flat-old mode with appending account comments and rendering from `updatedReplies` when available. Reply rows now subscribe to `useAccountComment` by `index`, so pending replies transition to confirmed automatically after challenge verification without requiring manual update or refresh.
2026-02-13 19:42:38 +08:00
plebeius 98f7a52e9b fix(post-status): base pending and failed labels on cid and state
Pending now means cid is missing, failed now means state is 'failed'.
2026-02-13 17:48:27 +08:00
plebeius befb4079ff update documentation 2026-02-13 14:13:03 +08:00