Matthew Penner
b26556e201
Merge branch 'develop' into v2
2021-08-21 12:50:51 -06:00
Cam White
5d41ac09fd
Grammatical fix on SetupTwoFactorModal ( #3549 )
2021-08-18 11:48:06 -06:00
Dane Everitt
dfff8ad667
Cleanup frontend to only pass the required description field
2021-08-04 21:15:18 -07:00
Dane Everitt
1a3451fb0d
Update underlying model representation for PATs
2021-08-04 21:15:18 -07:00
Matthew Penner
a39802cb4e
Merge branch 'develop' into v2
2021-08-03 14:41:12 -06:00
Mia
bda1ff50ab
[UI] Display the 2FA token, show spinner on load ( #3367 )
...
Co-authored-by: Dane Everitt <dane@daneeveritt.com>
2021-08-02 20:39:12 -07:00
Triassic
e8746feb97
Fix a typo in DisableTwoFactorModal.tsx ( #3507 )
2021-08-02 20:07:26 -07:00
Matthew Penner
361596e051
ui: I HATE STYLED-COMPONENTS WITH TYPESCRIPT
2021-07-22 11:15:27 -06:00
Dane Everitt
010ef8621b
[security]: remove external dependency for loading QR codes for 2FA
2021-05-16 12:45:04 -07:00
Dane Everitt
6b16b9bc2a
Cleanup logic for asModal
to make it a little easier to use dynamically
2021-05-16 12:35:49 -07:00
Steve Coulter
0e3d2f20dd
typo
2021-03-20 17:03:30 -07:00
Charles Morgan
bdad2621b2
Rename duplicated input id
...
Renames the field id so its unique and chrome dosen't complain <3
Closes https://github.com/pterodactyl/panel/issues/2710
2020-11-22 03:06:18 -05:00
Dane Everitt
23872b844a
Fix unnecessary object structuring
2020-10-22 21:33:06 -07:00
Ward Pieters
1c4ee31491
fix: duplicate enable 2FA error messages
2020-10-18 00:46:46 +02:00
Ward Pieters
f5dfe86eff
fix: duplicate disable 2FA error messages
2020-10-18 00:42:52 +02:00
Oreo Oreoniv
62e111657c
Fixed a bug with an incorrect size modal
2020-10-05 11:53:11 +03:00
Dane Everitt
c28cba92e2
Make modals programatically controllable via a HOC
...
This allows entire components to be unmounted when the modal is hidden without affecting the fade in/out of the modal itself.
This also makes it easier to programatically dismiss a modal without having to copy the visibility all over the place, and makes working with props much simpler in those modal components
2020-08-17 21:35:11 -07:00
Dane Everitt
d41b86f0ea
Correctly pass along allowed IPs for client API keys, closes #2244
2020-08-17 19:48:51 -07:00
DarthShmev
3dbb297645
Update DisableTwoFactorModal.tsx - Fix lint errors
...
Whoops! Trailing space after `<Button` on line 60.
2020-07-12 13:51:54 -04:00
DarthShmev
c59698d055
Update colour of disable two factor confirmation button
2020-07-12 01:14:08 -04:00
DarthShmev
3b16a4c5ab
Adjust size of close button for SetupTwoFactorModal
2020-07-12 00:59:34 -04:00
Dane Everitt
732594a164
Remove unused imports
2020-07-04 18:46:09 -07:00
Dane Everitt
c419d15907
eslint cleanup
2020-07-04 18:30:50 -07:00
Dane Everitt
82cf070c06
Fix styling on 2fa codes modal
2020-07-04 15:05:44 -07:00
Dane Everitt
5473edc006
Get spinners back in working order
2020-07-04 12:39:55 -07:00
Dane Everitt
bcf0a0586d
Support textareas and cleanup API page
2020-07-04 09:28:03 -07:00
Dane Everitt
baf35be8e8
Update fields to have a custom component
2020-07-04 09:13:41 -07:00
Dane Everitt
e8755ac598
Kind of get account stuff working; IDE is throwing a fit right now
2020-07-03 15:37:26 -07:00
Dane Everitt
795e045950
Display generated recovery tokens when enabling two factor
2020-07-02 22:23:25 -07:00
Dane Everitt
8d52e2e1a7
Finalize API key management for accounts
2020-03-22 19:10:49 -07:00
Dane Everitt
933a4733e8
Add base support for creating a new API key for an account
2020-03-22 18:15:38 -07:00
Dane Everitt
edb9657e2b
Upgrade to formik@2
2020-03-18 21:32:07 -07:00
Dane Everitt
f609271c35
Fix two-factor QR code display; closes #1799
2019-12-28 12:09:55 -08:00
Dane Everitt
158958d82d
Password change needs to require user login to reset some cookies
...
closes #1793
2019-12-28 12:07:42 -08:00
Dane Everitt
6ccac6e040
Mobile improvements for two-factor form
2019-12-22 20:51:50 -08:00
Dane Everitt
9a0ed6b291
Add ability to disable two factor authentication
2019-12-22 20:41:25 -08:00
Dane Everitt
2a653cdd8d
Automatically update the user data when 2FA is enabled
2019-12-22 20:23:43 -08:00
Dane Everitt
eb39826f46
Add base logic to configure two factor on account
2019-12-22 17:03:44 -08:00
Dane Everitt
fb9c106448
Update server listing and associated logic to pull from the panel dynamiacally
2019-08-17 16:03:10 -07:00
Dane Everitt
986285402f
Switch to a context store for server stuff to better support things in the future
2019-07-09 21:25:57 -07:00
Dane Everitt
9cb8020dbe
Add basic navigation bar
2019-06-25 21:28:56 -07:00