Dane Everitt
4ee19b6847
Tweak UI for dashboard
2020-08-29 18:20:12 -07:00
Dane Everitt
9e60cf9f53
Show server status
2020-08-24 21:17:15 -07:00
Dane Everitt
e873c597bb
Allow passing props through to determine modal options
2020-08-17 22:04:24 -07: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
Charles Morgan
d3316f61d7
Titles on index / account pages
...
Also changed to use `const { ..., name: serverName } = useServer();` where feasible
2020-08-01 23:49:00 -04:00
Dane Everitt
f0ac0725b6
[Security] Don't return all servers on the system when not a root admin and admin level servers are requested
...
Cleaned up the API endpoint by simplifying the logic and adds test case to cover this bug.
If you ever need to list _all_ of the servers on the system you should be using the application API endpoint for the servers most likely.
2020-07-26 10:43:46 -07:00
Dane Everitt
6c0d308348
Paginate servers on frontend; closes #2106
2020-07-14 20:48:41 -07:00
Dane Everitt
01faa86c73
swr for servers on dash; fix whatever is going on with the spinner
2020-07-12 11:15:54 -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
Dane Everitt
be1888f8eb
Merge pull request #2168 from DarthShmev/patch-2
...
Fix Two Factor Authentication Buttons colour and sizing. Closes #2167
2020-07-12 10:44:51 -07:00
DarthShmev
156391ef6d
Update ServerRow.tsx - Fix yarn compile errors.
...
"Unlimited" -> 'Unlimited'
Removed extra blank line
2020-07-12 13:41:41 -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
Matthew Penner
a9bb692112
Merge branch 'develop' into fix/2071
2020-07-11 12:29:04 -06:00
Dane Everitt
5c18fd1f0c
Show allocated ports on settings page
2020-07-08 21:42:37 -07:00
Dane Everitt
28992c5e43
Speed up animations throughout the panel
2020-07-05 13:56:04 -07:00
Dane Everitt
cbea4078fb
Remove lodash deps to reduce bundle size more
2020-07-04 21:46:49 -07: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
1e163aa792
Get server console page rendering (mostly) correctly
2020-07-04 15:40:41 -07:00
Dane Everitt
43ff67238c
Fix search modal
2020-07-04 15:19:46 -07:00
Dane Everitt
82cf070c06
Fix styling on 2fa codes modal
2020-07-04 15:05:44 -07:00
Matthew Penner
e4d141fa6f
Merge branch 'develop' into fix/2071
2020-07-04 15:22:25 -06: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
d93e804a31
Get server listing design working mostly correct
2020-07-03 14:50:37 -07:00
Dane Everitt
94e3acb9c4
Get compilation back to working
2020-07-03 14:19:05 -07:00
Dane Everitt
795e045950
Display generated recovery tokens when enabling two factor
2020-07-02 22:23:25 -07:00
Matthew Penner
e903d4cc2a
Use 1024 instead of 1000 for byte conversions, rename gloabl.d.ts to global.d.ts
2020-06-10 14:00:43 -06:00
Charles Morgan
3df0febd0c
Less Lines = Better
...
Same logic, just more compact and react like
2020-05-17 00:34:25 -04:00
Charles Morgan
564933fcb1
Show "unlimited" not 0
...
Shows unlimited for resources if they're set to "0"
Im sure we could also just remove the "of {limit}" part if its unlimited? Dane Advise
Im sure there is a 100x better way of doing this? Dane please advise.
2020-05-16 03:16:06 -04:00
Dane Everitt
e2e82b9bf3
Little bit better UI for suspended
2020-04-25 17:59:46 -07:00
Dane Everitt
c4f4f1f5c8
Don't show an error in the listing if the server is still installing or suspended
2020-04-25 17:58:09 -07:00
Dane Everitt
f45c03a449
Support filtering to own/all servers if user is an admin
2020-04-25 17:52:32 -07:00
Dane Everitt
41a94c66e4
Show an error box if we couldn't fetch details about the instance
2020-04-17 12:03:16 -07:00
Dane Everitt
e6a61fbe9b
Update views to support a more logical container
2020-04-17 11:17:01 -07:00
Dane Everitt
fc31d6347e
Correctly reset server state when the URL is changed
2020-04-12 16:19:43 -07:00
Dane Everitt
76300209f1
Correctly clear the interval for resource use checking
2020-04-10 12:49:09 -07:00
Dane Everitt
0dbf6b51b5
Add very simple search support to pages, togglable with "k"
2020-04-03 22:39:53 -07:00
Dane Everitt
e4e5dea6b8
Fix API key creation logic
2020-03-28 16:06:36 -07:00
Dane Everitt
1270e51248
Add support for deleting a subuser from a server
2020-03-27 15:32:33 -07:00
Dane Everitt
51c5cf4dbb
Get basic modal view for editing/creating a new subuser working
2020-03-25 21:58:37 -07:00
Dane Everitt
8d52e2e1a7
Finalize API key management for accounts
2020-03-22 19:10:49 -07:00
Dane Everitt
3ef649d984
Display the API keys
2020-03-22 18:25:29 -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
513692fef5
Whoops, actually show servers
2019-12-22 20:56:34 -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
293ebc9344
Show note when no servers.
2019-12-22 15:31:12 -08:00
Dane Everitt
2e32df98ea
First iteration of a file manager
2019-10-12 15:29:45 -07:00
Dane Everitt
cb9536cb24
Cleanup
2019-08-17 16:10:13 -07: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
e3db564175
Add basic support for listing a server's databases
2019-07-09 22:00:29 -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
f0ca8bc3a3
Handle connecting to websocket instance
...
Very beta code for handling sockets
2019-06-29 16:14:32 -07:00
Dane Everitt
8ac8a370f8
Fix some issues with navigating in the router and bad animations
2019-06-28 22:17:29 -07:00
Dane Everitt
3db7698170
Basic design for server listing page
2019-06-25 22:00:28 -07:00
Dane Everitt
9cb8020dbe
Add basic navigation bar
2019-06-25 21:28:56 -07:00