74 Commits
Author SHA1 Message Date
Tommaso Casaburi c6dadc6355 fix(deps): replace vulnerable decompress with @xhmikosr/decompress
The unmaintained decompress package (<=4.2.1) allows archive extraction
outside the target directory. Migrate electron before-pack to the patched
@xhmikosr/decompress fork (11.1.3) to resolve Dependabot alert #301.
2026-07-08 21:44:18 +07:00
Tommaso Casaburi 3a4a0d4130 fix(electron): add BSO name resolvers for desktop board address resolution
Configure desktop PKC RPC with Ethereum-backed BSO resolvers so .bso board addresses resolve correctly.
2026-06-18 15:59:15 +07:00
Tommaso CasaburiandGitHub 85b782e934 feat(electron): sign and notarize mac release builds (#1171)
* feat(electron): sign and notarize mac release builds when Apple credentials are present

* fix(electron): work around codesign PID parsing for digit-leading app name in @electron/notarize

codesign interprets a bare '5chan.app' argument as process ID 5, so
@electron/notarize 2.5.0's pre-upload signature check fails with 'No such
process'. Backport the './' basename prefix from electron/notarize#245 as
a yarn patch until forge depends on notarize >= 3.x.

* docs(agent-playbooks): record codesign PID parsing surprise for digit-leading app name

* fix(ci): keep mac signing env consistent with certificate availability
2026-06-13 15:26:31 +07:00
Tommaso Casaburi b044202e33 chore(electron): upgrade bundled kubo IPFS to 0.42.0 2026-06-11 14:59:00 +07:00
Tommaso CasaburiandGitHub 9b3a95dd95 feat(flash board): add SWF posting support (#1145) 2026-05-30 16:07:41 +07:00
Tommaso CasaburiandGitHub 56894700c1 feat(oekaki): add drawing flow for /i/ (#1144)
* feat(oekaki): add drawing flow for /i/

* fix(oekaki): address review feedback

* fix(oekaki): reset Tegaki edit sessions

* fix(oekaki): block drawing during export

* fix(oekaki): destroy Tegaki on preload errors

* fix(oekaki): preserve drawing on export failure

* fix(oekaki): unlock controls after export failure
2026-05-30 15:06:47 +07:00
Tommaso CasaburiandGitHub 84864019f5 fix(electron): use bundled Chromium version in user agent
* fix(media): clarify failed external image embeds

* fix(catalog): hide threads across board catalogs

* fix(blotter): render on multiboard feeds

* fix(desktop): start PKC RPC with configured options

* fix(electron): use bundled Chromium version in user agent
2026-05-14 18:22:54 +07:00
Tommaso Casaburi 9f2a95af50 fix(desktop): start PKC RPC with configured options 2026-05-14 17:26:45 +07:00
Tommaso Casaburi 78e5d58d08 feat(media hosting): add imgbb provider 2026-05-01 22:52:54 +07:00
Tommaso Casaburi 34b60c7d53 chore(portless): upgrade local dev URLs 2026-04-28 14:25:16 +07:00
Tommaso Casaburi ee7a5b5778 refactor(core): remove legacy plebbit terminology 2026-04-17 10:48:27 +07:00
Tommaso Casaburi 5b1e8166fe fix(electron): restore pkc rpc import 2026-04-13 14:27:04 +07:00
Tommaso CasaburiandGitHub 5ecf8fbea8 feat: add in-app update flow and native e2e verification (#1112)
* feat(app-update): add in-app update flow with native e2e coverage

* docs(ai-workflow): infer closed-issue labels automatically

* fix(app-update): address native updater review findings

* fix(android): validate updater redirect hosts

* fix(electron): harden updater file names
2026-03-20 13:31:52 +08:00
Tommaso Casaburi a2286aa68e feat(app-update): add in-app update flow with native e2e coverage 2026-03-19 20:19:48 +08:00
Tommaso Casaburi a37fbcb9bc fix(electron): lazy-load before-pack ipfs downloader 2026-03-16 20:09:57 +08:00
Tommaso CasaburiandGitHub 7bd51f00e1 chore(package.json): upgrade bitsocial-react-hooks, stop yarn install from depending on kubo postinstall (#1090)
Removes the direct `kubo` install-time dependency and switches Electron dev to the repo-managed Kubo downloader in `electron/start-ipfs.js`. This keeps the hooks upgrade in place while avoiding the `dist.ipfs.tech` timeout during `yarn install`.
2026-03-16 19:20:59 +08:00
plebeius 90a01057f2 chore(knip): trim dead exports and tool noise 2026-03-08 16:37:34 +08:00
plebeius eda5af7bf2 test: expand directory and electron upload coverage
Added hook coverage for cached directory hydration, alias lookup, and fallback behavior, plus broader Electron automation tests around hidden BrowserWindow upload flows and failure cases. useDirectoriesState() and related fallback paths now stay synchronized when the shared cache is already populated but the GitHub refresh fails.
2026-03-08 13:04:51 +08:00
plebeius 7fd3e3fd45 chore(media-upload): remove Postimages provider
Postimages cannot support WebView automation (site blocks automated uploads).
Imgur works reliably. Keep only Catbox and Imgur as supported providers.
2026-02-28 19:13:43 +08:00
plebeiusandCursor 7064c8b6fd feat: use portless for stable dev server URL
Dev server now runs at http://5chan.localhost:1355 via portless reverse proxy instead of a random port. Updates electron dev URLs and wait-on targets to match. Contributors can bypass with PORTLESS=0.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-24 14:29:31 +08:00
plebeius b20aae8244 fix(upload-automation): harden android and electron failure handling
Updated Android/Electron upload paths to fail deterministically and report consistent stage details, while removing unsafe stage casting and path/package mismatches. This keeps postimages automation behavior intact and makes failures easier to diagnose.
2026-02-20 16:52:35 +08:00
plebeius b3e8df318c feat(media-upload): Electron recipe parity and diagnostics 2026-02-19 17:49:27 +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 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 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 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 df9278237a typo 2026-02-11 21:17:22 +08:00
plebeius 50ee10cbc9 fix: resolve PR 877 issues - route params, artifact paths, and build configs
Fix route parameter name in use-initial-theme hook (communityAddress -> boardIdentifier), correct release workflow artifact paths (dist -> out/make), add BUILD_ARCH env var for Linux arm64 builds, fix macOS app name dev check, and update capacitor webDir to match vite output.
2026-01-30 14:33:45 +08:00
plebeius a2d0869904 fix(electron-forge): add app icon configuration for all platforms 2026-01-30 13:50:17 +08:00
plebeius 01aac36cfa fix electron builds 2026-01-30 13:21:41 +08:00
plebeius 388a120c8e fix(electron): fix production build crashes 2026-01-30 13:12:02 +08:00
plebeius 815f618320 refactor: migrate from electron-rebuild to electron-forge 2026-01-30 12:28:41 +08:00
plebeius 2f0fae846a fix: HTML zip archive is empty in releases 2026-01-25 13:53:49 +08:00
plebeius cb376ff498 refactor: use standard dist directory for vite build output 2025-11-01 23:08:14 +01:00
plebeius 547fc4df81 fix(electron): force GTK 3 on Linux to avoid GTK 2/3 vs GTK 4 crash
Enforce GTK 3 via app.commandLine switch on Linux to prevent mixed GTK symbol errors seen on Fedora AppImage.
2025-10-25 18:27:56 +02:00
plebeius 3360a41b00 fix: rename invalid identifiers starting with digit to fivechan 2025-10-18 23:06:21 +02:00
plebeius 1360dd8348 feat: rename plebchan to 5chan 2025-10-17 23:30:35 +02:00
Tom (plebeius.eth) 104c9c0eba fix(electron): app couldn't copy share links to clipboard 2025-06-03 22:11:17 +02:00
Tom (plebeius.eth) 0a5f868747 fix env, sw, pwa 2025-05-22 17:42:04 +02:00
Tom (plebeius.eth) c192e526f5 fix build, fix electron 2025-05-22 13:15:40 +02:00
Tom (plebeius.eth) 9e351c6b9d upgrade plebbit-react-hooks, update electron and scripts 2025-05-12 23:54:44 +02:00
Tom (plebeius.eth) e4a1c12326 upgrade electron
improves desktop app performance
2025-03-12 14:38:02 +01:00
Tom (plebeius.eth) ffe42c35ea upgrade react to v19, migrate from CRA to Vite, add react compiler 2025-03-04 17:53:05 +01:00
Esteban Abaroa 2ffe9647f8 chore(electron): update router urls 2025-01-04 00:13:42 +00:00
Esteban Abaroa b05c6ed94f fix(electron): auto restart script more reliable 2024-12-07 22:57:25 +00:00
Esteban Abaroa d608a46b00 fix(electron): ipfs proxy should have error status code 2024-12-07 21:13:23 +00:00
Esteban Abaroa 51fc8c899e refactor(electron): change IPFS API port to 50019 2024-12-07 17:35:47 +00:00
Esteban Abaroa 521d26bbe3 feat(electron): add http routers to electron 2024-11-19 18:58:24 +00:00
Tom (plebeius.eth) 3720ed2d2e fix(electron): missing isElectron flag 2024-10-11 17:24:35 +02:00