Commit Graph

32 Commits

Author SHA1 Message Date
Charles Morgan 8f2e90d1e8 Update Console.tsx 2020-10-15 16:41:11 -04:00
Charles Morgan 807707c07e Update Console.tsx 2020-10-14 11:38:59 -04:00
Charles Morgan cdb881efaf Fix naming 2020-10-14 09:54:06 -04:00
Charles Morgan c53b14acef Close search bar on esacpe
Allows the searchbar to be closed when a user clicks escape, just like in the browser.
2020-10-14 07:23:02 -04:00
Charles Morgan 9dc0c3e2c3 Upgrade Xterm to v4.9, Add Search
Changes:
Added ` xterm-addon-search ` v0.7.0
Added ` xterm-addon-search-bar ` v0.2.0
Updated ` webpack ` v4.43.0 -> v4.44.2
Updated ` xterm `  v3.14.4 -> v4.9.0
Updated ` xterm-addon-fit `  v0.1.0 -> v0.7.0
Updated ` xterm-addon-attach ` v0.1.0 -> v0.4.0

With the added packages above, when a user does Ctrl + F a search box will apear within the console for them to search whats in the console.

This was requested in discord to allow the lines in the console to be searchable.
2020-10-14 02:34:53 -04:00
Dane Everitt 5fc4444f5a Refit terminal when screen is resized; closes #2365 2020-10-03 19:21:11 -07:00
Dane Everitt 1db7e4db66 Request stats from wings when loading the console; closes pterodactyl/panel#2414 2020-09-27 09:45:37 -07:00
Dane Everitt db7f3e5fc0 Fix console and charting 2020-07-04 22:36:28 -07:00
Dane Everitt 1e163aa792 Get server console page rendering (mostly) correctly 2020-07-04 15:40:41 -07:00
Dane Everitt 94e3acb9c4 Get compilation back to working 2020-07-03 14:19:05 -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
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 3b11ba9fca Basic support for installation process 2020-01-18 15:26:15 -08:00
Dane Everitt 5a31771b4b Fixes for purge CSS 2019-12-22 14:33:08 -08:00
Dane Everitt f6b414741d Wait for connection before opening terminal 2019-12-21 21:51:42 -08:00
Dane Everitt 4e3e9a95e4 eslint error fixes 2019-12-07 12:13:46 -08:00
Dane Everitt 8599e2c64b Add server state change events into the console log 2019-09-28 13:45:09 -07:00
Dane Everitt 326d346f92 Handle errors sent back over the sockt 2019-09-28 13:09:47 -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 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 986285402f Switch to a context store for server stuff to better support things in the future 2019-07-09 21:25:57 -07: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 f0ca8bc3a3 Handle connecting to websocket instance
Very beta code for handling sockets
2019-06-29 16:14:32 -07:00