Commit Graph

1954 Commits

Author SHA1 Message Date
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
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
d11n
2725bbfe2a Bump dependency versions (#6568)
Adapt to the updates made on mobile-working-branch
2025-01-21 15:39:28 +09:00
Nicolas Dorier
01250f6aee Add ability to move a payout from InProgress to AwaitingPayment (#6564) 2025-01-21 15:37:45 +09:00
Nicolas Dorier
d6b547d8bf Bump Payjoin libraries (#6561) 2025-01-19 18:19:05 +09:00
Nicolas Dorier
1830d398a4 Bump Bitcoin Core to 18.1 (#6563) 2025-01-17 18:59:43 +09:00
Nicolas Dorier
e1f47b2738 Bump bitcoin core in tests (#6550) 2025-01-13 12:41:13 +09:00
rockstardev
c766047f63 Bumping LND to 0.18.4-beta in other files as well 2025-01-08 15:59:47 -06:00
rockstardev
b59182f169 Bumping LND to 0.18.4-beta 2025-01-07 19:11:43 -06:00
Nicolas Dorier
76a880a30e Disable lightning payments histogram (#6518) 2024-12-23 18:04:07 +09:00
d11n
adce1dffb1 Checkout: Add support link to footer (#6511)
Closes #6495.
2024-12-23 09:45:36 +09:00
Nicolas Dorier
8acf1c2d62 Refactoring: Introduce IUrlHelper.ActionAbsolute (#6513) 2024-12-21 00:16:04 +09:00
d11n
7829a93251 POS: Create Invoice action optionally responds with JSON (#6439)
* POS: Create Invoice action optionally responds with JSON

We adapted this action, which is full of custom POS logic, for the app to avoid creating a separate API endpoint.

* Add test and improve error handling
2024-12-13 12:09:55 +09:00
d11n
00cc16455c App: Add events which the app subscribes to (#6435)
* App: Add events which the app subscribes to

Various events, which are relevant for the app to react to changes made on the server.

* Refactor events

* Do not extend NewBlockEvent

* Refactoring events

* Add store role events

* Refactoring: Rename StoreUserEvent

* Fix: Subscribe to UserEvent.Invited

---------

Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
2024-12-11 20:11:51 +09:00
Dennis Reimann
4d38f91bd5 POS: Fix throttling for unauthenticated users
Fixes a regression introduced with d24adda700: The negation for the `_rateLimitService.Throttle` result was removed with that commit, which lead to all unauthenticated request getting throttled. (It was correctly implemented in #6415.

Fixes btcpayserver/app#131.
2024-12-09 18:01:09 +01:00
nicolas.dorier
1214367503 bump nbx image 2024-12-09 16:31:56 +09:00
Nicolas Dorier
eb89f4636b Merge pull request #6415 from Kukks/rate-limit-pos
Do not throttle pos when logged in
2024-12-09 12:42:51 +09:00
nicolas.dorier
7da247ffd6 Fix test 2024-12-09 09:44:00 +09:00
Nicolas Dorier
cadcf27ebc Merge pull request #6433 from dennisreimann/mwb-integration-docker
App: Docker Compose additions
2024-12-09 09:35:14 +09:00
nicolas.dorier
4d01e3a16a Access email settings through the factory 2024-12-06 16:19:17 +09:00
Dennis Reimann
cd507b10e0 Tests: Fix flakyness 2024-12-05 10:19:08 +01:00
Nicolas Dorier
f7a96272c1 Merge pull request #6461 from NicolasDorier/fix6437
Fix: Combination of status filters on invoices page causes 500 fatal server error (Fix #6437)
2024-12-04 23:39:53 +09:00
d11n
a8d1f55544 Editor: Use offcanvas for all breakpoints (#6441)
Avoids scrolling the editor out of the viewport. Closes #6436.

Done for the POS/Crowdfund editor, as well as the Forms one.
2024-12-04 15:18:27 +01:00
nicolas.dorier
fb8ca19327 Fix: Combination of status filters on invoices page causes 500 fatal server error (Fix #6437) 2024-12-04 22:07:32 +09:00
Dennis Reimann
aa336e7d8a Update and fix docker-compose test 2024-12-04 12:10:45 +01:00
Dennis Reimann
3b94c2798c Updates from code review 2024-12-04 11:48:47 +01:00
Nicolas Dorier
e7b98fbae3 Merge pull request #6442 from dennisreimann/mwb-integration-signin
Account: Sign in user after accepting invitation or resetting password
2024-12-04 19:16:59 +09:00
Nicolas Dorier
eea9ba10fd Merge pull request #6452 from schjonhaug/rates-from-norwegian-exchanges
Add Rate Providers for BTC/NOK
2024-12-04 19:14:58 +09:00
nicolas.dorier
43f159cd81 Bump dotnet 2024-12-03 14:42:43 +09:00
Nicolas Dorier
6e2f355aa6 Merge pull request #6456 from NicolasDorier/razorbuild
Do not use razor runtime compilation when views have been compiled on build
2024-12-03 14:17:09 +09:00
nicolas.dorier
e2f868df52 Do not use razor runtime compilation when views have been compiled on build 2024-12-03 13:30:05 +09:00
d11n
898f0f4481 Greenfield: Improve store users API (#6427)
* Greenfield: Improve store users API

- Adds an endpoint to update store users (before they had to be removed ad re-added)
- Checks for the existance of a user and responds with 404 in that case (fixes #6423)
- Allows retrieval of user by user id or email for add and update (consistent with the other endpoints)
- Improves the API docs for the store users endpoints

* Swagger: Reuse UserIdOrEmail parameter component

* Add details to store user data
2024-12-02 15:35:33 +01:00
Andreas Schjønhaug
615b7842db Added tests 2024-12-02 15:01:58 +01:00
nicolas.dorier
6822608c14 Replace .GetAwaiter().GetResult() to await in tests 2024-12-02 09:36:31 +09:00
rockstardev
6397c8e07c Resolving xunit warnings after update 2024-11-29 20:53:29 -06:00
rockstardev
83ce5a2107 Bumping xunit, EntityFrameworkCore and PostgreSQL 2024-11-29 20:35:34 -06:00
nicolas.dorier
299527fe16 bump nbx 2024-11-29 14:30:03 +09:00
nicolas.dorier
e14c086fed bump nbx 2024-11-28 19:36:59 +09:00
Dennis Reimann
fbf707cde2 Account: Sign in user after accepting invitation or resetting password
UX improvements, which we are porting from the app to unify the experience.
2024-11-26 11:42:13 +01:00
Dennis Reimann
71c578f866 App: Docker Compose additions
For this one, @kukks is the owner and can procide more detail.
2024-11-26 08:25:59 +01:00
d11n
d3315c2fa6 Integrate mobile-working-branch part 1 (#6428) 2024-11-26 14:17:40 +09:00
d11n
d6211327db Greenfield: Users API fixes (#6425)
* Do not crash when creatuing users without password

* More precise error message for user approval toggling
2024-11-25 09:38:44 +09:00
Nicolas Dorier
843c813f86 Replace entity upsert in PlannedTransaction by plain SQL (#6416)
* Replace entity upsert in PlannedTransaction by plain SQL

* Fix flaky test from #6411
2024-11-21 15:47:03 +09:00