Commit Graph

1935 Commits

Author SHA1 Message Date
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
nicolas.dorier
6a76167637
Bump NBitcoin libraries 2024-11-14 22:19:10 +09:00
nicolas.dorier
f56ad3408c
Remove \r\n in the translations 2024-11-14 22:10:03 +09:00
nicolas.dorier
8a51e21310
Add test 2024-11-14 14:32:53 +09:00
Nicolas Dorier
31b73f0d82
Fix: Boltcard would get bricked during reset from the balance view with wrong card (#6400) 2024-11-14 13:14:36 +09:00
d11n
2eff7523c3
UI: Fix mising navigation links for store managers (#6368) 2024-11-13 21:05:23 +09:00
Nicolas Dorier
894f68f2ae
Improve error messages for on-chain related greenfield operations (#6393)
* Improve error messages for on-chain related greenfield operations

* Fix test
2024-11-13 10:11:04 +09:00
nicolas.dorier
7ac6cad18c
Be more flexible on derivation scheme parsing 2024-11-12 15:26:30 +09:00
Nicolas Dorier
b3abc8f161
Fix: Newline during import of multisig xpub results in different addresses for wallet (#6328) (#6386) 2024-11-12 12:15:42 +09:00
Nicolas Dorier
d0779b88e0
Fix: InvoiceCurrencyAmount and Rate columns in reports displays 0.00 (#6385) 2024-11-12 11:15:02 +09:00
Dennis Reimann
d40669c7bd
Fix flakyness in CanUseLightningAPI test 2024-11-11 18:20:45 +01:00
d11n
a129114603
Greenfield: Add image upload for app items (#6226)
Upload endpoints for app item images. Follow-up to #6075.
Tested to work with the app item editor.

Uses UploadImage consistently in API and UI.
2024-11-07 10:43:22 +09:00
d11n
641bdcff31
Histograms: Add Lightning data and API endpoints (#6217)
* Histograms: Add Lightning data and API endpoints

Ported over from the mobile-working-branch.

Adds histogram data for Lightning and exposes the wallet/lightning histogram data via the API. It also add a dashboard graph for the Lightning balance.

Caveat: The Lightning histogram is calculated by using the current channel balance and going backwards through as much invoices and transactions as we have. The "start" of the LN graph data might not be accurate though. That's because we don't track (and not even have) the LN onchain data. It is calculated by using the current channel balance and going backwards through as much invoices and transactions as we have. So the historic graph data for LN is basically a best effort of trying to reconstruct it with what we have: The LN channel transactions.

* More timeframes

* Refactoring: Remove redundant WalletHistogram types

* Remove store property from dashboard tile view models

* JS error fixes
2024-11-05 21:40:37 +09:00
d11n
ff79a31066
Refactoring: Move AppItem to Client lib and use the class for item list (#6258)
* Refactoring: Move AppItem to Client lib and use the class for item list

This makes it available for the app, which would otherwise have to replicate the model. Also uses the proper class for the item/perk list of the app models.

* Remove unused app item payment methods property

* Do not ignore nullable values in JSON

* Revert to use Newtonsoft types
2024-11-05 11:49:30 +09:00
Andrew Camilleri
373b90e3b5
Liquid fixes (#6340)
make sure link provider is per payment method of liquid assets. Also remove ETB as it has been unused. Also hide the send button as it is not supported thrrough BTCPay
2024-10-29 23:43:37 +09:00
d11n
a962e60de9
More Translations (#6318)
* Store selector

* Footer

* Notifications

* Checkout Appearance

* Users list

* Forms

* Emails

* Pay Button

* Edit Dictionary

* Remove newlines, fix typos

* Forms

* Pull payments and payouts

* Various pages

* Use local docs link

* Fix

* Even more translations

* Fixes #6325

* Account pages

* Notifications

* Placeholders

* Various pages and components

* Add more
2024-10-25 22:48:53 +09:00
Nicolas Dorier
e5611f9165
Fix tests (#6333) 2024-10-25 22:23:27 +09:00
nicolas.dorier
81ce8b0469
Fix flaky test 2024-10-23 00:17:02 +09:00
Nicolas Dorier
ad07330bf1
Update CLN support to 24.08.2 (#6323) 2024-10-21 00:25:50 +09:00
Nicolas Dorier
3dfdbf544a
Automated processor get disabled after some repeated failures (#6320) 2024-10-20 00:08:28 +09:00