Commit Graph

881 Commits

Author SHA1 Message Date
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
nicolas.dorier
a3c46c8f67 Use hangfire in-memory provider until the postgres binding to hangfire get updated. 2018-05-11 15:06:11 +09:00
nicolas.dorier
66a68d6180 Rename LockSubscription, remove the link if not available 2018-05-10 16:02:49 +09:00
rockstardev
be1128a886 Support for displaying fiat value of invoice 2018-05-09 22:39:13 -05:00
nicolas.dorier
d41a5a65a2 Update posgres and clightning in tests 2018-05-10 11:56:46 +09:00
nicolas.dorier
d5cab938ee bump 2018-05-09 14:10:06 +09:00
nicolas.dorier
6bd5976d90 Update SQLite package 2018-05-08 19:17:06 +09:00
nicolas.dorier
bba268b5e2 Upgrade to .NET Core 2.1 2018-05-08 17:57:53 +09:00
nicolas.dorier
70c98b6901 use the theme manager for ViewPointOfSale 2018-05-08 00:19:28 +09:00
nicolas.dorier
2d3b7fea2e update packages 2018-05-07 23:02:55 +09:00
Nicolas Dorier
3bdf1c9a00
Merge pull request #156 from Vutov/master
Added BTG Support
2018-05-07 14:16:31 +09:00
nicolas.dorier
a52665ea80 bump 2018-05-07 12:29:56 +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
75d685ae6c fix grammar 2018-05-07 00:24:23 +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
vutov
ca8af5047a Changed DefaultRateRules 2018-05-06 14:59:49 +03:00
nicolas.dorier
cdc0b0d628 Fix crash when creating a token 2018-05-06 19:03:30 +09:00
nicolas.dorier
87e28b70fd cap MinimumTotalDue to 1 satoshi 2018-05-06 13:55:03 +09:00
nicolas.dorier
b96f464e39 Add "unusual:" filter to invoice list 2018-05-06 13:16:39 +09:00
vutov
bca68986f3 Added BTG Support 2018-05-05 23:06:09 +03:00
nicolas.dorier
272ac49872 try to better respect event ordering 2018-05-06 02:06:07 +09:00
nicolas.dorier
5f05ca5ac6 bump 2018-05-06 00:43:05 +09:00
nicolas.dorier
7872b3ec55 Add a new invoice event: expiredPaidPartial and fix some corner case for tolerance 2018-05-06 00:40:44 +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
9a92646d4d add test and refactor for PR 2018-05-05 16:07:22 +02:00
Andrew Camilleri
b002c49dac Merge remote-tracking branch 'btcpayserver/master' into feature/order-tolerance 2018-05-05 16:04:59 +02:00
nicolas.dorier
3f4ec9ba80 simplify currency parsing if _ is forgotten and there is 6 letters 2018-05-05 22:59:53 +09:00
nicolas.dorier
744734a6a1 Returns fallback feerate for coins not supporting fee rate query in NBXplorer 2018-05-05 22:19:36 +09:00
nicolas.dorier
29f662f87c bump NBXplorer 2018-05-05 22:05:22 +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
nicolas.dorier
4458e63c1a Break default DOGE rules in two, add some documentation about inverses 2018-05-05 01:34:08 +09:00
nicolas.dorier
3225745115 bump 2018-05-05 01:01:39 +09:00
nicolas.dorier
a325592106 Can match exact reverse 2018-05-05 01:00:19 +09:00
Andrew Camilleri
01069ed583 Remove unnecessary branching 2018-05-04 17:50:05 +02:00
Andrew Camilleri
0fc770bbb1 extract logic of accounting to accounting and remove bitpay breaking changes 2018-05-04 17:47:33 +02:00
Andrew Camilleri
dfb79ef96e Merge remote-tracking branch 'btcpayserver/master' into feature/order-tolerance 2018-05-04 17:46:39 +02:00
nicolas.dorier
4ebffc8d43 fix BIP70 bug 2018-05-05 00:44:02 +09:00
nicolas.dorier
c2dad08fef Can solve inverse of currency pair 2018-05-05 00:40:54 +09:00
cronos
7c3ddf904c Merge remote-tracking branch 'upstream/master' 2018-05-04 09:47:03 -05:00
Andrew Camilleri
c3d73236e0 start work on payment tolerance feature 2018-05-04 16:15:34 +02:00
nicolas.dorier
8a4da361fd Fix bug about invoice URL 2018-05-04 22:05:40 +09:00
nicolas.dorier
57effe318b Fix missing URL for invoice 2018-05-04 21:41:50 +09:00
nicolas.dorier
9325441693 fix typo 2018-05-04 16:09:43 +09:00
nicolas.dorier
180341576b bump 2018-05-04 15:55:09 +09:00
nicolas.dorier
e2533a93e3 Fix set email screen 2018-05-04 15:54:12 +09:00
nicolas.dorier
14360bde78 Use rate directly from some exchanges, fix bug in ServerSettings 2018-05-04 15:36:10 +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
rockstardev
674cd1486d Showing btcPaid once invoice is paid
Fix #144
2018-05-03 16:38:40 -05:00
rockstardev
ce12e87b70 Restoring QR Code for 2Fact authentication, fix #147 2018-05-03 16:13:50 -05: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
f460837f96 Make sure RateRules do not remove comments 2018-05-03 04:33:21 +09:00
nicolas.dorier
e57a488371 Refactor the RateProvider 2018-05-03 03:32:42 +09:00
nicolas.dorier
43be1e191f Create the RateRules class for parsing rate calculation rules 2018-05-02 18:37:53 +09:00
rockstardev
fcfba7f5e1 Refactoring connection to Lnd now there is HTTP support 2018-05-01 20:33:43 -05:00
cronos
25208915eb Merge remote-tracking branch 'upstream/master' 2018-04-30 10:29:30 -05:00
nicolas.dorier
eb975bf8fc Isolate Bitpay's code outside of middleware inside BitpayClaimsFilter 2018-04-30 22:28:00 +09:00
nicolas.dorier
21bbf49640 Rewrite authorization enforcement and simplify the code 2018-04-30 22:00:43 +09:00
nicolas.dorier
9339c7dff2 Make sure btcpay does not wait all the invoces to be cleaned to start 2018-04-30 15:39:47 +09:00
nicolas.dorier
af0eb831a2 Remove useless code and rename file 2018-04-30 02:37:32 +09:00
nicolas.dorier
1fc9a1a54b Move to a Claim based security 2018-04-30 02:33:42 +09:00
nicolas.dorier
3954ce2137 fix (again) the broken hr.js 2018-04-30 01:32:15 +09:00
nicolas.dorier
271de362cb fix broken checkout 2018-04-30 00:29:34 +09:00
nicolas.dorier
d41474ebc8 Bump 2018-04-29 20:52:51 +09:00
nicolas.dorier
5b0b3e30f4 Small rewrite 2018-04-29 20:50:54 +09:00
nicolas.dorier
48a95457b6 fix boolean 2018-04-29 20:49:38 +09:00
nicolas.dorier
7c0b26174f Fix theme manager incorrectly applying default theme if rootPath is specified 2018-04-29 20:48:17 +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
lepipele
69050f7a56 Lnd sends some integers as strings, testing invoice creation 2018-04-28 12:49:56 -05:00
2pac1
de39fa0aea
Update hr.js 2018-04-28 18:46:55 +02:00
2pac1
94ff77f2b2
Update hr.js 2018-04-28 18:44:55 +02:00
2pac1
bb7dc1ed4a
Update hr.js 2018-04-28 18:34:47 +02:00
2pac1
c5e833ee79
Update hr.js 2018-04-28 18:33:34 +02:00
2pac1
4397591134
Create hr.js 2018-04-28 18:27:51 +02:00
2pac1
986c7b94f4
Update Checkout.cshtml 2018-04-28 18:13:44 +02:00
2pac1
a6ef7387cf
Update LanguageService.cs 2018-04-28 18:12:11 +02:00
lepipele
1743919cd4 Conversion of LnrpcInvoice into LightningInvoice 2018-04-28 00:39:43 -05:00
lepipele
131328b42c Foundation integration with Lnd 2018-04-27 23:36:58 -05:00
lepipele
f32e225fa6 Generating Lnd wrapper using NSwag
https://github.com/lightningnetwork/lnd/blob/master/lnrpc/rpc.swagger.json
2018-04-27 23:36:58 -05: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
nicolas.dorier
c3ee43c228 Add ExchangeSharp 2018-04-27 12:15:29 +09:00
lepipele
042142396d Refactoring code to adhere to naming guidelines 2018-04-26 21:52:04 -05:00
lepipele
fbc4ca89aa Enapsulating Token per code review discussions 2018-04-26 21:44:21 -05: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
lepipele
ef0b8376d3 Abstracting hosted service that has listen loop tasks 2018-04-26 21:39:43 -05:00
nicolas.dorier
1fa1b74261 Center the last row of the PoS screen 2018-04-27 00:00:32 +09:00
nicolas.dorier
4f9e4116a2 Point of Sale support free entry 2018-04-26 22:09:18 +09:00
nicolas.dorier
d4935263da Update various packages 2018-04-26 11:45:09 +09:00
nicolas.dorier
e158d909fb bump 2018-04-26 11:16:56 +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
ec5b45cff6 Recoding timer removing dependecy on browser's setInterval
Ref: https://github.com/btcpayserver/btcpayserver/issues/130
2018-04-25 13:30:00 -05:00
lepipele
f2516854d8 Fixing width to align first columns
Ref: https://github.com/btcpayserver/btcpayserver/pull/134#issuecomment-383785811
2018-04-23 21:58:22 -05:00
lepipele
062ca6e743 Merge remote-tracking branch 'source/master' 2018-04-23 21:53:06 -05:00
Saevar
78b544f9ca
Update is.js 2018-04-23 23:08:35 +00:00
lepipele
81926b4450 Ellipsis when there is lots of info, preserving responsive tables
Ref: https://github.com/btcpayserver/btcpayserver/issues/133
2018-04-23 16:00:03 -05:00
nicolas.dorier
a7ad71d492 CoinAverage credentials are now correctly passed 2018-04-23 17:21:50 +09:00
nicolas.dorier
18977f7265 Optimize number of requests sent to Quadrigacx 2018-04-23 17:06:22 +09:00
nicolas.dorier
8a88b44e98 Add special rate provider for qudrigacx 2018-04-23 16:44:59 +09:00
nicolas.dorier
c9e5fe42ba Set default AvailableExchanges inside CoinAverageSettings 2018-04-23 16:12:11 +09:00
nicolas.dorier
56dffbf514 Set default exchange list 2018-04-23 16:09:18 +09:00
nicolas.dorier
0e1fac3773 fix getting exchange rate of Coinaverage 2018-04-23 15:58:35 +09:00
nicolas.dorier
e7c06880a8 Use API keys of bitcoinaverage for getting the exchange list 2018-04-23 15:48:18 +09:00
lepipele
36136f0f0f Removing empty folder, fixing build warnings 2018-04-22 22:30:37 -05:00
eabz
52e0845fc5 Merge remote-tracking branch 'upstream/master' 2018-04-21 09:59:46 -05:00
nicolas.dorier
22e5b2869a bump 2018-04-20 12:28:58 +09:00
lepipele
3b0914e89e Migrating ManageNavPages to new navigation enum 2018-04-19 15:57:23 -05:00
lepipele
76cd9a7b25 Abstracting navigation so it can use any enums 2018-04-19 15:42:12 -05: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
8075273ec8 Refactoring pills navigation 2018-04-19 11:40:12 -05:00
lepipele
97b59be9bf Adding page for Theme settings 2018-04-19 11:39:51 -05:00
lepipele
b87ec4f3d9 Primitive versioning of css files to ensure update on change 2018-04-19 11:15:45 -05:00
nicolas.dorier
3822358096 Show more info about bitcoin average quota 2018-04-20 01:01:39 +09:00
lepipele
ba7e8cfe78 Removing Merriweather as default body font, back to Arial
Ref: https://forkbitpay.slack.com/archives/C6PSCRFAM/p1524130675000104
2018-04-19 10:04:59 -05:00
nicolas.dorier
41978f1c59 Remove useless line in invoice.cshtml 2018-04-19 18:39:39 +09:00
nicolas.dorier
a22216fd04 fix layout 2018-04-19 17:06:08 +09:00
nicolas.dorier
6900e16aa4 bump 2018-04-19 16:54:47 +09:00
nicolas.dorier
10c981b2a0 Update NBXplorer 2018-04-19 16:54:25 +09:00
lepipele
5f940df1b4 Migrating Invoice styling 2018-04-18 23:44:01 -05: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
e4299c09ea bump 2018-04-18 22:28:31 +09:00
nicolas.dorier
e864cf35f7 bump NBitcoin 2018-04-18 22:28:04 +09:00
nicolas.dorier
3652866660 View offchain payments in Invoice screen 2018-04-18 22:27:01 +09:00
nicolas.dorier
0421004616 fix point of sale view on mobile 2018-04-18 21:52:13 +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
lepipele
d19b78b6cc Moving Creative Start files to dedicated folder 2018-04-17 17:23:33 -05:00
lepipele
9bbc05c3a7 Cleaning Invoice table, removing style attrs
Ref: https://github.com/btcpayserver/btcpayserver/issues/82

Co-authored-by: Esky33 <support@btcpayjungle.com>
2018-04-17 16:48:50 -05:00
lepipele
7df3c86649 Tweaking primary color now that creative.css no longer overrides 2018-04-17 16:29:05 -05:00
lepipele
c6e0a923bb Unifying bg-dark style, cleaning up references to extra colors 2018-04-17 16:22:20 -05:00
lepipele
637fe1727b Adding missing font styles back in
These are referenced by Creative - Start Bootstrap theme
2018-04-17 16:12:17 -05:00
lepipele
fd087bbeb8 Streamlining style for footer 2018-04-17 15:33:29 -05:00
lepipele
2f515e1cc0 Removing unused classes 2018-04-17 15:20:27 -05:00
Cronos
daf1a0a4bc Revert to origin csproj 2018-04-17 11:19:28 -05:00
Cronos
bc8978182e Add Polis 2018-04-17 11:13:50 -05:00
Nicolas Dorier
84cd9e570f
Merge pull request #128 from pajasevi/cs-trancaction-count
Transaction count CS translation
2018-04-17 11:31:29 +09:00