Commit graph

182 commits

Author SHA1 Message Date
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
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
451833cb8c Add Disk User
Added Disk usage to console page, matches same inforamtion on overview page.
2020-04-11 23:57:49 -04: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
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
9ba6aaebde
Move actions into context menu, add support for deleting a backup 2020-04-09 22:08:09 -07:00
Dane Everitt
2eb6ab4d63
Store backups in server state 2020-04-06 22:25:54 -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
a924eb56cc
Fix file and backup downloading to use URL returned by server 2020-04-06 20:28:14 -07: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
Dane Everitt
ad9194a65c
Build out frontend for viewing server backups 2020-04-04 13:24:03 -07: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
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
7f0a05c192
UPdate remainder of screens with basic permissions checking 2020-03-29 22:20:27 -07:00
Dane Everitt
171b21e7ee
Add permissions handling to the console; remove kill permission (wrapped in with stop) 2020-03-29 22:12:50 -07:00
Dane Everitt
79095b526c
Add permissions checking to the settings page 2020-03-29 22:05:30 -07:00
Dane Everitt
3df134b558
Make sizing across margins/padding/width/height the same 2020-03-29 22:04:38 -07:00
Dane Everitt
9b4f2deb78
Update permissions handling for file manager; ensure errors are shown 2020-03-29 21:42:02 -07:00
Dane Everitt
8bc81c8c4b
Update permissions checking code 2020-03-29 14:19:17 -07:00
Dane Everitt
7e0ac2c311
Show error message when attempting to change a server's name 2020-03-28 16:47:32 -07:00
Dane Everitt
39f79a8f3c
Finish cleaning up subuser view 2020-03-27 16:42:27 -07:00
Dane Everitt
ee81de6534
Add support for editing a subuser 2020-03-27 15:40:24 -07:00
Dane Everitt
1270e51248
Add support for deleting a subuser from a server 2020-03-27 15:32:33 -07:00
Dane Everitt
a6f46d36ba
Implement basic code for creating/updating a subuser 2020-03-27 14:23:13 -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
734bdc7b78
Unify display with task rows 2020-03-22 14:14:11 -07:00
Dane Everitt
1bf3165cbe
Use a dropdown menu when selecting a power action 2020-03-22 14:11:26 -07:00
Dane Everitt
1e0d630e1f
Finish building out schedule management functionality 2020-03-22 13:56:15 -07:00
Dane Everitt
4ac6507b69
Make these buttons to avoid weird refresh issues 2020-03-18 22:39:52 -07:00
Dane Everitt
b0f47ea01a
Add support for creating a new task 2020-03-18 22:36:19 -07:00
Dane Everitt
ef38a51d6d
Add base support for editing an existing task 2020-03-18 22:28:32 -07:00
Dane Everitt
edb9657e2b
Upgrade to formik@2 2020-03-18 21:32:07 -07:00
Dane Everitt
78ed343a34
Support deleting a task from a schedule 2020-03-18 21:08:32 -07:00
Dane Everitt
5345a2a3e1
Add initial task listing for schedules 2020-03-17 23:33:53 -07:00
Dane Everitt
3820d4e156
Add view for editing the details of a schedule 2020-02-22 20:07:56 -08:00
Dane Everitt
f180e3ef0b
Attempting to get an edit modal to display without a re-render 2020-02-11 23:23:06 -08:00
Matthew Penner
b05048871c
Fix 2FA sizing issue, add support for copying text from xterm.js (#1825)
closes #1812, closes #1813
2020-02-11 09:37:12 -08:00
Dane Everitt
32e9fb0346
Add basic listing of server schedules 2020-02-08 15:23:08 -08:00
Dane Everitt
b2cce9195a
Only show creation button if the server can actually have databases 2020-01-19 13:54:39 -08:00
Dane Everitt
3b11ba9fca
Basic support for installation process 2020-01-18 15:26:15 -08:00
Dane Everitt
c4fdcb5937
Fix navigation bar issues 2019-12-22 21:22:08 -08:00
Dane Everitt
5a31771b4b
Fixes for purge CSS 2019-12-22 14:33:08 -08:00
Dane Everitt
058f72c923
Don't disconnect from the websocket when updating the server object state 2019-12-22 00:16:25 -08:00
Dane Everitt
f6b414741d
Wait for connection before opening terminal 2019-12-21 21:51:42 -08:00
Dane Everitt
33eb1d259f
Add easy launch button for SFTP 2019-12-21 21:16:12 -08:00
Dane Everitt
3e915e526b
Fix file creation in nested directory 2019-12-21 17:43:50 -08:00
Dane Everitt
11c17245c2
Handle websocket authentication slightly differently to make errors easier to work with 2019-12-21 17:31:04 -08:00
Dane Everitt
02c0d934c3
Make text more readable 2019-12-21 16:40:28 -08:00
Dane Everitt
00bf5644f8
Remove debugging code 2019-12-21 16:39:25 -08:00
Dane Everitt
e784218645
Add support for creating a new file 2019-12-21 16:38:40 -08:00
Dane Everitt
85b47ceb79
Slightly more logical handling when moving things around 2019-12-16 19:55:02 -08:00
Dane Everitt
d07ee9a36b
Add create directory button 2019-12-15 19:10:01 -08:00
Dane Everitt
926b5ac099
Only show 250 files in a directory listing 2019-12-15 14:16:47 -08:00
Dane Everitt
81bd67cc76
Add ability for user to change server's name 2019-12-09 22:03:10 -08:00
Dane Everitt
c37baa0867
Always show the save buttons 2019-12-08 10:44:52 -08:00
Dane Everitt
2570b4e2d0
Base code for settings and schedules 2019-12-07 15:58:37 -08:00
Dane Everitt
4e3e9a95e4
eslint error fixes 2019-12-07 12:13:46 -08:00
Dane Everitt
ae3f05b8f7
Always show the resource graph boxes 2019-12-07 11:11:40 -08:00
Dane Everitt
01d81bd548
Getting somewhere on subuser stuff, adds i18n packages 2019-11-16 12:46:19 -08:00
Dane Everitt
d69f816d9d
Add handler to fetch all of the system permissions and load them into the state 2019-11-03 17:37:06 -08:00
Dane Everitt
1153101a57
Add animation and first round at doing sidebar for editing permissions 2019-11-03 12:32:07 -08:00
Dane Everitt
543884876f
Add basic subuser listing for servers 2019-11-03 12:20:11 -08:00
Dane Everitt
0b9c6bd21d
Proxy file downloads through the panel rather than having to get creative with download tokens 2019-10-26 14:36:37 -07:00
Dane Everitt
78ccdf93b6
Square away saving of existing files 2019-10-26 13:16:27 -07:00
Dane Everitt
0dff732883
Editor improvements 2019-10-19 17:35:01 -07:00
Dane Everitt
ac6e5b9943
Break up editor correctly 2019-10-19 15:31:02 -07:00
Dane Everitt
1d6e037d8a
Improve mode detection for editing a file 2019-10-19 14:51:10 -07:00
Dane Everitt
946f2e17df
Ensure the field doesn't get too small 2019-10-19 13:39:02 -07:00
Dane Everitt
2e32df98ea
First iteration of a file manager 2019-10-12 15:29:45 -07:00
Dane Everitt
6f65f6a217
Don't crash the browser as hard when loading a directory with more than 250 files 2019-09-29 15:25:23 -07:00
Dane Everitt
5301ab4235
Do a nice fast animation 2019-09-29 14:06:42 -07:00
Dane Everitt
29834a33f8
Add support for showing usage graphs on the console page 2019-09-29 13:23:15 -07:00
Dane Everitt
c66d2cd123
A few adjustments for chunking the new file edit page 2019-09-28 14:59:05 -07:00
Dane Everitt
8599e2c64b
Add server state change events into the console log 2019-09-28 13:45:09 -07:00
Dane Everitt
0108035c05
Fix some typescript typing issues 2019-09-28 13:29:49 -07:00
Dane Everitt
79571e1928
Add button to toggle kill option after pressing stop once 2019-09-28 13:17:51 -07:00
Dane Everitt
326d346f92
Handle errors sent back over the sockt 2019-09-28 13:09:47 -07:00
Dane Everitt
18c4b951e6
First pass at converting websocket to send a token along with every call 2019-09-24 20:20:29 -07:00
Dane Everitt
5df46b23d2
Add power controls 2019-09-17 23:12:38 -07:00
Dane Everitt
33f306d40b
Add command sending support to console 2019-09-17 22:54:23 -07:00
Dane Everitt
498badc0bc
Actually fix the console memory leaking... 2019-09-17 22:54:16 -07:00
Dane Everitt
12992e3521
Prevent memory leak when component updates and ref changes 2019-09-17 22:40:59 -07:00
Dane Everitt
75cd49a1c2
Chunk out the console to only load when needed 2019-09-17 22:33:14 -07:00
Dane Everitt
49de1d0ed4
Fixes for console socket disconnecting with HMR enabled 2019-09-17 21:59:35 -07:00
Dane Everitt
086018751d
Add underlying code to handle authenticating websocket credentials 2019-09-08 17:48:37 -07:00
Dane Everitt
1ae374069c
Still completely broken terminal... 2019-09-05 23:05:24 -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
7224cd8db3
File manager placeholder 2019-08-17 11:40:51 -07:00
Dane Everitt
1769d191d2
Correct behavior of date formatting 2019-08-05 22:22:31 -07:00