Commit Graph

35 Commits

Author SHA1 Message Date
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
nicolas.dorier
29a807696b Refactor permissions of GreenField 2020-03-19 23:43:51 +09:00
nicolas.dorier
a9bf843be0 Bump various libraries 2020-03-10 21:24:22 +09:00
Kukks
5e15dd97b3 fix sqlite again
closes #1287
Seems like a merge conflict removed the fix for sqlite datetimeoffsets
2020-03-09 09:44:44 +01:00
Kukks
48c21baee5 add migration attributes and remove designer 2020-02-26 09:53:58 +01:00
Kukks
95b9884af7 Revert "consolidate migrations"
This reverts commit 501c3241b5.
2020-02-26 09:41:32 +01:00
Kukks
501c3241b5 consolidate migrations 2020-02-25 15:00:47 +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
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
5d817a0483 Revert fix mysql 2020-02-14 00:23:00 +09:00
nicolas.dorier
ee9905e85a Fix mysql 2020-02-14 00:07:19 +09:00
nicolas.dorier
ff4c7c364e Fix mysql 2020-02-14 00:02:47 +09:00
nicolas.dorier
a2d657f5cb Fix mysql migration 2020-02-13 23:58:48 +09:00
Andrew Camilleri
1ceb5cb576 Fix sqlite madness (#1293)
* Need to reference Microsoft.EntityFrameworkCore.Design else you can't generate migrations
* fix design time migrations issues
* update snapshot
```
Your startup project 'BTCPayServer.Data' doesn't reference Microsoft.EntityFrameworkCore.Design. This package is required for the Entity Framework Core Tools to work. Ensure your startup project is c
orrect, install the package, and try again.
```
*
2020-01-19 21:57:50 +09:00
nicolas.dorier
76008c9f5c bump to sdk 3.1.101 and version 3.1.1 (security patch) 2020-01-18 16:59:25 +09:00
nicolas.dorier
4ac79a7ea3 Fixing SQLite in Invoices page (Fix #1287) 2020-01-17 21:45:20 +09:00
Andrew Camilleri
bb12de8945 Fix Sqlite migration (#1284) 2020-01-16 22:05:33 +09:00
nicolas.dorier
629dfcf152 Cleanup netcore21 specific code 2020-01-12 13:30:54 +09:00
nicolas.dorier
a816e37621 Update libs 2020-01-11 13:12:24 +09:00
nicolas.dorier
8e00e6d8e3 Make sure that varchar(255) is used for mysql migration scripts 2019-12-23 15:03:06 +09:00
nicolas.dorier
8bcb2381a0 Comment code to generate MySql migration scripts 2019-12-23 15:03:05 +09:00
nicolas.dorier
062c42e524 Fix build 2019-12-07 16:42:03 +09:00
nicolas.dorier
2d932ebb21 Update to runtime .NET 2.1.14 2019-12-07 16:35:13 +09:00
nicolas.dorier
997df5c64d Remove build warnings 2019-11-17 16:50:28 +09:00
nicolas.dorier
3c9b58916b Update to OpenIddict3.0 2019-10-18 19:02:23 +09: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
3417556f5c Update pomelo on .netcore3.0 2019-10-07 15:12:22 +09:00
nicolas.dorier
724a5b5460 Prepare code to move to netcoreapp3.0 2019-10-04 17:17:11 +09:00
nicolas.dorier
275fbc81e7 Prepare BTCPayServer.Data for .netcore 3.0 2019-10-03 16:36:02 +09:00
nicolas.dorier
d9cd00f49a Make tests more resilient 2019-09-06 18:29:12 +09:00
nicolas.dorier
b7ba97d86f Fix namespace in the db snapshot 2019-08-30 18:22:19 +09:00
nicolas.dorier
0eb58e9a91 Remove designer files 2019-08-30 18:22:18 +09:00
nicolas.dorier
f257f9f91d [Refactor] Move SQL classes in their own assembly 2019-08-30 18:22:13 +09:00