Commit Graph

265 Commits

Author SHA1 Message Date
Andrew Camilleri
d958b1808c
Make Sync Modal remember collapsed state (#1929)
* Make Sync Modal remeber collapsed state

This makes the sync modal use the bootstrap collapse component instead of animatecss. It also removed animatecss as it seemed to be only used there.  Also, it will now remember if you collapsed it between page loads which since the new eth stuff keeps asking to configure it on my dev env.

* Sync modal improvements

- Use chevron icon and indicate toggle state
- Smooth opening animation by toggling element without padding
- Better modal content padding
- Run JS immediately to prevent flickering

Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2020-09-29 14:13:39 +02:00
Mario Dian
c640289f4f
App: Light PoS on top of the existing PoS (#1909)
* Initial commit

* review fixes

* Fix padding of logo, readjust display font size when clearing numbers

Co-authored-by: Kukks <evilkukka@gmail.com>
2020-09-21 08:06:31 +02:00
XPayServer
1cf60acb29 remove donation 2020-09-18 12:30:13 +02:00
Kukks
4463d2408c fix 2020-09-17 11:39:34 +02:00
Dennis Reimann
7e60328cff
Greenfield: Rename API key redirect params; switch to POST body (#1898)
* Rename user param to userId in API key redirect

This way it is clearer what to expect and it also make the parameteer easier to consume.

* Post redirect: Allow form url and prettify page

- Form URL as alternative to controller/action for external URLs
- Making it look nice and add explanation for non-JS case

* APIKeys: Minor view updates

fix

* APIKeys: Use POST redirect for confirmation

fix

* UI: Minor update to confirm view

Tidies it up and adapts to the newly added ConfirmAPIKeys view.

* APIKeys: Update delete view

Structures the information in title and description better.

* APIKeys: Distinguish authorize and confirm (reuse)

* Upgrade ChromeDriver

* Test fixes

* Clean up PostRedirect view

By adding missing forgery token

* Re-add tests for callback post values

* Rename key param to apiKey in API key redirect

* Update BTCPayServer/wwwroot/swagger/v1/swagger.template.authorization.json

Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>

* Use DEBUG conditional for postredirect-callback-test route

* Remove unnecessary ChromeDriver references

* Add debug flag

* Remove debug flags

Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>
2020-09-17 11:37:49 +02:00
Kukks
8e8415515d Show index of payment address for onchain payments 2020-09-16 11:49:37 +02:00
Kukks
2711f2cb2f Fix CI 2020-09-15 16:26:10 +02:00
Nicolas Dorier
25dd38af5c
Merge pull request #1730 from xpayserver/feat/eth
Add Ethereum & ERC20 Support
2020-09-15 19:51:55 +09:00
Kukks
50a9772388 Remove Changelly 2020-09-10 10:30:53 +02:00
XPayServer
de755ac0bb Add Ethereum & ERC20 Support
Add Tests
Add Index, XPub to payment data
Add Note on local ETH node
Fix Sync Summary and Race Condition
2020-09-09 08:19:10 +02:00
Kukks
13b9a7bf6e fix typo in monero 2020-09-02 13:15:09 +02:00
Andrew Camilleri
86e7b7bdb3
fix monero crash (#1884)
fixes #1883
2020-09-02 12:10:27 +02:00
nicolas.dorier
eba0778045
Nugetify the BTCPayServer.Client 2020-09-01 11:49:10 +09:00
Umar Bolatov
db89754a26
Add text break to alerts (#1865) 2020-08-25 14:55:34 +09:00
nicolas.dorier
59f00ea3df
Remove Tor link from navbar 2020-08-18 13:03:26 +09:00
Andrew Camilleri
3024ace641
Merge branch 'master' into bitcoin-only-fixes 2020-08-14 17:50:36 +02:00
nicolas.dorier
5c9d0fd40a
Use razor component to encapsulate UI logic 2020-08-12 16:48:14 +09:00
Dennis Reimann
4e70f5b8f1
UI: Improve mobile login views 2020-08-10 09:46:01 +02:00
Kukks
26aac6c45d Do not crash UI and background services after switching to BItcoin Only when you have altcoin payments 2020-08-09 16:17:16 +02:00
nicolas.dorier
23aefccbe9
Construct websocket uri for notification client side 2020-08-04 11:21:41 +09:00
Dennis Reimann
5b929e85cf
Simple layout cleanups
Some cleanups related to the recent changes arount the LayoutSimple. We don't use the font montserrat anymore and the col-head class is also obsolete.
Moved the remaining styles to our site.css
2020-08-02 14:33:20 +02:00
Nicolas Dorier
8e2728902a
Merge pull request #1754 from btcpayserver/feat/prefs-generalization
Cookie Preferences Generalization, applying same style to ListInvoices and Payment Requests
2020-07-31 16:12:10 +09:00
XPayServer
92ae1109d0 Add Bitcoin Only Build 2020-07-28 22:48:51 +02:00
rockstardev
8f293db29b Extracting grid paging to partial 2020-07-28 10:28:32 -05:00
Nicolas Dorier
27d7d03d4c
Merge pull request #1745 from dennisreimann/recovery-seed
Recovery seed
2020-07-22 20:55:20 +09:00
Nicolas Dorier
ca8d83099f
Merge pull request #1752 from dennisreimann/login
Login/register view improvements
2020-07-22 20:53:01 +09:00
Umar Bolatov
bc0215b647
Place status message in correct positions for cart and static versions of POS app
fix #1758
2020-07-20 20:32:26 -07:00
Dennis Reimann
8688334f0d
Update views dependent on simple layout 2020-07-20 16:53:49 +02:00
Dennis Reimann
7c1d0f2e8f
Recovery seed page improvements 2020-07-19 15:52:57 +02:00
Dennis Reimann
0e8cd20533
Login/register/error view updates 2020-07-19 14:28:07 +02:00
Dennis Reimann
cfef1f3432
Add separate recovery seed backup view
fix
2020-07-17 18:00:07 +02:00
Dennis Reimann
892ea0e9af
Login/register view improvements
Consistently aligned the texts centered and moved the Tor URL button below the form.
2020-07-17 17:51:25 +02:00
Nicolas Dorier
7d0aa8d91f
Merge pull request #1729 from xpayserver/feat/enhance-monero
Show sync progress for monero and show amount of monero payment
2020-07-17 12:45:22 +09:00
Nicolas Dorier
2e225a1435
Merge pull request #1712 from dennisreimann/login
Redesign login and register / refactor create user
2020-07-17 12:39:08 +09:00
Dennis Reimann
5da9bd1784
Minor fixes and improvements for login and register 2020-07-13 21:30:09 +02:00
Dennis Reimann
ea8f121cb0
Rework login and register views 2020-07-13 17:32:19 +02:00
Dennis Reimann
17421497a1
Extract supporter styles from layout 2020-07-13 17:29:47 +02:00
Dennis Reimann
761f6152d0
Unify welcome and error layout to LayoutSimple 2020-07-13 17:29:47 +02:00
Kukks
006ebf3f15 Fix 2FA config screens 2020-07-13 10:58:53 +02:00
XPayServer
1c7185a574 Show sync progress for monero and show amount of monero payment 2020-07-11 17:44:27 +02:00
Dennis Reimann
3f23531f20
Improve email settings view 2020-07-09 17:22:22 +02:00
Dennis Reimann
718835255f
Improve spacing for status messages 2020-07-09 17:21:29 +02:00
Kukks
9a989b46cc add supporter 2020-06-26 07:12:22 +02:00
Andrew Camilleri
dc5d8a6cb7
Refresh UI notifications automatically on update (#1680)
* Refresh UI notifications automatically on update

* make notif timeago live

* pass cancellation token

* Update InvoiceEventData.cs
2020-06-24 10:23:16 +02:00
Andrew Camilleri
13569fe4a2
Improve notifications UI (#1678)
* Add No JS support for notification seen toggle

* Invalidate cache when user toggles seen/massaction

* mark notif as seen after click

* add additional mass actions

* fix formatting

* add pav changes

* invalidate cache on new notifs
2020-06-23 10:06:02 +09:00
Andrew Camilleri
12e2b93ac9
Add invoice notifications (#1674)
* Add invoice notifications

* fixeth le order

* comment-to-code auto commit

* reduce notifications
2020-06-22 16:32:51 +09:00
nicolas.dorier
0b720768b8
Asyncify NotificationManager 2020-06-17 11:26:21 +09:00
Kukks
43a99bfef2 fix supporters 2020-06-15 10:08:38 +02:00
rockstardev
741b93dc04 Removing obsolete NotificationDbSaver hosted service 2020-06-15 01:22:09 -05:00
rockstardev
536a85eadc Moving Notifications nav item to separate partial 2020-06-14 23:49:08 -05:00
rockstardev
8cdc73c31f Moving layout partial to separate folder 2020-06-14 23:49:08 -05:00
rockstardev
95a751c505 Displaying last 5 notifications in Layout 2020-06-14 23:49:08 -05:00
rockstardev
654bb0c8ca Displaying number of unread messages in _Layout.cshtml 2020-06-14 23:49:08 -05:00
rockstardev
9206f0cd2e Handling notifications event and rendering them through controller 2020-06-14 23:49:08 -05:00
rockstardev
0cacfa140b Renaming Notice to Notification
Longer, but what can we do...
2020-06-14 23:49:08 -05:00
rockstardev
1ab016d21e Foundation for notices grid 2020-06-14 23:49:08 -05:00
Kukks
58f9b9b0c1 Handle Supporters display
closes #1624
2020-06-14 16:09:36 +02:00
Dennis Reimann
b066cfd904
Update and fix documentation links 2020-06-11 16:09:33 +02:00
Nicolas Dorier
a70934938a
Merge pull request #1605 from dennisreimann/pos-refactoring
Point of Sale Refactoring
2020-05-30 13:14:50 +09:00
Dennis Reimann
e12aa9e657
POS: Use views instead of partials 2020-05-28 08:50:04 +02:00
Kukks
568015c58f add new supporter 2020-05-27 16:41:50 +02:00
nicolas.dorier
1bbdaa1251
Make sure replaced transactions have linethrough in the invoice list 2020-05-21 01:50:39 +09:00
chewsta
55f416c48c
apply window scroll offset to copied notification offset (#1550)
resolves #1549
2020-05-08 05:35:25 +09:00
Kukks
74c574255e Payjoin: Fix payjoin detection in checkout UI
sometimes, it would think there is a payjoin enabled invoice when really, it was just the address or asset id that has `pj` in it
2020-04-30 09:05:17 +02:00
nicolas.dorier
c1ffeb331b
Fix typo 2020-04-20 01:47:27 +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
Nicolas Dorier
e73aece9c3
Merge pull request #1467 from dennisreimann/404-center-supporters
Center supporter logos on 404 page
2020-04-16 14:47:35 +09: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
26067fbfe2
Center supporter logos on 404 page 2020-04-15 16:49:13 +02:00
Umar Bolatov
cb10551d2c
Make sure sponsor logos show up nicely on all screen sizes
fix #1459
2020-04-12 15:08:28 -07:00
Dennis Reimann
48c220b751 Header updates for light/dark theme
fix
2020-04-10 09:18:07 +02:00
Andrew Camilleri
ed0e423aa7
Add payment link in checkout with payjoin indicator (#1449)
* Add payment link in checkout with payjoin indicator

* move to bottom
2020-04-09 20:44:08 +09:00
Kukks
5503132ffc Fix vue-i18n var substitution error in checkout
fixes #1438
2020-04-06 13:38:58 +02:00
Nicolas Dorier
7ce614f1c4
Merge pull request #1435 from btcpayserver/pr/dark-checkout
Dark checkout theme
2020-04-06 17:46:17 +09:00
nicolas.dorier
4c966e2a09
Refactor the detection of the payjoin payment 2020-04-05 22:44:34 +09:00
rockstardev
c106ac2c42 Adding margin around QR code 2020-04-04 23:44:47 -05:00
nicolas.dorier
fd026a9733
Refactor server-side 2020-04-05 12:02:36 +09:00
Kukks
4d2e59e1a1 Change flow of payjoin in wallet + fix tests 2020-03-30 13:27:04 +02:00
Kukks
1a62ee9260 try fix tor socks5 connection 2020-03-27 10:45:12 +01:00
Kukks
56d5e6f99f fixes 2020-03-27 10:45:12 +01:00
Kukks
89da4184ff BIP79 Support 2020-03-27 10:45:12 +01:00
Kukks
517c65f1fc make no js version a littler better 2020-03-19 10:08:33 +01:00
Kukks
d6c66d0c03 New feature: Coin Selection
This opt-in feature allows you to select which utxos you want to use for a specific transaction.
2020-03-19 09:44:47 +01:00
pavlenex
d3af82e38b Add btse to readme and front page 2020-03-10 10:28:15 +01:00
rockstardev
7f6d27cc5b Fixing modal Open Wallet click on iOS Safari by targeting iframe parent 2020-03-01 20:51:34 -06:00
Kukks
e7eea1036b make api key delete use confirm page 2020-02-26 10:26:38 +01:00
Andrew Camilleri
d31bff7070
BPU Prep Work Part2 (#1340)
* BPU Prep Work Part2

* Adjust tests to use the hot wallet when registering deriv scheme
* Add amount to payment data view for onchain payments
* Make zone limits higher when in dev mode (for tests in next PR)
* Make IPaymentMethodDetails serialize/deserialize through payment type using the network
* Allow named settings through settings repo
* Refactor some extensions for next PR

* pr changes

* use json convert for now
2020-02-19 17:35:23 +09:00
Charles Hill
821b904163
Added SendGrid, Mailgun to Quick-fill email settings (#1335) 2020-02-15 14:37:29 +09:00
nicolas.dorier
ae33b1d0a8
Fix PSBT Redirect No-access issues 2020-02-12 16:35:24 +09:00
rockstardev
fe2eca4fda Adding prettier error handling page in the pipeline 2020-02-01 01:40:50 -06:00
rockstardev
88835b5b55 Moving _LayoutWelcome to shared folder 2020-02-01 00:32:31 -06:00
Andrew Camilleri
e058903450 Do not show assets in sync modal (#1309) 2020-01-26 19:45:52 +09:00
Kukks
b7503c994c fix broken links 2020-01-14 12:46:07 +01:00
nicolas.dorier
5dbdb4b399
Keep coinaverage compatibility, improve UX, hardcode feed provider supported exchanges 2020-01-13 23:37:01 +09:00
Jameson Lopp
4f046ed1d3
add spelling / grammar fixes and some clarifications for settings. 2019-12-26 07:32:32 -05:00
Dennis Reimann
7ccf0c3612
UI: Add custom theme file option
This adds a "Custom Theme CSS file" to the "Server settings: Theme" page. It works similar to the custom bootstrap and creative start fields, but is only added to the head in case it is set.

The main idea here is that users would choose one of our predefined themes and have the option to override specific values. The other apporach would be to let the custom theme replace the predefined one, but this could lead to issues in case we extend the set of variables, which would be unset then.
This way users can copy a predefined theme and override all variables or just the ones they want to customize.

The help icon besides the label links to a page in the docs I'm currently working on.
2019-11-22 21:09:18 +01:00
nicolas.dorier
eef623fb4b
Ask passphrase when appropriate (Fix #1185) 2019-11-22 19:13:04 +09:00
nicolas.dorier
1bcbc9bab0
Should not show the password 2019-11-21 16:03:06 +09:00
nicolas.dorier
1a8d6e5c05
Implement BTCPayServer vault derivation scheme import 2019-11-21 14:06:16 +09:00
Lucas Cullen
6064e3ce55 Add office365 quick settings 2019-11-18 08:12:06 +10:00