Commit graph

75 commits

Author SHA1 Message Date
Thebora Kompanioni
da8b0a908e
dev(setup): switch to docker compose v2 (#784)
* dev(setup): switch to docker compose v2

* dev(setup): remove deprecated version property from docker files
2024-07-04 22:19:23 +02:00
Thebora Kompanioni
407098dfb1
build(dev-deps): update http-proxy-middleware from v2.0.6 to v3.0.0 (#769) 2024-05-29 11:15:32 +02:00
Thebora Kompanioni
82f2ae730f
build(deps): update dependencies (#757)
* build(deps): update testing libs dependencies

 @testing-library/jest-dom    ^6.2.0  →    ^6.4.5
 @testing-library/react      ^14.1.2  →   ^15.0.7
 @types/jest                ^29.5.11  →  ^29.5.12

* build(deps): update react from v18.2.0 to v18.3.1

 @types/react      ^18.2.47  →  ^18.3.2
 @types/react-dom  ^18.2.18  →  ^18.3.0
 react             ^18.2.0  →  ^18.3.1
 react-dom         ^18.2.0  →  ^18.3.1

* build(deps): update i18next lib dependencies

* ci(deps): update github actions deps

* build(deps): update bootstrap from v5.3.2 to v5.3.3

 @emotion/react  ^11.11.3  →  ^11.11.4
 bootstrap         ^5.3.2  →    ^5.3.3

* build(deps): update react-router-dom from v6.21.1 to v6.23.1

* build(dev-deps): update prettier from v3.1.1 to v3.2.5
2024-05-17 18:19:33 +05:30
Gigi
399fddac1d
chore(release): v0.2.0 (#722) 2024-02-24 22:29:24 +00:00
Thebora Kompanioni
130c0e627a
build(deps): update dependencies (#715)
* build(deps): update dependencies

 @emotion/react               ^11.11.1  →  ^11.11.3
 @testing-library/jest-dom      ^6.1.5  →    ^6.2.0
 @testing-library/user-event   ^14.5.1  →   ^14.5.2
 @types/jest                  ^29.5.10  →  ^29.5.11
 @types/qrcode                  ^1.5.3  →    ^1.5.5
 @types/react                 ^18.2.39  →  ^18.2.47
 @types/react-dom             ^18.2.17  →  ^18.2.18
 classnames                     ^2.3.2  →    ^2.5.1
 i18next                       ^23.7.7  →  ^23.7.16
 prettier                       ^3.1.0  →    ^3.1.1
 react-bootstrap                ^2.9.1  →    ^2.9.2
 react-router-dom              ^6.20.0  →   ^6.21.1
 react-i18next                 ^13.5.0  →   ^14.0.0

* chore(table): fix table header text alignment
2024-01-09 12:32:18 +01:00
Thebora Kompanioni
d56693610a
build(deps): upgrade to react 18 (#700)
* build(deps): update jest-watch-typeahead from v0.6.5 to v2.2.2

* build(deps): update jest-websocket-mock to v2.5.0

* build(deps): update to react 18

* fix(test): fix other tests after update to react 18

* fix(ts): fix typescript errors after update to react 18

* fix: use createRoot in index.tsx

* build(deps): update react-router-dom to v6.20.0

* refactor: WebsocketContext from jsx to tsx

* refactor: ShareButton from jsx to tsx

* refactor: i18n files from js to ts

* chore(build): disallow javascript

* chore: adhere to new i18next release rules

* ui: add success page to wallet import flow

* chore: enable react-router v7 futures

* chore(build): prevent build warning by installing babel plugin

* test(websocket): enable websocket indicator test in App.test.tsx

* ui(import): add link to main wallet view to import success page

* build(deps): update react-bootstrap to v2.9.1
2023-12-06 11:38:51 +01:00
Thebora Kompanioni
a246ad308e
refactor: externalize send form components (#695)
* dev: switch to kristapsks backend branch

* dev: add directSendTxFee to feature toggles

* dev: add tx_fee to DirectSendRequest

* refactor: reusable TxFeeInputField component

* refactor: move validate method of tx fee input field

* refactor(wip): split send form into reusable components

* refactor: pass loadNewWalletAddress to SendFrom

* refactor: SourceJarSelector component

* fix(ui): do not display number input as textfield on Send page

* fix(style): input groups with validation in SendForm

* build(deps): update formik from v2.2.9 to v2.4.5

* ui(send): show form feedback for source jar index value
2023-12-01 12:34:28 +01:00
Thebora Kompanioni
ef2b829df0
build(deps): update dependencies (#699)
* build(deps): update jest-watch-typeahead from v0.6.5 to v2.2.2

* build(deps): update jest-websocket-mock to v2.5.0
2023-11-28 11:08:11 +01:00
Thebora Kompanioni
94be4c2cbd
build(deps): update bootstrap from v5.2.3 to v5.3.2 (#645) 2023-10-18 11:41:26 +02:00
Thebora Kompanioni
11ee5b4fa3
refactor: Consistent use of walletName vs walletFileName (#671)
* refactor: consistent use of displayName vs walletFileName

* refactor: Settings component from jsx to tsx

* refactor: Wallets component from jsx to tsx

* refactor: Onboarding component from jsx to tsx

* refactor: ScheduleProgress component from jsx to tsx

* chore(i18n): consistent use of global.errors.reason_unknown

* refactor: CreateWallet component from jsx to tsx

* refactor: BitcoinQR from jsx to tsx

* refactor: Receive component from jsx to tsx

* refactor: Earn component from jsx to tsx

* dev(regtest): switch to python:3.11-slim-bookworm as base image

see https://github.com/JoinMarket-Org/joinmarket-clientserver/pull/1484#issuecomment-1751814593

* chore(dev): do not log error when fetch was aborted
2023-10-08 15:44:31 +02:00
Gigi
28fed7ffd3
chore(release): v0.1.6 (#666) 2023-09-22 17:27:23 -04:00
Thebora Kompanioni
2ebb1b5b6a
chore: apply new formatting rules after prettier upgrade (#657)
* build(deps): update prettier from v2.8.7 to v3.0.3

* chore: apply new formatting rules after prettier upgrade
2023-09-10 15:14:57 +02:00
KoreaComK
4d9171e15f
feat(i18n): adding translation in Brazilian Portuguese (pt-BR) (#615)
Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
Co-authored-by: theborakompanioni <theborakompanioni+github@gmail.com>
2023-04-22 10:49:39 +00:00
Gigi
4b67562530
chore(release): v0.1.5 (#609) 2023-02-12 15:37:14 +01:00
Thebora Kompanioni
531adb6ffa
feat(Jam): add success message (#599)
* refactor: add type SimpleAlert

* refactor(Jam): jsx to tsx

* feat(Jam): add success message

* chore: clarify workaround and add hint for dev mode

* refactor(PageTitle): jsx to tsx

* fix(Jam): reload data when leaving success screen

* feat(regtest): set time between blocks to 11s

* feat(regtest): set liquiditywait to 13s

---------

Co-authored-by: Gigi <dergigi@pm.me>
2023-02-08 13:44:49 +01:00
Thebora Kompanioni
7f5c7879ca
build(deps): update bootstrap (#605) 2023-02-06 13:17:12 -06:00
Thebora Kompanioni
42c9f5d773
feat: add dedicated error page (#586)
* feat(wip): add basic error page skeleton

* refactor: PageTitle component from jsx to tsx

* feat: add basic error page

* test: ability to render example error page in dev mode

* Apply suggestions from code review

Co-authored-by: Gigi <109058+dergigi@users.noreply.github.com>
2023-01-24 00:08:23 +01:00
Gigi
a4f5b449e6
chore(release): v0.1.4 (#575)
* chore(release): v0.1.4

* docs: add #566 to CHANGELOG
2022-12-14 11:01:11 +01:00
Gigi
a0c1348e9d
chore(release): v0.1.3 (#569)
* chore(release): v0.1.3

* docs(changelog): add docker fix

* docs(changelog): add orderbook change
2022-11-10 14:09:46 +01:00
Thebora Kompanioni
1d18230366
build(deps): update dependencies (#567)
* build(deps): update dependencies

 bootstrap                         ^5.2.1  →  ^5.2.2
 i18next-browser-languagedetector  ^7.0.0  →  ^7.0.1
 react-bootstrap                   ^2.5.0  →  ^2.6.0
 react-router-dom                  ^6.4.2  →  ^6.4.3
 typescript                        ^4.7.2  →  ^4.8.4
2022-11-08 15:53:40 +01:00
Thebora Kompanioni
669827ca75
build(deps): update dependencies (#555)
* build(deps): remove unused dependency

* build(deps): update dependencies

 @emotion/react                      ^11.10.4  →  ^11.10.5
 @table-library/react-table-library   ^4.0.18  →   ^4.0.23
 i18next                              ^21.9.2  →   ^22.0.4
 i18next-browser-languagedetector      ^6.1.5  →    ^7.0.0
 react-i18next                       ^11.18.6  →   ^12.0.0
2022-10-31 11:11:10 +01:00
Gigi
ce59053c37
chore(release): v0.1.2 (#553) 2022-10-28 11:57:48 +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
f2e346e872
fix: display error message if backend is unreachable (#540)
* refactor: externalize SeedModal component

* refactor: Seedphrase.jsx to .tsx

* refactor: pass wallet to Settings component

* refactor: pass wallet to MainWalletView component

* refactor: pass wallet to Jam component

* refactor: pass wallet to Send component

* refactor: pass wallet to Earn component

* refactor: pass wallet to Receive component

* deps: update react-router-dom from v6.4.1 to v6.4.2

* fix: show alert if backend is down

Co-authored-by: Gigi <dergigi@pm.me>
2022-10-10 21:24:08 +02:00
Gigi
0e15c9df6e
chore(release): v0.1.1 (#537) 2022-10-07 15:11:40 +02:00
Thebora Kompanioni
c79a969504
deps: update react-router-dom from v6.3.0 to v6.4.1 (#519)
* deps: update react-router-dom from v6.3.0 to v6.4.1

* test(react-router-dom): fix tests after react-router-dom update
2022-09-29 16:04:52 +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
Thebora Kompanioni
7342e1080c
build(deps): remove web-vitals (#506)
* chore: dependencies update

* chore: update test dependencies

* chore: update bootstrap from v5.2.0 to v5.2.1

* chore: update qrcode from v1.5.0 to v1.5.1

* chore: update react-i18next from v11.16.9 to v11.18.6

* chore: remove dependency web-vitals
2022-09-21 11:07:31 +02:00
Thebora Kompanioni
dbd5b6f67b
build: update dependencies (#505)
* chore: dependencies update

* chore: update test dependencies

* chore: update bootstrap from v5.2.0 to v5.2.1

* chore: update qrcode from v1.5.0 to v1.5.1

* chore: update react-i18next from v11.16.9 to v11.18.6
2022-09-21 11:05:46 +02:00
Gigi
89b04a18c6
chore(release): prepare v0.1.0 (#500) 2022-09-16 16:34:45 +02:00
Thebora Kompanioni
0d704158f4
fix: create non-descriptor wallet (#487)
* dev(regtest): remove nbxplorer in favor of simpler custom regtest-initializer

* dev(regtest): use jsonrpc 2.0 requests to create and load wallet

* dev(regtest): upgrade bitcoin core from v22 to v23

* fix(regtest): wait-for-bitcoind should wait for at least >=0 blocks

* dev(regtest): use jam-dev-standalone

* dev(regtest): add npm script regtest:build

this command will build the development setup with docker cache
enabled. usually must fast as it will only pull in newer base
images and not download and recompile jm again. this is the
preferred way if you made only a few adaptions to the images
and e.g. not want to fetch the current master of jm.
2022-09-09 17:25:52 +02:00
Thebora Kompanioni
ace3734712
feat: ability to retrieve logs (#478)
* feat: ability to retrieve logs

* feat: automatically scroll to bottom of log content div

* dev: switch regtest target container with env var

* dev: change secondary container image to new jam namespace

* dev: add backend types 'native' and 'jam-standalone' to setupProxy
2022-09-09 11:08:01 +02:00
Gigi
1836200ce7
chore(release): prepare v0.0.10 (#453) 2022-08-05 14:14:04 +02:00
Daniel
61a39566f6
feat: utxo list (#430)
* feat: add tabbed control to jar overlay

* feat: add utxo table

* refactor: clean up overlay container

* refactor: clean up table

* feat: add alert

* refactr: re-add utxo modal

* refactor: add back old account details view

* refactor: delete old files

* fix: tests

* feat: add confirmations and refresh button

* fix: class name

* fix: paddings

* fix: acccordion shadow

* fix: bs colors

* fix: remove utxo conversion where not needed

* feat: i18n

* fix: button active color

* Update src/components/jar_details/JarDetailsOverlay.tsx

Co-authored-by: Thebora Kompanioni <theborakompanioni@users.noreply.github.com>

* fix: use lockgime from property instead of status

* fix: disable freezing and unfreezing when service is running

* fix: do not allow locked utxos to be unfrozen

* fix: make sure tab and content are in sync

* feat: add sorting by confirmations

* feat: add reset position to sort toggle

* fix: switch cancel button placement

* fix: right-align value column

* Update src/components/jar_details/UtxoList.tsx

Co-authored-by: Thebora Kompanioni <theborakompanioni@users.noreply.github.com>

Co-authored-by: Thebora Kompanioni <theborakompanioni@users.noreply.github.com>
2022-08-02 15:24:10 +02:00
Thebora Kompanioni
087eb0782e
deps: update dependencies (#425)
* deps: remove unused lib moving-letters

* deps: update react-bootstrap from v2.4.0 to v2.5.0-beta.1

* deps: update react-router-bootstrap from v0.26.1 to v0.26.2

* deps: update bootstrap from v5.1.3 to v5.2.0

* dev: update node from v16.11.0 to v16.16.0 in GitHub build action

* dev: harmonize options button styles on Receive and Earn page
2022-07-26 16:29:49 +02:00
Gigi
72b126ec5d
chore(release): prepare v0.0.9 (#403)
* chore(release): prepare v0.0.9

* chore: remove irrelevant entries from changelog

Co-authored-by: Daniel <10026790+dnlggr@users.noreply.github.com>

* fix(changelog): typo

Co-authored-by: Daniel <10026790+dnlggr@users.noreply.github.com>

Co-authored-by: Daniel <10026790+dnlggr@users.noreply.github.com>
2022-07-14 14:25:35 +02:00
Gigi
a958ba6d88
chore(release): prepare v0.0.8 (#354) 2022-06-28 11:13:07 +02:00
Daniel
a08c584f5e
feat(jars): destination jar selector on send screen (#345) 2022-06-23 15:33:51 +02:00
Gigi
ff9801cb18
chore(release): prepare v0.0.7 (#335) 2022-06-20 10:32:09 +02:00
Thebora Kompanioni
5f9c88f0db
chore: dependencies update (#292)
* chore: update dependencies

 @types/jest       ^27.4.1  →   ^27.5.1
 @types/node      ^17.0.26  →  ^17.0.35
 husky              ^7.0.4  →    ^8.0.1
 i18next          ^21.6.16  →   ^21.8.4
 lint-staged       ^12.4.0  →   ^12.4.2
 react-bootstrap    ^2.3.0  →    ^2.4.0
 react-i18next    ^11.16.7  →  ^11.16.9
 typescript         ^4.6.3  →    ^4.7.2

* test: patch window.matchMedia in test setup

* chore: remove unused dependency nth-check
2022-06-02 13:16:01 +02:00
Gigi
44d7afebf5
chore(release): prepare v0.0.6 (#289)
* chore(release): prepare v0.0.6

* Update CHANGELOG.md

Co-authored-by: Daniel <10026790+dnlggr@users.noreply.github.com>

* Update CHANGELOG.md

Co-authored-by: Daniel <10026790+dnlggr@users.noreply.github.com>

* Update CHANGELOG.md

Co-authored-by: Daniel <10026790+dnlggr@users.noreply.github.com>

* Update CHANGELOG.md

Co-authored-by: Daniel <10026790+dnlggr@users.noreply.github.com>

* Update CHANGELOG.md

Co-authored-by: Daniel <10026790+dnlggr@users.noreply.github.com>

* Update CHANGELOG.md

Co-authored-by: Daniel <10026790+dnlggr@users.noreply.github.com>

* Update CHANGELOG.md

Co-authored-by: Daniel <10026790+dnlggr@users.noreply.github.com>

* Update CHANGELOG.md

Co-authored-by: Daniel <10026790+dnlggr@users.noreply.github.com>

Co-authored-by: Daniel <10026790+dnlggr@users.noreply.github.com>
2022-05-19 15:05:08 +02:00
Thebora Kompanioni
44fbe0169c
dev: directory node setup for regtest (#259)
* dev: update regtest config for JM v0.9.6 in dev setup

* dev: use jam's 'default' cj_max fee settings in dev setup

* dev: update secondary dev container config

* dev: start directory node in dev setup

dev: start instance 1 with access local directory node

dev: connect primary and secondary instances to local directory node

dev: ability to specify jm branch in primary container

dev: remove symlink for tor in directory-node as #1271 is fixed upstream

dev: inject hs dir in directory-node instance

dev: add script to create onion addresses for regtest setup

dev: add prepare-setup.sh script to write .env.generated file

dev: cleanup directory-node setup and scripts

* cleanup: clarify hs directory handling

* cleanup: fix typos and remove unneeded commands in prepare setup script

* dev: revert changes to regtest fee settings

* dev: use example env file for all other commands than 'up'

* dev: fix directory node setup on restarts

* dev: adapt permissions of hs directory in regtest directory node

* dev: ability to follow logs of directory node via npm script

* fix: directory node scripts compatibility

* Update docker/regtest/dockerfile-deps/joinmarket/directory_node/README.md

Co-authored-by: Daniel <10026790+dnlggr@users.noreply.github.com>

* Update docker/regtest/.gitignore

Co-authored-by: Daniel <10026790+dnlggr@users.noreply.github.com>

* Update docker/regtest/dockerfile-deps/joinmarket/directory_node/README.md

Co-authored-by: Daniel <10026790+dnlggr@users.noreply.github.com>

* review: fix newlines and typos

Co-authored-by: Daniel <10026790+dnlggr@users.noreply.github.com>
2022-05-18 15:42:59 +02:00
Daniel
0e1d0a8a69
feat: scheduled transactions prototype (#242)
* Use backend fork

* Add minimal schedule tab

* Add feature flag

* Update title

* Change branch in regtest setup

* Revert ts config

* Change weird formik behavior

* Fix warning

* Reset alerts

* Use loading flag when starting / stopping
2022-05-11 10:05:01 +02:00
Thebora Kompanioni
76f8c7c7d8
chore: update dependencies (#229)
* chore: update dependencies

* fix: prevent browser warning on Onboarding screen

use unit 'px' instead of 'rem' to prevent warning 'Unexpected value 8rem parsing width attribute.'
2022-04-25 14:15:07 +02:00
Thebora Kompanioni
0c019db742
feat: confirm password on Create Wallet screen (#210)
* feat: add password confirmation on create screen

* fix: labels and feedback in create form according to figma

* test: verify password confirm validation message

* fix: remove unnecessary escape character

* fix: do not escape '-'

* refactor: comments and better name for escape function

* deps: add Formik form validation library

* refactor: use Formik for CreateWallet form validation

* refactor: remove 'isCreating' flag in favor of 'onFinished' callback

* test: adapt tests to be compatible with Formik

see https://github.com/jaredpalmer/formik/issues/1543
2022-04-07 12:07:26 +02:00
Thebora Kompanioni
f32e95ac8e
dev: enable npm config engine-strict (#197)
* dev: enable engine-strict to enforce specified npm/node min versions

* dev: update npm min version from v7.0.0 to v8.0.0

* dev: update node min version from v16.0.0 to v16.11.0
2022-04-04 09:30:42 +02:00
Gigi
6fb5b1a896
chore(release): prepare v0.0.5 (#195)
* chore(release): prepare v0.0.5

* build: npm install

* build: npm install

using npm version 8.5.5
2022-03-29 12:54:38 +02:00
Thebora Kompanioni
e5d97d148d
chore: update dependencies (#193)
* build(deps): bump node-forge from 1.2.1 to 1.3.0

Bumps [node-forge](https://github.com/digitalbazaar/forge) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/digitalbazaar/forge/releases)
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md)
- [Commits](https://github.com/digitalbazaar/forge/compare/v1.2.1...v1.3.0)

---
updated-dependencies:
- dependency-name: node-forge
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: update dependencies

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-28 14:49:14 +02:00
Thebora Kompanioni
a096b2ba92
chore: fix linter config (#185) 2022-03-21 10:43:42 +01:00
Thebora Kompanioni
80e5da78e5
Add typescript support (#176)
* init typescript support

* chore: update dependencies

@popperjs/core              ^2.11.2  →   ^2.11.4
@testing-library/jest-dom   ^5.16.1  →   ^5.16.2
@testing-library/react      ^12.1.2  →   ^12.1.4
http-proxy-middleware        ^2.0.1  →    ^2.0.4
i18next                    ^21.6.12  →  ^21.6.14
lint-staged                 ^12.3.1  →   ^12.3.6
prettier                     ^2.5.1  →    ^2.6.0
react-bootstrap              ^2.1.1  →    ^2.2.1
react-i18next              ^11.15.5  →  ^11.15.7
react-router-bootstrap      ^0.26.0  →   ^0.26.1
react-router-dom             ^6.2.1  →    ^6.2.2
2022-03-17 12:44:01 +01:00