Commit Graph
41 Commits
Author SHA1 Message Date
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 d14acff1d3 Sort ApiPromise options so lint passes on main
sort-keys has rejected packages/react-api/src/Api.tsx since signedExtensions
was added after signer, so every lint run on main stopped there.

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
Kurdistan Tech Ministry a663274a7e Update package versions to match root resolutions 2026-01-17 18:42:49 +03:00
Kurdistan Tech Ministry ce478eb493 Update @pezkuwi/extension packages to 0.62.18 2026-01-17 16:31:45 +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 Ministry 9d188e6a05 chore: update @pezkuwi/phishing to 0.25.28 2026-01-09 04:29:03 +03:00
Kurdistan Tech Ministry 331bb72166 chore: update @pezkuwi/phishing to 0.25.27 2026-01-09 04:21:30 +03:00
Kurdistan Tech Ministry d45ed809cb chore: update @pezkuwi/extension-inject to 0.62.14 2026-01-09 03:34:21 +03:00
Kurdistan Tech Ministry 01e80cafd6 fix: add extension-dapp and extension-inject to resolutions
Fixed nested node_modules chainType mismatch by adding @pezkuwi/extension-dapp
and @pezkuwi/extension-inject to resolutions to ensure consistent bizinikiwi
chainType across all packages.
2026-01-09 03:22:19 +03:00
Kurdistan Tech Ministry 6532bc136c chore: update @pezkuwi/extension-inject to 0.62.14 2026-01-09 03:12:48 +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 a9681f7c9f chore: update pezkuwi-ui dependencies to 3.17.1
- Update @pezkuwi/react-identicon to ^3.17.1
- Update @pezkuwi/react-qr to ^3.17.1
- Update @pezkuwi/ui-keyring to ^3.17.1
- Update @pezkuwi/ui-settings to ^3.17.1

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 01:36:18 +03:00
Kurdistan Tech MinistryandClaude Opus 4.5 2a779cc25a chore: apply eslint import sorting fixes
Automatic import ordering changes from linter.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 17:01:24 +03:00
Kurdistan Tech MinistryandClaude Opus 4.5 a64aeb564d fix: use correct RPC URLs for Pezkuwi production parachains
Changed Pezkuwi parachain endpoints from zagros-*-rpc URLs to
pezkuwi-*-rpc URLs to avoid duplicates with Zagros testnet endpoints.

This fixes the endpoint uniqueness test failures.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 16:46:46 +03:00
Kurdistan Tech MinistryandClaude Opus 4.5 34d7907417 fix: add Pezkuwi networks to account address prefix options
Add custom Pezkuwi networks to SS58 address prefix dropdown since they
are not in the upstream @substrate/ss58-registry package:

- Pezkuwi Relay Chain (prefix: 0)
- Dicle Relay Chain (prefix: 2)
- Zagros Testnet (prefix: 42)
- PezkuwiChain Development (prefix: 42)

Also filter out polkadot/kusama from the list as they are replaced
by pezkuwi/dicle in this project.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 16:36:30 +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 e64f846b0d fix: add eslint-disable for unsafe member access and fix webpack header 2026-01-08 11:31:54 +03:00
Kurdistan Tech Ministry ade75e7078 fix: update copyright headers in generated logo files from @polkadot/apps to @pezkuwi/apps-config 2026-01-08 11:23:30 +03:00
Kurdistan Tech Ministry 45320e6f27 refactor: remove non-Pezkuwi blockchains from menu and update external service URLs
- Remove Paseo, prodChains, testChains from sidebar menu
- Keep only Pezkuwi, Dicle, Zagros networks and their parachains
- Update external service links to use Pezkuwi domains:
  - explorer.pezkuwichain.io (block explorer)
  - scan.pezkuwichain.io (blockchain scanner)
  - statescan.pezkuwichain.io (state explorer)
  - stats.pezkuwichain.io (validator stats)
  - treasury.pezkuwichain.io (treasury dashboard)
  - governance.pezkuwichain.io (governance portal)
- Disable non-applicable external services (Subsquare, KodaDot, etc.)
- Fix eslint errors (key ordering, unsafe member access)
2026-01-08 11:16:24 +03:00
Kurdistan Tech Ministry d9eb5d9715 fix: remove unnecessary type assertions and fix key ordering in index.ts 2026-01-08 10:38:03 +03:00
Kurdistan Tech Ministry 7c1295d1d5 fix: resolve remaining eslint errors (key ordering and unsafe member access) 2026-01-08 10:27:55 +03:00
Kurdistan Tech Ministry 55d7dcb23b fix: fix key ordering in endpoint configs 2026-01-08 02:30:31 +03:00
Kurdistan Tech Ministry 7e205f6c12 fix: add eslint-disable for unsafe-assignment errors 2026-01-08 02:25:25 +03:00
Kurdistan Tech Ministry e0d25b2d3a fix: fix remaining lint errors 2026-01-08 02:11:31 +03:00
Kurdistan Tech Ministry 513dc8e57f fix: fix lint errors and update headers 2026-01-08 02:04:15 +03:00
Kurdistan Tech Ministry 0247a5238e chore: update yarn.lock for @pezkuwi/dev@0.85.3 2026-01-08 01:45:39 +03:00
Kurdistan Tech Ministry f1f5baf5f2 chore: update @pezkuwi/dev to 0.85.3 2026-01-08 01:36:37 +03:00
Kurdistan Tech Ministry 8416c121a1 chore: update copyright year to 2026 2026-01-08 00:30:05 +03:00
Kurdistan Tech MinistryandClaude Opus 4.5 d7a99488d5 chore: add workflow_dispatch trigger to push-main.yml
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 00:22:05 +03:00
Kurdistan Tech MinistryandClaude Opus 4.5 87854ee7a1 fix: update URLs and fix workflow authentication
- Replace pezkuwi.js.org with pezkuwichain.app domain
- Replace jacogr/pezkuwi-js-apps with pezkuwichain/pezkuwi-apps Docker image
- Fix GH_PAT_BOT secret issue by using GITHUB_TOKEN
- Update GitHub org references from pezkuwi-js to pezkuwichain
- Update issue template to point to docs.pezkuwichain.io

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 00:00:35 +03:00
SatoshiQaziMuhammed 6cc99ea3ea Add CodeQL analysis workflow configuration 2026-01-07 23:42:22 +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 6f59b1f3e4 fix: hardcode genesis hashes for Dicle, Pezkuwi, Zagros 2026-01-07 13:20:56 +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