Commit Graph

2157 Commits

Author SHA1 Message Date
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
Alex b94d69bbab
Introduce OOM Killer to Server Creation (#3548) 2021-08-18 12:32:45 -06:00
Cam White 5d41ac09fd
Grammatical fix on SetupTwoFactorModal (#3549) 2021-08-18 11:48:06 -06:00
Dane Everitt 15b03b96fc
Be consistent with form order 2021-08-07 16:24:36 -07:00
Dane Everitt 874e7afce3
Merge branch 'dane/sanctum' into v2 2021-08-07 16:19:19 -07:00
Matthew Penner 56556e9660
ui(admin): implement new mount page 2021-08-04 22:41:52 -06:00
Matthew Penner 00b44bf3bb
ui(admin): tweaks to server management 2021-08-04 22:16:52 -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 4b32828423
Merge branch 'develop' into v2 2021-08-04 21:40:38 -06:00
Matthew Penner 10b357b71e
ui(server): fix used backup count (#3526)
* ui(server): fix used backup count

* ui(server): refactor backup count code
2021-08-04 20:34:00 -07:00
Matthew Penner 0ab124f026
Merge branch 'fix/backup-ui' into v2 2021-08-04 17:29:57 -06:00
Matthew Penner f44833ca9c
ui(server): fix used backup count 2021-08-04 17:22:57 -06:00
Matthew Penner 178a886d3b Merge branch 'develop' into v2 2021-08-03 21:13:13 -06:00
Charles Morgan 0074c84001
Add javaversion to java eggs. (#3518)
Co-authored-by: Matthew Penner <me@matthewp.io>
2021-08-03 20:11:45 -07:00
Matthew Penner 1c071b05aa
ui: fix spinner z-index (#3520) 2021-08-03 19:46:00 -07:00
Matthew Penner 970f281859
backups: default is_successful to false (#3522)
* backups: default is_successful to false
* backups: properly query backups
2021-08-03 19:45:25 -07:00
Matthew Penner c6dccc568d ui(server): add file upload status 2021-08-03 20:41:28 -06:00
Matthew Penner 38ddcfb0d9 Merge branch 'fix/backups' into v2 2021-08-03 20:40:40 -06:00
Matthew Penner b9ab6e2c33 editor: fix Mod-s hotkey and save button 2021-08-03 20:21:52 -06:00
Matthew Penner c46131e7ad backups: default is_successful to false 2021-08-03 15:46:08 -06: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
Charles Morgan 924f00ac9a
Java Docker image updater feature (#3430)
Co-Authored-By: Lance Pioch <me@lance.sh>
2021-08-02 20:32:10 -07:00
Linux123123 9c64fb29a4
Fix ScheduleEdit page not working directly by url (#3477) 2021-08-02 20:07:39 -07:00
Triassic e8746feb97
Fix a typo in DisableTwoFactorModal.tsx (#3507) 2021-08-02 20:07:26 -07:00
Matthew Penner 346271a9a3 ui(admin): add role delete button 2021-08-02 12:29:29 -06:00
Matthew Penner 89a0244cf2 ui: fix usePersistedState erroring when key doesn't exist 2021-08-02 12:23:38 -06:00
Matthew Penner 1d9927d7f8 ui(admin): persist sidebar collapsed state 2021-08-02 12:19:18 -06:00
Matthew Penner 98cb7370f0 ui(admin): fix null value being passed to input 2021-08-02 11:53:04 -06:00
Matthew Penner 98ed8e431b ui(admin): cleanup 2021-08-02 11:32:09 -06:00
Matthew Penner 27ed07e81f ui(admin): fix user sidebar alignment when collapsed 2021-08-02 10:26:29 -06:00
Matthew Penner fffe3a7f8b ui(admin): fix node settings button 2021-08-02 10:23:58 -06:00
Matthew Penner 0313bdb1cb ui(admin): add role edit form 2021-08-02 10:08:52 -06:00
Matthew Penner 030bc2d8ef ui(admin): fix server table links 2021-08-02 10:01:55 -06:00
Matthew Penner 11fc88c849 ui(admin): implement user and node servers tab 2021-08-02 09:54:13 -06:00
Matthew Penner bf9dfa87da yeet name_first and name_last from users table 2021-07-28 21:31:00 -06:00
Matthew Penner f1be653486 ui(admin): remove api key components 2021-07-28 11:56:25 -06:00
Matthew Penner b8b481b57b ui: fix borked styling 2021-07-25 17:14:55 -06:00
Matthew Penner 7f290c6e52 ui(admin): change other logout button 2021-07-25 16:10:12 -06:00
Matthew Penner ca4046e818 ui(admin): fix new roles not mutating swr 2021-07-25 15:54:16 -06:00
Matthew Penner 25feeaa9f5 ui(admin): add role select for user management 2021-07-25 15:51:39 -06:00
Matthew Penner 58f0bbbb9b ui(files): fix error with bad URL 2021-07-25 13:43:58 -06:00
Matthew Penner 3c2a6e1136 ui(files): add pull file modal 2021-07-25 13:24:52 -06:00
Matthew Penner 14940d666b yarn: upgrade dependencies 2021-07-24 14:41:45 -06:00
Matthew Penner 88bcb69a8a ui: small tweaks 2021-07-24 14:06:51 -06:00
Matthew Penner 631b4ae2a8 ui: fix ServerRow icon being squished 2021-07-24 12:45:03 -06:00
Matthew Penner 0828d00857 ui(admin): change logout button 2021-07-24 12:36:10 -06:00
Matthew Penner 27c93365e9 ui(admin): add user create and user update 2021-07-24 12:23:33 -06:00
Matthew Penner 1d290919b7 ui: fix devtools issue with missing DOCTYPE 2021-07-24 12:23:21 -06:00
Matthew Penner 7b3c71f6a7 ui(server): fix console z-index 2021-07-24 11:43:00 -06:00
Matthew Penner 26438fa034 ui(server/files): add validation for duplicate directory names 2021-07-24 11:32:31 -06:00
Matthew Penner be011906e6 ui(admin): lower table loader height
fixes tables growing while the page is loading, this is very noticable
when latency to the API is low, which means the loader is only visible
for 1/30th to 1/20th of a second.
2021-07-22 11:21:31 -06:00
Matthew Penner 361596e051 ui: I HATE STYLED-COMPONENTS WITH TYPESCRIPT 2021-07-22 11:15:27 -06:00
Matthew Penner 23de3d68f3 ui: remove old console logs 2021-07-21 12:21:10 -06:00
Matthew Penner 3b1a0e22a7 ui: update codemirror editor 2021-07-21 12:18:53 -06:00
Matthew Penner d2d62b7463 ui(admin): tweaks to SelectField styling 2021-07-20 15:29:22 -06:00
Matthew Penner 84b207eddb ui(admin): fix eslint errors, add CreateAllocationForm 2021-07-20 14:38:11 -06:00
Matthew Penner 6879ca4054 ui(admin): cleanup table hooks, more... 2021-07-19 14:37:09 -06:00
Matthew Penner 7524bbe8ee ui(admin): cleanup table hooks 2021-07-19 14:34:10 -06:00
Matthew Penner 30f09a4098 ui: fix build due to wrong import path 2021-07-18 13:36:54 -06:00
Matthew Penner f9114e2de0 feat(ssh-keys): add ssh key endpoints and ui components 2021-07-17 15:45:46 -06:00
Matthew Penner 28bc86e23b ui(account): implement delete security key button 2021-07-17 14:45:23 -06:00
Matthew Penner 59f2ea37d8 ui(auth): add support for using a security key 2021-07-17 14:45:23 -06:00
Matthew Penner 3c21770c25 ui(account): add security key management 2021-07-17 14:45:23 -06:00
Matthew Penner 31c2ef5279 webauthn: update login flow to support other 2fa methods 2021-07-17 14:45:23 -06:00
Matthew Penner c09cfd4c76 ui(server): fix admin popout link 2021-07-17 14:33:03 -06:00
Matthew Penner bc4e28578d Merge branch 'develop' into feature/react-admin 2021-07-17 11:12:02 -06:00
Linux123123 2c2c35303a
Fix backup dropdown permissions (#3469) 2021-07-17 10:02:37 -07:00
Matthew Penner 7ad32293f3 ui(admin): table improvements 2021-07-15 16:10:55 -06:00
Matthew Penner 779b0eca67 ui(admin): fix tables being covered by no items message 2021-07-14 16:59:37 -06:00
Matthew Penner c0e9f1adee ui(admin): make all tables searchable and sortable 2021-07-14 16:43:59 -06:00
Matthew Penner 2d412e66ac ui: fix global styles 2021-07-13 15:58:44 -06:00
Matthew Penner ef5380e59d Merge branch 'matthewpi/yarn-upgrade' into feature/react-admin 2021-07-13 15:25:43 -06:00
Matthew Penner ea4bcf0b9c Merge branch 'develop' into feature/react-admin 2021-07-13 15:21:16 -06:00
Matthew Penner 98c54cba3a yarn: update dependencies, prepare for Plug'n'Play 2021-07-11 14:01:42 -06:00
Alex ca2269fea1
Fix z-index of the mass delete modal (#3463)
Fixes the order of mass confirmation modal to correctly be displayed prominently on top of all elements
2021-07-11 11:27:52 -07:00
iamkubi cc05b0886b
Fix CPU tooltip on server create page (#3416)
CPU usage is based on threads, however the create server page incorrectly specifies physical cores in the help text.
Relocate a BlockIO blurb at the end of the CPU usage text which seems to be in the wrong place.
2021-06-19 12:10:02 -07:00
Fabian 725fc82657
fix eslint issues (#3410) 2021-06-12 10:46:10 -07:00
Matthew Penner 556885f682 ui(admin): uncomment delete buttons 2021-06-06 14:08:39 -06:00
Matthew Penner 01c03b6b77 Merge branch 'develop' into feature/react-admin 2021-06-06 14:06:14 -06:00
Alex e33b1792b1
Show CPU limit next to CPU usage (#3307) 2021-06-05 08:40:48 -07:00
Jakob 647d2cbf92
add scroll down helper to console (#2951) 2021-06-05 08:39:36 -07:00
Lukas 75d254a6a4
Add support for mailgun API endpoint (#3364) 2021-06-05 08:38:47 -07:00
notil b79d6e9e64
Minor UI fixes (#3366)
* Added same spacing as CPU graph to RAM graph
* Have the "New Database" button be on the right when on mobile
2021-06-05 08:38:24 -07:00
Jelco b3a1825b56
Fix server delete swal (#3391) 2021-06-05 08:36:59 -07:00
Dane Everitt 2fd16f441d
Fix component stack depth crashes due to looping setState 2021-05-29 10:58:24 -07:00
Matthew Penner 8aa9641ec2 ui(admin): too many changes, not enough commits 2021-05-20 16:00:46 -06:00
Matthew Penner bca2338863 ui(admin): add search and sort to ServersContainer 2021-05-18 20:53:42 -06:00
Matthew Penner ae88a01bea fix eslint and admin not loading 2021-05-18 17:20:49 -06:00
Matthew Penner a3b59f24af Merge branch 'develop' into feature/react-admin 2021-05-18 17:07:25 -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 1f64086c67
Merge branch 'develop' of github.com:pterodactyl/panel into develop 2021-05-16 12:35:52 -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
Charles Morgan 3898e40fa4
Add list of files being deleted to delete modal (#3299)
Shows the first 15 file names being deleted. If more then 15, the first 15 will be shown then the last line will be ` + ## other(s)`
2021-05-16 11:28:52 -07:00
Charles Morgan 69ac2ca40b
Allow MAB div to be clicked through (#3359)
Allows users to interact with files that are blocked by the div that renders the MassActionbar
2021-05-16 09:49:21 -07:00
Antony 9c3c5f6f71
Fixed a very small minor issue (#3360) 2021-05-16 09:48:55 -07:00
Charles Morgan 76ac1998cf
Don't allow backups to be made via schedules if limit = 0 (#3323) 2021-05-16 09:47:36 -07:00
Dane Everitt 5a82dd6a18
Update to TypeScript 4 2021-05-08 10:37:18 -07:00
Dane Everitt 5d5e4ca7b1
Add support for locking backups to prevent any accidental deletions 2021-05-03 21:26:09 -07:00
Dane Everitt 84483d36ee
Fix use of onlyWhenOnline 2021-05-01 11:25:35 -07:00
Dane Everitt ea057cb1cb
Update UI to support setting "Continue on Error" for tasks 2021-05-01 11:24:18 -07:00