Commit Graph

57 Commits

Author SHA1 Message Date
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
nicolas.dorier
cd009466b6
Make sure we don't have empty row if no StatusMessage 2019-06-06 18:47:31 +09:00
Kukks
fcf1b679e6 Show Model errors on login/register
Invalid logins and registrations were not showing any messages
2019-06-04 14:37:13 +02:00
Nicolas Dorier
daab68d0b8
Merge pull request #877 from btcpayserver/feature/new-register
New register form
2019-06-03 21:02:25 +09:00
nicolas.dorier
ab0511aa1d
Make is admin checkbox inline 2019-06-03 21:01:48 +09:00
nicolas.dorier
621533e050
New register form 2019-06-03 20:47:18 +09:00
nicolas.dorier
dc334d230a
New login windows 2019-06-03 20:36:07 +09:00
Andrew Camilleri
ef9c2e8af1 Part2: Openiddict: Init OpenIddict & Database Migration & Auth Policies (#567)
* Part 1: OpenIddict - Minor Changes & Config prep

* Part 1: OpenIddict - Minor Changes & Config prep

* Part2: Openiddict: Init OpenIddict & Database Migration & Auth Policies

* pr changes

* pr changes

* fix merge

* pr fixes

* remove config for openid -- no need for it for now

* fix compile

* fix compile #2

* remove extra ns using

* Update Startup.cs

* compile

* adjust settings a bit

* remove duplicate

* remove external login provider placeholder html

* remove unused directives

* regenerate db snapshot model

* Remove dynamic policy
2019-05-24 15:17:02 +09:00
nicolas.dorier
27fd49e61c
Add --allow-admin-registration, useful for tests 2019-05-13 17:00:58 +09:00
britttttk
698033b0cf Selenium Chrome Tests 2019-05-12 18:49:28 +09:00
Andrew Camilleri
19a990b095 Add U2f Login Support (#787)
* init u2f

* ux fixes

* Cleanup Manage Controller

* final changes

* remove logs

* remove console log

* fix text for u2f

* Use Is Secure instead of IsHttps

* add some basic u2f tests

* move loaders to before title

* missing commit

* refactor after nicolas wtf moment
2019-05-02 21:01:08 +09:00
Aaron Clauson
3ad1834439 Better fix this as well or the user gets a blank page after the reset. 2018-12-12 22:39:37 +01:00
Aaron Clauson
4b492eae85 HTML formatting fix for issue #448. 2018-12-12 22:29:40 +01:00
rockstardev
73c65fada2 Fixing display on Lockout page 2018-09-22 01:11:14 -05:00
nicolas.dorier
846bd08e20 Server admin can add new user 2018-08-02 00:16:16 +09:00
nicolas.dorier
ca65c6bd8f fix #171 2018-05-12 18:38:43 +09:00