Commit Graph

2158 Commits

Author SHA1 Message Date
Matthew Penner d1c9af8f04
Merge branch 'develop' into v2 2022-01-08 15:20:23 -07:00
Dane Everitt f2e92d80ac
Adjust copyright in footer to be more consistent 2022-01-02 07:25:07 -08:00
Boy132 1d02365efe
Fix eslint warnings (#3814) 2021-12-19 09:50:18 -08:00
Mrxbox98 66c56b0da8
CPU Graph change (#3804) 2021-12-12 10:19:06 -08:00
Mrxbox98 15619fb8e4
Fixes overlapping Two Factor Authentication Box (#3803) 2021-12-12 10:15:44 -08:00
Charles Morgan 0d5ff6afac
Add Pug / Jade to file editor, closes #3512 (#3514) 2021-12-04 10:51:52 -08:00
Patrick R 622b939f00
Show ipv6 with correct in-url syntax (#3776) 2021-12-04 10:35:55 -08:00
Lukas Moucka e8e2911a92
Change order of docker images in JavaVersionModalFeature (#3782)
This changes the order of the Docker images in JavaVersionModalFeature, and also sets the default state to Java 17. Previously it was Java 16, even though the first entry in the list was Java 8, that confused a lot of people
2021-12-04 10:35:39 -08:00
Boy132 96c3338e96
Add the MC 1.18 message to Java Version Modal (#3778) 2021-12-04 10:35:20 -08:00
Boy132 4cc8658334
GSL Token Modal Feature (#3746) 2021-12-04 10:29:24 -08:00
Paul Vogel b9d73afb63
Fix typo in messsage when deleting a database (#3777) 2021-12-04 10:24:06 -08:00
Matthew Penner 6e4e0bc0a4
ui(admin): update server image when switching eggs 2021-11-17 14:28:19 -07:00
Matthew Penner 81ff03c2a3
ui(admin): add 'externalId' field for users 2021-11-17 14:26:23 -07:00
Matthew Penner 9c92d51e28
ui: organize and tweak to flash messages 2021-11-17 13:52:17 -07:00
Dane Everitt bf9cbe2c6d
Add consistent CSRF token verification to API endpoints; address security concern with non-CSRF protected endpoints 2021-11-16 20:02:18 -08:00
Alex 01871d8a6c
add Java 17 LTS image to Minecraft eggs (#3744)
* feat: add Java 17 LTS for Minecraft

* feat: add java 17 option to java modal
2021-11-15 08:15:27 -08:00
Matthew Penner ce0bc477c2
ui(admin): fix egg variables 2021-11-04 14:33:24 -06:00
Matthew Penner f7c824743f
ui(editor): prevent initialContent being duplicated 2021-11-04 13:44:10 -06:00
Matthew Penner 728adfe388
server(startup): make startup nullable; resolves #3721 2021-11-03 15:32:53 -06:00
Alex d0663dcbd4
fix: use POST for admin logout route (#3710)
Quick fix for logging out from the admin panel as the auth route was changed from GET to POST.
2021-10-30 13:27:59 -07:00
Matthew Penner 871d0bdd1c
ui(admin): add egg exporting 2021-10-30 14:23:29 -06:00
Matthew Penner 469c0b40a3
ui(admin): add views for settings 2021-10-30 13:12:02 -06:00
Matthew Penner 70cf5c17aa
ui(admin): basic server creation 2021-10-29 00:04:28 -06:00
Matthew Penner cc2ed97b0f
ui: fix SearchableSelect not selecting when hitting enter 2021-10-28 23:48:07 -06:00
Matthew Penner c48d573cc9
Merge branch 'develop' into v2 2021-10-28 22:59:12 -06:00
Matthew Penner 5e99bb8dd6
ui(admin): fix server startup variables 2021-10-24 16:05:00 -06:00
Alex 4dca4f0aa9
change display format of the container uptime (#3706)
* change display format of the container uptime

Display `day, hour, min` if days is more than 0, otherwise default to existing `hour, min, sec`. Removes pads to make it more clean in this new format.

* clean the return
2021-10-24 14:41:01 -07:00
Alex ef4410bac6
expose uptime to client resources API endpoint (#3705)
resolves #3704
2021-10-24 10:12:17 -07:00
Matthew Penner cf1cc97340
ui(admin): rough layout on new server page 2021-10-23 15:19:49 -06:00
Matthew Penner f6ac9707fa
Merge branch 'develop' into v2 2021-10-23 14:22:18 -06:00
Matthew Penner 7f7506e5a9
ui(admin): fix bad redirect on egg delete 2021-10-23 14:19:50 -06:00
Dane Everitt 45999ba4ee
(security) use POST for logout rather than GET
see https://github.com/pterodactyl/panel/security/advisories/GHSA-m49f-hcxp-6hm6
2021-10-23 13:00:21 -07:00
Matthew Penner b966069946
Merge branch 'develop' into v2 2021-10-23 13:26:25 -06:00
Matthew Penner cddf2ce41c
ui(admin): new egg page 2021-10-23 13:13:25 -06:00
Matthew Penner 336923ec18
ui(admin): fix container width on server startup 2021-10-23 12:31:30 -06:00
Matthew Penner 3b5fa34d85
ui(admin): add delete confirmation for egg variables 2021-10-23 12:29:17 -06:00
Dane Everitt 8486c914ae
More fixup for egg handling 2021-10-10 13:21:21 -07:00
Dane Everitt 85c8f4884f
Cleanup more of the server screen typings 2021-10-10 13:13:10 -07:00
Dane Everitt f6998018b4
Cleanup more of the server UI logic 2021-10-10 12:03:28 -07:00
Dane Everitt e3aca937b5
Add more type cleanup and have a completed server type 2021-10-10 11:32:07 -07:00
Dane Everitt 00d0f49ede
Cleanup typing for server and expose more useful endpoint and transformer logic 2021-10-09 12:02:32 -07:00
Dane Everitt 7ec78d9400
Move feature limits box into own component 2021-10-03 18:38:45 -07:00
Matthew Penner 6814811a19
ui(admin): tweaks to spacing 2021-10-03 18:26:44 -06:00
Dane Everitt 817a2bf8ae
Use grid and server SWR for settings box 2021-10-03 16:24:34 -07:00
Matthew Penner 15aed3192b
ui(admin): consistency with button naming 2021-10-03 17:11:27 -06:00
Matthew Penner b5b65e3d81
ui(admin): fix max width container 2021-10-03 17:11:26 -06:00
Dane Everitt fcfca0730e
Use SWR to fetch and track the selected server on server detail pages 2021-10-03 16:10:06 -07:00
Dane Everitt 1405c881a8
Fix sidebar styling and remove hacky fixed positioning 2021-10-03 15:37:01 -07:00
Matthew Penner b070efce98
ui(admin): add allocation delete button 2021-10-03 16:28:58 -06:00
Matthew Penner 6df90a12d8
ui(admin): add delete egg variable button 2021-10-03 16:07:13 -06:00
Matthew Penner b2aa05dc07
ui(admin): add new egg variable option 2021-10-03 16:07:13 -06:00
Matthew Penner 1eed25dcc7
ui(admin): finish egg variable editing 2021-10-03 16:07:13 -06:00
Dane Everitt 81ba333270
If uptime is present in stats output, display it for the server; closes #3653 2021-10-03 12:59:44 -07:00
Matthew Penner 7239f0e336
ui(admin): add egg variable elements 2021-10-01 11:25:06 -06:00
Matthew Penner 2dfc264bf8
ui: tweaks to Editor 2021-09-19 12:33:55 -06:00
Dane Everitt 5a4d1a668f
UI tweaking and transformer for the stored keys 2021-09-19 11:24:38 -07:00
Dane Everitt 81a6a8653f
Fix up creation of keys to fail when registering the same key again 2021-09-19 11:24:33 -07:00
Dane Everitt 1053b5d605
Get basic storage of webauthn tokens working 2021-09-19 11:24:33 -07:00
Matthew Penner 0103a0c31e
ui(admin): minor ui tweaks to server startup 2021-09-18 12:27:32 -06:00
Matthew Penner 21d717080a
ui(admin): minor ui tweaks to server settings 2021-09-18 12:26:36 -06:00
Matthew Penner 32e8406c37
ui(admin): fix node behind proxy and automatic allocation settings 2021-09-18 12:24:13 -06:00
Matthew Penner ef47f21943
ui(admin): fix inconsistent select styling 2021-09-18 12:20:19 -06:00
Matthew Penner b2d3aed520
ui(admin): fix egg delete redirect 2021-09-18 12:05:19 -06:00
Matthew Penner b125830859
ui(admin): add startup and file configuration editing for eggs 2021-09-18 11:45:32 -06:00
Matthew Penner 6abf4a302c
ui(admin): add basic egg editing 2021-09-17 19:56:44 -06:00
Matthew Penner 66443dd5d3
ui(admin): implement egg about 2021-09-17 15:40:17 -06:00
Matthew Penner 8d0dd42475
ui(admin): add egg install editing 2021-09-17 14:47:56 -06:00
Matthew Penner e8ddadc608
ui(admin): implement basic egg importing 2021-09-17 13:48:20 -06:00
Matthew Penner 107cf72269
ui(admin): consistency tweaks, add egg pages 2021-09-17 13:06:31 -06:00
Matthew Penner db4fb3ac53
ui(admin): don't block render until egg is loaded 2021-09-16 20:19:10 -06:00
Matthew Penner 34da772db7
ui(admin): show alias in allocation dropdown; fixes #3434 2021-09-16 16:54:02 -06:00
Matthew Penner 9b7cea5d04
ui(admin): server startup fixes
- when a new egg is selected, set the variable values to the egg's default, not just the placeholder
- when a new egg is selected, change the server's startup command to the default; fixes #3397
- remove move un-needed code
2021-09-16 16:46:41 -06:00
Matthew Penner 98da1f13a1
remove un-needed code 2021-09-16 15:07:14 -06:00
Matthew Penner df895f4a9f
ui(admin): server edit cleanup, fix startup form 2021-09-16 15:03:51 -06:00
Matthew Penner 95f3eb54db
ui(admin): get server startup ui working 2021-09-15 21:22:15 -06:00
Matthew Penner a6ab61adba
ui(admin): allow editing allocations for servers 2021-09-15 15:37:17 -06:00
Matthew Penner 656ac62ad2
ui: fix fields with invalid type 2021-09-15 11:41:02 -06:00
Matthew Penner 6df2368264
ui(admin): server editing improvements 2021-09-15 11:18:58 -06:00
Matthew Penner df11129291
ui(admin): fix UserForm not allowing null role 2021-09-13 19:15:21 -06:00
Matthew Penner a92f3648b2
ui(admin): start work on egg install settings 2021-09-13 00:07:09 -06:00
Matthew Penner a615b7fa70
ui(admin): start work on server startup settings 2021-09-12 23:50:12 -06:00
Matthew Penner 6362731d55
ui(admin): implement basic server editing 2021-09-12 22:15:45 -06:00
Matthew Penner d0a78ec067
ui(admin): add new node page 2021-09-12 21:22:33 -06:00
Matthew Penner 3c01dbbcc5
ui(admin): add allocation table, implement allocation creator 2021-09-12 19:40:10 -06:00
Matthew Penner c7ab6b9e6c
ui(admin): fix validation rules on UserForm 2021-09-12 17:24:31 -06:00
Matthew Penner 38ff35873e
ui: make PowerControls buttons uppercase 2021-09-12 17:16:26 -06:00
Matthew Penner 1ead83383d
ui(admin): add 'root_admin' field to UserForm 2021-09-12 17:13:00 -06:00
Matthew Penner fc2f8744da
ui(admin): add user editing 2021-09-12 17:00:22 -06:00
Matthew Penner 0c943248bc
cleanup 2021-09-12 16:22:34 -06:00
Matthew Penner 222300ff17
code cleanup, fix errors 2021-09-12 15:56:47 -06:00
Matthew Penner 42bfaf9a19
ui: fix security keys render error 2021-09-11 16:22:58 -06:00
Matthew Penner e384c0d5c3
Merge branch 'develop' into v2 2021-09-11 16:13:11 -06:00
Dane Everitt 8f0eda21c5
Fix all screens on the panel unintentionally loading the root directory for a server 2021-09-11 14:17:20 -07:00
Dane Everitt 52588beeb0
Fix state management of overrides not properly resetting loader; closes #3429 2021-09-11 13:24:57 -07:00
LoaiDev 9f00c353b1
Fix named exports for state (#3578) 2021-09-11 12:20:53 -07:00
Matthew Penner ded71c9af1
ui(admin): tweaks to sidebar 2021-09-11 12:34:40 -06:00
Matthew Penner e4fc0f5ac3
yarn and composer updates 2021-09-10 15:30:22 -06:00
Matthew Penner d167ef1f89
Merge branch 'develop' into v2 2021-09-01 16:28:56 -06:00
Josh Miles bd271e2e62
Consistency in Java version modal (#3569) 2021-08-24 12:42:58 -06:00
Matthew Penner b26556e201
Merge branch 'develop' into v2 2021-08-21 12:50:51 -06:00