Commit Graph

72 Commits

Author SHA1 Message Date
Dennis Reimann
f2870caed2 Payment redesign (#1967)
* Payment redesign

Guess who's back!

This reverts commit 4174fa648d.

* Refactor PullPayment state string

Compatible with this one: https://github.com/btcpayserver/btcpayserver/pull/1834/files#diff-a9136096252382b110b9a7ac7747b95aR41

* Use unified copy to clipboard function

* Refactor status text class to helper function
2020-10-13 09:58:46 +02:00
Andrew Camilleri
4174fa648d Revert "Payment redesign" (#1962) 2020-10-08 08:37:18 +02:00
Dennis Reimann
dcf8783c2e Add copy link confirmation 2020-10-03 17:04:36 +02:00
Kukks
eb9fe7c401 add tests 2020-09-16 08:54:51 +02:00
Kukks
371b33a2e1 Allow admins to invite new users
* This refactors the email sending so that all the logic related to users and emails are now contained in one location.
* The Reset password screen has been updated from its ugly plain self to use the same layout as the login.
* An admin can now create a new account without specifying a password. A link is generated that can be given to the intended user to configure the password. If emails are configured, it also sends an email
* An admin can now create accounts that still require the user to verify their if the setting is enabled from the server settings. A link is generated that can be given to the intended user to configure the password. If emails are configured, it also sends an email.
* The above features can be used in conjunction: An email will have to verify their email through a link. Once verified, the user is redirected to setting the password.
* When an email has been verified OR a password has been set, users are now redirected to the login page with the email filled in and a success status message shown instead of a dedicated thank you page.
2020-09-16 08:54:24 +02:00
Dennis Reimann
4e70f5b8f1 UI: Improve mobile login views 2020-08-10 09:46:01 +02:00
Dennis Reimann
8d6a70ed7b Minor login/register adjustments 2020-07-20 15:20:23 +02:00
Dennis Reimann
0e8cd20533 Login/register/error view updates 2020-07-19 14:28: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
Dennis Reimann
a122c38666 Add copy tor url button to login and register 2020-07-13 21:29:42 +02:00
Dennis Reimann
e9870a4455 Improve forgot password view 2020-07-13 19:09:59 +02:00
Dennis Reimann
dbb8dae5e2 Login and register as secondary buttons 2020-07-13 19:09:50 +02:00
Dennis Reimann
ea8f121cb0 Rework login and register views 2020-07-13 17:32:19 +02:00
Dennis Reimann
761f6152d0 Unify welcome and error layout to LayoutSimple 2020-07-13 17:29:47 +02:00
Dennis Reimann
8fc593a73e Improve secondary login view 2020-07-08 19:18:40 +02:00
Dennis Reimann
4cd3d167b1 Autofocus 2FA-code input on page load (#1650)
UX improvement that allows you to directly paste the 2FA-code. Useful when you are using e.g. the 1Password browser extension.
2020-06-10 19:40:06 +02: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
rockstardev
88835b5b55 Moving _LayoutWelcome to shared folder 2020-02-01 00:32:31 -06:00
badev
08688f69c0 "lead-login" verbiage
missing final period. suggest changing verbiage to reflect btcpayserver.org verbiage for consistency.
2020-01-02 22:50:26 -05:00
rockstardev
df7e2073df Fixing AccessDenied page displayed 2019-12-04 13:45:09 -06:00
Kukks
d6b3530384 add login button to register page 2019-11-21 09:28:35 +01:00
nicolas.dorier
45b08ac8d2 Add sponsor 2019-11-19 20:37:15 +09:00
nicolas.dorier
9a4b385432 Add sponsor 2019-11-19 20:33:26 +09:00
Kukks
f1cef81d76 Do not allow login or register over an insecure connection 2019-11-15 12:39:17 +01:00
rockstardev
c6ef6fc17d Removing bootstrap and creative start vendor dirs, moving to main 2019-11-14 20:41:53 -06:00
Dennis Reimann
830286ecc1 Center content on forgot password page 2019-11-14 18:44:14 +01:00
Dennis Reimann
5436999b13 Fix welcome layout background 2019-11-14 18:44:11 +01:00
Dennis Reimann
458b2fd72e Register page fixes 2019-11-14 18:42:55 +01:00
Dennis Reimann
50bf55cbdf Unify section headings 2019-11-14 18:42:48 +01:00
Nicolas Dorier
04fbe42bda Merge pull request #1139 from bolatovumar/issue-1138
Vary page layout for registering new accounts
2019-11-14 23:58:37 +09:00
Umar Bolatov
9e31154808 Improve mobile view on new welcome layout
fix #1155
2019-11-13 18:46:58 -08:00
nicolas.dorier
a9de1c2c64 Add link to foundation website 2019-11-13 17:37:57 +09:00
nicolas.dorier
92bdb20e1c Add new sponsor 2019-11-13 16:04:47 +09:00
Kukks
974101624b fix text 2019-11-10 18:51:51 +01:00
Kukks
2743641122 hidden challenges rendered 2019-11-10 17:32:28 +01:00
Umar Bolatov
dfdb99165b Vary page layout for registering new accounts
address #1138
2019-11-09 21:24:19 -08:00
nicolas.dorier
d37abb53f0 Fix status message when a model is passed 2019-11-07 18:20:17 +09:00
nicolas.dorier
7be9083220 Update sponsor 2019-11-07 16:46:10 +09:00
nicolas.dorier
f0c2fb62df Select all link when clicked 2019-11-07 00:13:00 +09:00
nicolas.dorier
24d6532dac Add onion link to login/register 2019-11-06 23:58:04 +09:00
nicolas.dorier
d8103f7293 Fix webfont 2019-11-06 21:57:43 +09:00
nicolas.dorier
3d3446e46a Improve design of register/login on mobile 2019-11-06 21:51:10 +09:00
nicolas.dorier
5650b8560d Refactor the Header in its own partial view 2019-11-06 13:15:26 +09:00
nicolas.dorier
1a407a2da3 Add sponsor and new design to the login and registration page 2019-11-05 18:01:43 +09:00
nicolas.dorier
d66e8f2d13 Removing obsolete StatusMessage 2019-10-31 15:19:38 +09:00
nicolas.dorier
aad586232c Refactor StatusMessage and remove ExternalLogin 2019-10-31 14:11:33 +09:00
rockstardev
7282199c31 Cleanup U2F namespace to correspond to folder path 2019-10-02 12:32:41 -05:00
Nicolas Dorier
be5597085b Use Safe.Raw and Safe.Json instead of Html.Raw and the JsonHelper, move sanitization at the View level (#960) 2019-08-10 14:05:11 +09:00
badev
8e07bf3ffb Update Login.cshtml (#935)
* Update Login.cshtml

[UI] Removed Unneeded string on login page with registering disabled. #881

* Update Login.cshtml
2019-07-24 12:40:06 +09:00
Nicolas Dorier
ff86ce64b4 Merge pull request #880 from Kukks/error-messages-login-register
Show Model errors on login/register
2019-06-12 14:02:26 +09:00