Commit Graph

381 Commits

Author SHA1 Message Date
nicolas.dorier
abbdbda03a Add Bitbank provider 2019-03-20 00:49:44 +09:00
nicolas.dorier
c2754b324d Show other tor services 2019-03-18 16:45:46 +09:00
nicolas.dorier
ea02d77e69 Parse torrc file to know virtual port of hidden services 2019-03-17 20:49:26 +09:00
nicolas.dorier
4769b1d452 Show tor services inside hidden directories in Server Settings/Services 2019-03-17 13:01:47 +09:00
rockstardev
5261cfcdd3 Allowing for lightning payment amounts to be displayed in Satoshis 2019-03-15 22:43:57 -05:00
nicolas.dorier
23f296ef34 The store owner can define default currency pairs when using rate API without parameter 2019-03-11 18:39:21 +09:00
nicolas.dorier
7497865d1f Pay button was not working properly if the server was not en-US (Fix #638) 2019-03-09 23:40:22 +09:00
nicolas.dorier
75974037bc Fix SignalR paths if RootPath is used 2019-03-09 16:08:31 +09:00
nicolas.dorier
7dad814f19 Fix some checkout page if RootPath is set (#659) 2019-03-09 00:48:33 +09:00
Andrew Camilleri
0c0809101d Datetime picker and small edit UI changes (#647)
* do not allow negative amounts for crowdfund and payment requests

* remove currency placeholder in payment requests

* Improve date picker ui 

Clear button only appears when a value is set. If no value is set, display a placeholder indicating it. closes #625
2019-03-07 14:29:29 +09:00
Andrew Camilleri
2b567de5c1 Allow sounds and animation colors in crowdfund to be configured (#653)
closes #652
2019-03-07 14:25:09 +09:00
nicolas.dorier
1c9b05d992 Fix: Payment requests and crowdfund were estimating current contributions based on the current rate 2019-03-05 13:54:34 +09:00
rockstardev
3fdfd0adfd Removed exponentiation on invoice request amount
Fixes #620
2019-03-03 17:44:28 -06:00
Kevin Mulcrone
0263a2950c added enabled to ViewCrowdfundViewModel, added warning on preview page 2019-03-03 17:39:53 -06:00
Will Caldwell
e232dd7d7e Add a space between "Test" and "Email" in the UI. 2019-03-03 17:38:57 -06:00
nicolas.dorier
1d3f144d21 Support relative path for external services, simplify the code in Services 2019-03-01 13:20:21 +09:00
Kukks
249b8abf03 deduct network from contributions + removed unsued Enabled properties 2019-02-25 17:56:29 +09:00
Kukks
c134277514 remove creating state from payment requests 2019-02-25 17:56:29 +09:00
Kukks
ad25a2ed08 Add payment requests 2019-02-25 17:56:28 +09:00
Mario Dian
1e7a2ffe97 Enable/Disable tips and discount. Fix custom amount. (#612) 2019-02-25 15:11:03 +09:00
nicolas.dorier
b5d55a2066 Add RTL support 2019-02-22 15:06:52 +09:00
nicolas.dorier
2e1d623755 fix https://github.com/btcpayserver/btcpayserver/issues/596 2019-02-21 21:30:30 +09:00
nicolas.dorier
6ba17e8e30 Can filter supported payment methods for an invoice 2019-02-21 19:34:11 +09:00
nicolas.dorier
ac3432920a Fix build 2019-02-21 18:42:12 +09:00
nicolas.dorier
63c88be533 Use CreateInvoiceRequest instead of NBitpay Invoice type 2019-02-21 18:40:27 +09:00
nicolas.dorier
3bbf4de5d2 Fix live update of crowdfunding, add tests, consider payments as confirmed if invoice is confirmed 2019-02-19 16:01:28 +09:00
nicolas.dorier
cc444811db Rename CrowdfundHubStream to AppHubSteamer 2019-02-19 13:18:30 +09:00
nicolas.dorier
50c8525012 Moving CrowdfundSettings in its own file 2019-02-19 13:07:10 +09:00
nicolas.dorier
6226de7cff Refactor Crowdfund to use the tagging system 2019-02-19 12:48:48 +09:00
rockstardev
b03d89c190 Different message for admin deletion, check not to delete last admin
Ref: #549, #550
2019-02-15 10:05:29 -06:00
BenSanex
2b7006a14c add asterisk, revert primary currency error message, remove the 2019-02-11 21:53:45 -06:00
BenSanex
8f5f07882f Custom validation message for Crowdfund form primary currency 2019-02-07 20:27:26 -06:00
nicolas.dorier
585efa3ff5 Fix: Default payment method should not return a disabled one 2019-01-31 22:03:28 +09:00
nicolas.dorier
cf6b17250a Can set lightning network as default payment method (close #290) 2019-01-31 19:07:38 +09:00
Andrew Camilleri
51a5d2e812 Refactor XFrames Attribute & simplify pos settings page (#576)
* Enable better error when invoice cannot be created on crowdfund

Closes #572

* Allow all public apps in iframe

* cleanup pos page dev info
2019-01-31 16:56:21 +09:00
nicolas.dorier
1a98bfba36 Fix formatting of currencies in Invoice detail page 2019-01-30 19:18:44 +09:00
nicolas.dorier
6725be8145 Remove warnings 2019-01-29 18:35:27 +09:00
Andrew Camilleri
0c5b5ff49c Add link to no stores error (#558)
* add link

* safer status message

* refactor

* small view cleanup
2019-01-29 16:44:46 +09:00
nicolas.dorier
02d227ee02 Fix connection to checkout backend (bad links) 2019-01-28 16:24:11 +09:00
Andrew Camilleri
30bdfeee37 Enhance PosData Viewer & add cart to posdata in POS app (#559) 2019-01-26 13:26:49 +09:00
nicolas.dorier
24c8c076d5 Add taxIncluded field in invoice 2019-01-24 20:53:29 +09:00
nicolas.dorier
575b6ca222 Improve error messages when the store has no payment method configured 2019-01-18 19:15:31 +09:00
Aaron Clauson
a4792f54a7 Added bootstrap paging buttons to the invoice list page and fixed paging buttons. 2019-01-16 21:33:04 +01:00
nicolas.dorier
e620fc0283 Add expert mode to BTCPay with No Change UTXO option 2019-01-15 23:50:45 +09:00
Kukks
9f4226bf0f remove inline styles and fix checkbox setting text 2019-01-10 14:19:06 +01:00
Kukks
c32c3bb62b add contribution ranking 2019-01-09 12:22:36 +01:00
Kukks
94fb738c67 fix choice key and currency data 2019-01-08 15:49:07 +01:00
Kukks
95a90c410e Merge remote-tracking branch 'btcpayserver/master' into feature/crowdfund 2019-01-08 15:10:13 +01:00
Kukks
59fc371cd5 perk count + img fixer 2019-01-08 15:10:05 +01:00
Kukks
8b686f0b12 fix coin switch issues 2019-01-08 11:27:37 +01:00
Kukks
d1d03c98ba pr changes 2019-01-07 14:39:04 +01:00
Kukks
3e48a54ab5 Merge remote-tracking branch 'btcpayserver/master' into feature/crowdfund 2019-01-07 14:25:41 +01:00
Kukks
f6e389ff62 fix issues 2019-01-07 14:25:35 +01:00
Nicolas Dorier
63c309bd12
Merge pull request #499 from Kukks/node-info-page
Add Node Info Page
2019-01-07 22:04:08 +09:00
Kukks
561ec57cc8 Merge remote-tracking branch 'btcpayserver/master' into feature/crowdfund 2019-01-07 11:13:02 +01:00
Nicolas Dorier
3cefd7bd1e
Merge pull request #467 from Kukks/feature/coinswitch
CoinSwitch Integration
2019-01-07 19:11:55 +09:00
Kukks
12c418d84d Add Node Info Page 2019-01-07 09:52:27 +01:00
Kukks
b633206b45 add helpful texts 2019-01-06 14:28:53 +01:00
Kukks
5076d73695 Enhance Invoice Events 2019-01-06 10:12:45 +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
nicolas.dorier
a05cd5678b Add support for removing network fee on first payment 2019-01-05 17:45:49 +09: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
5a3f7b5b70 add in more info and simplify backend model 2019-01-02 10:41:54 +01:00
Kukks
2aa097be46 fix cache expiration time 2019-01-02 09:45:04 +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
c7e2f979dd Merge remote-tracking branch 'btcpayserver/master' into feature/crowdfund 2018-12-27 20:19:29 +01:00
Mario Dian
f87339f9fa Change CustomTipPercentages type to int[] 2018-12-27 12:57:31 +08:00
Mario Dian
c7e90cd7df New PoS design 2018-12-27 12:57:31 +08: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
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
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
e80593fb7b Expose LND's other macaroon if possible 2018-12-20 16:52:04 +09:00
nicolas.dorier
73e280157d Show the gRPC cypher suites for gRPC consumption 2018-12-20 14:16:23 +09:00
Kukks
3e2ff55954 Merge remote-tracking branch 'btcpayserver/master' into feature/coinswitch 2018-12-19 10:41:36 +01:00
Kukks
40c645e433 coinswitch integration 2018-12-18 20:14:59 +01:00
Kukks
2b4603a234 coinswitch integration 2018-12-18 19:01:58 +01:00
Andrew Camilleri
27bde55f54 work on building the viewmodel for crowdfund 2018-12-18 16:27:03 +01: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
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
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
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
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
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
4dccd0c733 Add better instruction on how to customize the theme 2018-11-17 12:43:11 +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
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
8e667f6c3f Allow empty template (Fix #303) 2018-11-13 16:32:13 +09:00
Andrew Camilleri
7adf321956 Checkout Experience Language Setting (#393)
* fix check out experience default language validation of preset value not found

* Update CheckoutExperienceViewModel.cs
2018-11-12 22:17:00 +09:00
Mario Dian
b16b1c3e8b - add item image and description (#391)
- fix margins
2018-11-10 15:38:26 +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
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
9fc7f287d2 Expose buyer object to conform to bitpay API 2018-11-05 17:02:12 +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
88044f6b76 Decouple Wallet Send screen from Ledger Wallet 2018-11-01 00:19:25 +09:00
nicolas.dorier
a8ba1ed1ed Removing Kukks changelly credential from the source code 2018-10-28 01:02:24 +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
nicolas.dorier
2896a9b26f Add ScanUTXOSet support 2018-10-26 23:07:39 +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
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
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
rockstardev
5a43ce2719 Transfering Pay Button from App directly to Store 2018-08-22 13:57:54 +02:00
rockstardev
4111b8a5a3 Maintaining AppId reference 2018-08-22 12:59:55 +02:00
rockstardev
9a5034c13c URL of image for pay button 2018-08-22 10:52:17 +02:00
rockstardev
76a36d1829 Merge remote-tracking branch 'source/master'
# Conflicts:
#	BTCPayServer/BTCPayServer.csproj
2018-08-17 13:35:56 +02:00
rockstardev
cb4562aad5 Model validation attributes added for email and url 2018-08-17 13:26:33 +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
556b581b6a Updating display of generated HTML 2018-08-14 14:57:46 +02:00
nicolas.dorier
214b2d1c1c Fix SSH fingerprint checking 2018-08-13 09:43:59 +09:00
nicolas.dorier
6a1eca760a Can configure BTCPay SSH connection at startup 2018-08-12 21:38:45 +09:00
rockstardev
e698d90e3c Pay Button page foundation 2018-08-10 20:26:51 +02: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
Andrew Camilleri
d480be925b Can disable method of payments 2018-07-30 23:54:31 +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