* feat: add option to edit fee while withdrawing
* chore: add alert if fee rate exceeds fastest fee
* fix: tests
* feat: add support for LDK
* chore: do not accept decimal fee rates in frontend
* chore: minor withdraw UI improvements
* chore: make fee rate optional and update mockery
* chore: remove unnecessary else
* chore: do not format lottie files
* feat: add lotties files to prettier ignore
---------
Co-authored-by: Roland Bewick <roland.bewick@gmail.com>
* chore: add metadata to payments done via Send screen
* chore: use identifier from metadata
* chore: show identifier in tx list title
* chore: include more details from metadata
* chore: copy changes
* chore: add comment to metadata
* chore: type metadata before passing
* chore: revert metadata comment change
Also fixes#1303
## TODOs
- [x] Do final testing with LDK/LND on mainnet
- [x] Improve fee display on the frontend, currently looks scary
- [x] ~Shift Swaps from settings~ (Agreeed to do in follow-up)
- [x] ~Add option to do one-time swaps~ (Agreeed to do in follow-up)
### Minor
- [x] `LDK_NETWORK` config var should now be `NETWORK`
- [x] ~Use LNClient method to publish transactions~ (Agreeed to do in
follow-up)
### Testing
- [ ] Phoenix
- [ ] Cashu
- [x] Wails
* feat: add info page to settings
* chore: add plan info
* chore: reorder info page in settings sidebar
* fix: move about to bottom of menu items
* chore: replace hardcoded plan codes
---------
Co-authored-by: René Aaron <rene@twentyuno.net>
* fix: show health alert if vss is enabled but subscription was cancelled
* fix: better handling if alby api is inaccessible to allow basic functionality (#1229)
* fix: better handling if alby api is inaccessible to allow basic functionality
* fix: don't show formatted fiat amounts if failed to fetch rates
* feat: nwc create_connection command (WIP)
* feat: allow creating superuser apps from the ui
* fix: pass methods rather than scopes in create_connection method
* chore: add extra tests
* fix: use browser router in http mode
* fix: update links to not use hash router
* fix: add redirect from hash router url
* fix: return nostrWalletConnectUrl in nwc connection success event and message
* feat: publish nwa event
* chore: use nwc info event instead of nwa event
* feat: create custom alby go detail page
* chore: allow creating/editing apps with the same name
* fix: convert budget from msats to sats (#1111)
* chore: address NWA feedback
* chore: address feedback
- adjust button copy
- make create_connection methods consistent with http deeplink flow
- remove unused constant
- add empty string check before adding lud16 tag
- fix test
* feat: add support for notification_types in create_connection method
* fix: shorter button copy
* fix: do not include lud16 tag in published info event
* Feat: add lud16 to get_info response (#1128)
feat: add lud16 to get_info response
* chore: minor alby go screen improvements
* fix: incorrect unlock password error message to create app with superuser access
* chore: minor ui improvements on alby go detail page
* chore: avoid duplicate app names by adding a suffix
* chore: move scopes check to apps service, add new tests, DRY controller test setup
* fix: scopes component full access scopes and isolated scope group check
* fix: use supported capabilities for Alby Go
* fix: return correct app name
* chore: address minor comments
---------
Co-authored-by: im-adithya <imadithyavardhan@gmail.com>
* feat: language switcher
* feat: add fiat amount to send and receive instances
* feat: add wails handler to set currency
* chore: improve fiat currency handling
- simplify code
- change api endpoint to update settings rather than just currency
- add missing fiat value on receive invoice page
- allow passing classname to formatted fiat component
---------
Co-authored-by: Roland Bewick <roland.bewick@gmail.com>
* fix: use browser router in http mode
* fix: update links to not use hash router
* fix: add redirect from hash router url
* fix: return nostrWalletConnectUrl in nwc connection success event and message
* fix: include relay url and wallet pubkey in app created messages instead of full NWC url
* chore: remove broken check
* feat: migrate to VSS (WIP)
* feat: add ui and api endpoint to migrate ldk storage to vss
* chore: update copy of enable vss dialog
* chore: bump ldk-node-go version
* chore: minor spacing in dialog
* chore: error handling
* feat: show VSS state in settings
also adds some missing settings headers
* chore: move VSS info to Alby Account settings
* fix: change alby account link to alby hub alby account settings page
* feat: add isolated checkbox to create new custom app
* feat: improved isolated app editing
- toggle app between isolated and non isolated
- confirmation for changing isolated app to not isolated
- edit scopes for isolated apps
- move isolated app support check to backend
* chore: improve confirm app dialog copy
* feat(appwalletKey): add GetBIP32ChildKey
* feat: fix interface
* feat: adding subscription WiP
* feat: handle nostr subscriptions for lifecycle of apps
* Delete .idea/.gitignore
* Delete .idea/hub.iml
* Delete .idea/modules.xml
* Delete .idea/vcs.xml
* fix: remove unnecessary
* fix: missing handling legacy app
* fix: review fixes
* fix: use app.ID for key calculation instead of passing in event
* fix: add TODO
* fix: remove unnecessary check
* fix: improve err handling and remove check
* chore: store master nostr key to avoid deriving each time
* chore: rename app nostr_pubkey to app_pubkey, extract app consumers into separate files
* chore: finish renaming
* fix: update app wallet pubkey on app creation
* fix: not NULL check
* fix: fix HandleEvent
* fix: error handling
* fix: error handling
* fix: move StartSubscription to start.go
* fix: remove duplicated error check
* fix: make tests use AppsService for creating apps
* chore: remove unused code
* chore: minor event handler improvements
- fix error code response when failing to update request event
- fix log content when failing to decrypt request event
- move logging of app to correct place
* fix: add event_handler tests for legacy app
* chore: add comment about legacy apps in deleteAppConsumer
* fix: remove unused app from tests
* fix: error handling in startAppWalletSubscription
* fix: only create event info and nostr subscription for master key if there are legacy apps
* fix: add legacy tests
* fix: move fetching of Nip47 event info to deleteAppConsumer
* fix: fixed arguments
* fix: use require instead of assert
* fix: adapt GetAppWalletKey to use DeriveKey with path 1'
* fix: for backends that don't use a mnemonic, create appKey from nostrSecretKey
* fix: cleanup eventPublisher Subscribers when relay reconnects
* fix: bip32.FirstHardenedChild + appID
* fix: remove unused env vars
* fix: generate new mnemonic if empty
* fix: add tests.CreateTestServiceWithMnemonic to fix TestEncryptedBackup
* fix: handle both relay and main ctx Done
* chore: add keys tests
* chore: add extra assertions to keys test
* chore: log when legacy app subscription is created
* chore: remove unnecessary break
* chore: add log when relay is successfully connected
* fix: only auto-start node if it has been started before
---------
Co-authored-by: Roland Bewick <roland.bewick@gmail.com>
* feat: show pending and failed outgoing transactions
* fix: use gray color for pending outgoing transactions
* fix: list transactions query and date display of unsettled transactions
* feat: add env variable to log db queries
* chore: add extra list transactions filter tests
* feat: add uncle jim internal app
* fix: wrong number in instructions
* chore: simplify alby jim internal app copy
* Feat: app metadata (#570)
* chore: wg.Add() before go (#559)
* chore: code cleanup (#558)
* Update README.md
Add command to make the install script executable in the instructions.
* feat: add migration card in wallet screen (#555)
* feat: add migration card in wallet screen
* chore: transfer funds if channel exists
* chore: typo
* chore: improve copy
* chore: add transfer funds button
* fix: remove duplicate icon
---------
Co-authored-by: Roland Bewick <roland.bewick@gmail.com>
* chore: run extra workflows on PR (#563)
* chore: run extra workflows on PR
* fix: pull request workflows
* build(deps): bump github.com/nbd-wtf/go-nostr from 0.34.5 to 0.34.10 (#551)
Bumps [github.com/nbd-wtf/go-nostr](https://github.com/nbd-wtf/go-nostr) from 0.34.5 to 0.34.10.
- [Commits](https://github.com/nbd-wtf/go-nostr/compare/v0.34.5...v0.34.10)
---
updated-dependencies:
- dependency-name: github.com/nbd-wtf/go-nostr
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.66.0 to 1.67.0 (#552)
Bumps gopkg.in/DataDog/dd-trace-go.v1 from 1.66.0 to 1.67.0.
---
updated-dependencies:
- dependency-name: gopkg.in/DataDog/dd-trace-go.v1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix: do not render 0 on withdraw onchain funds page when reserve balance is 0 (#549)
* chore: update fly default kill timeout to ensure app gracefully shuts down (#547)
* feat: app metadata
* fix(wails): parse max length in log output endpoint (#568)
* fix: alby account image and name on transaction list
* fix: vertically center transaction item content
* fix: use slashed zero on wallet balance
* chore: align app image with app name in transaction list
* fix: ensure auth with correct user if refresh token expires (#572)
* fix: do not allow editing name of Alby Account connection
* fix: change "Create Wallet" to "Create Subaccount"
* fix: subaccount copy
* chore: update friends and family app icon
* fix: update app store images (#574)
* fix: update app store images
* chore: update paper scissors hodl and zapplanner icons
* chore: update lume and habla news icons
* chore: resize and compress zapplanner and rps logos
---------
Co-authored-by: Roland Bewick <roland.bewick@gmail.com>
* feat: add new auto channel flow that works with existing channels (#556)
* feat: add new auto channel flow that works with existing channels
* chore: remove "first" from auto channel copy
* feat: new transaction list item design
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Matjaž Lipuš <matjazl@gmail.com>
Co-authored-by: BtcPins <pardus79@gmail.com>
Co-authored-by: Michael Bumann <hello@michaelbumann.com>
Co-authored-by: Adithya Vardhan <imadithyavardhan@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix: copy
* fix: less detailed icon for uncle jim app
* fix: shorten app description
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Matjaž Lipuš <matjazl@gmail.com>
Co-authored-by: BtcPins <pardus79@gmail.com>
Co-authored-by: Michael Bumann <hello@michaelbumann.com>
Co-authored-by: Adithya Vardhan <imadithyavardhan@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: René Aaron <rene@twentyuno.net>
Co-authored-by: René Aaron <100827540+reneaaron@users.noreply.github.com>