Commit Graph
28 Commits
Author SHA1 Message Date
Satoshi Qazi Muhammed b77006ccfc Remove the local fork
"Fork Locally" ran the selected chain in the browser through
@acala-network/chopsticks-core, which brings its own @polkadot stack
(types, rpc-provider, util-crypto 13 and 14) and @polkadot/wasm-crypto
7.5.4 with the crate versions pezkuwi-wasm 7.5.21 moved off. The app
shipped that second wasm twice, next to ours, for a developer tool;
chopsticks itself stays available from the command line.

Gone: the button, the overlay, the "Local" mock-account modal and the
chopsticks account group, the fork path in the API context, and their
69 locale strings. Mock accounts a fork left in a browser's keyring are
address-only; they now show with the test accounts.

yarn.lock: 32 @polkadot and 2 @acala-network entries -> 0.
2026-10-12 11:20:27 +04:00
Satoshi Qazi Muhammed ab2eb5f80a Bump @pezkuwi/dev to 0.86.8 2026-10-11 19:06:45 +04:00
Satoshi Qazi Muhammed d700f9dc07 Bump @pezkuwi/dev to 0.86.7
0.86.7 makes toBeNull, not.toHaveLength, toHaveProperty and toThrow behave as
in jest: toThrow with a string matches an error that contains it.
2026-10-11 05:22:21 +04:00
Satoshi Qazi Muhammed 61c681567d Run the module-mocked page specs with @pezkuwi/dev 0.86.6
@pezkuwi/dev 0.86.6 passes --experimental-test-module-mocks through to
node and gives the browser env jsdom's own events, the DOM node
hierarchy and the layout observers. The test scripts pass the flag, and
the five integration specs that were excluded while they depended on
jest.mock (Accounts, Create, Contacts, Bounties, AccountSidebar) run
again.
2026-10-10 11:42:13 +04:00
Satoshi Qazi Muhammed 0599973705 Run the page and component unit specs in yarn test
`yarn test` excluded every ^page- and ^react- spec, and test:all (the
nightly) is disabled, so 21 of the 25 specs ran nowhere and had broken
unnoticed. The exclusions now name only the integration specs still
built on jest.mock (Accounts, Create, Contacts, Bounties, the account
sidebar) and the two that hang (Modal, Popup), plus the .slow. ones;
13 spec files run instead of 1 (137 tests). @pezkuwi/dev 0.86.5 brings
the dev-test fix toEqual(expect.arrayContaining(...)) needs.
2026-10-10 07:12:12 +04:00
Satoshi Qazi Muhammed 52da277126 Dependencies: drop unused and dead ones, close the remaining advisories
- yarn.lock refreshed within existing ranges for the open advisories.
- copy-webpack-plugin 11 -> 14 (serialize-javascript 7) and
  terser-webpack-plugin 5.6: build:www output is identical except four
  chunks where terser now emits `a ?? b` for `null == a ? b : a`.
- testcontainers (page-addresses, test-support) and devtron were never
  imported: removed (undici, @fastify/busboy, highlight.js went with
  them).
- The crypto-browserify webpack fallback was dead: build:www is
  byte-identical without it, so the fallback and the dependency are gone
  and a future `crypto` import fails the build instead of shipping a
  polyfill.
- braces resolves to @pezkuwi/braces 3.0.4, which limits nesting depth
  (CVE-2026-93687; no upstream release).
2026-10-10 04:09:47 +04:00
Satoshi Qazi Muhammed 45d479d2ec Move to @pezkuwi/dev 0.86.4 (eslint 10 toolchain)
- dev ^0.86.4 at the root and in packages/apps; directives renamed by
  pezkuwi-dev-migrate-eslint10.
- eslint --fix with the 0.86.4 config; one fix broke syntax
  (typescript-eslint prefer-optional-chain turned
  `(isStarted && onStart) && onStart()` into `(isStarted && onStart?.();`
  in TxButton) and is corrected by hand.
