Commit Graph

1242 Commits

Author SHA1 Message Date
Dennis Reimann
9783a76c38 Fix generated API key color 2020-04-10 09:18:08 +02:00
Dennis Reimann
dbb7ad083a Add alert-link classes where necessary 2020-04-10 09:18:08 +02:00
Andrew Camilleri
d47e225dce
Fix email sending on registration crash (#1454) 2020-04-10 15:59:39 +09:00
Andrew Camilleri
bb24c95e71
delete files on user delete (#1452)
fixes #1451
(I did not do a cascade delete for 2 reasons: Sqlite does not support the migration easily to alter a foreign key AND files would be orphaned in the storage with no record in the db)
2020-04-09 22:17:06 +09:00
Kukks
c7a4158a39 use payjoin key from constants 2020-04-09 14:07:26 +02:00
nicolas.dorier
e3f6de8472
Remove warnings, replace BIP79 by Payjoin, Fix strange error in Accept loop 2020-04-09 20:25:17 +09:00
nicolas.dorier
b203d369fb
Fix payjoin tests 2020-04-08 18:24:04 +09:00
Kukks
2693dacae6 Scan address/bip21 with camera 2020-04-06 11:51:00 +02:00
Nicolas Dorier
79a0f97abb
Merge pull request #1432 from Kukks/api/permission-blob
GreenField: Switch to Blob for API Keys
2020-04-06 17:42:32 +09:00
Nicolas Dorier
670e0ee7df
Merge pull request #1436 from NicolasDorier/remove-rider-errors
Remove bugs reported by Rider
2020-04-06 17:36:07 +09:00
nicolas.dorier
d939baac84
Give more information to the user if payjoin fails 2020-04-06 13:19:51 +09:00
Nicolas Dorier
5f838db281
Merge pull request #1431 from Kukks/api/merge-multiple-swagger
Swagger Generator: Merge multiple documents
2020-04-05 17:36:04 +09:00
nicolas.dorier
4a1fb71e09
Do not print dangerous info in the logs 2020-04-05 12:33:10 +09:00
nicolas.dorier
98e2baae19
Remove bugs reported by Rider 2020-04-05 12:30:23 +09:00
Nicolas Dorier
963c69a0e0
Merge pull request #1321 from Kukks/bpu
BIP79
2020-04-05 12:10:55 +09:00
nicolas.dorier
fd026a9733
Refactor server-side 2020-04-05 12:02:36 +09:00
Kukks
41cc79600a Swagger Generator: Merge multiple documents
It's becoming very hard to edit the swagger file as it grows (especially with multiple PRs altering it). This PR allows the swagger file to be generated from multiple jsons instead which are merged in the controller.
2020-04-04 14:22:07 +02:00
Kukks
c6d75de3d7 GreenField: Switch to Blob for API Keys 2020-04-02 09:32:22 +02:00
Nicolas Dorier
1ba25448cc
Merge pull request #1423 from btcpayserver/feat/new-invoice
New invoice design
2020-03-31 17:33:10 +09:00
Kukks
4d2e59e1a1 Change flow of payjoin in wallet + fix tests 2020-03-30 13:27:04 +02:00
rockstardev
ee0ef2881a Removing extra setting, depending on Custom CSS for bundled themes 2020-03-28 14:10:18 -06:00
Kukks
64717328f6 check output sum of proposed payjoin 2020-03-27 10:45:13 +01:00
Kukks
065be9be64 Revert back to original transaction if payjoined tx does not work 2020-03-27 10:45:13 +01:00
Kukks
10fcfab233 remove bpu TempData 2020-03-27 10:45:13 +01:00
Kukks
59bae2c337 ToHashSet 2020-03-27 10:45:13 +01:00
Kukks
89d9793692 remove support from old ledger websocket 2020-03-27 10:45:13 +01:00
Kukks
23b2f55b47 use nameof 2020-03-27 10:45:13 +01:00
Kukks
d90ffb2254 move payjoin settings to store settings from checkout experience 2020-03-27 10:45:13 +01:00
Kukks
e4cb1a875b Remove tor client factory 2020-03-27 10:45:13 +01:00
Kukks
1a62ee9260 try fix tor socks5 connection 2020-03-27 10:45:12 +01:00
Kukks
56d5e6f99f fixes 2020-03-27 10:45:12 +01:00
Kukks
f1821636db fix tor client creator 2020-03-27 10:45:12 +01:00
Kukks
89da4184ff BIP79 Support 2020-03-27 10:45:12 +01:00
nicolas.dorier
6d7b57ea3b
A api key can always revoke itself, add a route to delete any api key 2020-03-27 14:46:51 +09:00
nicolas.dorier
39a8c3fe47
GreenField: Create API Key 2020-03-27 14:17:31 +09:00
nicolas.dorier
08abda1522
Restrict authentication to the APIController to GreenFieldAPIKeys 2020-03-27 13:34:03 +09:00
nicolas.dorier
afdee9d8a2
Move directories, rename controllers 2020-03-27 12:58:45 +09:00
nicolas.dorier
ac14f199e4
Renaming GreenField classes 2020-03-27 12:55:21 +09:00
rockstardev
a6ac67963e Adding setting to CheckoutExperience to pick checkout theme 2020-03-26 19:49:00 -05:00
Nicolas Dorier
e36338d903
Merge pull request #1403 from Kukks/basic-auth
Greenfield API: Basic Auth
2020-03-25 21:00:14 +09:00
Kukks
ca00caa4a4 Do not allow 0 amount invocies for crowdfund and payment requests 2020-03-24 23:43:56 -05:00
Kukks
36bd76248b Allow Pay Button to work on Apps
This PR allows you to use the pay button generator to create buttons that target apps. This means that you can generate an invoice that is linked to an item on the POS/Crowdfund (targeting the item is optional). The POS/Crowdfund item amount -> invoice creation amount validation works too so that the user cannot modify the amount of a perk using just html ( fixes #1392 )
2020-03-24 23:43:47 -05:00
Kukks
7899c2d5c5 fix test 2020-03-23 21:18:40 +01:00
Kukks
56ba834ca2 Consolidate auth into one 2020-03-23 16:46:49 +01:00
Nicolas Dorier
40953ef2c6
Merge pull request #1399 from Kukks/coin-selection
New feature: Coin Selection
2020-03-23 14:05:11 +09:00
Kukks
f8f358ebdb add to client, fix tests and doc 2020-03-20 17:14:47 +01:00
Kukks
9d99c32305 add basic auth for greenfield 2020-03-20 14:07:31 +01:00
nicolas.dorier
7e7f0053e2
Improve documentation 2020-03-20 20:25:10 +09:00
nicolas.dorier
d2864ccd7c
Make sure ApiKeyData set all the fields, remove UserId 2020-03-20 20:00:05 +09:00
nicolas.dorier
4666238e38
Fix build 2020-03-20 18:38:21 +09:00
nicolas.dorier
432d6bb261
Update documentation 2020-03-20 14:33:11 +09:00
nicolas.dorier
55516a3253
Remove excessive folders 2020-03-20 14:03:28 +09:00
nicolas.dorier
a0e638d500
Switch from System.Text.Json to Newtonsoft, typify the BTCPayServer.Client 2020-03-20 14:01:51 +09:00
nicolas.dorier
2def9e7bd3
fix build 2020-03-20 13:58:07 +09:00
nicolas.dorier
0bfc12ae3d
Fix build 2020-03-20 13:44:02 +09:00
nicolas.dorier
318d826694
Rename Permissions.Can.. to Policies.Can.. 2020-03-20 13:41:47 +09:00
nicolas.dorier
29a807696b
Refactor permissions of GreenField 2020-03-19 23:43:51 +09:00
Kukks
d6c66d0c03 New feature: Coin Selection
This opt-in feature allows you to select which utxos you want to use for a specific transaction.
2020-03-19 09:44:47 +01:00
nicolas.dorier
eac33d494a
Add logs 2020-03-19 13:34:11 +09:00
nicolas.dorier
2105b44610
Make sure the create user is respecting the disable-registration settings 2020-03-19 13:30:53 +09:00
rockstardev
967b02e373 Commenting out conflicting check 2020-03-18 19:17:15 -05:00
rockstardev
8432cd5477 Adding new check for expected behavior in UsersControllerTests 2020-03-18 19:01:27 -05:00
rockstardev
ccfca65c41 Reverting changes to UsersController because of CanCreateUsersViaAPI test 2020-03-18 18:55:45 -05:00
rockstardev
0a8abaf7d5 Refactoring if condition to ensure CanCreateUser permission
Fixing UsersControllerTests
2020-03-18 18:40:21 -05:00
rockstardev
47c1164003 Adding logging to detect failure of CanManageWallet test
If all logs are present it's possibly issue with TempData
2020-03-18 18:17:21 -05:00
nicolas.dorier
e50e3f662d
Can create user without authentication if there is no admin 2020-03-18 23:10:15 +09:00
nicolas.dorier
540a31207e
Properly validate create user input 2020-03-18 20:51:50 +09:00
nicolas.dorier
132c36df7b
Remove useless routes and info in swagger 2020-03-18 20:25:54 +09:00
nicolas.dorier
e351e0c9ea
Remove dependency on NSwag 2020-03-18 20:08:09 +09:00
Kukks
e99767c7e2 Greenfield API: Create User
Slightly big PR because I started refactoring to reduce code duplication between the UI based business logic and the api one.
2020-03-17 08:21:27 +01:00
Kukks
8173296c96 Greenfield API: Get current User
Builds on #1368
This PR adds a new endpoint: Get current user.. It only returns the current user's id and email for now( let's extend later)
It also adds a new permission: `ProfileManagement` which is needed for this endpoint (and for update endpoints later)
2020-03-12 14:59:24 +01:00
Kukks
233fa8a4a1 BTCPayServer.Client library + Revoke API Key 2020-03-11 16:54:53 +01:00
nicolas.dorier
153992a458
Use good rng for generating API keys 2020-03-10 21:30:46 +09:00
nicolas.dorier
691a8d6fd8
Fix warnings 2020-03-10 21:28:00 +09:00
nicolas.dorier
c598a1827f
Remove misleading error message (Fix #1377) 2020-03-10 16:33:50 +09:00
Nicolas Dorier
ef52d6b4c7
Merge pull request #1352 from Kukks/changelly-fiat
remove changelly fiat option
2020-03-02 18:10:50 +09:00
Nicolas Dorier
99f47e2848
Merge pull request #1360 from Kukks/pay-button-modal
Modal option for Pay Button
2020-03-02 18:10:14 +09:00
Nicolas Dorier
b282a70534
Merge pull request #1351 from Kukks/api/api-keys-get
GreenField API #1: Get current API Key info
2020-03-02 18:06:34 +09:00
rockstardev
56380a5fb3 Formatting code 2020-02-28 23:15:14 -06:00
rockstardev
a303e793b4 Fixing CanCreateApiKeys test admin user check 2020-02-28 23:15:06 -06:00
rockstardev
fca6b39681 Revert "Remove the next address to pay to from Invoice details page (Fix #1056) (#1283)"
This reverts commit 6848482999.
2020-02-28 16:30:57 -06:00
Kukks
c3bfce7656 Modal option for Pay Button
closes #796
2020-02-28 16:01:44 +01:00
Kukks
9eac33793a GreenField API #1: Get current API Key info 2020-02-26 16:20:32 +01:00
Nicolas Dorier
18aaa1a0c4
Merge pull request #1341 from btcpayserver/swagger
Add Swagger and Redoc
2020-02-26 19:02:35 +09:00
Kukks
e7eea1036b make api key delete use confirm page 2020-02-26 10:26:38 +01:00
Kukks
0c7f35b000 fix swagger gen 2020-02-26 09:17:50 +01:00
Kukks
b71fd1653e remove changelly fiat option
closes #728
2020-02-25 16:44:19 +01:00
Kukks
ec80787120 fix 2020-02-25 15:33:04 +01:00
Kukks
0a8b303c11 add label for api keys, make api keys without -, fix null exception on authorize 2020-02-25 14:43:53 +01:00
nicolas.dorier
fec5637040
Replace Datetime.UTCNow by entity.InvoiceTime 2020-02-25 17:22:39 +09:00
nicolas.dorier
5cbe61e2e0
Allow user to set the expirationTime of invoice via the API (Fix #1336) 2020-02-25 17:21:08 +09:00
Kukks
023e64704d Add Swagger and Redoc
Blocked by #1262
2020-02-24 19:04:04 +01:00
Andrew Camilleri
276a9a95f9
Remove OpenIddict (#1244) 2020-02-25 00:40:04 +09:00
Andrew Camilleri
fa51180dfa
Api keys with openiddict (#1262)
* Remove OpenIddict

* Add API Key system

* Revert removing OpenIddict

* fix rebase

* fix tests

* pr changes

* fix tests

* fix apikey test

* pr change

* fix db

* add migration attrs

* fix migration error

* PR Changes

* Fix sqlite migration

* change api key to use Authorization Header

* add supportAddForeignKey

* use tempdata status message

* fix add api key css

* remove redirect url + app identifier feature :(
2020-02-24 22:36:15 +09:00
nicolas.dorier
a3e7729c52
Remove warnings 2020-02-24 22:12:50 +09:00
hannes
f097ecdc80
fix: remove ipn via email #1241 (#1337)
* fix: remove ipn via email #1241

* fix: remove ipn via email #1241
2020-02-24 21:21:03 +09:00
Andrew Camilleri
a354f7d9dd
add GET endpoint for pay button (#1349)
closes #889
2020-02-24 21:18:04 +09:00
Andrew Camilleri
34702d2633
Revoke Legacy Api Keys (#1344)
closes #1333
2020-02-21 13:40:00 +09:00
Andrew Camilleri
db6a4687d2
Wallet prep work for BPU (#1331)
* Wallet prep work for BPU

This PR prepares the wallet for #1321. It makes transfers from the vault and ledger to go to their own post actions for processing (not particularly useful in this PR but is needed in BPU to propose a new tx)  It also makes the Sign with seed consistent with redirect to /psbt/ready after signing which it did not do (it stayed on the seed route)

* fix test

* add assert
2020-02-13 22:06:00 +09:00
Andrew Camilleri
07f0d95f56
BIP21 Support for Wallet spending (#1322)
* BIP21 Support for Wallet spending

* extract bip21 loading to method

* add bip21 parsing test
2020-02-13 17:18:43 +09:00
Kukks
66488d813b Fixes #1324 store token revoke redirect error 2020-02-07 08:23:00 +01:00
rockstardev
496a6f0f55 Special page to handle 429 errors 2020-02-01 01:59:56 -06:00
rockstardev
fb2a0fb7fb Special page to handle 500 errors 2020-02-01 01:58:17 -06:00
rockstardev
ef503fa907 Special page to handle 404 errors 2020-02-01 01:41:27 -06:00
rockstardev
fe2eca4fda Adding prettier error handling page in the pipeline 2020-02-01 01:40:50 -06:00
Andrew Camilleri
06f1c17a5f Make unused assets in store settings collapsed (#1310) 2020-01-26 19:45:24 +09:00
rockstardev
652b958d4f Removing viewapp command now that we directly redirect in cshtml 2020-01-24 15:11:34 -06:00
rockstardev
a83edce4dc Updating idents, code formatting 2020-01-23 20:19:24 -06:00
rockstardev
f99058a9fa Adding code comment for review 2020-01-23 20:18:33 -06:00
Andrew Camilleri
086cbaa231 Add clightning rest services page (#1297)
* Add clightning rest services page

* fix rebase
2020-01-23 22:20:37 +09:00
Andrew Camilleri
b42e4f240a Fix (#1301)
* Fix seed signing validation

* fix ident
2020-01-23 22:02:37 +09:00
nicolas.dorier
d0bfa67495
Fix build 2020-01-21 21:04:35 +09:00
nicolas.dorier
bdb2edba12
Fix U2F signing 2020-01-21 21:00:34 +09:00
Andrew Camilleri
1bfe9dda97 Integrate Configurator External Service (#1190) 2020-01-21 18:27:10 +09:00
Andrew Camilleri
8e6f43cd3a Sign with NBX Seed (#1218) 2020-01-21 17:33:12 +09:00
Nicolas Dorier
6848482999
Remove the next address to pay to from Invoice details page (Fix #1056) (#1283) 2020-01-21 16:53:24 +09:00
nicolas.dorier
a2be7ee471
Fix statusMessage handling for the Receive wallet page 2020-01-18 15:32:01 +09:00
Andrew Camilleri
025da0261d new feature: Wallet Receive Page (#1065)
* new feature: Wallet Receive Page

closes #965

* Conserve addresses by waiting till address is spent before generating each run

* fix tests

* Filter by cryptocode before matching outpoint

* fix build

* fix edge case issue

* use address in keypathinfo directly

* rebase fixes

* rebase fixes

* remove duplicate code

* fix messy condition

* fixes

* fix e2e

* fix
2020-01-18 14:12:27 +09:00
nicolas.dorier
9b165de5e6
Remove CoinAverage integration 2020-01-17 14:29:22 +09:00
nicolas.dorier
7d545ca682
Remove ability to set custom cache, fix coinaverage not really using coinaverage 2020-01-17 14:16:12 +09:00
nicolas.dorier
bf614cd322
Make sure the payment button does not error 500 if node not ready (Fix #1180) 2020-01-16 16:25:37 +09:00
Andrew Camilleri
c269dee980 Liquid changes (#1281)
Add assetid to bip21 for liquid
change liquid icons
change liquid asset name
change currency code displayed in checkout to one set in network
2020-01-16 15:01:01 +09:00
Andrew Camilleri
36f980135f fix broken url (#1275)
* fix broken url

* fix test
2020-01-14 22:06:46 +09:00
Kukks
389695751f add u2f tests 2020-01-14 11:47:24 +01:00
Kukks
dad3039c06 throw on non-u2f specific errors 2020-01-14 09:49:51 +01:00
nicolas.dorier
5dbdb4b399
Keep coinaverage compatibility, improve UX, hardcode feed provider supported exchanges 2020-01-13 23:37:01 +09:00
Kukks
58d9a48787
CoinGecko Rate Provider
The CoinGecko rate provider is similar to the bitcoin average one, in that you can ask it for a rate from its aggregated sourcing or you can get rates from specific exchanges. I've added support for both.
I haven't integrated it or replaced coinaverage just to see if we should use it as the default and switch everyone to it or what other action to take.
2020-01-13 20:20:00 +09:00
nicolas.dorier
60e0f775ed
Remove useless dependencies 2020-01-12 16:05:01 +09:00
nicolas.dorier
d3408b91be
bump libraries 2020-01-12 15:32:26 +09:00
nicolas.dorier
63c4ec1809
Reactivate GoogleCloudStorage 2020-01-12 13:55:41 +09:00
nicolas.dorier
3449bba4b3
Reactivate google storage 2020-01-12 13:39:42 +09:00
nicolas.dorier
d94b016e63
Add google storage at build time 2020-01-12 13:34:29 +09:00
nicolas.dorier
629dfcf152
Cleanup netcore21 specific code 2020-01-12 13:30:54 +09:00
Nicolas Dorier
df617d5186
Merge pull request #1258 from NicolasDorier/migration/netcore31
Switch to .netcoreapp3.1
2020-01-11 15:03:51 +09:00
nicolas.dorier
18a2c1a00f
Remove warning 2020-01-11 13:12:41 +09:00
Nicolas Dorier
33c65a6548
Merge pull request #1246 from Kukks/generate-wallet-message
add error message on generate wallet failure
2020-01-10 20:03:59 +09:00
Rockstar Developer
28c441924a
Merge pull request #1242 from jlopp/varFix
Fix variable spelling
2020-01-06 21:44:17 -06:00
Kukks
fa916d4862 Liquid: Show limited wallet pages 2019-12-29 17:08:30 +01:00
Kukks
1973647b51 add error message on generate wallet failure 2019-12-29 16:43:55 +01:00
Jameson Lopp
12133cd7d3
fix variable spelling 2019-12-27 14:32:43 -05:00
Andrew Camilleri
4d7480db15 Liquid & Liquid Assets Support (#1118) 2019-12-24 16:20:44 +09:00
nicolas.dorier
aa459d0ff3
Make it mandatory for the user to set the master fingerprint in the wallet settings for seed signing. Improve error messages. 2019-12-23 23:08:41 +09:00
nicolas.dorier
47eb087d1b
Rename CanGenerateWallet to CanUseHotWallet, small refactoring on generatewallet 2019-12-18 22:28:03 +09:00
Kukks
9142c48a0b return correct view 2019-12-16 09:38:00 +01:00
Kukks
45e139c5b7 define view 2019-12-16 09:35:41 +01:00
Kukks
6706658377 add policy to restrict generate wallet usage 2019-12-16 09:32:43 +01:00
Kukks
7d2dc45dfb fix ident 2019-12-16 09:01:27 +01:00
Kukks
f284ef9052 Add generate wallet e2e test 2019-12-16 09:01:27 +01:00
Kukks
80790bd9b0 fixes 2019-12-16 09:00:41 +01:00
Kukks
2da9434571 init work 2019-12-16 09:00:00 +01:00
nicolas.dorier
579e0d2e09
Do not crash if empty destination is entered on WalletSend 2019-12-11 13:05:59 +09:00
nicolas.dorier
33703b83a3
Fix device not found with Trezor T 2019-12-10 23:52:48 +09:00
Nicolas Dorier
5d87dd5861
Merge pull request #1219 from bolatovumar/fix-1217
[Wallet] Show invalid address message when address is invalid
2019-12-10 21:39:43 +09:00
nicolas.dorier
540cb912f3
Can display address on device at confirmation screen 2019-12-10 21:22:46 +09:00
nicolas.dorier
93f490f570
Fix pin entry 2019-12-10 20:10:13 +09:00
nicolas.dorier
12055a000b
Proper handling of passphrase for Trezor T 2019-12-10 18:16:52 +09:00
Umar Bolatov
6addb3e481
[Wallet] Show invalid address message when address is invalid
fix #1217
2019-12-07 21:20:42 -08:00
Nicolas Dorier
1c8206c749
Merge pull request #1214 from MrPaz/feature/satsfix
Fixing sats exchange rate display
2019-12-07 17:18:54 +09:00
nicolas.dorier
2d932ebb21
Update to runtime .NET 2.1.14 2019-12-07 16:35:13 +09:00
nicolas.dorier
0e0fa53517
Prompt passphrase for trezor T 2019-12-05 22:47:07 +09:00
nicolas.dorier
1d70d935b8
Provide better details for unknown error (#1208) 2019-12-05 22:03:35 +09:00
Matt Pazar
eb85b1a7b4 Fixing sats exchange rate display
Fixed #1147
2019-12-04 14:21:33 -06:00
nicolas.dorier
84d943d6cc
Trying to fix TrezorT 2019-12-04 22:12:38 +09:00
nicolas.dorier
a1d82b0e8b
fix bug if selecting segwit with vault 2019-12-04 21:52:48 +09:00
nicolas.dorier
544597348b
Fix inverted boolean logic 2019-12-04 17:19:25 +09:00
nicolas.dorier
1559c510be
Trying to handle Trezor T correctly 2019-12-04 17:16:37 +09:00
nicolas.dorier
3e08581e9b
Fix fetching xpub for trezor 2019-12-04 16:34:25 +09:00
nicolas.dorier
50e7d8389c
Vault: Allow user to pick the account number 2019-12-04 15:54:08 +09:00
nicolas.dorier
5d7b253edd
Fix bug: Vault option now showing up in PSBT 2019-12-03 18:57:07 +09:00
nicolas.dorier
a3fc75ea3b
Show proper error message if the keypath in wallet settings is not good (Fix #1209) 2019-12-03 14:26:52 +09:00
nicolas.dorier
71a8166027
Handle "pin already prompted" error. (Fix #1209) 2019-12-03 13:53:58 +09:00
Kukks
bc2a039ea2 bump nbx and make balance return decimal 2019-12-02 09:57:38 +01:00
Kukks
e31e600144 update nbx + prep bitcoin payment data ctor change 2019-12-01 15:30:56 +01:00
nicolas.dorier
fa61c2bcdd
Add error for invalid network 2019-11-30 23:33:42 +09:00
nicolas.dorier
d2357ee8b9
Do not ask for Pin on Trezor T 2019-11-25 11:50:49 +09:00
nicolas.dorier
287fbc523f
Asks pin and passphrase if device is not ready 2019-11-24 22:51:13 +09:00
nicolas.dorier
1b58058796
Refactoring 2019-11-22 19:19:05 +09:00
nicolas.dorier
98276bcb3d
Remove useless try/catch 2019-11-22 19:16:32 +09:00
nicolas.dorier
eef623fb4b
Ask passphrase when appropriate (Fix #1185) 2019-11-22 19:13:04 +09:00
nicolas.dorier
1a8d6e5c05
Implement BTCPayServer vault derivation scheme import 2019-11-21 14:06:16 +09:00
nicolas.dorier
0fcfe0e977
Can prune wallet transaction history 2019-11-17 17:13:09 +09:00
Nicolas Dorier
06365b7b73
Merge pull request #1158 from Kukks/register-login-secure-lock
Do not allow login or register over an insecure connection
2019-11-16 18:15:16 +09:00
Kukks
22ffd48cd4 refactor 2019-11-16 08:57:16 +01:00
nicolas.dorier
8ebac28ccf
Fix tests 2019-11-16 15:07:02 +09:00
nicolas.dorier
84fe14a1ed
Test LND Seed Backup service and Logs. Use the Confirm View instead of poppup 2019-11-16 14:06:37 +09:00
Kukks
f1cef81d76 Do not allow login or register over an insecure connection 2019-11-15 12:39:17 +01:00
nicolas.dorier
2bfea50014
Update NBXplorer 2019-11-15 18:53:20 +09:00
nicolas.dorier
89539fca01
Fix build 2019-11-15 18:20:10 +09:00
nicolas.dorier
240f6fa45a
Allow /rates to pass storeId 2019-11-15 18:10:14 +09:00
nicolas.dorier
c004065eea
Apply some lipstick on the lnd seed backup 2019-11-15 17:55:55 +09:00
rockstardev
7bce316e78 Merge branch 'master' into feature/lndseedbackup 2019-11-14 21:02:56 -06:00
rockstardev
9b3e7338ba Fixing broken CrowdfundTests.CanContributeOnlyWhenAllowed test 2019-11-14 20:56:28 -06:00
Nicolas Dorier
04fbe42bda
Merge pull request #1139 from bolatovumar/issue-1138
Vary page layout for registering new accounts
2019-11-14 23:58:37 +09:00
nicolas.dorier
57a6949565
Fix View app on Crowdfunding (#1141) 2019-11-14 21:13:41 +09:00
nicolas.dorier
bcb85e2084
Errors not working in PointOfSale (#1141) 2019-11-14 20:55:18 +09:00
Nicolas Dorier
fef1bde9b6
Merge pull request #1151 from NicolasDorier/update/nbxplorerclient
Bump NBXplorer.Client
2019-11-13 14:45:10 +09:00
nicolas.dorier
eb87d7cadc
Bump NBXplorer.Client 2019-11-13 13:51:06 +09:00
Nicolas Dorier
0f0b846e04
Merge pull request #1032 from bolatovumar/fix-1029
Retain store ids when filtering invoices
2019-11-11 21:00:42 +09:00
rockstardev
9c165d84ef Removing LND seed information from walletunlock.json 2019-11-10 06:12:32 -06:00
rockstardev
58b834fe9d Displaying information from walletunlock.json if file is present 2019-11-10 06:12:32 -06:00
rockstardev
2b1aac9aa9 Service page for LND Seed Backup 2019-11-10 06:12:32 -06:00
Umar Bolatov
dfdb99165b
Vary page layout for registering new accounts
address #1138
2019-11-09 21:24:19 -08:00
nicolas.dorier
563e95df7c
Fix tests 2019-11-08 21:42:34 +09:00
nicolas.dorier
5b37a9df0b
Make sure we don't pass the psbt in GET url 2019-11-08 21:21:23 +09:00
Umar Bolatov
0f7458254e
Retain store ids when filtering invoices 2019-11-07 18:14:38 -08:00
nicolas.dorier
aab7c08500
Unify StatusMessage handling 2019-11-07 18:59:51 +09:00
nicolas.dorier
d37abb53f0
Fix status message when a model is passed 2019-11-07 18:20:17 +09:00
nicolas.dorier
656a3956b1
Fix strange message in PaymentRequests (Fix #1130) 2019-11-07 17:59:35 +09:00
nicolas.dorier
c31e7593b6
Add label to FullyNoded 2019-11-07 17:08:24 +09:00
nicolas.dorier
b85667a191
Fix status message of PaymentRequest 2019-11-07 16:19:36 +09:00
nicolas.dorier
d757aa2978
Fix typo 2019-11-07 15:48:56 +09:00
nicolas.dorier
cf7bba9600
Fix services if there is more than one tor external services 2019-11-07 15:41:39 +09:00
nicolas.dorier
57b87a55bc
Show Bitcoin RPC service 2019-11-07 14:33:10 +09:00
Umar Bolatov
0a9290a980
Make recommended fee confirmation target configurable
Address #1110
2019-11-06 16:21:33 -08:00
nicolas.dorier
06c3f01e41
Improve message in Maintainance page 2019-11-06 16:17:03 +09:00
Nicolas Dorier
d392880102
Merge pull request #1121 from NicolasDorier/ux/login-register
Add sponsor and new design to the login and registration page
2019-11-06 15:29:36 +09:00
nicolas.dorier
55dd8da284
Redirect first run to register, redirect unlogged to login 2019-11-06 15:19:14 +09:00
nicolas.dorier
2d80dbfa8f
Custom logo and custom url for checkout page should accept any string (relative path) (Fix #1124) 2019-11-06 12:02:13 +09:00
rockstardev
a126ec1718 Renaming to LndServiceViewModel, used both by grpc and rest 2019-11-03 13:18:09 -06:00
nicolas.dorier
9ecb27a9bd
Fix and test /api-tokens (fix https://github.com/btcpayserver/woocommerce-plugin/issues/34) 2019-11-03 16:17:28 +09:00
nicolas.dorier
28cc4facd4
Redesign confirm form 2019-11-03 15:20:25 +09:00
nicolas.dorier
d66e8f2d13
Removing obsolete StatusMessage 2019-10-31 15:19:38 +09:00
nicolas.dorier
aad586232c
Refactor StatusMessage and remove ExternalLogin 2019-10-31 14:11:33 +09:00
nicolas.dorier
2249ee195a
Catch websockets exceptions 2019-10-23 16:11:20 +09:00
nicolas.dorier
1174178771
Remove reliance on ambient routing values 2019-10-23 13:52:22 +09:00
nicolas.dorier
f3461bfbe6
Show success message when derivation scheme is updated 2019-10-21 13:24:13 +09:00
nicolas.dorier
eac4c91820
Move Bitpay authentication class in BTCPayServer.Security 2019-10-19 00:54:20 +09:00
nicolas.dorier
da2e8665a1
Remove unused scope, assert policy on store listing 2019-10-18 23:42:06 +09:00
nicolas.dorier
c5ba063edf
Move OpenId folder 2019-10-18 21:36:32 +09:00
nicolas.dorier
3c9b58916b
Update to OpenIddict3.0 2019-10-18 19:02:23 +09:00
Umar Bolatov
c908301b84 Add option to show recommeded fee on checkout invoice
Address #1036
2019-10-14 10:09:26 -07:00
nicolas.dorier
281a2461ad
Refactor authorizations 2019-10-14 00:24:41 +09:00
nicolas.dorier
fda6a1a77b
Use ClaimTransformer instead of Authentication's JWT 2019-10-10 19:46:29 +09:00
nicolas.dorier
536f98b566
Fix entity framework queries to work in netcoreapp3.0 2019-10-06 15:48:12 +09:00
nicolas.dorier
ccc2d0e13c
Exclude Google Cloud Storage for .netcoreapp3.0, it depends on System.Interactive.Linq which create namespace conflict with the new AsyncEnumerable 2019-10-04 17:56:08 +09:00
nicolas.dorier
c2032ee15b
Prepare the Authentication controller for .netcoreapp3.0 2019-10-04 17:21:53 +09:00
nicolas.dorier
724a5b5460
Prepare code to move to netcoreapp3.0 2019-10-04 17:17:11 +09:00
nicolas.dorier
a56004fbef
Remove a warning on .netcoreapp3.0 2019-10-03 18:15:08 +09:00
nicolas.dorier
e75edac3c1
Make .netcoreapp 3.0 build happy 2019-10-03 18:00:07 +09:00
nicolas.dorier
4d84343a80
Prepare BTCPayServer for .netcore 3.0 2019-10-03 17:06:49 +09:00
rockstardev
7282199c31 Cleanup U2F namespace to correspond to folder path 2019-10-02 12:32:41 -05:00
Andrew Camilleri
d66b111121 xmr (#1044) 2019-09-30 17:32:43 +09:00
Andrew Camilleri
3366c86b16 Authorize granular permissions (#1057)
* granular scope permissions for api

* final fixes and styling

* prettify code

* fix missing policy
2019-09-29 16:23:31 +09:00
nicolas.dorier
1c2c3ede80
Update help link 2019-09-29 16:12:03 +09:00
Kukks
f3aa67e0f1 make invoice repository able to query more extensively 2019-09-21 17:07:48 +02:00
nicolas.dorier
2f918b1195
Fix SSH settings not correctly applied 2019-09-20 19:33:23 +09:00
Umar Bolatov
438fc34ad2 Replace pay button PNG image with an SVG and add 2x res version (#1034)
fix #1030
2019-09-20 19:14:08 +09:00
nicolas.dorier
9e107b1eb1
Try to read the authorized keys file from the configuration 2019-09-20 18:51:14 +09:00
nicolas.dorier
a2cb6178b8
Can edit authorized_keys in SSH Services, remove download keyfile support 2019-09-19 19:17:20 +09:00
Andrew Camilleri
7ab97311be Re-enable lightning sats feature through C# (#1014) 2019-09-11 14:49:06 +09:00