Commit graph

3062 commits

Author SHA1 Message Date
Binarybaron
7faf9aec4f fix(ci, tauri): Only build appimage, dmg, nsis and msi 2024-11-14 16:48:35 +01:00
binarybaron
9f4c28c9c4
fix(gui, windows): Hide monero-wallet-rpc console window (#161) 2024-11-14 15:02:08 +01:00
binarybaron
e46be4a9ff
feat(gui): Refund swap in the background (#154)
Swaps will now be refunded as soon as the cancel timelock expires if the GUI is running but the swap dialog is not open.
2024-11-14 14:20:22 +01:00
binarybaron
4cf5cf719a
feat(gui): Display timelock status using a timeline (#153) 2024-11-14 13:33:20 +01:00
Einliterflasche
3e79bb3712
feat(GUI): Add settings for theme, fiat currency and remote nodes (#128) 2024-11-13 22:51:47 +01:00
Binarybaron
27d6e23b93 feat(ci): Update version in tauri.conf.json for GUI 2024-11-13 20:53:33 +01:00
binarybaron
eac435aba6
feat(gui): Display state page for inflight swap setup (#158)
We now display a "Starting swap with provider to lock ... BTC" page when the Bitcoin have been deposited and the swap setup is inflight.
2024-11-13 20:18:13 +01:00
binarybaron
6b6737c056
feat(consensus): Increase refund window from 72 to 144 blocks (#130) 2024-11-13 19:53:17 +01:00
Binarybaron
ec25181581 fix(clippy): Use .expect(..) instead of unwrap 2024-11-13 16:16:33 +01:00
Binarybaron
dbeb72957d feat(ci): Bump GUI version when drafting new release using CI 2024-11-13 16:13:39 +01:00
binarybaron
f1fabcf8e3
fix(asb): Accept cooperative redeem request in both AliceState::BtcPunishable and AliceState::BtcPunished (#156)
Alice will accept a cooperative redeem request in both `AliceState::BtcPunishable` and `AliceState::BtcPunished` states. This allows Bob to request a cooperative redeem even if `tx_punish` has not been confirmed yet.
2024-11-13 15:33:27 +01:00
binarybaron
65e8c8991a
feat(ci): Attach built GUI binaries to cli/asb Github releases (#157) 2024-11-13 14:58:17 +01:00
binarybaron
c027e51087
refactor(swap): Upgrade libp2p to 0.53.2, reliable retry mechanisms (#109)
Our libp2p version is out of date, and we need to tackle the upgrade even though it's a significant undertaking. This'll also fix some other [issues](https://github.com/UnstoppableSwap/core/issues/95).

## This PR includes the following changes:
- Breaking network protocol change: The libp2p version has been upgraded to 0.53 which includes breaking network protocol changes. ASBs and CLIs will not be able to swap if one of them is on the old version.
- ASB: Transfer proofs will be repeatedly sent until they are acknowledged by the other party. This fixes a bug where it'd seem to Bob as if the Alice never locked the Monero. Forcing the swap to be refunded.
- CLI: Encrypted signatures will be repeatedly sent until they are acknowledged by the other party
- CLI+ASB: Libp2p network errors in request-response protocols are now propagated throught the event loop channels. This allows the caller to retry if an error occurs (e.g timeout)

Closes https://github.com/UnstoppableSwap/core/issues/101, https://github.com/UnstoppableSwap/core/issues/95
2024-11-11 00:14:42 +01:00
binarybaron
a116c27785
feat(gui): Use inbuild LazyStore feature of @tauri-apps/plugin-store (#150) 2024-11-10 20:46:24 +01:00
binarybaron
8c3adbf1ab
feat(asb): Retry locking Monero (#143) 2024-11-10 17:51:05 +01:00
binarybaron
e76ff3ac9c
feat(gui): Change product name to "UnstoppableSwap (new)" (#146) 2024-11-09 17:22:10 +01:00
binarybaron
dc8553212a
docs: Add reference to pages for electrum and monero nodes (#145) 2024-11-09 16:08:17 +01:00
binarybaron
f3fbf80e28
fix(swap): Change default electrum testnet server (#144) 2024-11-09 16:04:28 +01:00
binarybaron
1867b009b9
fix(gui): Hide manual cancel and refund button (#142)
We no longer show the manual cancel and refund button. This functionality is currently not implemented in the GUI. The state machine should resume the swap as well. The functionality can be added back later.
2024-11-09 12:27:57 +01:00
binarybaron
3c551c86b2
fix(dev-docs): Update links to dev-docs
The Github documentation has been moved from /docs to /dev-docs

Closes https://github.com/UnstoppableSwap/core/issues/129
2024-11-09 12:20:58 +01:00
Binarybaron
3aa12cf16a fix(dev-docs): Update links to dev-docs. The Github documentation has been moved from /docs to /dev-docs 2024-11-09 12:19:28 +01:00
binarybaron
3614b9f9d2
fix(gui): Link to github docs should be /dev-docs instead of /docs (#140) 2024-11-09 12:16:57 +01:00
binarybaron
bd3fca7e41
feat(gui): Allow to select from recently used monero addresses (#139)
* feat(gui): Allow user to select from recently used monero addresses in textfield
2024-11-09 12:11:00 +01:00
binarybaron
4867d2713f
feat(gui): Release 0.7.2
The purpose of this release is to test the auto updater
2024-11-08 17:54:40 +01:00
binarybaron
765655bfb6 fix(tauri): Remove dialog::default capability 2024-11-07 21:57:56 +01:00
binarybaron
8283d09b5b
fix(gui): Relaunch application after updater installation has finished (#137) 2024-11-07 21:11:46 +01:00
binarybaron
12528a9d4e
feat(gui): Enforce single instance of GUI to be running (#135)
* feat(gui): Only allow a single instance of the application

* feat(tauri): Remove unused tauri-plugin-dialog crate/yarn package
2024-11-06 19:39:32 +01:00
binarybaron
efaf51f499
feat(gui): Release 0.7.1
This release is to verify the workings of the auto updater
2024-11-06 13:12:37 +01:00
binarybaron
c1afc7aa2a
feat(gui): Display dialog when update is available (#132)
* feat(tauri): Use new tauri signing key

* feat(gui): Display MUI dialog when update is available
2024-11-05 21:01:23 +01:00
binarybaron
a9b1d05af0 feat: release GUI version 0.7.0. This should be a preview release but isn't for testing purposes 2024-11-04 15:17:49 +01:00
Einliterflasche
bfc82c0534
refactor(docs): move source for doc pages here (#119)
* docs: move dev docs to dev-docs folder

* docs: move source for doc pages here

* docs: improve docs
2024-10-25 03:55:18 +02:00
binarybaron
5341587dfa
fix(ci): Add env variables for tauri signing to workflow 2024-10-23 19:29:46 +02:00
binarybaron
8437473a1b feat(gui): Bump version to 1.0.0-alpha.1 2024-10-23 17:18:39 +02:00
binarybaron
88e039935f
Update build-gui-preview-release-cb.yml 2024-10-22 15:24:05 +02:00
binarybaron
37d1f07c2d
release(gui): 1.0.0 alpha.1 (#125) 2024-10-22 13:22:46 +02:00
binarybaron
584cc41411
feat(gui): Display provider spread to user (#124) 2024-10-22 12:04:37 +02:00
binarybaron
1acb597a34
Update build-gui-preview-release-cb.yml 2024-10-22 12:00:24 +02:00
binarybaron
7ce3dc36dc
Update build-gui-preview-release-cb.yml 2024-10-21 23:58:07 +02:00
binarybaron
22fdb36981
Update build-gui-preview-release-cb.yml 2024-10-21 23:01:25 +02:00
binarybaron
4fd6d75b47
fix(ci): Update CloudNebula CN_APPLICATION to lower case 2024-10-17 15:04:46 +02:00
binarybaron
6c433041b7
feat(gui, tauri, ci): Auto updater (#105) 2024-10-17 14:56:04 +02:00
binarybaron
90584a211d
Revert "Prepare release 0.13.5 (#107)" (#121)
Reverts UnstoppableSwap/core#107 due to https://github.com/UnstoppableSwap/core/issues/95
2024-10-16 23:55:26 +02:00
Einliterflasche
c91adb3ac8
feat(tauri): Allow export of wallet descriptors (#118) 2024-10-15 14:22:35 +02:00
binarybaron
898c7a2450 fix(gui): Empty tx lock id text box on history page 2024-10-14 00:10:23 +02:00
binarybaron
15b43bf4a4
feat(gui): Button to open modal with QR code of Bitcoin address (#116) 2024-10-14 00:01:11 +02:00
binarybaron
2bffe40a37
Merge changes from legacy GUI, allow daemon logs to be attached to feedback (#115)
This PR applies all remaining changes from https://github.com/UnstoppableSwap/unstoppableswap-gui/pull/210


- Added checkbox option to attach daemon logs when submitting feedback
- Added "Outdated" chip with warning icon for providers running outdated asb versions
- Updated `BitcoinPunishedPage` to display different messages for BtcPunished and CooperativeRedeemRejected states (including reason for failed cooperative redeem)
- Added "Attempt recovery" button for swaps in BtcPunished state
- Modified `getBitcoinTxExplorerUrl` to use mempool.space instead of blockchair.com
- Added `useResumeableSwapsCountExcludingPunished` hook to count resumable swaps excluding punished ones, use it for the badge and alert
- Updated `sortProviderList` function to filter out incompatible providers before sorting
- Added `TauriSwapProgressEventExt` type to extract specific event types from TauriSwapProgressEvent
2024-10-13 18:04:47 +02:00
Einliterflasche
639f540876
feat(tauri): send tauri event on btc balance change (#113)
Closes #43. This PR creates a new event, which is emitted by the watcher daemon when the BTC balance changes. Then, on the guest side, we simply update the balance when this event is received.
2024-10-13 18:01:29 +02:00
binarybaron
ec86fa13cd
fix(tauri): Emit 'Initiated' progress event once swap lock is aquired (#112)
* fix(tauri): Emit 'Initiated' progress event once swap lock is aquired
2024-10-11 20:17:46 +06:00
binarybaron
83f831ccac
feat(gui, tauri): Accept --testnet flag, default to mainnet (#106)
This PR tackles #92 

- Add the `tauri-plugin-cli` (only on desktop)
- Check in the frontend if the `--testnet` flag is set. If it's set we pass `testnet=true` to the `initialize_context` command on invokation
- We add the `vite-plugin-top-level-await` to allow top level await in all browsers
- Remove the `bitcoin_confirmation_target` from settings for simplicity
2024-10-10 14:51:56 +02:00
unstoppableswap-botty
9e94dca7aa
Prepare release 0.13.5 (#107)
Co-authored-by: UnstoppableSwap Botty <help@unstoppableswap.net>
2024-10-09 18:53:11 +02:00