Commit Graph

661 Commits

Author SHA1 Message Date
nicolas.dorier
ec4c346e0a
[Greenfield] Document store API 2020-05-31 12:04:23 +09:00
nicolas.dorier
048dff7e9e
Always use second based TimeSpan in Greenfield 2020-05-31 08:52:32 +09:00
nicolas.dorier
d9a93f996f
Merge branch 'master' of https://github.com/btcpayserver/btcpayserver 2020-05-29 18:47:40 +09:00
Kukks
4947fa4d45 Add also money json converter 2020-05-29 10:15:01 +02:00
Kukks
37f4b34b5e Add Lightmoney json converter + do swagger defs for ln api 2020-05-29 10:04:28 +02:00
nicolas.dorier
66206399e1
Rename LightningPrivateRouteHint =>privateRouteHints 2020-05-29 09:03:07 +09:00
Andrew Camilleri
1e3f62718d
GreenField: Cross-implemenation Lightning Node API (#1566)
* GreenField: Cross-implemenation Lightning Node API

* switch to hard unrsstricted check

* fix

* set LightningPrivateRouteHints in swagger + stores api

* add priv route hint

* rename models and add swagger defs to models
2020-05-29 09:00:13 +09:00
Kukks
7db8d52624 add missing title in swagger payment request def 2020-05-28 16:53:50 +02:00
Kukks
77073fa78c fix swagger schema 2020-05-28 16:42:47 +02:00
Kukks
568015c58f add new supporter 2020-05-27 16:41:50 +02:00
nicolas.dorier
7e5d269c39
Remove LedgerWallet direct integration 2020-05-25 07:41:30 +09:00
nicolas.dorier
35432d919c
Refactor common data structure for wallet into SigningContext 2020-05-25 06:29:06 +09:00
Andrew Camilleri
79b034b505
GreenField: Add properties to Store API (#1573)
* GreenField: Add properties to Store API

* Update StoreBaseData.cs

* fix api

* fix swagger
2020-05-24 04:13:18 +09:00
nicolas.dorier
1d092a15fb
Refactor server info data structure 2020-05-20 03:27:06 +09:00
Andrew Camilleri
5b3b96b372
GreenField: Payment Requests CRUD (#1430)
* GreenField: Payment Requests CRUD

* fixes

* fix swagger

* fix swag

* rebase fixes

* Add new permissions for payment requests

* Adapt PR to archive

* fix tst

* add to contains policxy

* make decimals returned as string due to avoid shitty language parsing issues

* do not register decimal json converter as global

* fix cultureinfo for json covnerter

* pr changes

* add json convertet test

* fix json test

* fix rebase
2020-05-20 02:59:23 +09:00
Nicolas Dorier
338a0f9251
Merge pull request #1576 from dennisreimann/api-server-info
GreenField: Add Server Info API basics
2020-05-20 02:31:16 +09:00
Umar Bolatov
2a030fe7fb
Use different close button color variable (#1580)
fix #1579
2020-05-18 21:52:26 +02:00
Dennis Reimann
e3b348b55c
GreenField: Add Server Info API basics 2020-05-18 15:29:04 +02:00
Andrew Camilleri
2d68d0da63
Redo App template editor with Vue based app (#1544)
* Redo App template editor with Vue based app

* fix styles better

* remove debug

* support methods

* make price required

* fix styling for validation errors

* show create or edit in title based on context

* add border bottom when image present

* escape/unescape

* more validation fixes

* fix responsive style

* Toggle template field

* add errors to the app

* enhance validation
2020-05-08 05:37:59 +09:00
Andrew Camilleri
aff91f49ef
Make fee rate options pretty (#1554) 2020-05-08 05:34:39 +09:00
nicolas.dorier
87352f0b62
Make sure wallet support decimal fee, and allow user to select different fee rate based on expected confirmation time 2020-05-05 19:10:53 +09:00
nicolas.dorier
f3b2b350ce
Fix build 2020-05-05 07:06:32 +09:00
Umar Bolatov
26241be6fa
Ensure dropdown option doesn't overflow container (#1533)
fix #1526
2020-05-03 01:39:39 +09:00
Dennis Reimann
ff99ab1239
Improve pay button with custom text (#1520)
Fixes #1517.
2020-04-29 00:52:48 +09:00
Dennis Reimann
2841cd8498
Updates from design system (#1519)
* Use variable names as defined in the design system

* Use bootstrao version from design system
2020-04-29 00:48:55 +09:00
nicolas.dorier
68cc3aba21
update translations 2020-04-29 00:22:48 +09:00
Dennis Reimann
94cdd399d5
Finetune colors (#1514)
* Better harmonic neutral color progression

fix

* Invert light/dark colors for dark theme

fix

* Lighten form control borders a bit

* Use correct text color variables
2020-04-27 23:57:18 +09:00
Andrew Camilleri
c784144a07
Greenfield: Add update store API (#1495)
* Greenfield: Add update store API

* update update store model

* change greenfield controller name to stop conflict
2020-04-27 20:13:20 +09:00
Andrew Camilleri
b600e5777e
Add tooltip for store deriv + show "Not set" + "show end piece of string" (#1507)
* Add tooltip for store deriv + show "Not set" + "show end piece of string"

fixes #1506

* use regex witchraft

* adjust with regex
2020-04-27 19:55:46 +09:00
Dennis Reimann
e11963aca0
Checkout dark theme improvements (#1510)
Increase the contrast for some elements. Closes #1508.
2020-04-27 04:23:03 +09:00
nicolas.dorier
4b5b941761
Update translations 2020-04-26 15:34:30 +09:00
Nicolas Dorier
7adaa146dc
Merge pull request #1471 from dennisreimann/api-health-endpoint
GreenField: Add health check endpoint
2020-04-23 02:44:11 +09:00
Kukks
aeef160d0b separate store swagger 2020-04-22 15:05:13 +02:00
Dennis Reimann
48163961ed
Rename LCAD image (#1493)
Fixes #1491.
2020-04-22 08:47:44 +02:00
Dennis Reimann
8658cb5f29
Re-add versioning for btcpay.js (#1489) 2020-04-22 08:24:29 +02:00
Dennis Reimann
22e39998e2
Updates from code review
Thanks @kukks!
2020-04-21 16:43:14 +02:00
Dennis Reimann
70d1056d48
API: Health endpoint returns synchronized state 2020-04-21 16:29:54 +02:00
Dennis Reimann
3bd5c3e1b5
API: Add health check endpoint 2020-04-21 14:59:33 +02:00
Nicolas Dorier
aee55103a3
Merge pull request #1477 from dennisreimann/asset-cache-busting
Improve static asset caching
2020-04-19 05:32:20 +09:00
Dennis Reimann
8420c74b31
Improve static asset caching
Cache static assets for one year and set the correct cache control header. Adds the cache busting version based on file content to asset references to invalidate the cache on change. ([further details on the approach](https://andrewlock.net/adding-cache-control-headers-to-static-files-in-asp-net-core/) and [why one year](https://ashton.codes/set-cache-control-max-age-1-year/))

Most of the changes are the additions of the `asp-append-version="true"` attribute, the main configuration change is in `Startup.cs`.
2020-04-18 17:56:05 +02:00
Kukks
b02cfa9d41 fix subtract fees auto tick when clicking on balance 2020-04-17 15:24:27 +02:00
Dennis Reimann
00d1c4ebcc
Navbar fixes (#1466)
* Fix onion position in mobile navbar

* Show nav hover highlight only on desktop

* Fix navbar icon color
2020-04-15 17:13:58 +02:00
Dennis Reimann
55722b3191 Improve border color themeing 2020-04-10 09:18:08 +02:00
Dennis Reimann
6f85ffd9df Update footer color 2020-04-10 09:18:08 +02:00
Dennis Reimann
05952f95f1 Split light and dark theme
To make them explicitely selectable.
2020-04-10 09:18:08 +02:00
Dennis Reimann
b9c97cc5d7 Homepage updates 2020-04-10 09:18:08 +02:00
Dennis Reimann
d5b088b924 Improve color handling 2020-04-10 09:18:08 +02:00
Dennis Reimann
fbd5673cfd POS logo coloring fix 2020-04-10 09:18:08 +02:00
Dennis Reimann
ce7e4234cc Decrease font-size to match classic theme 2020-04-10 09:18:07 +02:00
Dennis Reimann
d2b38fdfce Set default theme for kitchensink 2020-04-10 09:18:07 +02:00