Commit graph

11 commits

Author SHA1 Message Date
theborakompanioni
037bf95784
chore(dev): expose orderbook watcher for dev container 2026-08-09 20:37:53 +02:00
Kishore B
4f8d7f497f
docs: replace joinmarket-clientserver references to joinmarket-ng (#1340)
Some checks failed
Build / build (v26.3.0) (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
Deploy Storybook / deploy (push) Has been cancelled
* docs: replace joinmarket-clientserver references to joinmarket-ng

Signed-off-by: kishore08-07 <kishorebsm8@gmail.com>

* docs: update api terminology to joinmarket-ng

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* docs: standardize JoinMarket NG naming

Signed-off-by: kishore08-07 <kishorebsm8@gmail.com>

---------

Signed-off-by: kishore08-07 <kishorebsm8@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-07-14 07:34:06 +05:30
Kishore B
84a0e4d98a
feat: integrate standalone-ng docker wrapper with Jam Web UI (#1265)
Some checks are pending
Build / build (v24.11.1) (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
Deploy Storybook / deploy (push) Waiting to run
* feat: integrate standalone-ng docker wrapper with Jam Web UI

- Add Dockerfile and entrypoint for standalone-ng wrapper service
- Update docker-compose files to support standalone-ng container(joinmarket6)
- Enhance log retrieval and frontend logic for new log file layout
- Update Vite config and constants for standalone-ng backend mode
- Improve documentation for regtest and backend selection

Signed-off-by: kishore08-07 <kishorebsm8@gmail.com>

* chore(regtest): zero absolute offers for makers in regtest env

* chore: align npm dev command names

* chore(regtest): set minimum makers to 2 for joinmarket-ng backends

* chore(regtest): use jam-dev-standalone-ng:master image

---------

Signed-off-by: kishore08-07 <kishorebsm8@gmail.com>
Co-authored-by: theborakompanioni <theborakompanioni+github@gmail.com>
2026-06-07 18:37:53 +02:00
Parth
182da89194
chore(storybook): deploy Storybook preview to GitHub Pages (#1252)
* chore(storybook): add pages build script

* ci(storybook): add pages deployment workflow

* docs(storybook): document pages preview

* ci(storybook): scope pages workflow concurrency

* ci(storybook): simplify pages deployment
2026-05-22 00:24:36 +05:30
Thebora Kompanioni
454daa2839
chore(regtest): initial joinmarket-ng backend for regtest environment (#1240)
* chore(regtest): initial joinmarket-ng backend for regtest environment

Adds jmwalletd, directory servers, makers, and bitcoind to the regtest
docker-compose environment so jam can be developed against the jm-ng
backend end-to-end.

chore(regtest): wire docker compose env and vite dev proxy for jm-ng

Connects the local regtest containers into a single compose network,
adds tor and fund-wallet helpers, and points Vite's dev proxy at the
local jmwalletd instance.

fix(tags): recognize cj-change, used-empty, and flagged UTXO statuses

joinmarket-ng's WalletService emits four statuses jam's JmPlainTagValue
didn't cover: 'cj-change' (deanonymising change from our CJ),
'used-empty' (previously-used address with zero balance), and 'flagged'
(address shared in a CJ that later failed). They fell through to the
generic 'default' badge with no distinguishing styling.

Add them to JmPlainTagValue and the status->variant map. 'used-empty'
maps to the existing 'used' variant, 'flagged' to 'reused' (both signal
a used address the user should avoid reusing). Add a dedicated
'cj-change' badge variant (emerald) next to 'cj-out' so the
deanonymising change output is visually distinct from an equal-amount
CJ output.

fix(send): keep direct send available with maker

Only block collaborative sends while the maker service is running. Direct sends stay enabled and the form explains why the collaborative toggle is unavailable.

Changelog: Allow direct sends while the maker service is running

docs(dev): explain jm-ng backend workflow

fix(auth): only clear auth on invalid_token 401s

Previously every 401 response cleared the session and logged the user out. jm-ng returns 401 for service-state errors (e.g. POST /tumbler/stop when nothing is running), which should never drop the session. Inspect the WWW-Authenticate header and only clear auth when the server signals ``error="invalid_token"``.

Changelog: Non-auth 401 responses no longer log the user out.

fix(dev): proxy /jmws to the jm-ng HTTPS port

jm-ng serves WebSocket on the same port as the HTTPS API. The `jm-ng:dev` script used to override JMWALLETD_WEBSOCKET_PORT to 32283, but the regtest stack exposes that port without a matching listener, so vite proxied WebSocket upgrades into a dead port and the handshake returned empty. Default the env var to JMWALLETD_API_PORT and drop the override.

Changelog: Fix WebSocket proxying in the local jm-ng dev setup.

fix(dev): correct jm-ng websocket port and proxy targets

Update the README and developer docs to reflect that both ports must be
set when overriding for a custom jm-ng setup.

fix(dev): correct jm-ng websocket port (#1237)

chore(dev): distinct server configs for various backends

* chore(regtest): address jm-ng review comments

---------

Co-authored-by: m0wer <m0wer@sgn.space>
Co-authored-by: Parth Bandwal <143504541+parrth20@users.noreply.github.com>
2026-05-05 13:52:41 +02:00
theborakompanioni
658654474c
chore: inital send form draft [wip] 2026-04-09 20:30:29 +02:00
Thebora Kompanioni
d0d13e9e3d
dev: use 'npm run dev' to run app in dev mode (#840) 2024-09-11 13:09:28 +02:00
Thebora Kompanioni
fda77c202d
fix: do not enable debug features on npm start (#549)
* dev(flags): add distinct dev mode for local development

* docs(dev): npm start -> npm run dev:start

* chore(features): move skipWalletBackupConfirmation flag to debugFeatures.ts
2022-10-26 15:11:41 +02:00
Thebora Kompanioni
5669be00fd
chore: update readme and package.json (#513)
* fix(package.json): update package description

* fix(package.json): update repo url

* docs(readme): add orderbook to features and update wiki link

* docs(contributing.md): update links

* docs(developing.md): update links

* docs(i18n/readme.md): update links to matrix and git repo

* fix(package.json): adapt release commit message
2022-09-22 13:09:28 +02:00
Daniel
1343271c64
refactor: rename to Jam (#131)
* refactor: dry up app layout (#126)

* Rename and update readme

* Fix typos

* Run npm install

* Use html for header

* Update package name

* Add back alt texts

* Update title

* Add note about buggy raspiblitz

* Remove raspiblitz gotchas

* Update src/components/App.jsx

Co-authored-by: Max Hillebrand <30683012+MaxHillebrand@users.noreply.github.com>

* Update src/components/Onboarding.jsx

Co-authored-by: Max Hillebrand <30683012+MaxHillebrand@users.noreply.github.com>

* Run prettier

* Update CONTRIBUTING.md

Co-authored-by: d11n <mail@dennisreimann.de>

* Update README.md

Co-authored-by: d11n <mail@dennisreimann.de>

* Fix wording

* Update title

Co-authored-by: Max Hillebrand <30683012+MaxHillebrand@users.noreply.github.com>
Co-authored-by: d11n <mail@dennisreimann.de>
2022-03-03 12:07:45 +01:00
Daniel
f11b1fea66
docs: add contribution guide and refactor docs (#119)
* Add contributing guide

* Restructure docs

* Update CONTRIBUTING.md

Co-authored-by: Max Hillebrand <30683012+MaxHillebrand@users.noreply.github.com>

* Update CONTRIBUTING.md

Co-authored-by: d11n <mail@dennisreimann.de>

* Add syntax to code fences

Co-authored-by: Max Hillebrand <30683012+MaxHillebrand@users.noreply.github.com>
Co-authored-by: d11n <mail@dennisreimann.de>
2022-02-23 11:12:10 +01:00