Commit Graph

1389 Commits

Author SHA1 Message Date
Dane Everitt 0795f8763d
Fix admins being unable to select permissions for subusers; closes #2055 2020-05-31 11:14:31 -07:00
Charles Morgan 3b42f110fb
Show BytestoHuman value, not server limit, change graph
Changes server view to use bytestohuman to show 10 GB like it does on the main index.

Removed animation duration so the graph dosn't look likes it glitching when a new value is pushed, also made it a little more curved.
2020-05-27 00:00:50 -04:00
Charles Morgan 6c60305617
Show Unlimited instead of 0, admin view
Guess i missed this one when i set everything to show unlimited when its 0 / -1.

Shows Unlimited disk space instead of 0 on admin about page.
2020-05-24 00:57:30 -04:00
Charles Morgan 917a1e8a87
Update ServerConsole.tsx 2020-05-18 13:33:02 -04: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
Charles Morgan 46285fefd7
CSS Changes
More CSS Changes....

Server overview page now looks more..... fluid
Boxes have their correct color top colors back, When admin side was changed to dark theme all by the yellow was changed to a single color, this is reverted.
Node overview page uses blue over gray box for total servers.
Lightened the text color on the side bar
Removed delete button for allocations that are assigned.
Changes Node configuration box to not hurt eyes
2020-05-10 18:09:01 -04:00
Dane Everitt 86dbb141f4
Make this helper text more correct 2020-05-09 15:45:38 -07:00
Dane Everitt 3b2e2c63c6
Only show relevant configuration; update default path to be what the daemon expects 2020-05-09 15:44:13 -07:00
Dane Everitt 2d95204e9a
Pass a value for skipping scripts correctly; closes #1991 2020-05-07 20:46:49 -07:00
Dane Everitt 69eb33fb89
closes #1787 2020-05-07 20:24:28 -07:00
Dane Everitt c6d8bed095
close #1801 2020-05-07 20:20:20 -07:00
Dane Everitt 194688389d
Unused 2020-04-26 14:33:14 -07:00
Dane Everitt 6056b6f45d
Show console when an admin is viewing an installing server 2020-04-26 13:21:39 -07:00
Dane Everitt f1c3762f4d
Add base support for definining the number of backups that can be created for a server 2020-04-26 12:12:29 -07:00
Dane Everitt bed51b5871
Don't flash progress indicators when it is a failed request. 2020-04-26 11:19:40 -07: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 67c6be9f6f
Make switches not reliant on Formik 2020-04-25 17:37:03 -07:00
Dane Everitt a10191a120
How'd you get in there 2020-04-25 13:03:37 -07:00
Dane Everitt 9eb31a16d9
Fix 2FA handling; closes #1962 2020-04-25 13:01:16 -07:00
Dane Everitt 72ecac5236
Merge pull request #1963 from Sir3lit/maxconn
Add Max Concurrent Connections for database users
2020-04-25 11:01:01 -07:00
Charles Morgan 56a0989176 Remove from end user
Removed max connections from the end user view.
2020-04-24 10:17:31 -04:00
Dane Everitt 0385d2a05c
Merge pull request #1939 from Sir3lit/optionaldesc
Allow description fields to be optional
2020-04-23 20:37:02 -07:00
Dane Everitt 0ccfdd722c
Merge pull request #1924 from Sir3lit/adminchanges
Update Admin Overview for server
2020-04-23 20:36:43 -07:00
Dane Everitt 6c8711a227
Merge pull request #1946 from Sir3lit/cssfixes
Update Admin CSS /  CSS changes
2020-04-23 20:36:13 -07:00
Charles Morgan 82dd7dc8e3 Allow Null = 0
Allow Value to be nullable, will autofill 0 if value is null or 0, to facilitate "unlimited" connections.
2020-04-23 10:45:44 -04:00
AreYouScared 0ecfb40f5e Add variable to API endpoint
Allow API to retrun max_connections for frontend database page
2020-04-22 06:17:26 -04:00
AreYouScared f0e4764a11 Add Max Concurrent Connections for database users
Closes #1849

