Commit Graph

803 Commits

Author SHA1 Message Date
Nicolas Dorier
3cefd7bd1e
Merge pull request #467 from Kukks/feature/coinswitch
CoinSwitch Integration
2019-01-07 19:11:55 +09:00
Kukks
c63feb488c Merge remote-tracking branch 'btcpayserver/master' into feature/crowdfund 2019-01-07 10:58:52 +01:00
Kukks
12c418d84d Add Node Info Page 2019-01-07 09:52:27 +01:00
nicolas.dorier
4b982f815c Renaming 2019-01-07 15:35:18 +09:00
Nicolas Dorier
d4d3346b6d
Merge pull request #463 from sipsorcery/455-disablereg
Set disable registration as default true
2019-01-07 15:20:04 +09:00
Aaron Clauson
6010a103e0 Added new disable-registration command line option. 2019-01-06 16:43:55 +01:00
Aaron Clauson
5dc1da2af0 Don't disable user registrations if debug for unit tests. 2019-01-06 14:55:18 +01:00
Kukks
f2ccc4d963 Add sanity check in loading crowdfun 2019-01-06 14:44:51 +01:00
Kukks
b633206b45 add helpful texts 2019-01-06 14:28:53 +01:00
Kukks
20a6b3fc33 Merge remote-tracking branch 'btcpayserver/master' into feature/crowdfund 2019-01-06 10:25:24 +01:00
Nicolas Dorier
540414d8f5
Merge pull request #495 from Kukks/crowdfund-part-3
Enhance Invoice Events
2019-01-06 18:14:56 +09:00
Kukks
5076d73695 Enhance Invoice Events 2019-01-06 10:12:45 +01:00
Aaron Clauson
d88735f84e Merge remote-tracking branch 'upstream/master' into 455-disablereg 2019-01-06 10:05:33 +01:00
Kukks
40c85d6104 Expand Invoice Searching 2019-01-06 10:00:55 +01:00
Kukks
1eecd85ceb Merge branch 'master' into feature/crowdfund 2019-01-06 09:26:58 +01:00
Kukks
6e7f1151bc bug fixes and optimizations 2019-01-05 19:47:39 +01:00
Kukks
ba17612461 Link to associated invoices 2019-01-05 10:17:52 +01:00
Kukks
7e321d4016 expand list invoices search 2019-01-05 09:49:06 +01:00
nicolas.dorier
a05cd5678b Add support for removing network fee on first payment 2019-01-05 17:45:49 +09:00
Kukks
2ccf007b9a fix permissions 2019-01-05 09:38:27 +01:00
Kukks
895b8c2c80 ux fixes 2019-01-05 09:18:15 +01:00
nicolas.dorier
0f175174f6 Rename TxFee to NetworkFee and save the Network Fee of each payment under PaymentEntity 2019-01-05 13:31:05 +09:00
Kukks
493466683c start adding UTs 2019-01-04 16:42:35 +01:00
Kukks
761c342c51 add validation 2019-01-04 13:47:06 +01:00
Kukks
5341da28d9 add date time picker 2019-01-04 12:58:29 +01:00
Kukks
7768f41849 add reset every x amount of time feature 2019-01-04 11:42:37 +01:00
Kukks
e4b9895ba7 add rich text and options 2019-01-02 12:47:06 +01:00
Kukks
bfec722312 protect contrib endpoint when needed 2019-01-02 11:29:47 +01:00
Kukks
2245027ca3 ux fixes 2018-12-31 12:34:27 +01:00
Kukks
3dc250f801 Add Disqus & fix ux 2018-12-31 11:38:05 +01:00
Kukks
6eb36abe2e start contrib perks 2018-12-29 11:52:07 +01:00
Kukks
35f4ea29f9 more integration 2018-12-28 17:38:20 +01:00
Kukks
444e761d41 Merge remote-tracking branch 'btcpayserver/master' into feature/coinswitch 2018-12-28 12:33:55 +01:00
Kukks
8bcf7109a3 integrate invoice popup 2018-12-28 12:07:15 +01:00
Kukks
c7e2f979dd Merge remote-tracking branch 'btcpayserver/master' into feature/crowdfund 2018-12-27 20:19:29 +01:00
Kukks
e97bb9c933 work on vue and signalr fro crowdfund 2018-12-27 20:19:21 +01:00
Mario Dian
f87339f9fa Change CustomTipPercentages type to int[] 2018-12-27 12:57:31 +08:00
Mario Dian
5f5e5e3211 Add missing AppId 2018-12-27 12:57:31 +08:00
Mario Dian
c7e90cd7df New PoS design 2018-12-27 12:57:31 +08:00
nicolas.dorier
9db77e6351 Rewrite and comment non obvious code for ledger 2018-12-26 15:10:00 +09:00
nicolas.dorier
81c9ce7284 Limit the number of time the wallet need to export the xpub 2018-12-26 15:04:11 +09:00
nicolas.dorier
caa6978d80 Save the KeyPath of the WalletKeyPathRoot of the hardware wallet so we don't have to scan for it 2018-12-26 14:04:00 +09:00
nicolas.dorier
af22d6a4e3 Remove preliminary test to know if the ledger can handle the store. If it can't signing will fail anyway. 2018-12-25 19:33:03 +09:00
Kukks
8c00a2359e better layout 2018-12-22 15:43:40 +01:00
Kukks
d1ff34d16d add minimal crowdfund system and UI 2018-12-22 15:02:16 +01:00
Kukks
8e8615dab8 Merge remote-tracking branch 'btcpayserver/master' into feature/crowdfund 2018-12-21 11:51:13 +01:00
Aaron Clauson
8b71556425 Merge branch 'master' into 455-disablereg 2018-12-20 21:58:07 +01:00
Aaron Clauson
0dcaf80c7f Changed disable register mechanism to apply policy setting after admin user created rather than using DB user count checks. 2018-12-20 20:39:48 +01:00
Kukks
fc9cd5bdf0 Merge remote-tracking branch 'btcpayserver/master' into feature/coinswitch 2018-12-20 17:57:04 +01:00
nicolas.dorier
9c99ffae57 Lightning charge integration 2018-12-20 22:40:32 +09:00
nicolas.dorier
47ef7661d8 Fix search for macaroon 2018-12-20 17:08:32 +09:00
nicolas.dorier
e80593fb7b Expose LND's other macaroon if possible 2018-12-20 16:52:04 +09:00
nicolas.dorier
57324345ac Remove remaining of RestrictedMacaroon 2018-12-20 16:24:36 +09:00
nicolas.dorier
73e280157d Show the gRPC cypher suites for gRPC consumption 2018-12-20 14:16:23 +09:00
Aaron Clauson
cfaa5766ed Always allow user registration if there are no user records. 2018-12-19 20:03:27 +01:00
Kukks
3e2ff55954 Merge remote-tracking branch 'btcpayserver/master' into feature/coinswitch 2018-12-19 10:41:36 +01:00
Kukks
2b4603a234 coinswitch integration 2018-12-18 19:01:58 +01:00
nicolas.dorier
9db5c0f375 Hack tests to make currency formatting work on linux 2018-12-19 00:28:06 +09:00
Andrew Camilleri
27bde55f54 work on building the viewmodel for crowdfund 2018-12-18 16:27:03 +01:00
nicolas.dorier
998472e463 Fix symbol display on linux 2018-12-19 00:11:15 +09:00
nicolas.dorier
93113fd871 Fix payment exports to reflect correctly payment data, rename fields. 2018-12-18 21:35:52 +09:00
Andrew Camilleri
b5d360594a Merge remote-tracking branch 'origin/master' into feature/crowdfund 2018-12-18 13:29:22 +01:00
nicolas.dorier
7a4dee3d38 Point of Sale returns correct currency information (#450) 2018-12-18 00:25:17 +09:00
nicolas.dorier
a341d4f800 Show Spark QR Code pairing 2018-12-14 13:12:27 +09:00
nicolas.dorier
22d59a1ed7 Do not leak access key in browser 2018-12-12 18:37:50 +09:00
nicolas.dorier
475ea68696 Can attach external spark 2018-12-12 18:19:13 +09:00
Kukks
7fa1b65af0 initial commit 2018-12-11 16:36:25 +01:00
Kukks
c00c95efcf initial coinswitch work 2018-12-11 12:47:38 +01:00
nicolas.dorier
0d06cf63b7 Use enum for invoice status and invoice exception 2018-12-10 21:48:28 +09:00
nicolas.dorier
e89e8226e4 Fix build 2018-12-10 17:34:27 +09:00
nicolas.dorier
a533a96598 Remove XFrame for PoS 2018-12-10 16:39:21 +09:00
nicolas.dorier
058472d325 Show restricted macaroon for LND 2018-12-10 16:03:58 +09:00
nicolas.dorier
b5c9a03052 Can mark invoice as complete 2018-12-10 15:34:48 +09:00
nicolas.dorier
8afc103ae7 Show REST connection information for LND in a QR Code 2018-12-07 19:31:07 +09:00
nicolas.dorier
591d7b4b80 Can show external service link with BTCPAY_EXTERNALSERVICES 2018-12-07 18:42:39 +09:00
nicolas.dorier
6e27233be8 Remove BIP70 support 2018-12-06 17:08:28 +09:00
nicolas.dorier
9209984a2f Remove useless argument from GetInvoice 2018-12-06 17:05:27 +09:00
nicolas.dorier
1477630c78 Remove anonymous access to invoice data 2018-12-06 16:58:04 +09:00
nicolas.dorier
cad602ad14 Fix several issues in cart
* Fix: Only USD currency with 2 decimals were properly handled for tips
* Fix: All PoS apps would were sharing the same basket
* Fix: Currency formatting was not using server side information
* Fix: Various bug of formatting for decimal 0 and more than 2.
2018-12-04 13:04:26 +09:00
nicolas.dorier
1f14bd6188 Add button and qr code to the bitpay translator 2018-12-04 11:53:25 +09:00
nicolas.dorier
156f52b76f Add bitpay translator 2018-12-03 23:59:08 +09:00
Mario Dian
8f234a02cb Add currency formats for major currencies 2018-12-01 12:59:45 +08:00
rockstardev
a4bec83ecc Fixing warnings on invariant culture, hate this for being so verbose 2018-11-30 02:51:23 -06:00
rockstardev
8e30b7430d Adding PaymentType and destination, CSV export 2018-11-30 02:04:26 -06:00
rockstardev
9235d32a45 Export of payments made on invoices 2018-11-30 01:22:39 -06:00
Mario Dian
613281a1e7 Fix form processing when cart is enabled (#424) 2018-11-30 11:29:27 +09:00
Mario Dian
1831692761 Enable shopping cart, add items to cart, enable tips (#410)
Modal cart, remove items, checkout

Fix removal and adding of cart items

Improve cart UI

Add cart bundle, remove unused js files from the view when cart isn't used

Do not enable cart by default

Do not put modal into the view when the cart is disabled

Escape js properties

Work with amounts as cents

Make animation speed look constant

Enable tips in the cart

Fix cart UI
2018-11-27 15:14:32 +09:00
Andrew Camilleri
e144d2479b Add POS Data to Invoice UI (#409)
* Add POS Data in Invoice UI

* fix build

* extract in helper and add UTs

* add in unit test coverage through mvc view too
2018-11-27 15:13:09 +09:00
nicolas.dorier
1aaa55dc62 Make test less flaky 2018-11-23 13:09:30 +09:00
Andrew Camilleri
186ce01022 add pairing code to tokens page after authorize (#412) 2018-11-22 15:13:35 +09:00
Rockstar Developer
9d21c89151 Preserving title with custom amount (#403)
* Preserving title with custom amount

* Custom button texts for complete localization

* Update tests, now checking custom amount description and button text

* Support for Custom CSS in POS
2018-11-17 11:39:43 +09:00
nicolas.dorier
6f276ac1bc Do not crash if derivation strategy is empty 2018-11-17 01:09:28 +09:00
nicolas.dorier
c40fc69087 Use the choiceKey of PoS item as ItemCode 2018-11-16 23:16:44 +09:00
nicolas.dorier
eff983135c showcase the custom field in PoS template 2018-11-16 18:36:18 +09:00
Rockstar Developer
479303dd9e Tweaking UI for custom amounts (#398)
* Tweaking appearance of custom amount card

* Allowing POS items to have custom amounts, good for donations/tips

* Prepending currency symbol in POS

* Fixing regression, thanks unit test
2018-11-16 12:31:38 +09:00
nicolas.dorier
e9b2088f7d change default title for pointofsale 2018-11-14 17:45:46 +09:00
nicolas.dorier
8e667f6c3f Allow empty template (Fix #303) 2018-11-13 16:32:13 +09:00
Mario Dian
a996cc2e6d Fix margins, change template (#397) 2018-11-13 16:29:18 +09:00
nicolas.dorier
16b57f24a2 Fix #383 2018-11-10 23:25:11 +09:00
Mario Dian
b16b1c3e8b - add item image and description (#391)
- fix margins
2018-11-10 15:38:26 +09:00
nicolas.dorier
fee56873b5 Handle exception if log file do not exists. 2018-11-09 21:43:10 +09:00
Andrew Camilleri
f23e2a3ec4 async i18n and json translation format (#369)
* start working on loading locales async and as json

* finish off langs and UI

* fix path

* fix tests
2018-11-09 16:48:38 +09:00
Rockstar Developer
aa1ac3da50 Modal invoice through btcpay.js (#381)
* Modal through btcpay.js

* Handling close action depending on whether is modal or not

* Tweaking button position

* Stripping trailing slashes if present when setting site root
2018-11-09 16:09:09 +09:00
Andrew Camilleri
c9c7316b7d Logs UI in Server Admin (#374)
* add in ui

* add in logging viewer

* Revert "add in ui"

This reverts commit 9614721fa8.

* finish basic feature

* clean up

* improve and fix build

* add in debug log level command option

* use paging for log file list, use extension to select log files, show message for setting up logging

* make paging a little better

* add very basic UT for logs

* Update ServerController.cs
2018-11-07 22:29:35 +09:00
nicolas.dorier
d152d5cd90 fix build 2018-11-06 16:08:42 +09:00
nicolas.dorier
6fd37710e1 Rename validators namespace 2018-11-06 15:38:07 +09:00
nicolas.dorier
0c382da561 Show unconf transactions with low opacity 2018-11-05 17:26:49 +09:00
nicolas.dorier
676a914c40 Fix, allow rescan if other crypto nodes are not synched 2018-11-04 22:46:27 +09:00
nicolas.dorier
b423b4eec1 Do not allow rescan of wallet which are not segwit 2018-11-04 14:59:28 +09:00
nicolas.dorier
4b0951caec trim destination in WalletSend 2018-11-01 12:54:25 +09:00
nicolas.dorier
88044f6b76 Decouple Wallet Send screen from Ledger Wallet 2018-11-01 00:19:25 +09:00
nicolas.dorier
38edbf8362 Improve token UX (Fix #353) 2018-10-31 17:59:09 +09:00
Andrew Camilleri
f51af6c61c fix issue with changelly rates and cover with UTs (#368) 2018-10-28 23:07:36 +09:00
nicolas.dorier
ca571cd756 Add authorization on WalletRescan 2018-10-27 22:52:09 +09:00
Rockstar Developer
e5eb0c79c0 Exposing LND Rest, providing info in Server/Services (#363)
* Displaying LND Rest connection info in Services

* Code cleanup

* Tweaking UI

* Fix typo
2018-10-27 22:49:39 +09:00
Andrew Camilleri
3bb059ab74 refactor changelly & improve tests (#366) 2018-10-27 22:41:07 +09:00
nicolas.dorier
2896a9b26f Add ScanUTXOSet support 2018-10-26 23:07:39 +09:00
nicolas.dorier
3921a3ca22 Fix warnings, update libs 2018-10-26 18:36:58 +09:00
Andrew Camilleri
4b976c13c1 Changelly v2 (#343)
* Disable shapeshift and use changelly

* UI to manage changelly payment method

* wip on changelly api

* Add in Vue component for changelly and remove target currency from payment method

* add changelly merhcant id

* Small fixes to get Conversion to load

* wip fixing the component

* fix merge conflict

* fixes to UI

* remove debug, fix fee calc and move changelly to own partials

* Update ChangellyController.cs

* move original vue setup back to checkout

* Update core.js

* Extracting Changelly component to js file

* Proposal for loading spinner

* remove zone

* imrpove changelly ui

* add in changelly config checks

* try new method to calculate amount + remove to currency from list

* abstract changelly lofgic to provider and reduce dependency on js component

* Add UTs for Changelly

* refactor changelly backend

* fix failing UT

* add shitcoin tax

* pr changes

* pr changes

* WIP: getting rid of changelly dependency

* client caching, compiling code, cleaner code

* Cleaner changelly

* fiat!

* updat i18n, css and error styler

* default keys

* pr changes part 1

* part2

* fix tests

* fix loader alignment and retry button responsiveness

* final pr change
2018-10-24 14:52:19 +09:00
nicolas.dorier
f419c56a3c Revert "Changelly Support (#267)"
This reverts commit a5fca7a1c4.
2018-10-18 12:27:46 +09:00
Andrew Camilleri
a5fca7a1c4 Changelly Support (#267)
* Disable shapeshift and use changelly

* UI to manage changelly payment method

* wip on changelly api

* Add in Vue component for changelly and remove target currency from payment method

* add changelly merhcant id

* Small fixes to get Conversion to load

* wip fixing the component

* fix merge conflict

* fixes to UI

* remove debug, fix fee calc and move changelly to own partials

* Update ChangellyController.cs

* move original vue setup back to checkout

* Update core.js

* Extracting Changelly component to js file

* Proposal for loading spinner

* remove zone

* imrpove changelly ui

* add in changelly config checks

* try new method to calculate amount + remove to currency from list

* abstract changelly lofgic to provider and reduce dependency on js component

* Add UTs for Changelly

* refactor changelly backend

* fix failing UT

* add shitcoin tax

* pr changes

* pr changes
2018-10-18 12:13:39 +09:00
nicolas.dorier
e1751c4d91 [Fix] Querying rate with authenticated request should be successfull 2018-10-15 18:11:20 +09:00
nicolas.dorier
dcc859a86a Disable export to JSON 2018-10-12 13:17:38 +09:00
Rockstar Developer
c2bbc04c4c Various bugfixes (#308)
* NotifyEmail field on Invoice, sending email when triggered

* Styling invoices page

* Exporting Invoices in JSON

* Recoding based on feedback

* Fixing image breaking responsive layout on mobile

* Reducing amount of data sent in email notification

* Turning bundling on by default
2018-10-12 10:09:13 +09:00
nicolas.dorier
da2fb876cb Can pass pre filled amount and address to Send Wallet 2018-10-09 23:48:14 +09:00
nicolas.dorier
3cff8261ae Set the id for apps only to 20 bytes, and output the Id in the controller so we can use it in tests 2018-10-09 23:38:56 +09:00
nicolas.dorier
b16e8f7b76 Move GetAppDataIfOwner inside AppHelper 2018-10-09 23:34:51 +09:00
nicolas.dorier
3d85dace38 Move currency display method into CurrencyNameTable 2018-10-09 23:30:26 +09:00
Rockstar Developer
d459839bf7 Displaying Node Info as QR code for Lightning payments (#318)
* Styling elements required for Node info

* Allowing switching QR between bolt11 and node info for lightning

* Equal width for Bolt11 and Node info buttons

* Certain languages were too verbose for display of "Pay with"

Fixes: #317
2018-10-08 07:19:55 +09:00
Andrew Camilleri
e05c88370f enable account lockout 2018-09-12 13:36:44 +02:00
nicolas.dorier
0d3364b3da Change button path to api/v1/invoices 2018-09-08 14:53:42 +09:00
nicolas.dorier
fed53661b3 Add btcpay.store.cancreateinvoice claim, and use that for the store 2018-09-08 14:53:41 +09:00
nicolas.dorier
e86b4d89ca remove paybuttontest 2018-09-08 14:53:41 +09:00
rockstardev
deb56e16ec Confirmation page for enabling Pay Button 2018-09-08 14:53:41 +09:00
rockstardev
b5626ef01c Validating that Store has Pay Button enabled 2018-09-08 14:53:41 +09:00
rockstardev
43d34d5d35 Now requiring Authorization on AppsController 2018-09-08 14:53:41 +09:00
rockstardev
7341be76bb Extracting public portion of app controller 2018-09-08 14:53:41 +09:00
rockstardev
0abd62dfe8 Moving PayButton handler to public controller 2018-09-08 14:53:41 +09:00
rockstardev
735012e3d7 Refactoring Invoice to cleanup unused code 2018-09-08 14:53:41 +09:00
nicolas.dorier
f5d81334f8 Remove Lightning Specific logic from BTCPay, and use BTCPayServer.Lightning packages instead 2018-08-30 12:24:00 +09:00
nicolas.dorier
023913a852 Rate limit per IP the number of login attempt 2018-08-25 20:28:46 +09:00
nicolas.dorier
e0cadb4f62 Do not send not found if invoices does not belong to logged on user 2018-08-23 12:13:27 +09:00
nicolas.dorier
e0f1c50534 Making Currency a textbox instead of dropdown 2018-08-23 11:17:54 +09:00
nicolas.dorier
8b5b18c97e Make sure no trailing slash bug 2018-08-23 11:11:39 +09:00
nicolas.dorier
1bc32285ba Merge branch 'master' of https://github.com/rockstardev/btcpayserver into rockstardev-master 2018-08-23 11:01:48 +09:00
nicolas.dorier
f12114f9aa Poll and cache rates in parallel 2018-08-23 00:24:33 +09:00
rockstardev
45b7df6ac9 Removing traces of PayButton being an app... shhhh... 2018-08-22 14:04:59 +02:00
rockstardev
5a43ce2719 Transfering Pay Button from App directly to Store 2018-08-22 13:57:54 +02:00
rockstardev
03c47e6f7d Merge remote-tracking branch 'source/master' 2018-08-22 13:01:34 +02:00
rockstardev
4111b8a5a3 Maintaining AppId reference 2018-08-22 12:59:55 +02:00
rockstardev
9ec0c23c52 Folder for pay buttons, donate button 2018-08-22 10:59:24 +02:00
rockstardev
9a5034c13c URL of image for pay button 2018-08-22 10:52:17 +02:00
rockstardev
b1fcf4524a Separate app for PayButton 2018-08-22 10:26:49 +02:00
nicolas.dorier
87d384dba5 Decouple RateProviderFactory with RateFetcher 2018-08-22 16:53:40 +09:00
nicolas.dorier
9c30476fc8 Making BTCPayServer a bit faster when creating invoices 2018-08-21 13:54:52 +09:00
rockstardev
76a36d1829 Merge remote-tracking branch 'source/master'
# Conflicts:
#	BTCPayServer/BTCPayServer.csproj
2018-08-17 13:35:56 +02:00
rockstardev
0d4036efa2 Dynamically determining site url 2018-08-17 13:33:47 +02:00
rockstardev
0084d4766b Server side validation of PayButton POST 2018-08-17 13:21:00 +02:00
rockstardev
74ddcfa01e Handling payment button post and providing test form 2018-08-17 12:38:03 +02:00
rockstardev
b562094956 Currency dropdown as part of page model 2018-08-14 23:47:41 +02:00
rockstardev
d7404f418d Returning intialized model and inputchange on all attribs 2018-08-14 19:40:57 +02:00
rockstardev
556b581b6a Updating display of generated HTML 2018-08-14 14:57:46 +02:00
nicolas.dorier
1685ccaca8 Fixing success message for DNS 2018-08-13 17:04:37 +09:00
nicolas.dorier
522abcfdfd Fix setting up DNS name 2018-08-13 16:48:10 +09:00
nicolas.dorier
214b2d1c1c Fix SSH fingerprint checking 2018-08-13 09:43:59 +09:00
nicolas.dorier
322518e9dc Ensure the ssh connection is trusted 2018-08-12 23:23:26 +09:00
nicolas.dorier
6a1eca760a Can configure BTCPay SSH connection at startup 2018-08-12 21:38:45 +09:00
nicolas.dorier
29513d4ded Who network type in the conf file of gRPC, fix #246 2018-08-12 16:19:18 +09:00
rockstardev
e698d90e3c Pay Button page foundation 2018-08-10 20:26:51 +02:00
nicolas.dorier
86ca081030 Fix #244 2018-08-08 17:32:16 +09:00
nicolas.dorier
2c6aa12aab Fix #240 2018-08-08 14:45:46 +09:00
nicolas.dorier
7a566c477d Allow CORS for creating a new invoice via AJAX through the PoS app (fix #238) 2018-08-06 12:04:36 +09:00
nicolas.dorier
e9e94f5e99 Show nice error if attempting to access lnd before being fully synched 2018-08-03 12:14:09 +09:00
nicolas.dorier
846bd08e20 Server admin can add new user 2018-08-02 00:16:16 +09:00
nicolas.dorier
83304de1c6 Remove the concept of "Rate multiplier" and replace it with the concept of "Spread" 2018-08-01 18:38:46 +09:00
nicolas.dorier
5c8e03dcbf More user friendly Update Store screen 2018-08-01 15:59:29 +09:00
nicolas.dorier
7a32f692d1 Add test for Disabling PaymentMethod 2018-07-31 00:18:58 +09:00
Andrew Camilleri
d480be925b Can disable method of payments 2018-07-30 23:54:31 +09:00
nicolas.dorier
500bdd9bf1 Fix GetRates 2018-07-30 23:07:29 +09:00
nicolas.dorier
57bda24664 Fix other DDOS related to GetRate 2018-07-30 22:51:39 +09:00
nicolas.dorier
6401af00fe Fix potential DDOS on get rate 2018-07-30 22:45:28 +09:00
Andrew Camilleri
faabd68f6f Merge remote-tracking branch 'origin/master' into feature/bitpayrates 2018-07-27 11:16:52 +02:00
nicolas.dorier
0dcda0f289 Fix: Inverse rule was not found in BTCPay with X_X 2018-07-27 18:04:41 +09:00
Andrew Camilleri
1a54f2d01a remove redundant cryptocode field in payment method interface 2018-07-27 08:41:36 +02:00
Andrew Camilleri
2c6133b4f7 let X_X rates show in rates api as bitpay does 2018-07-27 07:55:18 +02:00
Andrew Camilleri
64181d1a93 use default crypto for /rates route 2018-07-27 07:54:55 +02:00
Andrew Camilleri
25e9a27a78 add in bitpay api constraints to actions 2018-07-27 06:38:54 +02:00
Andrew Camilleri
f3edaf5160 Merge remote-tracking branch 'btcpayserver/master' into feature/bitpayrates 2018-07-27 05:57:25 +02:00
nicolas.dorier
7bfdf2d11d Order transactions in transaction list view 2018-07-27 12:03:56 +09:00
nicolas.dorier
b68fcec692 Fix rate in the WalletSend 2018-07-27 01:17:43 +09:00
nicolas.dorier
86644d38d7 Show rate error to the model in WalletSend 2018-07-27 00:32:09 +09:00
nicolas.dorier
52f60b0457 Can show the transaction list in wallet menu 2018-07-27 00:08:07 +09:00
nicolas.dorier
1606f43609 Show the fiat price when sending coins 2018-07-26 23:23:28 +09:00
nicolas.dorier
ad1307746c Add a "Wallet" menu 2018-07-26 22:32:50 +09:00
nicolas.dorier
c425e0439d Fix build error 2018-07-25 01:01:05 +09:00
nicolas.dorier
cdf78f0463 Fix mixing commands 2018-07-25 00:51:45 +09:00
nicolas.dorier
7d997f7d60 disown the launched command 2018-07-25 00:35:18 +09:00
nicolas.dorier
0edbbe6ae3 Use nohup to update domain 2018-07-24 23:56:41 +09:00
nicolas.dorier
cd416dac60 nohup the update and changedomain 2018-07-24 23:27:52 +09:00
nicolas.dorier
0af1adcfb8 Can update server 2018-07-24 22:10:37 +09:00
nicolas.dorier
1d4472cc08 Show inner exception if SSL connection fail when changing domain 2018-07-24 18:47:55 +09:00
nicolas.dorier
27cea81cb2 Add ability to change domain from server settings 2018-07-24 17:04:57 +09:00
nicolas.dorier
b0d6216ffc Better timestamp for invoice logs, fix bugs which can happen if invoice get deleted 2018-07-24 12:19:43 +09:00
nicolas.dorier
7afa726ddc Fix, macaroonfilepath should be read in order to create the qr code 2018-07-23 12:20:11 +09:00
nicolas.dorier
11a26c940d Do not expose the config secret in URL, and use {net.CryptoCode}.external.lnd.grpc argument 2018-07-23 11:54:33 +09:00
nicolas.dorier
624252e4ad LightningConnectionString can parse gRPC 2018-07-23 11:11:00 +09:00
nicolas.dorier
57bb980526 Update packages 2018-07-23 00:21:40 +09:00
nicolas.dorier
648829644a Add QR code information 2018-07-22 21:28:21 +09:00
nicolas.dorier
4f8e0b0393 Can get lnd config without being logged 2018-07-22 18:43:11 +09:00
nicolas.dorier
022b4f115d Expose LND gRPC settings 2018-07-22 18:38:14 +09:00
rockstardev
79b06bce42 Changing Lightning suffix per suggestion 2018-07-20 23:33:54 -05:00
nicolas.dorier
96721e95a2 Clean unreachable store if user is deleted 2018-07-20 15:24:19 +09:00
nicolas.dorier
3f48a478af Add delete button in update store settings 2018-07-19 22:23:14 +09:00
nicolas.dorier
ce17e3212a Can delete stores 2018-07-19 19:31:17 +09:00
rockstardev
8cb2c93abd Adding UTF8 lightning icon to Lightning payments methods 2018-07-18 23:53:00 -05:00
rockstardev
65916755b6 Bitcoin always first selection in currency list 2018-07-17 23:29:40 -05:00
rockstardev
203494e809 Tweaking CSS styles and display of payment method selection 2018-07-17 00:14:56 -05:00
rockstardev
d49bbc95af Tweaking display with display name and crypto code 2018-07-16 23:43:52 -05:00
rockstardev
c75512303d Getting display names directly from NetworkProvider 2018-07-16 23:25:28 -05:00
rockstardev
464ab30fea Ordering currencies by name 2018-07-13 22:35:34 -05:00
rockstardev
33d18a3278 Displaying payment method name during checkout
Ref: https://github.com/btcpayserver/btcpayserver/issues/152
2018-07-13 15:58:59 -05:00
nicolas.dorier
22e700a53e Fix NullReferenceException when setting lightning connectionString without externalurl 2018-07-13 15:02:31 +09:00
nicolas.dorier
976d9d0cda Add CSP (Disable it if custom theming) 2018-07-12 17:38:21 +09:00
nicolas.dorier
10ceddc709 ReferrerPolicy 2018-07-12 02:38:08 +09:00
nicolas.dorier
cdbbad1694 Fix misleading error when using http on internalNode 2018-07-10 12:58:17 +09:00
nicolas.dorier
c9c2730409 check macaroonfilepath is rooted 2018-07-10 12:51:23 +09:00
nicolas.dorier
1a1078782e Suppoort macaroonfilepath in connection string 2018-07-10 12:46:04 +09:00
nicolas.dorier
5af14ef2ec When creating PoS app, redirect to settings. When updating an app, redirect to List of apps. 2018-07-05 21:11:18 +09:00
nicolas.dorier
7210eebeca Create Store redirect to store settings 2018-07-05 21:05:13 +09:00
rockstardev
25dbf6445f LND Support 2018-07-01 21:45:21 +09:00
nicolas.dorier
b7abc08c27 Create a new format for LightningConnectionString 2018-07-01 15:45:08 +09:00
nicolas.dorier
399ae2cd9e Fix: If DOGE fee becomes higher that 1 DOGE, the transaction would fail to broadcast 2018-07-01 13:46:28 +09:00
nicolas.dorier
63fe0f6612 Make sure that DOGECOIN pays min amount of fee 2018-06-30 22:05:41 +09:00
nicolas.dorier
42d60ef84b Fix: Could not send money from wallet of a coin without segwit 2018-06-30 21:26:10 +09:00
rockstardev
9a5259510b Merge remote-tracking branch 'source/master' into dev-lndrpc 2018-06-25 22:31:42 -05:00
nicolas.dorier
caecb26420 fix typos and sentences referencing Bitcoin 2018-06-25 11:58:07 +09:00
nicolas.dorier
d313395751 Show rule evaluation in invoice logs 2018-06-24 21:01:29 +09:00
rockstardev
3c4c99ee42 Saving of Macaroon and Tls for LND connection 2018-06-23 23:16:39 -05:00
rockstardev
d34ffc0d9a Refactoring conditional method, separating into two properties 2018-06-23 22:50:50 -05:00
rockstardev
039303bfaa Fixing typos during code review 2018-06-23 22:03:51 -05:00
nicolas.dorier
5feb520843 Add support for groestlcoin 2018-06-24 00:45:57 +09:00
nicolas.dorier
17e914778d Make sure that lightning payments events are using the state of the invoice when they got issued (#205) 2018-06-21 14:15:36 +09:00
Andrew Camilleri
8cafa8a483 Merge remote-tracking branch 'origin/master' into feature/bitpayrates 2018-06-12 15:34:09 +02:00
nicolas.dorier
04174b7431 Fix authentication 2018-06-06 16:02:37 +09:00
nicolas.dorier
b7c58c2083 Fix bug of authentication caused by previous refactoring on authentication 2018-06-06 14:46:41 +09:00
Andrew Camilleri
724af44e41
Merge branch 'master' into feature/bitpayrates 2018-06-04 15:09:14 +02:00
nicolas.dorier
01cf579530 Use proper custom authentication handler for bitpay 2018-06-04 12:00:03 +09:00
Andrew Camilleri
bac9ef4f93 add some UT and fix error message + bump Nbitpayclient 2018-05-29 17:12:07 +02:00
rockstardev
63ec832667 Support for localizing datetimes base on browser's timezone 2018-05-29 12:27:03 +09:00
Andrew Camilleri
ada6f3b844 Finish rate api 2018-05-28 15:30:43 +02:00
Andrew Camilleri
c8a26ce952 api fixes 2018-05-28 14:55:49 +02:00
Andrew Camilleri
6cf80b7533 small rename 2018-05-28 14:29:23 +02:00
Andrew Camilleri
79df523bb2 reorder methods 2018-05-28 10:20:18 +02:00
Andrew Camilleri
bed9737d64 Merge remote-tracking branch 'btcpayserver/master' into feature/bitpayrates 2018-05-26 14:42:17 +02:00
nicolas.dorier
6a46d02fc6 Add dummy policies field 2018-05-26 18:26:02 +09:00
nicolas.dorier
be33ebc168 fix typo 2018-05-25 17:35:01 +09:00
nicolas.dorier
8d61314852 Use FullNotification and improve instructions 2018-05-25 00:02:24 +09:00
nicolas.dorier
dec5dbc0d2 Ability to pass fields to POS app #181 2018-05-24 23:54:48 +09:00
Andrew Camilleri
2583eb15ec Merge remote-tracking branch 'btcpayserver/master' into feature/bitpayrates 2018-05-21 16:49:43 +02:00
Andrew Camilleri
1879ea55e8 init bitpay rates api 2018-05-21 16:49:37 +02:00
nicolas.dorier
dd1a93ee0e Revert "Remove unused Error.cshtml"
This reverts commit 7b2ef9aec2.
2018-05-21 20:44:03 +09:00
nicolas.dorier
3cf3aa63f6 CurrencyNameTable can use fallback 2018-05-20 23:37:18 +09:00
nicolas.dorier
eeb522fe7d Remove special case for showing crypto currency 2018-05-16 21:19:48 +09:00
rockstardev
20635ea3d6 Showing exchange rate for cryptos
Ref: https://github.com/btcpayserver/btcpayserver/pull/170#issuecomment-389462155
2018-05-16 05:46:11 -05:00
nicolas.dorier
1c50210e61 fix build 2018-05-16 10:22:42 +09:00
Nicolas Dorier
989c99c550
Merge pull request #170 from rockstardev/fiat
Display fiat value of invoice during checkout
2018-05-16 10:18:24 +09:00
rockstardev
eb01e91e13 Only show Order Amount in Fiat if Invoice is created with fiat value 2018-05-15 15:17:58 -05:00
nicolas.dorier
ecf03f90aa Fix UriAttribute bug, and currency formatting crash 2018-05-16 02:24:59 +09:00
nicolas.dorier
f7fe855274 Do not roundup rates 2018-05-13 15:09:17 +09:00
rockstardev
3770adb7d3 Displaying fiat value of invoice's order amount in details 2018-05-11 12:15:26 -05:00
nicolas.dorier
26db946392 BTCPayRateProviderFactory is responsible for getting the supported exchange list 2018-05-12 00:54:17 +09:00
nicolas.dorier
9afc143801 Use decimals and fix invoices 2018-05-11 22:38:31 +09:00
nicolas.dorier
8e4943df65 low-medium speed policy 2018-05-11 22:12:45 +09:00
nicolas.dorier
6f07849e1d Use policies security for controlling access to bitpay api 2018-05-11 17:16:18 +09:00
nicolas.dorier
199db01eaf No need of authentication for GetInvoice API (#166) 2018-05-11 17:05:08 +09:00
rockstardev
be1128a886 Support for displaying fiat value of invoice 2018-05-09 22:39:13 -05:00
nicolas.dorier
bba268b5e2 Upgrade to .NET Core 2.1 2018-05-08 17:57:53 +09:00
nicolas.dorier
3d943d49e6 Make sure if the default crypto is no available, we don't get error 404 2018-05-07 12:25:50 +09:00
nicolas.dorier
6ca8ba9231 Allow signing on non segwit transactions via the ledger 2018-05-07 12:17:46 +09:00
nicolas.dorier
7b2ef9aec2 Remove unused Error.cshtml 2018-05-06 22:49:00 +09:00
nicolas.dorier
efe666b284 Fix call to Rates via bitpay API 2018-05-06 22:41:38 +09:00
nicolas.dorier
cdc0b0d628 Fix crash when creating a token 2018-05-06 19:03:30 +09:00
nicolas.dorier
b96f464e39 Add "unusual:" filter to invoice list 2018-05-06 13:16:39 +09:00
Nicolas Dorier
27a0aebd12
Merge pull request #155 from Kukks/feature/order-tolerance
Payment Tolerance
2018-05-06 00:06:39 +09:00
nicolas.dorier
366490516e Can filter with "exceptionstatus:", show the exception status on invoice list page 2018-05-05 23:25:09 +09:00
Andrew Camilleri
af21f9f10c Merge remote-tracking branch 'btcpayserver/master' into feature/order-tolerance 2018-05-05 08:49:16 +02:00
nicolas.dorier
efdc99b9d1 Do not spam the logs about failed mail 2018-05-05 01:42:42 +09:00
Andrew Camilleri
c3d73236e0 start work on payment tolerance feature 2018-05-04 16:15:34 +02:00
nicolas.dorier
9325441693 fix typo 2018-05-04 16:09:43 +09:00
nicolas.dorier
e2533a93e3 Fix set email screen 2018-05-04 15:54:12 +09:00
Nicolas Dorier
d793265bed
Merge pull request #154 from rockstardev/master
Addressing several fixes that were assigned to me
2018-05-04 12:37:02 +09:00
rockstardev
0a449e1e8e Allowing custom HtmlTitle
Fix #96
2018-05-03 22:35:06 -05:00
nicolas.dorier
74ccc34c9c Small enhancement on Rates page 2018-05-04 11:58:21 +09:00
nicolas.dorier
8f1324fdf3 Can clear email settings Fix #150 2018-05-04 02:16:12 +09:00
nicolas.dorier
3ab69046b0 Add overpaid column Fix #149 2018-05-04 02:01:43 +09:00
nicolas.dorier
6dc4bfaefe Make rate calculation scriptable 2018-05-04 01:46:52 +09:00
nicolas.dorier
e57a488371 Refactor the RateProvider 2018-05-03 03:32:42 +09:00
nicolas.dorier
21bbf49640 Rewrite authorization enforcement and simplify the code 2018-04-30 22:00:43 +09:00
nicolas.dorier
1fc9a1a54b Move to a Claim based security 2018-04-30 02:33:42 +09:00
nicolas.dorier
f0145142a4 Make sure that we don't authenticate call with bitpay auth methods on non bitpay calls 2018-04-29 20:32:43 +09:00
nicolas.dorier
2848caff2e Support Legacy API Key authentication to Bitpay Invoice API 2018-04-29 18:28:04 +09:00
nicolas.dorier
95bdeacd93 Order exchanges in the list 2018-04-28 10:58:14 +09:00
nicolas.dorier
07c2f6b810 Remove TokenRepository dependency from InvoiceControllerAPI 2018-04-28 02:51:20 +09:00
nicolas.dorier
8ff81f1648 Use claim based authentication 2018-04-28 02:09:24 +09:00
lepipele
2e5d29064b Removing CssThemeManager dependency on ServerController
Using newly created BaseAsyncService to listen for database changes of theme setting
2018-04-26 21:39:43 -05:00
nicolas.dorier
4f9e4116a2 Point of Sale support free entry 2018-04-26 22:09:18 +09:00
nicolas.dorier
de8147d5dd Can opt out required refund email from customer 2018-04-26 11:13:44 +09:00
nicolas.dorier
16f1791a9a Invoice filter must work with duplicated filter 2018-04-26 11:03:02 +09:00
lepipele
0934bebf7b Merge remote-tracking branch 'source/master' into dev-bootstrap 2018-04-19 11:45:30 -05:00
lepipele
cd1a4c4749 Fixing modify user page and it's title 2018-04-19 11:44:24 -05:00
lepipele
97b59be9bf Adding page for Theme settings 2018-04-19 11:39:51 -05:00
nicolas.dorier
3822358096 Show more info about bitcoin average quota 2018-04-20 01:01:39 +09:00
nicolas.dorier
10c981b2a0 Update NBXplorer 2018-04-19 16:54:25 +09:00
lepipele
3f85918a0c Merge remote-tracking branch 'source/master' into dev-bootstrap
# Conflicts:
#	BTCPayServer/Controllers/ServerController.cs
#	BTCPayServer/Views/Invoice/Invoice.cshtml
2018-04-18 23:38:10 -05:00
nicolas.dorier
3652866660 View offchain payments in Invoice screen 2018-04-18 22:27:01 +09:00
nicolas.dorier
6936b034cb Add Bitcoin average quota 2018-04-18 18:23:39 +09:00
nicolas.dorier
73ed4003a3 Use a drop down for preferred exchange list 2018-04-18 16:38:56 +09:00
nicolas.dorier
5cb8cdd511 Refactoring: Do not query database when asking for Coinaverage rates, periodically get exchange list 2018-04-18 16:38:56 +09:00
lepipele
195b5fdd1a Adding overriding of CreativeStartUri, refactoring PoliciesSettings 2018-04-17 17:24:00 -05:00
nicolas.dorier
0723eec508 Fix rate handling 2018-04-15 21:21:57 +09:00
lepipele
18986faca8 Merge remote-tracking branch 'source/master' into dev-bootstrap
# Conflicts:
#	BTCPayServer/Controllers/ServerController.cs
2018-04-14 11:11:38 -05:00
nicolas.dorier
04c6107196 Can configure rate caching and bitcoinaverage API keys 2018-04-14 22:52:57 +09:00
lepipele
81afe397be CssThemeManager that injects Bootstrap css uri from settings 2018-04-13 16:15:03 -05:00
lepipele
203c28df3d Extracting transaction string and supporting plural form 2018-04-13 14:10:06 -05:00
nicolas.dorier
2b11cc1077 Simplify root key path calculation 2018-04-12 11:48:33 +09:00
nicolas.dorier
7de067cd7a remove unused 2018-04-10 19:12:37 +09:00
nicolas.dorier
9da6df50b7 Add DOGECOIN 2018-04-10 19:07:57 +09:00
nicolas.dorier
1ddf47256f Show more invoices on the invoice page, better search button 2018-04-09 17:53:43 +09:00
nicolas.dorier
ac9b8d03d7 Fix slow invoice creation 2018-04-09 16:25:31 +09:00
nicolas.dorier
d7cb6f1cca Add a way to customize lightning invoice description 2018-04-07 16:27:46 +09:00
nicolas.dorier
1cc5427cbb Improve error message if you can't create an invoice in the UI 2018-04-05 15:44:27 +09:00
nicolas.dorier
6270a626fb Fix checkout experience custom logo and css 2018-04-05 11:34:25 +09:00
nicolas.dorier
ecc5032bb2 Fix error message if invalid input lightning max value / min value. Increase cache of currency to 15 min 2018-04-03 17:54:50 +09:00
nicolas.dorier
325b359ff6 Add OnChainMinValue 2018-04-03 17:39:28 +09:00
nicolas.dorier
149c29963d Add Point of Sale feature to BTCPay 2018-04-03 16:58:47 +09:00
lepipele
5dea0312ac Plugging NodeInfo reference 2018-03-30 15:23:05 +09:00
lepipele
a171e00280 Adding PeerInfo textbox
We'll need to heavily refactor this HTML and CSS... way to many styles and complex structure
2018-03-30 15:23:03 +09:00
nicolas.dorier
b9b4b5ea39 log invoice event if Lightning max value exceeded 2018-03-28 23:15:10 +09:00
nicolas.dorier
e23243565f Refactor CreateInvoiceCore to better give feedback on payment method errors to the merchant, be faster, and give NodeInfo 2018-03-28 22:37:01 +09:00
nicolas.dorier
26aac66a76 Allow merchant to customize their checkout page 2018-03-27 15:14:50 +09:00
nicolas.dorier
a562e90bdb Separate Checkout Experience settings from General store settings 2018-03-27 14:48:32 +09:00
nicolas.dorier
7dd88d8d8f Can send max invoice value for lightning payments 2018-03-26 01:57:44 +09:00
nicolas.dorier
95290e8331 Disable convertir tab for all lightning payments 2018-03-24 23:43:02 +09:00
nicolas.dorier
8e38da80e0 Better UX to set the xpub correctly 2018-03-24 20:40:26 +09:00
nicolas.dorier
a0d2790491 Activate spanish 2018-03-24 14:35:49 +09:00
nicolas.dorier
2072b6e136 Fix english selection when the store has not set default language 2018-03-24 01:58:11 +09:00
nicolas.dorier
7d17bf7f2a Can set store default language 2018-03-23 17:27:48 +09:00
nicolas.dorier
39b34ff4ed Can invite user to manage your store 2018-03-23 16:24:57 +09:00
nicolas.dorier
3b2cf2f1de Can add administrator, fix #65 2018-03-22 19:55:14 +09:00
nicolas.dorier
ae7cfe90ab Show the NodeInfo when testing connection 2018-03-22 12:02:38 +09:00