Commit graph

104 commits

Author SHA1 Message Date
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
Thebora Kompanioni
f8aa3e786b
Update regtest env (#178)
* dev: interact with regtest env via npm scripts

* dev: use default jm_gaplimit in regtest env

* dev: remove tor config from primary regtest container
2022-03-16 13:49:39 +01:00
Gigi
022f884d29
chore(release): prepare v0.0.4 (#170)
* chore(release): prepare v0.0.4

* build: npm install

* Clean up changelog

Co-authored-by: Daniel <10026790+dnlggr@users.noreply.github.com>
2022-03-10 11:01:47 +01:00
Daniel
cc168eb49f
feat: i18n (#153)
* Add basic i18n with i18next

* Add transifex config

* Add translation strings for wallets screen

* Delete transifex config for now

* Remove suspension

* Add exemplary german translation

* Add language switcher

* Add link to telegram group for translations

* Update tests

* Fix hook deps

* Add tx config

* Move i18n code to subfolder

* Update i18n usage in tests

* Remove unused call

* Pull de translation from transifex

* Add npm scripts for pushing and pulling

* Put back deps

* Put deps into dev

* Add tx gh config

* Add readme

* test: add empty new lang

* Remove test langs

* Remove cli integration

* Update src/i18n/README.md

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

* Update src/i18n/README.md

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

* Update src/i18n/README.md

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

* Update public/sprite.svg

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

* Change link

* Run npm install

* Update readme

* Update readme again

Co-authored-by: Thebora Kompanioni <theborakompanioni@users.noreply.github.com>
2022-03-09 16:47:17 +01:00
Thebora Kompanioni
87299b3268
fix: use own qrcode component to display addresses (#146) 2022-03-03 15:47:27 +01: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
Thebora Kompanioni
90fa57374b
test: add basic test suite (#130)
* test: add basic test for App component

* test: add basic test for Wallets component

* Debug log only in dev env (spare test environment)

* ci: enable tests in GitHub build workflow

Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2022-03-03 11:04:31 +01:00
Daniel
410f4d6635
chore(release): prepare v0.0.3 (#113)
* chore(release): prepare v0.0.3

* Update changelog

* Update CHANGELOG.md

Co-authored-by: Gigi <109058+dergigi@users.noreply.github.com>

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

Co-authored-by: Gigi <109058+dergigi@users.noreply.github.com>
Co-authored-by: Thebora Kompanioni <theborakompanioni@users.noreply.github.com>
2022-02-18 19:23:59 +01:00
Daniel
b104cbf78f
devtools: document and further automate release process (#112)
* feat: version bump and changelog automation

* Automatically commit and open pr

* Add release docs

* Mention gh

* Remove reviewers
2022-02-18 11:05:46 +01:00
Daniel
e83ebb9389
docs: add automated changelog generation (#103)
* Add changelog

* Update to only generate changelog

* Fix version
2022-02-17 11:13:00 +01:00
Daniel
699e951fda
feat: style navbar (#29)
* Add gear icon in navbar

* feat: add basic settings screen and context

* fix: remove unneeded props chains

* Update navbar

* Add wallet preview UI

* Add border to highlight active tab

* Update icons

* Update balance font

* Fix collapsing behaviour

* Add WalletContext

* Update balance in header

* Fix spacing

* Fix dark theme

* Replace inline SVGs with sprites

* Clean up

* Fix warnings

* Clean up layout

* Make height dynamic

* Remove headings

* Add progress inidcators

* Fix balance height

* Reset wallet info when reloading

* Improve activity indicator display

Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2022-02-01 23:22:32 +01:00
Daniel
d84377071a
feat: developer docs (#37)
* Move existing docs to new file

* Add info about formatting

* Fix typo

* Add back lint script

* Automate husky setup
2022-02-01 15:59:51 +01:00
Daniel
08232d7d36
feat: setup code formatting (#21)
* Install prettier

* Install husky

* Add npm lint and format scripts

* Format files

* Remove unused import

* Setup prettier config

* Update line width

* Update package.json

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

* Reformat

Co-authored-by: d11n <mail@dennisreimann.de>
2022-01-27 10:20:31 +01:00
Daniel
4351d1380e
feat: add sat symbol & update balance UI (#11)
* feat: update balance ui

* fix: change currency symbol placement

* User sat symbol

* Add digit grouping

* Clean up some things

* Fix copy: Balance -> balance

* SATS -> sats

* Show ₿ as prefix and sats as suffix

* fix: add padding to sat symbol

Co-authored-by: Gigi <dergigi@pm.me>
2022-01-26 15:54:25 +01:00
Dennis Reimann
58d5ec732d
Upgrade dependencies 2022-01-21 15:59:49 +01:00
Dennis Reimann
fc725e565e
0.0.2 2022-01-04 13:35:50 +01:00
Dennis Reimann
60693a6a75
Upgrade dependencies 2022-01-04 12:52:20 +01:00
Dennis Reimann
ea5be3782c
Upgrade nth-check dependency 2021-12-22 16:14:32 +01:00
Dennis Reimann
da527bca86
Add MIT license and update package info 2021-12-22 16:06:25 +01:00
Dennis Reimann
c962ea07bc
Upgrade dependencies 2021-12-20 16:52:17 +01:00
Dennis Reimann
2f8024ee53
Upgrade dependencies 2021-12-15 11:06:34 +01:00
Dennis Reimann
7c345d07cc
More app refactorings 2021-12-14 20:25:38 +01:00