Allows database users to be limited to a number of concurrent connections to prevent one user from connecting hundreds of time and bottlenecking the MySQL server.
2020-04-22 06:00:04 -04:00
Josh Miles f3e693efb8
Update ReinstallServerBox.tsx
Added space.
2020-04-20 10:47:48 +01:00
Dane Everitt 0d57e591cb
Pteroignore details 2020-04-19 20:04:39 -07:00
Dane Everitt 973591d86e
Add basic support for backups via the scheduled tasks system 2020-04-19 19:43:41 -07:00
Dane Everitt 7a3263f57b
Fix start server tasking; closes #1928 2020-04-19 12:15:10 -07:00
Dane Everitt a1c3730861
Update frontend to only allow selection of valid permissions for subusers 2020-04-19 11:58:26 -07:00
AreYouScared c54cbe6638 Update Admin CSS / Few css fixes
Changed `code` color to be a little lighter, more contrast / easier to read (From #999 to #c3c3c3)
Added Readonly style, was white box with grey letters. Changes to Dark grey box and white letters.
Changed cursor for disabled / read-only to `not-allowed` instead of `text`
Closes #1918 -> Dropdown text was grey with a grey background.
Added Green and Yellow Text colors
Added Text-Danger
Changed Link color, to be a tad lighter
Added well/well-sm/well-lg to pterodactyl.css
Changed well to match the dark theme.
Hovering over Start / Restart show respective colors Green / Blue
2020-04-19 08:30:52 -04:00
Dane Everitt 00b0d30c60
Fix handling for backups; correctly send along ignored files & directories 2020-04-18 23:26:59 -07:00
AreYouScared 21491e3aaa Allow descrition field to be optional
Allows for Nest, Node, Location and Egg description fields to be blank / nullable.
Removed "required" wording next to them aswell
2020-04-17 20:52:40 -04:00
Dane Everitt 90e2d0d72a
Fix positioning of the loading bar when logging in 2020-04-17 14:44:18 -07:00
Dane Everitt c43bf39cfd
Fix login screen 404 2020-04-17 14:43:03 -07:00
Dane Everitt d426887769
Adjust language for error message 2020-04-17 13:12:40 -07:00
Dane Everitt 5252f3f9d3
Show error message when attempting to connect to a websocket 2020-04-17 12:41:47 -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 004a5692cf
Nicer errors when managing files 2020-04-17 11:45:20 -07:00
Dane Everitt 88374de38c
Display a nicer error message when a file cannot be opened 2020-04-17 11:27:52 -07:00
Dane Everitt e6a61fbe9b
Update views to support a more logical container 2020-04-17 11:17:01 -07:00
Dane Everitt e044e8db1c
Show a nicer error message when server is installing 2020-04-17 11:07:32 -07:00
Dane Everitt 1aa3e0fb63
Set bar completed when a request fails 2020-04-17 10:26:36 -07:00
Dane Everitt 0a20c6b857
Merge branch 'develop' of https://github.com/Pterodactyl/Panel into develop 2020-04-17 10:21:20 -07:00
Dane Everitt e969344f3b
Fix display of navbar links to admins, closes #1920 2020-04-17 10:21:15 -07:00
AreYouScared 4fee35e7e8
Update ServerConsole.tsx
Added spaces to be properly spaced apart from current usage
2020-04-13 18:40:04 -04:00
AreYouScared 0cad2b9362 Update Admin Overview for server
Changes CPU Threads show Not Set instead of n/a
Changes 0% -> Unlimited, when cpu is set to 0(unlimited)
Changes 0MB -> Unlimited, when memory is set to 0(unlimited)
Changes 0MB Swap -> Not Set
Changes -1 Swap -> Unlimited
Changes Name -> Server Name
Changes Service -> Current Egg
2020-04-13 18:11:45 -04:00
Dane Everitt fda88940f7
Fix up node autodeployment 2020-04-12 17:20:09 -07:00
Dane Everitt fc31d6347e
Correctly reset server state when the URL is changed 2020-04-12 16:19:43 -07:00
Dane Everitt b9239594ca
Don't flood the progress bars when listing resources 2020-04-12 16:08:29 -07:00
Dane Everitt 7115209b60
Hide statistics page for now 2020-04-12 16:03:41 -07:00
Dane Everitt 07381da8fb
This warning is no longer true 2020-04-12 16:02:09 -07:00
Dane Everitt 72c144e309
Merge pull request #1909 from pterodactyl/enhancement/new-server-admin
Enhancements to new server admin
2020-04-12 10:13:03 -07:00
AreYouScared 451833cb8c Add Disk User
Added Disk usage to console page, matches same inforamtion on overview page.
2020-04-11 23:57:49 -04:00
Matthew Penner 4d833af5f4 Fix script paths in layouts 2020-04-11 14:49:40 -06:00
Matthew Penner a7dab69711 Persist service variables 2020-04-11 14:46:30 -06:00
Matthew Penner dec6868a55 Persist nest_id, egg_id, pack_id 2020-04-11 14:14:05 -06:00
Matthew Penner b5e50719ac Remove old Theme::js calls in blade layouts. Persist checkboxes, Server Owner, Node, Default Allocation, and Additional Allocations on servers/new.blade.php 2020-04-11 13:56:03 -06:00
Dane Everitt 7557dddf49
Store node daemon tokens in an encrypted manner 2020-04-10 15:15:38 -07:00
Dane Everitt b72a770ec9
Don't execute unnecessary HTTP requests when browing a file directory 2020-04-10 13:57:24 -07:00
Dane Everitt 76300209f1
Correctly clear the interval for resource use checking 2020-04-10 12:49:09 -07:00
Dane Everitt d3a06e1ca8
Add progress bar to top of page for nicer loading indicator styles 2020-04-10 12:41:08 -07:00
Dane Everitt 708c15eba8
Make database rows use context better 2020-04-10 10:56:25 -07:00
Dane Everitt 0ebf842757
Clean up most of the schedules code to use server context 2020-04-10 10:46:00 -07:00
Dane Everitt 07d19ad326
Code cleanup and formatting 2020-04-10 10:11:15 -07:00
Dane Everitt 4e2602e1e7
Merge pull request #1898 from Sir3lit/fixformatting
New server formatting
2020-04-10 09:56:26 -07:00
Dane Everitt c1a7e4ebe1
Merge branch 'develop' of https://github.com/Pterodactyl/Panel into develop 2020-04-09 22:08:16 -07:00
Dane Everitt 9ba6aaebde
Move actions into context menu, add support for deleting a backup 2020-04-09 22:08:09 -07:00
AreYouScared 7daf6e2e93 Uniformity is Key
Updated logical order to match new server page on build and overview page.
2020-04-10 00:54:40 -04:00
AreYouScared 411ed41582 New server formatting
Fixed auto-sizing for resource mangemnet
Moved them in logical order(CPU->RAM->Disk) with advanced stuff to the right.
2020-04-09 23:46:12 -04:00
AreYouScared 27a92d6f45 Fixed Copyright year 2020-04-09 23:00:59 -04:00
Dane Everitt 2eb6ab4d63
Store backups in server state 2020-04-06 22:25:54 -07:00
Dane Everitt f9878d842c
Fix error handling for large files (and endpoints called as non-json) 2020-04-06 21:59:14 -07:00
Dane Everitt 7f2b477538
Automatically update the backup view when the backup is completed 2020-04-06 21:22:57 -07:00
Dane Everitt b1e7e0b8b0
Simplify handling of permissions for websocket, only send permissions the user actually has 2020-04-06 21:03:00 -07:00
Dane Everitt a924eb56cc
Fix file and backup downloading to use URL returned by server 2020-04-06 20:28:14 -07:00
Matthew Penner 2f506d564b
Merge branch 'develop' into feature/server-transfers-actually 2020-04-04 20:56:37 -06:00
Dane Everitt be05d2df81
Add support for generating a signed URL for downloading a file from the daemon 2020-04-04 19:54:59 -07:00
Matthew Penner fd4de9168a
Merge branch 'develop' into feature/server-transfers-actually 2020-04-04 16:28:02 -06:00
Dane Everitt ad9194a65c
Build out frontend for viewing server backups 2020-04-04 13:24:03 -07:00
Matthew Penner 6ba6c34252 Add ServerTransfer relation in Models/Server.php, notify the new daemon about the incoming server transfer 2020-04-04 14:10:18 -06:00
Dane Everitt 875358a106
Not a required field 2020-04-04 12:30:45 -07:00
Dane Everitt 25b0e86730
backup names don't actually matter all that much, they don't get used as file names 2020-04-04 12:30:29 -07:00
Dane Everitt d27f0c6f2a
Basic backend support to at least store a backup model in the DB 2020-04-04 12:26:39 -07:00
Dane Everitt 9991989f89
Very basic implemention of frontend logic required to display backups and create a new one 2020-04-04 10:59:25 -07:00
Dane Everitt 6d1226a0c1
Merge pull request #1887 from matthewpi/feature/server-transfers
Add migration and validation rules for 'threads' column, fixes other errors on nest/egg pages
2020-04-03 22:54:29 -07:00
Dane Everitt 9d0262e7a1
Update index.blade.php 2020-04-03 22:53:49 -07:00
Dane Everitt 0dbf6b51b5
Add very simple search support to pages, togglable with "k" 2020-04-03 22:39:53 -07:00
Matthew Penner a2eab3ca43 Add ui elements for handling server transfers, add TransferJob.php and TransferService.php 2020-04-03 21:45:37 -06:00
Matthew Penner 829f05a2c7 Add migration for 'threads' column, fix errors on some admin pages, add validation rule for 'threads' column 2020-04-03 18:50:07 -06:00
Dane Everitt 807cd815ea
Fix modal layout positioning 2020-04-03 16:39:55 -07:00
Dane Everitt 85e3945cd7
Add support for client-side server reinstallation 2020-04-03 14:43:24 -07:00
Dane Everitt 86de7372a8
Add notes about IO/CPU Threads 2020-04-03 14:43:15 -07:00
Dane Everitt 78d6e59fc5
Merge branch 'develop' into cputhreads 2020-04-03 13:48:06 -07:00
AreYouScared dfefd8845b
Fixed textboxes (#1886)
Text boxes on the user view page were set to readonly not allowing admins to change user values

Co-Authored-By: Lance Pioch <me@lance.sh>
2020-04-03 13:46:24 -07:00