Commit Graph
63 Commits
Author SHA1 Message Date
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
Tom (plebeius.eth) 83fdd8eb09 fix(electron): empty error message would appear after closing app 2024-10-11 17:24:22 +02:00
Esteban AbaroaandGitHub c63b9507de fix(electron): download url redirect status code changed 2024-07-23 15:05:47 +00:00
Tom (plebeius.eth) bc2d201d80 chore: convert to esm, add window.plebbitRpcAuthKey, add defaultMediaIpfsGatewayUrl 2024-06-20 15:35:28 +02:00
Esteban Abaroa d5cfd325c1 chore(electron): upgrade kubo 2024-04-15 18:39:17 +00:00
Esteban Abaroa d824538eeb refactor: sync electron settings from other apps 2024-02-02 15:16:29 +00:00
Esteban Abaroa bc83a75b04 fix(electron): don't spam user with ipfs errors 2023-12-20 16:05:50 +00:00
Esteban Abaroa 9dd2e3ce73 style: run prettier 2023-12-16 16:49:26 +00:00
Esteban Abaroa 20e6a6a28a chore(electron): upgrade ipfs version 2023-12-16 16:47:21 +00:00
Esteban Abaroa 86fee85977 refactor(electron): fix default bg color 2023-12-11 01:07:15 +00:00
Esteban Abaroa 03b9b82a6f feat(electron): add plebbit rpc 2023-12-11 00:49:36 +00:00
Esteban Abaroa 7a71d37f44 fix cors bug 2023-08-26 15:13:24 +00:00