Commit Graph

5503 Commits

Author SHA1 Message Date
Umar Bolatov
ac34109da3
Support preview/codegen for custom currencies in pay button (#2896) 2021-09-22 13:10:52 +09:00
Umar Bolatov
d5c96eee32 Add test 2021-09-21 09:45:41 +02:00
Umar Bolatov
7b252369e9 Add GetPOSItems method 2021-09-21 09:45:41 +02:00
Umar Bolatov
9d48358f2a Rename Unavailable to Disabled 2021-09-21 09:45:41 +02:00
Umar Bolatov
2dcd7db797 Filter unavailable items in controller 2021-09-21 09:45:41 +02:00
Umar Bolatov
c267cf0e9c Rename "hidden" to "unavailable" 2021-09-21 09:45:41 +02:00
Umar Bolatov
403820cf14 Add ability to hide a product from POS app
See discussion here: https://github.com/btcpayserver/btcpayserver/discussions/2827
2021-09-21 09:45:41 +02:00
nicolas.dorier
6d667e2d78
bump redoc 2021-09-21 12:52:31 +09:00
nicolas.dorier
258a19fdf5
Make CSP more specific for docs 2021-09-21 12:47:46 +09:00
nicolas.dorier
1a593a1ced
Fix documentation page broken by CSP 2021-09-21 12:43:50 +09:00
Pavlenex
b8ac57a5b3
Merge pull request #2893 from bolatovumar/fix/show-qr-padding
Remove padding from "Show QR" button
2021-09-20 11:37:48 +02:00
Umar Bolatov
b93f3ff445
Remove padding from "Show QR" button 2021-09-18 21:31:23 -07:00
Umar Bolatov
5984edb7f4
Disallow cancelling payment request when "Allow payee to create invoices in their own denomination" is not enabled (#2843)
* Disallow cancelling payment request when "Allow payee to create invoices in their own denomination" is not enabled

close #2802

* Disallow cancelling pending invoice on BE

* Update non-JS version of payment request view to disallow cancelling

* Update CanCancelPaymentWhenPossible

* Fix typo
2021-09-17 10:24:48 +09:00
Dennis Reimann
603bd2692e Summernote: Fix source map reference; remove unused files 2021-09-16 07:30:33 +02:00
Umar Bolatov
2e61bdf88f Update swagger example 2021-09-16 07:29:18 +02:00
Umar Bolatov
e6aa73197a Move GetDefaultPaymentId out of InvoiceExtensions 2021-09-16 07:29:18 +02:00
Umar Bolatov
b2f9353be1 Add tests 2021-09-16 07:29:18 +02:00
Umar Bolatov
5cba59932b Add ability to specify default payment method through Greenfield API 2021-09-16 07:29:18 +02:00
Umar Bolatov
809340e629 Add ability to select default payment method for invoice through UI 2021-09-16 07:29:18 +02:00
Kukks
bb6a188883 bump nbx in both docker compose envs 2021-09-16 07:19:54 +02:00
dstrukt
24674d354c removes slack + updates columns 2021-09-16 07:18:31 +02:00
Kukks
e93562b1db Do not publish NewTransactionEvent if GetValidOutputs did not match with the network's. 2021-09-15 07:28:17 +02:00
Kukks
f7099cf6aa Bump NBX and elements 2021-09-15 07:28:17 +02:00
Umar Bolatov
d88f012d82
Improve warning when creating invoice without wallet (#2844)
* Improve warning when creating invoice without wallet

close #2834

* Update link class name
2021-09-13 14:24:10 +09:00
d11n
f96767d3dc
Bootstrap update (#2870)
* Update Bootstrap

* Fix notification checkbox styling
2021-09-13 14:23:10 +09:00
d11n
6666786b7a
Unify Fido2 authentication under two-factor tab (#2866)
* Unify Fido2 authentication under two-factor tab

Closes #2754.

* Improve UI and wording

* Improve register FIDO2 device page
2021-09-13 10:16:52 +09:00
nicolas.dorier
eccbe8e018
Sanitize UrlRoot in PayButton 2021-09-12 20:33:51 +09:00
d11n
aac87539ae
Fix pay button CSP issue when using modal (#2872)
* Fix pay button CSP issue when using modal

Fixes #2864.

* Use event handler, refactor csp tags

* Fix script indentation

* Fix onsubmit event handler integration

Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
2021-09-12 20:31:35 +09:00
nicolas.dorier
a8995d2bed
Fix unit test fail bc shitcoin 2021-09-10 15:35:51 +09:00
nicolas.dorier
7f40698bba
Fix interactive XSS when entering javascript: in store's website. 2021-09-10 10:56:48 +09:00
nicolas.dorier
c4f4c3138c
Update Changelog 2021-09-10 00:27:27 +09:00
nicolas.dorier
3b9c7db481
The page could crash if the user clicks too many time on Notificate 'Mark as Seen' 2021-09-10 00:22:33 +09:00
nicolas.dorier
649f650da6
Fix build 2021-09-10 00:16:28 +09:00
nicolas.dorier
4c83265de4
Update Changelog 2021-09-10 00:14:45 +09:00
nicolas.dorier
ad7b62fa3d
Fix CSP when there is a theme 2021-09-10 00:14:26 +09:00
d11n
650df97e50
Fix Summernote XSS possibility (#2859) 2021-09-09 22:49:30 +09:00
nicolas.dorier
6f75125cf5
bump 2021-09-09 22:17:46 +09:00
nicolas.dorier
26c05a8d5f
Changelog 2021-09-09 22:17:22 +09:00
Nicolas Dorier
fc4e47cec6
Add CSP at the website level (#2863) 2021-09-09 21:51:28 +09:00
nicolas.dorier
c39f1341aa
Fix warnings 2021-09-09 20:31:35 +09:00
Kukks
a39d1e0886 fix broken plugin page 2021-09-09 13:12:44 +02:00
Dennis Reimann
435f51a777 Fix for crowdfund perk editor
With no title entered, the editor got stuck in an endless loop, because it recursively invoked the save function without checking for the ID fallback being present.

Fixes #2862.
2021-09-09 10:59:03 +02:00
nicolas.dorier
de2c12c1df
Fix warning 2021-09-08 18:45:12 +09:00
nicolas.dorier
ae43af999b
update HWI lib 2021-09-08 18:27:36 +09:00
Nicolas Dorier
14a10eeef8
Remove useless code (#2852) 2021-09-07 19:18:56 +09:00
Umar Bolatov
180be49824 Add "#nullable enable" 2021-09-07 10:39:36 +02:00
Umar Bolatov
5faa756f1c Add check for empty theme URI before saving theme settings 2021-09-07 10:39:36 +02:00
d11n
06db29dd43
Delete confirmation modals (#2614)
* Refactor confirm view: separate modal

* Add delete confirmation modals for apps and FIDO2

* Add delete confirmation modals for 2FA actions

* Add delete confirmation modals for api keys and webhooks

* Add delete confirmation modals for stores and store users

* Add delete confirmation modals for LND seed and SSH

* Add delete confirmation modals for rate rule scripting

* Test fixes and improvements

* Add delete confirmation modals for dynamic DNS

* Add delete confirmation modals for store access tokens

* Add confirmation modals for pull payment archiving

* Refactor confirm modal code

* Add confirmation input, update wording

* Update modal styles

* Upgrade ChromeDriver

* Simplify and unify confirmation input

* Test fixes

* Fix wording

* Add modals for wallet replace and removal
2021-09-07 11:55:53 +09:00
Andrew Camilleri
6d317937c7
Do not generate payment methods when 0 amount invoice (#2776)
* Do not generate payment methods when 0 amount invoice

* Add test for 0 amoutn invoices
2021-09-07 00:23:41 +09:00
Umar Bolatov
522c990278 Allow creating top-up invoice when min/max payment amount criteria is active
closes #2831
2021-09-06 10:44:10 +02:00