Commit Graph

1995 Commits

Author SHA1 Message Date
nicolas.dorier
5df76b9c00 Make test less flaky 2025-04-23 16:51:56 +09:00
nicolas.dorier
5f908322c2 Make Rider a bit less verbose Code cleanup 2025-04-23 16:51:56 +09:00
Nicolas Dorier
b96491a804 Fix: PSBT Signing Option in MultiSig Server redirected incorrectly (fix #6668) (#6690) 2025-04-23 14:40:28 +09:00
Nicolas Dorier
8e9aead659 Automatically set Multisig Server if Output descriptor has several keys (#6688) 2025-04-22 17:01:55 +09:00
nicolas.dorier
6c998fe9a1 Rewrite Multisig test with Playwright 2025-04-22 11:48:28 +09:00
nicolas.dorier
4b1c745f43 Speed up playwright a bit 2025-04-22 10:22:23 +09:00
Chukwuleta Tobechi
79331f417a replicating selenium tests using playwright (#6681)
* replicating selenium tests using playwright

* create playwright tester instance

* more playwright tests

* run playwright in CI

* changes

* resolve test

* clean up
2025-04-22 10:04:17 +09:00
Nicolas Dorier
ec603a3804 Merge pull request #6684 from btcpayserver/wallet-policy
Add support for wallet policy descriptors (BIP388)
2025-04-21 16:09:05 +09:00
Nicolas Dorier
bf277f03c4 Merge pull request #6675 from wbalbo/fix-add-confirmation-deletion-email-rules
Fix: adding a confirmation for the deletion of Email Rule
2025-04-21 00:02:24 +09:00
nicolas.dorier
892dda0d3b Fix tests 2025-04-20 23:48:03 +09:00
nicolas.dorier
5c380e9419 Add support for wallet policy (BIP388) 2025-04-20 22:15:23 +09:00
wellingtonbalbo
c6d5246720 - Removed the JS functions created by me
- Used the same logic as the StoreUsers.cshtml page to design the remove modal
- Removed the unit test part related to the deletion of email rules, since using this way of remove above is not possible to unit test, at least I didn't found an example to look at.
2025-04-17 22:32:07 -03:00
rockstardev
c3998fdf34 Addressing PR review issues 2025-04-16 10:49:08 +09:00
wellingtonbalbo
7f8f92ec74 Fixed selenium test for this specific feature. 2025-04-12 15:39:16 -03:00
nicolas.dorier
782d53c13d Fix: Impossible to edit a payment request after receiving an invoice on it 2025-04-11 15:36:51 +09:00
nicolas.dorier
8593d33879 fix test 2025-04-10 23:56:07 +09:00
nicolas.dorier
5df2ffe689 Fix crash if DelayedTaskScheduler has too big timestamp 2025-04-09 00:03:43 +09:00
Nicolas Dorier
73af6f4ff4 Do not automatically invite a user to the instance when inviting in a store (#6658) 2025-04-08 18:21:58 +09:00
d11n
1c921030dc Store users: Ensure the last owner cannot be downgraded (#6654)
* Store users: Ensure the last owner cannot be downgraded

Changes the behaviour of the `AddOrUpdateStoreUser` method to throw errors for the failure cases, so that the UI and API can report the actual problem. A role change might fail if the user already has that role or if they are the last owner of the store.

* Cleanup code

---------

Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
2025-04-08 17:21:07 +09:00
Nicolas Dorier
ce83e4d96d Fix: PaymentRequests created via API never expires (#6657) 2025-04-08 14:17:31 +09:00
nicolas.dorier
ead74a985f Remove deprecated properties 2025-04-04 16:28:44 +09:00
d11n
a916ae81be Greenfield: Expand user data (#6649) 2025-04-04 16:15:33 +09:00
Nicolas Dorier
ec6c22f4bf Bump CLN (#6645) 2025-03-31 21:59:27 +09:00
Nicolas Dorier
658ddd1f27 Fix: Refunds through API were ignoring BOLT11 expiration at store level (#6644) 2025-03-31 09:32:12 +09:00
rockstardev
6784be2ce2 Adding logic to count signatures in multisig 2025-03-26 23:08:48 -05:00
nicolas.dorier
5e3e2ed2c1 Fix flaky test (#6634) 2025-03-24 21:48:43 +09:00
rockstardev
fcd49ff729 Merge pull request #6629 from btcpayserver/feat/email-rules-refactor
Email rules refactor
2025-03-23 09:27:20 -05:00
rockstardev
0997e9b76c Fixing Selenium tests 2025-03-23 09:04:11 -05:00
rockstardev
5a24651be0 CanSeetupEmailRules test 2025-03-23 09:04:11 -05:00
rockstardev
5ce8648bd2 Fixing tests 2025-03-23 09:04:10 -05:00
nicolas.dorier
019c878c4e Add InvoiceEntity.NetSettled property 2025-03-23 10:53:05 +09:00
nicolas.dorier
2911771f19 Feature: RBF and UX improvement to fee bumping 2025-03-11 17:44:18 +09:00
Nicolas Dorier
7355be48ee Merge pull request #6535 from NicolasDorier/remove-xmr-sec
Remove ZCash and Monero from core code
2025-03-11 15:47:20 +09:00
nicolas.dorier
71dbfd9f28 Fix warning 2025-03-06 22:30:11 +09:00
ThiagoOyo
9bff84f90f Fix: Archived invoices shouldn't be browsable by non authenticated users (#6588)
* fix: return 403 when unauthenticated user accesses an archived invoice receipt

* refactor: simplify archived invoice access check with pattern matching

* Return 404 for unauthorized users accessing archived invoice

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

* feat: add archived invoice validation for unauthenticated access in Checkout and GetStatus

* test: add test case for unauthorized access to archived invoice returning not found

* test: add unauthorized checkout test for archived invoice

* Commenting code and adding test case for GetStatus

---------

Co-authored-by: d11n <mail@dennisreimann.de>
Co-authored-by: rockstardev <5191402+rockstardev@users.noreply.github.com>
2025-03-06 17:45:53 +09:00
rockstardev
2d21e3b26b Final fixes 2025-03-05 22:49:07 -06:00
rockstardev
70c2fc0a9e Fixing bug on password not being cleared 2025-03-05 22:49:07 -06:00
rockstardev
18852af241 Refactoring and commenting 2025-03-05 22:49:06 -06:00
rockstardev
746a8cf6e1 Getting fast tests to pass 2025-03-05 22:49:06 -06:00
nicolas.dorier
be8ecb823e Refactor email endpoints 2025-03-05 22:49:06 -06:00
rockstardev
a7e3cbb105 Adding endpoint to set server email settings (#6601)
* Adding endpoint in Greenfield to allow server email settings

* Adding related swagger file

* Refactoring EmailSettingsData to be more readable

* Adding server email masking

* Adding tests

* Update BTCPayServer/wwwroot/swagger/v1/swagger.template.serveremail.json

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

* Masking smtp server email returned over greenfield api and test

* Retaining password if password mask is used

* Remove magic string *****

* Flatten request for server's settings. Fix bug on shared setting instances

* Remove useless doc

* Simplify code

* Fix Store Email settings page

---------

Co-authored-by: d11n <mail@dennisreimann.de>
Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
2025-02-27 15:59:17 +09:00
rockstardev
8b5c5895f0 Selenium tests for Multisig on server (#6487)
* Adding MultisigTests

* Adding fetching of receive address and creating pending transaction

* Completing multisig test flow

* Reverting Selenium ChromeDriver version

* Adding generation of PSBTs

* Removing unnecessary lines

* PSBT test signing now working with multisig dervation scheme

* Updating SignTestPSBT test

* Reducing number of iterations for test funding, to speed up tests

* Bugfixing PSBT problem

* Ensuring that PSBT signing also works for pending transactions

* Ensuring we don't collect count duplicate signatures for same PSBTs

* Resolving bug in PendingTransactionService where Combine was modifying object

* Fixing bug where pending transaction was not broadcased if there was ReturnUrl

* Finally finishing Multisig Selenium test flow with signing PSBTs, broadcasting and cancelling them

* Small nit, waiting loaded element

* Nit: Use AssetElementNotFound

* Fix warning

* Remove code dups

---------

Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
2025-02-25 14:39:57 +09:00
rockstardev
148e31721b Bumping LND to 0.18.5-beta in all yml files we've got 2025-02-18 22:17:24 -06:00
rockstardev
df16ad6418 Bumping LND to 0.18.5-beta 2025-02-18 22:09:55 -06:00
nicolas.dorier
e59684fc6a Bump NBX 2025-02-10 15:26:35 +09:00
nicolas.dorier
c37584328b Refactor: Remove cshtml duplication for back/url buttons in wizards 2025-02-07 16:57:50 +09:00
nicolas.dorier
bc1a1cf34f Fix: Invalid currency pair (FARTCOIN_USDC) may show in the logs when using kraken rate provider 2025-01-24 21:56:20 +09:00
nicolas.dorier
51c2b9f243 Remove ZCash and Monero from core code 2025-01-22 00:00:22 +09:00
nicolas.dorier
8e927eee73 Better validation of inputs when setting on-chain payment method by API 2025-01-21 23:37:56 +09:00
nicolas.dorier
5534ddeb28 Revert "Bump dependency versions (#6568)"
This reverts commit 2725bbfe2a.
2025-01-21 16:41:42 +09:00