Commit graph

1276 commits

Author SHA1 Message Date
Dane Everitt
ac52810ef6
Don't try to parse JSON being returned from the API 2019-09-29 15:32:22 -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
b78276d23d
Args won't always be present 2019-09-24 22:05:48 -07:00
Dane Everitt
030b8ed4fd
Change to support websocket JWT connections 2019-09-24 21:22:11 -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
c97461d602
[L6] Move all of the template files into the new correct location 2019-09-04 21:19:52 -07:00
Dane Everitt
cb9536cb24
Cleanup 2019-08-17 16:10:13 -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
Dane Everitt
e23f609e7a
Only show location when moving 2019-08-05 21:55:33 -07:00
Dane Everitt
7623b1d1e6
Fix clicking of rows 2019-08-05 21:54:16 -07:00
Dane Everitt
60775c6370
Update handling of links in the file manager 2019-08-05 21:52:48 -07:00
Dane Everitt
f7def01442
Fix event propagation down the chain 2019-08-05 21:18:32 -07:00
Dane Everitt
f84e3c9f22
Clearer variable names 2019-08-05 21:07:34 -07:00
Dane Everitt
34e54b4944
Slightly better logic for dropdown menus 2019-08-05 21:02:36 -07:00
Dane Everitt
456473ad0f
Delete support & cleaned up copy logic 2019-08-04 15:46:58 -07:00
Dane Everitt
2f9128508a
Add support for copying files. 2019-08-04 15:34:46 -07:00
Dane Everitt
5f59210c85
Use easy-peasy to store file state data 2019-08-04 14:58:31 -07:00
Dane Everitt
81143e231a
Merge branch 'master' into develop 2019-08-04 13:49:26 -07:00
Dane Everitt
81409947cf
Default to OOM killer being disabled, add back configuration option per-server 2019-08-03 13:41:24 -07:00
Dane Everitt
2716ff8841
Basic working file rename modal 2019-08-02 22:22:01 -07:00
Dane Everitt
f4d0694670
Avoid unnecessary re-renders when working with HMR 2019-08-02 22:03:50 -07:00
Dane Everitt
2381a4f8e6
Add support for file dropdown menu 2019-07-29 22:10:45 -07:00
Dane Everitt
0ee10e5653
Break out into own component since it will need to handle even more. 2019-07-27 20:36:27 -07:00
Dane Everitt
e0eedcb811
Improve design of file listing 2019-07-27 20:32:56 -07:00
Dane Everitt
c90fcea519
Add basic file listing functionality 2019-07-27 20:23:51 -07:00
Dane Everitt
ecb5384579
Misc CSS and transition fixes 2019-07-27 20:23:44 -07:00
Dane Everitt
df5de4be97
Add styled-components, even if it is broken 2019-07-27 18:53:48 -07:00
Dane Everitt
b69ebb0790
Merge branch 'develop' of https://github.com/Pterodactyl/Panel into develop 2019-07-27 15:17:55 -07:00
Dane Everitt
48c39abfcb
Add database password rotation to view 2019-07-27 15:17:50 -07:00
Dane Everitt
63b06f5ecc
Merge pull request #1600 from halfpetal/hotfix/1549-wrong-field-ticked
Fix the wrong field being ticket for allocation input on node settings (#1549)
2019-07-26 11:23:17 -04:00
Matthew Hatcher
6eb800ad46 Reference parent section instead of directly adding scripts to fix issue #1591 (#1598) 2019-07-26 11:17:18 -04:00
AreYouScared
c68ca0c773 Added Disk to overview (issue:1547) (#1569) 2019-07-26 11:14:27 -04:00
Arnaud Lier
f98d3d749c [+] Added French Language (#1494) 2019-07-26 11:09:04 -04:00
Dane Everitt
215351eeb3
Merge branch 'develop' into feature/bulk-reinstall-command 2019-07-26 11:04:48 -04:00
Dane Everitt
574855a4ac
Merge branch 'develop' into patch-1 2019-07-25 18:37:35 -04:00
Dane Everitt
f6ee885f26
Support for viewing database passwords 2019-07-16 22:29:00 -07:00
Dane Everitt
d081f328ab
Support deleting existing databases 2019-07-16 22:15:14 -07:00
Dane Everitt
1f763dc155
Finish support for creating databases in the UI 2019-07-16 21:43:11 -07:00
Dane Everitt
61dc86421d
Add basic modal support 2019-07-09 22:41:09 -07:00
Dane Everitt
bb3486f559
More style cleanup for database listing 2019-07-09 22:06:42 -07:00
Dane Everitt
e3db564175
Add basic support for listing a server's databases 2019-07-09 22:00:29 -07:00
Dane Everitt
986285402f
Switch to a context store for server stuff to better support things in the future 2019-07-09 21:25:57 -07:00
Austin Hickey
de8ce4bc95
made links to validation rules more specific
laravel validation rules link now points to the relevant section on the laravel docs
2019-07-08 04:05:51 -04:00
Austin Hickey
b252374d39
Add link to Laravel Framework validation rules/docs
Small QoL fix for adding variables to eggs:

References to "Laravel Framework validation rules" are now linked to the official Laravel 5.7 docs referring to the validation syntax.  Links are also set to open reference in a new tab/window.
2019-07-01 21:30:46 -04:00
Dane Everitt
16e6f3f45f
Attempting to solve a weird console loading issue by making into class component; doesn't fix but like the class better for this.
Loading the console, switching to file manager, and then switching back is needed to load the data the first time. After that every 2nd load of the console will load the data (and even send the data to the websocket as the daemon is reporting.)
2019-06-29 18:28:23 -07:00
Dane Everitt
6b42296865
Correctly listen for unmount event 2019-06-29 17:48:35 -07:00
Dane Everitt
48f449e6d7
Send the logs on mount 2019-06-29 17:40:50 -07:00
Dane Everitt
e0838c895a
First pass at connecting to console and rendering the output from the server. 2019-06-29 17:18:17 -07:00
Dane Everitt
6db9f65e0f
Hide spinner when connected to websocket 2019-06-29 16:59:50 -07:00
Dane Everitt
c8d89e0964
Correctly handle socket state in the app and make it possible to listen for events 2019-06-29 16:57:11 -07:00
Dane Everitt
f0ca8bc3a3
Handle connecting to websocket instance
Very beta code for handling sockets
2019-06-29 16:14:32 -07:00
Dane Everitt
e69d55ec6f
Nyoom, bye bye Vue 2019-06-28 22:52:57 -07:00
Dane Everitt
109bed4f7d
Add basic navigation bar to server view 2019-06-28 22:49:08 -07:00
Dane Everitt
8ac8a370f8
Fix some issues with navigating in the router and bad animations 2019-06-28 22:17:29 -07:00
Dane Everitt
3db7698170
Basic design for server listing page 2019-06-25 22:00:28 -07:00
Dane Everitt
2f5a1984b3
Make the heading on form elements less bold 2019-06-25 22:00:18 -07:00
Dane Everitt
9cb8020dbe
Add basic navigation bar 2019-06-25 21:28:56 -07:00
Dane Everitt
46c338dc1b
Basic design concept for a nav bar 2019-06-24 22:17:58 -07:00
Dane Everitt
cbd050edda
Only doing password and email currently 2019-06-24 21:45:43 -07:00
Dane Everitt
da24f66563
Finish code for updating email 2019-06-24 21:43:46 -07:00
Dane Everitt
438f1b06b9
Add support for changing account password 2019-06-22 23:45:09 -07:00
Dane Everitt
d43b7ea5bc
Add basic Formik setup and example for update password 2019-06-22 23:25:38 -07:00
Dane Everitt
403a1e79fa
Fix form hover/active states 2019-06-22 18:58:07 -07:00
Dane Everitt
adcd2682ef
Start working on some defined styles, begin implementing password update in account 2019-06-22 18:53:50 -07:00
Dane Everitt
0789b814dd
Fix design issue 2019-06-22 18:10:57 -07:00
Dane Everitt
60f32f055e
Fix router to make it easier to actually navigate around the app 2019-06-22 18:09:42 -07:00
Dane Everitt
f34593e777
Make the transition based router be grouped more cleanly. 2019-06-22 17:45:32 -07:00
Dane Everitt
d22747b0b1
Only do this if no user is in the state already 2019-06-22 17:07:54 -07:00
Dane Everitt
e20a768182
Plop user data into the store when loading up the base component 2019-06-22 17:07:28 -07:00
Dane Everitt
328347fab7
Convert all of the login components into hook based ones 2019-06-22 16:45:51 -07:00
Dane Everitt
aabf9b8a70
Some adjustments to begin working on a dark theme 2019-06-22 15:23:02 -07:00
Dane Everitt
d1880af18d
New login page design 2019-06-22 13:53:41 -07:00
Dane Everitt
212773d63c
Finish authentication flow for 2FA 2019-06-22 13:33:11 -07:00
Dane Everitt
7f3ab8aadf
Redesign the login form to not use the weird open fields 2019-06-22 13:11:27 -07:00
Dane Everitt
56640253b9
Merge branch 'release/v0.7.14' into feature/react 2019-06-22 12:28:44 -07:00
Dane Everitt
06ff76e2e9
Fix security vulnerability in file manager allowing XSS attack 2019-06-21 21:04:42 -07:00
Dane Everitt
2a626a3e1f
Kinda working checkpoint magic 2019-06-16 18:07:57 -07:00
Dane Everitt
4eeec58c59
Add support for password reset links 2019-06-16 16:57:57 -07:00
Dane Everitt
54cfe7e981
Clear email field on send 2019-06-16 15:24:20 -07:00
Dane Everitt
19ef901768
Show success message to the user 2019-06-11 23:19:43 -07:00
Dane Everitt
435626f4b7
Add support for flash messages utilizing redux 2019-06-11 23:12:03 -07:00
Dane Everitt
b93b40ba31
Begin working on password reset page 2019-06-11 22:02:18 -07:00
Dane Everitt
d9f30294de
Migrate the existing login form to use React 2019-06-09 19:26:20 -07:00
Dane Everitt
0ab3768274
Install eslint to enforce a style 2019-06-09 17:38:33 -07:00
Dane Everitt
3f2a4b5762
Get initial implementation for react working 2019-06-09 17:29:10 -07:00
Dane Everitt
37715762cd
Don't parse JSON files as actual JSON 2019-06-01 14:24:00 -07:00
MatthewSH
0ec2ac884f
Check the boolean itself, not the value. 2019-05-31 00:16:56 -04:00
Dane Everitt
0f8dcabb45
Even out the file manager rows 2019-05-27 18:45:37 -07:00
Dane Everitt
e99ac7abe8
Store the console output in a buffer for easier display 2019-05-27 18:26:34 -07:00
Dane Everitt
f9b8ddc917
Let the daemon send the initial logs 2019-05-27 18:03:23 -07:00
Dane Everitt
d284083d20
Fix the logic on database modals 2019-05-27 16:43:28 -07:00
Dane Everitt
7e89e1bc00
Fix firefox focus ring on links 2019-05-27 16:32:27 -07:00
Dane Everitt
06337e45d8
Add support for non-existent files being edited 2019-05-27 16:30:23 -07:00
Dane Everitt
bfdc1f766b
Support saving existing files 2019-05-27 15:30:49 -07:00
Dane Everitt
a8f523e2aa
Prevent opening file edit modal when clicking on row options dots 2019-05-27 15:06:10 -07:00
Dane Everitt
89194b4c55
Show a cleaner interface while loading file contents 2019-05-27 15:02:32 -07:00
Dane Everitt
a8462bf109
Add initial support for opening a file in the file manager, still needs more work 2019-05-25 16:24:13 -07:00
Dane Everitt
6606eb1b1b
Switch to ace editor and improve build process for it 2019-05-14 18:36:48 -07:00
Dane Everitt
487128d00f
Fix modal design 2019-05-14 16:51:38 -07:00
Dane Everitt
da2044fb10
Support modals with content outside the white background area 2019-05-14 16:48:38 -07:00
Dane Everitt
be03dba5b5
Add styling for dropdown menus 2019-05-14 16:48:23 -07:00
Dane Everitt
c6633057b6
Add very basic working example of inline file editor 2019-05-10 22:51:09 -07:00
Dane Everitt
32db345238
Update modal code 2019-05-10 22:50:59 -07:00
Dane Everitt
2c73991f2b
Add minimum code needed to open new file modal 2019-05-10 21:20:37 -07:00
Dane Everitt
d280a91115
Add socket reconnect logic 2019-05-09 22:42:53 -07:00
Dane Everitt
d79fe6982f
Add support for file copy and deletion 2019-05-04 17:26:24 -07:00
Dane Everitt
811026895b
Update support for moving/renaming files and folders 2019-05-04 16:04:59 -07:00
Dane Everitt
95d19bf09e
Update logic that handles creation of folders for a server 2019-05-01 21:45:39 -07:00
Dane Everitt
c80c8564b8
Switch file manager listing to use panel API endpoint 2019-05-01 20:54:40 -07:00
Dane Everitt
e87c5f6657
Implement basic support for connecting to wings console via websocket rather than socketio 2019-05-01 20:12:20 -07:00
Dane Everitt
743ae040be
Add accessability buttons to the file rows 2019-03-17 17:49:04 -07:00
Dane Everitt
ce911f827e
Fix file downloading permissions 2019-03-16 17:16:34 -07:00
Dane Everitt
8955b5a660
Initial attempt trying to get file downloading to work 2019-03-16 17:10:04 -07:00
Dane Everitt
4e669771ca
Add support for moving files via the file manager 2019-03-16 16:36:08 -07:00
Dane Everitt
5aa40800c8
Add support for copying a file or folder 2019-03-10 18:42:53 -07:00
Dane Everitt
3970a24218
Migrate the rename action to follow better structure 2019-03-10 15:44:49 -07:00
Dane Everitt
f3159bcec3
Fix prop modification error 2019-03-10 15:15:04 -07:00
Dane Everitt
d6630341b4
Combine logic so we aren't constantly duplicating it 2019-03-10 14:50:44 -07:00
Dane Everitt
25621f4c1c
Push the user into the newly created directory once made 2019-03-10 14:28:24 -07:00
Dane Everitt
66320972be
Improve file deletion logic to not require a refresh 2019-03-10 14:14:47 -07:00
Dane Everitt
6b4bf3eaa7
Add basic file deletion logic 2019-03-09 12:04:29 -08:00
Dane Everitt
a66d7a3417
Merge branch 'develop' into feature/vuejs 2019-03-09 11:19:07 -08:00
Sir3lit
babf1262f0
Update Notice
Updates notice to reflect the correct name of the value to edit, less confusion
2019-03-03 23:03:48 -05:00
Dane Everitt
d9593b23ab
Paginate server results when viewing a node, closes #1404 2019-03-02 15:58:56 -08:00
Dane Everitt
d34c737f16
Base delete file view, not actually connected to anything 2019-02-18 21:23:42 -08:00
Dane Everitt
ff820f30ad
Add support for renaming files on the fly in the file manager 2019-02-18 20:41:58 -08:00
Dane Everitt
52115b5c77
This wasnt used 2019-02-18 19:38:03 -08:00
Dane Everitt
c47ceda302
Remove forgotten debugger 2019-02-17 13:29:42 -08:00
Dane Everitt
866b3a3aac
Add support for actually creating that folder on the daemon 2019-02-17 13:29:11 -08:00
Dane Everitt
0b11532a48
Get modal base logic all worked out 2019-02-17 13:03:15 -08:00
Dane Everitt
be7f7d8da8
Add initial support for tracking current FM directory for creating a folder (and other stuff eventually) 2019-02-16 17:54:15 -08:00
Dane Everitt
767e466fd8
Lets be smarter with modals here... 2019-02-16 17:15:56 -08:00
Havila
04fb5de9a1 Add missing ∞ (#1485)
I guess it was left out of https://github.com/pterodactyl/panel/pull/1260
2019-02-16 11:10:12 -08:00
Dane Everitt
b6773b56c1
Format all the files 2019-02-09 21:15:45 -08:00
Dane Everitt
5bff8d99cc
Move everything back to vue SFCs 2019-02-09 21:14:58 -08:00
Dane Everitt
761704408e
Fix HMR and backtrack for SFC support now that PHPStorm supports them
Of course I wasted forever migrating OUT of SFCs only to go back to them.
2019-02-09 19:43:11 -08:00
Dane Everitt
626a63ddd9
Some code cleanup 2019-02-09 19:15:18 -08:00
Dane Everitt
40aa3da5de
Migrate last of the SFC's to TS files 2019-02-09 18:46:06 -08:00
Dane Everitt
5cb57af193
Fix power button actions 2019-02-09 17:37:44 -08:00
Dane Everitt
8385ec7feb
Cleanup more filemanager design 2019-02-09 17:26:08 -08:00
Dane Everitt
caca6cff8a
Make the file manager look better 2019-02-09 17:07:11 -08:00
Dane Everitt
ac13f5dce4
Fix a bunch of design inconsistencies and horrible code on server boxes 2019-02-09 16:38:45 -08:00
Dane Everitt
a9fda52065
Begin fixing design to match new colors 2019-02-09 15:17:38 -08:00
Dane Everitt
e62e3babcc
More fixes 2019-02-09 14:48:47 -08:00
Dane Everitt
6e26f1929d
Blues 2019-02-09 14:44:35 -08:00
Dane Everitt
d6feaec202
Fix colors 2019-02-09 14:37:30 -08:00
Dane Everitt
f62c8a0d55
Greens 2019-02-09 14:36:39 -08:00
Dane Everitt
8dcd445df6
Migrate yellows 2019-02-09 14:33:39 -08:00
Dane Everitt
32b43cff9a
Convert color schema, begin migrating old classes (finishes grey & red) 2019-02-09 14:32:18 -08:00
Dane Everitt
6c7a5d5bb9
Finish UI stuff for today 2019-02-03 17:45:22 -08:00
Dane Everitt
89d29cf46b
Assorted UI tweaking 2019-02-03 17:27:19 -08:00
Dane Everitt
a28a9887c1
Rearrange the navigation bar to be laid out more normally 2019-02-03 16:29:08 -08:00
Dane Everitt
378a26a7c5
Finish migrating most everything to TS 2019-02-03 15:39:59 -08:00
Dane Everitt
0407e97aa1
oopsie 2019-02-03 15:16:03 -08:00
Dane Everitt
3e61bfdeaa
Replace console view with proper ts 2019-02-03 15:10:21 -08:00
Dane Everitt
d7ce62c047
Re-add socket mixin, works fine? 2019-02-03 14:49:04 -08:00
Dane Everitt
1c6fa6c0bb
Revert "Temporarily remove socketio until this can be fixed"
This reverts commit 0e1d35c8a0.
2019-02-03 14:31:47 -08:00
Dane Everitt
9f2eaa5c40
Transform server base page to TS 2019-02-03 14:31:39 -08:00
Dane Everitt
ea923053eb
Miscelaneous fixes for WP 2019-02-02 18:49:51 -08:00
Dane Everitt
91cf735646
Fix webpack compliation for prod, chunk out massive files for perf 2019-02-02 18:25:33 -08:00
Dane Everitt
cc6d10d7f8
Initial Webpack 4 configuration 2019-02-02 17:33:12 -08:00
stashenko
7b4e69b5d2 Add russian translation (#1460) 2019-02-02 14:07:58 -08:00
Dane Everitt
327a324cb4
Merge pull request #1443 from zKoz210/develop
Fixed skip_scripts in creating and startup the server
2019-02-02 14:04:54 -08:00
Dane Everitt
c33e9fc4f5
Merge branch 'develop' into feature/zhimprove 2019-02-02 13:36:22 -08:00
F0rb1d
d281cfded5 Merge fix. 2019-02-03 00:34:35 +08:00
F0rb1d
44c2f74c21 Hugely improved Simplified Chinese translation quality. 2019-02-03 00:10:51 +08:00
F0rb1d
851f292ee3 Hugely improved Simplified Chinese translation quality. 2019-02-02 23:47:11 +08:00
Magnus Leßmann
5a23fdae6e
Fix missing encoding of file editing urls 2019-01-24 09:29:35 +01:00
Oreo Oreoniv
186418ee50
Fixed skip_scripts in startup the server 2019-01-18 08:02:09 +03:00
Oreo Oreoniv
27882467e5
Fixed skip_scripts in creating the server 2019-01-18 08:00:35 +03:00
Dane Everitt
2a0d649b2a
Migrate more components to TS 2018-12-30 15:31:41 -08:00
Dane Everitt
085da72934
Fix modal closing 2018-12-30 15:07:18 -08:00
Dane Everitt
0c2b2b4341
Get account pages working 2018-12-30 15:07:12 -08:00
Dane Everitt
11a70b0343
Get dashboard converted 2018-12-30 13:41:24 -08:00
Dane Everitt
33e09b5619
Migrate more core components 2018-12-30 13:10:16 -08:00
Dane Everitt
136e4b5b7b
Fix some issues 2018-12-30 12:45:57 -08:00
Dane Everitt
da45855034
Use computed, not method so it is accessible 2018-12-30 12:27:18 -08:00
Dane Everitt
75ba2eac39
Finish auth migration, now to make it work 2018-12-30 12:13:10 -08:00
Dane Everitt
3b553beac6
Update bootstrap.ts 2018-12-30 10:41:36 -08:00
Dane Everitt
6330d6579f
Undo the ts setting in vue components, begin migration to Vue.component setup 2018-12-29 19:24:52 -08:00
Dane Everitt
0e1d35c8a0
Temporarily remove socketio until this can be fixed 2018-12-29 19:24:25 -08:00
Dane Everitt
f7ba30fbbe
Change flash mixin 2018-12-29 19:24:09 -08:00
Dane Everitt
96468ab4b3
Try some more changes 2018-12-29 17:00:50 -08:00