- The remaining findings fixed rather than disabled: optional chains
  (each suggestion reviewed), `cause` on rethrown errors, `if` instead of
  `a && promise` in effects, parallel instead of sequential awaits in
  Promise.all, Error rejections, no `delete` on arrays (the storage query
  cache is a Map; an upload's file list no longer keeps a hole), no
  `[object Object]` stringification (TFunction's second argument is text
  or options), dead code removed (referenda's never-shown expand button,
  react-query's unused CoreDescriptor).
2026-10-10 02:06:12 +04:00
Satoshi Qazi MuhammedandClaude Opus 5.5 895fa17d63 Update vulnerable web dependencies within the shipped bundle
- react-router 6.30.6 / @remix-run/router 1.23.4 (open redirect, XSS advisories)
- styled-components 6.5.3, which brings postcss 8.5.28
- query-string 9.5.1 for decode-uri-component 0.5.0; parse() is the only API
  used and is unchanged
- in-range lockfile refresh

Bundle compared against the live build of 570586b: vendor chunks and the
loader change; the one page chunk that differs only renumbers the
query-string module. Tests 89/89, lint and type check green.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-04 05:43:56 +04:00
Satoshi Qazi MuhammedandClaude Opus 5.5 570586bae3 Deploy apps.pezkuwichain.io from main behind an approval
push-main.yml now builds build:www on every push to main and, once the
production environment is approved, copies it to the web host and switches
to it. The host keeps releases side by side and serves a 'current' symlink,
so going live is one rename and rollback is a dispatch with an earlier sha.
.github/deploy/release.sh checks the switch through nginx for the public
name and restores the previous release if the new one is not served.

Ships env-config.js, which index.html loads: on a static host the request
fell through to index.html and the browser ran HTML as a script.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-04 04:33:58 +04:00
Satoshi Qazi MuhammedandClaude Opus 5.5 f3e338df6d Remove the inherited gh-pages, IPFS and Docker Hub release tooling
None of it could run here: the repository has no Pages site, no Pinata or
Crust credentials and no npm token, and docker/build.sh pushed to the
upstream author's Docker Hub account. Remove the release scripts, the IPFS
uploader with @pinata/sdk (axios 0.21) and @crustio/crust-pin, and
public/ipfs, whose pin.json and redirect pointed at another project's IPFS
build from this site.

README: the hosted URL is apps.pezkuwichain.io; drop the IPFS and desktop
chapters and the pull of a Docker image that does not exist. .gitignore
listed '.log' where '*.log' was meant, which let start.log in.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-04 04:33:58 +04:00
Satoshi Qazi MuhammedandClaude Opus 5.5 f72ba84aac Drop the isElectron flag from the API context
Only the Electron renderer ever set isElectron to true; the web entry passed
false. With that package gone the flag is constant, so remove it from
ApiCtxRoot, the context types and its consumers, together with the
pezkuwi.js.org link base it selected. In-browser account storage and the
WebUSB ledger option now follow the settings alone, as they already did on
the web.

Runtime environment detection (getEnvironment, ExternalWarning) reads the
user agent and is left as is.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-04 04:33:58 +04:00
Satoshi Qazi MuhammedandClaude Opus 5.5 d4cc96df1f Remove the unreleased Electron desktop package
packages/apps-electron was never released, and electron 28, electron-builder
and their tooling (got, tar, app-builder-lib, builder-util-runtime) were most
of the dependency advisories left in this repo. Drop the package, its scripts,
the build:electron CI step, its i18n namespace and the deps only it used
(concurrently included).

The shipped web bundle changes by one string: "apps-electron" leaves the
i18n namespace list.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-04 04:33:58 +04:00
github-actions[bot] fd7e4522e2 chore: migrate git dependencies to Gitea mirror (git.pezkuwichain.io) 2026-04-21 18:53:14 +03:00
github-actions[bot] b2e2798d8c feat: update branding, genesis hash, and fix UI issues
- Update PEZKUWI_GENESIS to correct hash (0x1fc56b6a5fcd50358707f69b2b0bb0c8ab1fea2bcfc5eba7279efbcafef642af)
- Change highlight color from pink/orange to Kurdistan green (#86e62a)
- Add critical CSS in index.html to fix initial theme load issue
- Fix metadata badge showing incorrectly on every page load
- Fix block time text rendering vertically in explorer
- Update SVG logos with correct branding colors
2026-01-30 11:10:18 +03:00
github-actions[bot] 51776a9da1 chore: update @pezkuwi package versions and regenerate yarn.lock 2026-01-22 16:54:20 +03:00
github-actions[bot] 9a2dca4b03 [CI Skip] bump/beta 1.0.2-1-x
skip-checks: true
2026-01-18 03:14:42 +00:00
github-actions[bot] 0e4b043848 [CI Skip] bump/beta 1.0.2-0-x
skip-checks: true
2026-01-18 01:42:49 +00:00
github-actions[bot] 4d98ae49c9 [CI Skip] release/stable 1.0.1
skip-checks: true
2026-01-18 04:24:49 +03:00
Kurdistan Tech MinistryandClaude Opus 4.5 0db06287a0 feat: add landing page for network.pezkuwichain.io
- Added hero landing page with Digital Kurdistan State branding
- Header with Explorer and Go to Home Page buttons
- Background image with Kurdistan map
- Landing page shows when no hash route, app loads on #/explorer

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 13:50:44 +03:00
Kurdistan Tech MinistryandClaude Opus 4.5 2b3eb415f8 chore: update @pezkuwi/ui packages to 3.17.2
- Update resolutions to use @pezkuwi/ui-* packages 3.17.2
- Fix webpack alias for @pezkuwi/ui-shared (flat package structure)
- Regenerate yarn.lock with correct dependencies

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 02:05:52 +03:00
Kurdistan Tech MinistryandClaude Opus 4.5 7a4bbeac25 fix: update extension packages and fix type compatibility for pezkuwi-sdk
- Update @pezkuwi/extension-inject to ^0.62.13 with proper /types exports
- Update @pezkuwi/extension-dapp to ^0.62.13
- Update @pezkuwi/extension-compat-metamask to ^0.62.13
- Fix IconTheme type to include 'bizinikiwi' and 'pezkuwi' themes
- Fix endpoint array issues (getTeleports -> direct array references)
- Add type assertions for external package compatibility (acala, moonbeam, parallel)
- Fix subspace.ts dynamic class typing
- Fix conviction type in page-referenda
- Update Pallet type names to Pezpallet prefix across codebase
- Define InjectedExtension types locally for module resolution
- Add styled-components DefaultTheme augmentation
- Add react-copy-to-clipboard type declaration for React 18

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 16:24:19 +03:00
Kurdistan Tech Ministry 513dc8e57f fix: fix lint errors and update headers 2026-01-08 02:04:15 +03:00
Kurdistan Tech Ministry 8416c121a1 chore: update copyright year to 2026 2026-01-08 00:30:05 +03:00
Kurdistan Tech Ministry 67d71e128d feat: implement dark/light theme switching
- Add ui-settings resolution for v3.16.9
- Add CSS variables for dark/light themes in GlobalStyle
- Set default data-theme attribute on html element
- Simplify theme creation in Root.tsx
- Disable webpack error overlay for cleaner dev experience
2026-01-07 19:22:38 +03:00
Kurdistan Tech Ministry fe0e014c4e feat: add Kurdish, Turkish, and Persian language support
- Add Kurdish (Kurmanji) - ku
- Add Kurdish (Sorani) - ckb
- Add Turkish - tr
- Add Persian (Farsi) - fa
2026-01-07 16:32:36 +03:00
Kurdistan Tech Ministry a91f2cf714 fix: update URLs, logos, and package versions
- Fix GitHub URLs from pezkuwi-js/apps to pezkuwichain/pezkuwi-apps
- Fix wiki URL from wiki.pezkuwi.network to wiki.pezkuwichain.io
- Fix support/statement URLs to use pezkuwichain.io domain
- Fix chain logos import (use variables instead of strings)
- Update @pezkuwi/networks to ^14.0.9
- Update @pezkuwi/types-known to ^16.5.8
2026-01-07 16:23:36 +03:00
Kurdistan Tech Ministry 8679c871d1 fix: update page title to Pezkuwi/Bizinikiwi Portal 2026-01-07 13:16:52 +03:00
Kurdistan Tech Ministry d21bfb1320 feat: initial Pezkuwi Apps rebrand from polkadot-apps
Rebranded terminology:
- Polkadot → Pezkuwi
- Kusama → Dicle
- Westend → Zagros
- Rococo → PezkuwiChain
- Substrate → Bizinikiwi
- parachain → teyrchain

Custom logos with Kurdistan brand colors (#e6007a → #86e62a):
- bizinikiwi-hexagon.svg
- sora-bizinikiwi.svg
- hezscanner.svg
- heztreasury.svg
- pezkuwiscan.svg
- pezkuwistats.svg
- pezkuwiassembly.svg
- pezkuwiholic.svg
2026-01-07 13:05:27 +03:00