Commit graph

101 commits

Author SHA1 Message Date
Dane Everitt
9b46d59045
Cache resource lookup results for 20 seconds for each server 2021-03-21 12:29:18 -07:00
Dane Everitt
29b4b52397
Set the current page in the dashboard URL to allow easy refreshing; closes #2993 2021-03-21 12:07:24 -07:00
Steve Coulter
0e3d2f20dd
typo 2021-03-20 17:03:30 -07:00
Sabinno
9ca0ee99e9
Fix spelling
Changed "other's", implying a single other person's server, to "others'", implying the servers of multiple people.
2021-03-05 12:39:47 -05:00
Dane Everitt
e30a765071
Simplify logic when a server is in an unsupported state 2021-01-30 13:28:31 -08:00
Dane Everitt
663143de0b
Merge branch 'develop' into dane/restore-backups 2021-01-25 19:16:40 -08:00
Dane Everitt
914ee65ded
Don't use a persisted setting when switching users; ref #3021 2021-01-20 20:07:52 -08:00
Dane Everitt
805952ac38
Update typescript bindings with new status field 2021-01-17 16:13:49 -08:00
Dane Everitt
c75f89889a
Update to Tailwind V2 2020-12-26 09:50:09 -08:00
Dane Everitt
9b01734752
Require meta key to trigger search; change from "k" to "/"; closes #2785 2020-12-25 15:55:31 -08:00
Matthew Penner
e6c4a68e4a Update logic for tracking a server's transfer state 2020-12-17 10:35:54 -07:00
Dane Everitt
d22456d9ca
Block API access when 2FA is required on account; closes #2791 2020-12-06 13:56:14 -08:00
Dane Everitt
a8d9eccf9c
Support pagination of server backups, closes #2787 2020-12-06 12:01:42 -08: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
31ad238e8b
Thanks for that highlight phpstorm... 2020-10-31 14:11:53 -07:00
Dane Everitt
283cb08e33
Remove unused 2020-10-31 13:55:45 -07:00
Dane Everitt
8eaa44411f
Update ServerRow.tsx 2020-10-31 12:09:59 -07:00
Dane Everitt
87a8238c56
Correctly render suspended server in dashboard listing; closes #2613 2020-10-31 12:07:20 -07: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
Dane Everitt
a4abb2543b
lint 2020-10-15 21:28:43 -07:00
Dane Everitt
f52f13600f
Fix text wrap on long server names in search bar 2020-10-15 21:23:31 -07:00
Dane Everitt
f30dab053b
Support much better server querying from frontend
Search all servers if making a query as an admin, allow searching by a more complex set of data, fix unfocus on search field when loading indicator was rendered
2020-10-15 21:21:38 -07:00
Dane Everitt
9726a0de46
Autofocus search when opening; closes #2522 2020-10-15 20:09:13 -07:00
Dane Everitt
c6d6221711
Correctly fix the UI for API keys 2020-10-11 12:29:00 -07:00
Oreo Oreoniv
ec313a7362
Fixed description for API keys 2020-10-05 12:36:03 +03:00
Oreo Oreoniv
62e111657c
Fixed a bug with an incorrect size modal 2020-10-05 11:53:11 +03:00
Dane Everitt
d1c30607cf
UI updates for server rows to show current status 2020-10-03 16:36:31 -07:00
Dane Everitt
2a42ef5c62
Mobile responsiveness fixes 2020-10-03 16:25:39 -07:00
Dane Everitt
fe849789a2
Dont display server usage as red if unlimited; closes #2417 2020-09-25 20:32:10 -07:00
Charles Morgan
c928214a83
Fix overflows through out the front end (#2382)
* Fix overflows through out the front end

Fixed Server row overflow for servers name and description
Fixed Sub-user overflow for users with oddly long emails....
Fixed Server new overflow on console view.

See Attached images.

* Remove conflicting server name limits
2020-09-22 19:37:41 -07:00
Dane Everitt
47283700a8
File manager cleanup for mobile devices 2020-09-13 10:33:12 -07:00
Rihan
9a4c0d8ba7
Make interface mobile responsive (#2273) 2020-09-13 10:02:25 -07:00
Charles Morgan
861911ca49
Move page titles to PageContentBlocks 2020-09-07 23:26:18 -04:00
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