Charles Morgan
3df0febd0c
Less Lines = Better
...
Same logic, just more compact and react like
2020-05-17 00:34:25 -04:00
Charles Morgan
564933fcb1
Show "unlimited" not 0
...
Shows unlimited for resources if they're set to "0"
Im sure we could also just remove the "of {limit}" part if its unlimited? Dane Advise
Im sure there is a 100x better way of doing this? Dane please advise.
2020-05-16 03:16:06 -04:00
Charles Morgan
46285fefd7
CSS Changes
...
More CSS Changes....
Server overview page now looks more..... fluid
Boxes have their correct color top colors back, When admin side was changed to dark theme all by the yellow was changed to a single color, this is reverted.
Node overview page uses blue over gray box for total servers.
Lightened the text color on the side bar
Removed delete button for allocations that are assigned.
Changes Node configuration box to not hurt eyes
2020-05-10 18:09:01 -04:00
Dane Everitt
86dbb141f4
Make this helper text more correct
2020-05-09 15:45:38 -07:00
Dane Everitt
3b2e2c63c6
Only show relevant configuration; update default path to be what the daemon expects
2020-05-09 15:44:13 -07:00
Dane Everitt
2d95204e9a
Pass a value for skipping scripts correctly; closes #1991
2020-05-07 20:46:49 -07:00
Dane Everitt
69eb33fb89
closes #1787
2020-05-07 20:24:28 -07:00
Dane Everitt
c6d8bed095
close #1801
2020-05-07 20:20:20 -07:00
Dane Everitt
194688389d
Unused
2020-04-26 14:33:14 -07:00
Dane Everitt
6056b6f45d
Show console when an admin is viewing an installing server
2020-04-26 13:21:39 -07:00
Dane Everitt
f1c3762f4d
Add base support for definining the number of backups that can be created for a server
2020-04-26 12:12:29 -07:00
Dane Everitt
bed51b5871
Don't flash progress indicators when it is a failed request.
2020-04-26 11:19:40 -07:00
Dane Everitt
e2e82b9bf3
Little bit better UI for suspended
2020-04-25 17:59:46 -07:00
Dane Everitt
c4f4f1f5c8
Don't show an error in the listing if the server is still installing or suspended
2020-04-25 17:58:09 -07:00
Dane Everitt
f45c03a449
Support filtering to own/all servers if user is an admin
2020-04-25 17:52:32 -07:00
Dane Everitt
67c6be9f6f
Make switches not reliant on Formik
2020-04-25 17:37:03 -07:00
Dane Everitt
a10191a120
How'd you get in there
2020-04-25 13:03:37 -07:00
Dane Everitt
9eb31a16d9
Fix 2FA handling; closes #1962
2020-04-25 13:01:16 -07:00
Dane Everitt
72ecac5236
Merge pull request #1963 from Sir3lit/maxconn
...
Add Max Concurrent Connections for database users
2020-04-25 11:01:01 -07:00
Charles Morgan
56a0989176
Remove from end user
...
Removed max connections from the end user view.
2020-04-24 10:17:31 -04:00
Dane Everitt
0385d2a05c
Merge pull request #1939 from Sir3lit/optionaldesc
...
Allow description fields to be optional
2020-04-23 20:37:02 -07:00
Dane Everitt
0ccfdd722c
Merge pull request #1924 from Sir3lit/adminchanges
...
Update Admin Overview for server
2020-04-23 20:36:43 -07:00
Dane Everitt
6c8711a227
Merge pull request #1946 from Sir3lit/cssfixes
...
Update Admin CSS / CSS changes
2020-04-23 20:36:13 -07:00
Charles Morgan
82dd7dc8e3
Allow Null = 0
...
Allow Value to be nullable, will autofill 0 if value is null or 0, to facilitate "unlimited" connections.
2020-04-23 10:45:44 -04:00
AreYouScared
0ecfb40f5e
Add variable to API endpoint
...
Allow API to retrun max_connections for frontend database page
2020-04-22 06:17:26 -04:00
AreYouScared
f0e4764a11
Add Max Concurrent Connections for database users
...
Closes #1849
Allows database users to be limited to a number of concurrent connections to prevent one user from connecting hundreds of time and bottlenecking the MySQL server.
2020-04-22 06:00:04 -04:00
Josh Miles
f3e693efb8
Update ReinstallServerBox.tsx
...
Added space.
2020-04-20 10:47:48 +01:00
Dane Everitt
0d57e591cb
Pteroignore details
2020-04-19 20:04:39 -07:00
Dane Everitt
973591d86e
Add basic support for backups via the scheduled tasks system
2020-04-19 19:43:41 -07:00
Dane Everitt
7a3263f57b
Fix start server tasking; closes #1928
2020-04-19 12:15:10 -07:00
Dane Everitt
a1c3730861
Update frontend to only allow selection of valid permissions for subusers
2020-04-19 11:58:26 -07:00
AreYouScared
c54cbe6638
Update Admin CSS / Few css fixes
...
Changed `code` color to be a little lighter, more contrast / easier to read (From #999 to #c3c3c3)
Added Readonly style, was white box with grey letters. Changes to Dark grey box and white letters.
Changed cursor for disabled / read-only to `not-allowed` instead of `text`
Closes #1918 -> Dropdown text was grey with a grey background.
Added Green and Yellow Text colors
Added Text-Danger
Changed Link color, to be a tad lighter
Added well/well-sm/well-lg to pterodactyl.css
Changed well to match the dark theme.
Hovering over Start / Restart show respective colors Green / Blue
2020-04-19 08:30:52 -04:00
Dane Everitt
00b0d30c60
Fix handling for backups; correctly send along ignored files & directories
2020-04-18 23:26:59 -07:00
AreYouScared
21491e3aaa
Allow descrition field to be optional
...
Allows for Nest, Node, Location and Egg description fields to be blank / nullable.
Removed "required" wording next to them aswell
2020-04-17 20:52:40 -04:00
Dane Everitt
90e2d0d72a
Fix positioning of the loading bar when logging in
2020-04-17 14:44:18 -07:00
Dane Everitt
c43bf39cfd
Fix login screen 404
2020-04-17 14:43:03 -07:00
Dane Everitt
d426887769
Adjust language for error message
2020-04-17 13:12:40 -07:00
Dane Everitt
5252f3f9d3
Show error message when attempting to connect to a websocket
2020-04-17 12:41:47 -07:00
Dane Everitt
41a94c66e4
Show an error box if we couldn't fetch details about the instance
2020-04-17 12:03:16 -07:00
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
e044e8db1c
Show a nicer error message when server is installing
2020-04-17 11:07:32 -07:00
Dane Everitt
1aa3e0fb63
Set bar completed when a request fails
2020-04-17 10:26:36 -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
0cad2b9362
Update Admin Overview for server
...
Changes CPU Threads show Not Set instead of n/a
Changes 0% -> Unlimited, when cpu is set to 0(unlimited)
Changes 0MB -> Unlimited, when memory is set to 0(unlimited)
Changes 0MB Swap -> Not Set
Changes -1 Swap -> Unlimited
Changes Name -> Server Name
Changes Service -> Current Egg
2020-04-13 18:11:45 -04:00
Dane Everitt
fda88940f7
Fix up node autodeployment
2020-04-12 17:20:09 -07:00
Dane Everitt
fc31d6347e
Correctly reset server state when the URL is changed
2020-04-12 16:19:43 -07:00
Dane Everitt
b9239594ca
Don't flood the progress bars when listing resources
2020-04-12 16:08:29 -07:00
Dane Everitt
7115209b60
Hide statistics page for now
2020-04-12 16:03:41 -07:00
Dane Everitt
07381da8fb
This warning is no longer true
2020-04-12 16:02:09 -07:00
Dane Everitt
72c144e309
Merge pull request #1909 from pterodactyl/enhancement/new-server-admin
...
Enhancements to new server admin
2020-04-12 10:13:03 -07: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
Matthew Penner
4d833af5f4
Fix script paths in layouts
2020-04-11 14:49:40 -06:00
Matthew Penner
a7dab69711
Persist service variables
2020-04-11 14:46:30 -06:00
Matthew Penner
dec6868a55
Persist nest_id, egg_id, pack_id
2020-04-11 14:14:05 -06:00
Matthew Penner
b5e50719ac
Remove old Theme::js calls in blade layouts. Persist checkboxes, Server Owner, Node, Default Allocation, and Additional Allocations on servers/new.blade.php
2020-04-11 13:56:03 -06:00
Dane Everitt
7557dddf49
Store node daemon tokens in an encrypted manner
2020-04-10 15:15:38 -07: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
76300209f1
Correctly clear the interval for resource use checking
2020-04-10 12:49:09 -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
4e2602e1e7
Merge pull request #1898 from Sir3lit/fixformatting
...
New server formatting
2020-04-10 09:56:26 -07:00
Dane Everitt
c1a7e4ebe1
Merge branch 'develop' of https://github.com/Pterodactyl/Panel into develop
2020-04-09 22:08:16 -07:00
Dane Everitt
9ba6aaebde
Move actions into context menu, add support for deleting a backup
2020-04-09 22:08:09 -07:00
AreYouScared
7daf6e2e93
Uniformity is Key
...
Updated logical order to match new server page on build and overview page.
2020-04-10 00:54:40 -04:00
AreYouScared
411ed41582
New server formatting
...
Fixed auto-sizing for resource mangemnet
Moved them in logical order(CPU->RAM->Disk) with advanced stuff to the right.
2020-04-09 23:46:12 -04:00
AreYouScared
27a92d6f45
Fixed Copyright year
2020-04-09 23:00:59 -04:00
Dane Everitt
2eb6ab4d63
Store backups in server state
2020-04-06 22:25:54 -07:00
Dane Everitt
f9878d842c
Fix error handling for large files (and endpoints called as non-json)
2020-04-06 21:59:14 -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
b1e7e0b8b0
Simplify handling of permissions for websocket, only send permissions the user actually has
2020-04-06 21:03:00 -07:00
Dane Everitt
a924eb56cc
Fix file and backup downloading to use URL returned by server
2020-04-06 20:28:14 -07:00
Matthew Penner
2f506d564b
Merge branch 'develop' into feature/server-transfers-actually
2020-04-04 20:56:37 -06: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
Matthew Penner
fd4de9168a
Merge branch 'develop' into feature/server-transfers-actually
2020-04-04 16:28:02 -06:00
Dane Everitt
ad9194a65c
Build out frontend for viewing server backups
2020-04-04 13:24:03 -07:00
Matthew Penner
6ba6c34252
Add ServerTransfer relation in Models/Server.php, notify the new daemon about the incoming server transfer
2020-04-04 14:10:18 -06: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
6d1226a0c1
Merge pull request #1887 from matthewpi/feature/server-transfers
...
Add migration and validation rules for 'threads' column, fixes other errors on nest/egg pages
2020-04-03 22:54:29 -07:00
Dane Everitt
9d0262e7a1
Update index.blade.php
2020-04-03 22:53:49 -07:00
Dane Everitt
0dbf6b51b5
Add very simple search support to pages, togglable with "k"
2020-04-03 22:39:53 -07:00
Matthew Penner
a2eab3ca43
Add ui elements for handling server transfers, add TransferJob.php and TransferService.php
2020-04-03 21:45:37 -06:00
Matthew Penner
829f05a2c7
Add migration for 'threads' column, fix errors on some admin pages, add validation rule for 'threads' column
2020-04-03 18:50:07 -06: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
86de7372a8
Add notes about IO/CPU Threads
2020-04-03 14:43:15 -07:00
Dane Everitt
78d6e59fc5
Merge branch 'develop' into cputhreads
2020-04-03 13:48:06 -07:00
AreYouScared
dfefd8845b
Fixed textboxes ( #1886 )
...
Text boxes on the user view page were set to readonly not allowing admins to change user values
Co-Authored-By: Lance Pioch <me@lance.sh>
2020-04-03 13:46: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
5d5a5c2afc
Fix array fill logicl; allow matching on any permissions
2020-03-29 21:52:18 -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
9347ee8d78
Fix permissions handling logic for admins/owners
2020-03-29 21:30:33 -07:00
Dane Everitt
8bc81c8c4b
Update permissions checking code
2020-03-29 14:19:17 -07:00
AreYouScared
71292a7642
Respond with thread limit
...
Retrun the cpu threads in the api resposne
2020-03-29 17:12:35 -04:00
Dane Everitt
2e9d327dfc
Fix eslint errors
2020-03-29 12:38:08 -07:00
AreYouScared
2561e3e8d5
Add CPU Thread assignments
...
Added CPU Thread assignments for each server
2020-03-29 14:41:55 -04:00
Dane Everitt
ab4c4e7e9e
Add basic permissions checking logic to frontend
2020-03-28 17:25:04 -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
e4e5dea6b8
Fix API key creation logic
2020-03-28 16:06:36 -07:00
Dane Everitt
ff49165447
Unnecessary return
2020-03-28 15:43:06 -07:00
Dane Everitt
7244cdbf5d
Fix up authentication flows to use formik correctly
2020-03-28 15:42:53 -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
8d52e2e1a7
Finalize API key management for accounts
2020-03-22 19:10:49 -07:00
Dane Everitt
3ef649d984
Display the API keys
2020-03-22 18:25:29 -07:00
Dane Everitt
933a4733e8
Add base support for creating a new API key for an account
2020-03-22 18:15:38 -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
Dane Everitt
40c377f2e0
Merge branch 'develop' of https://github.com/Pterodactyl/Panel into develop
2020-02-11 21:15:43 -08:00
Dane Everitt
79b3e82887
eslint is a bit unhappy after that upgrade
2020-02-11 21:15:40 -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
f9ec96c70a
Fix login error message width, closes #1792
2020-01-19 14:31:07 -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
f609271c35
Fix two-factor QR code display; closes #1799
2019-12-28 12:09:55 -08:00
Dane Everitt
158958d82d
Password change needs to require user login to reset some cookies
...
closes #1793
2019-12-28 12:07:42 -08:00
Dane Everitt
51defae917
Merge branch 'master' into develop
2019-12-28 11:49:08 -08:00
Dane Everitt
bd68900346
Merge pull request #1734 from Sir3lit/uniform
...
More uniformity
2019-12-28 11:15:04 -08:00
rtm516
86e6daf0aa
Update list.blade.php ( #1674 )
2019-12-28 11:10:59 -08:00
Dane Everitt
c4fdcb5937
Fix navigation bar issues
2019-12-22 21:22:08 -08:00
Dane Everitt
1f6f7c4bb4
Fix authentication page on mobile devices
2019-12-22 21:18:29 -08:00
Dane Everitt
513692fef5
Whoops, actually show servers
2019-12-22 20:56:34 -08:00
Dane Everitt
6ccac6e040
Mobile improvements for two-factor form
2019-12-22 20:51:50 -08:00
Dane Everitt
9a0ed6b291
Add ability to disable two factor authentication
2019-12-22 20:41:25 -08:00
Dane Everitt
2a653cdd8d
Automatically update the user data when 2FA is enabled
2019-12-22 20:23:43 -08:00
Dane Everitt
eb39826f46
Add base logic to configure two factor on account
2019-12-22 17:03:44 -08:00
Dane Everitt
293ebc9344
Show note when no servers.
2019-12-22 15:31:12 -08:00
Dane Everitt
446d5be62b
Show proper spinners
2019-12-22 14:53:27 -08:00
Dane Everitt
5a31771b4b
Fixes for purge CSS
2019-12-22 14:33:08 -08:00
Dane Everitt
6276a03a4e
Fix links in admin area
2019-12-22 14:03:49 -08:00
Dane Everitt
52ea0f2d0a
Fix allocation management
2019-12-22 13:55:58 -08:00
Dane Everitt
bc3286c7e4
Don't need this box anymore
2019-12-22 13:50:35 -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
6966530165
Better redux devtooling support
2019-12-22 00:16:13 -08:00
Dane Everitt
04d67eaa10
Minor fixes for blocking indexing and notg interrupting user expierence
2019-12-21 21:56:45 -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
a1a344bc48
Big red warning box to prevent the inevitable users trying to run this as a prod build
2019-12-21 17:40:03 -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
d75073116f
Health check
2019-12-16 21:42:58 -08:00
Dane Everitt
7405d7c8ee
Fix routing to server pages
2019-12-16 21:27:01 -08:00
Dane Everitt
a247310372
Fix nav for servers
2019-12-16 21:14:27 -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
1aacc48f0c
Remove forgotten traces of laroute
2019-12-15 18:20:37 -08:00
Dane Everitt
447c4291ad
Update all places in the code referencing named routes using JS that doesn't exist now
2019-12-15 18:19:35 -08:00
Dane Everitt
14b1f13fe0
Obliterate swaths of old template code
2019-12-15 18:11:56 -08:00
Dane Everitt
8965da6af0
Make the logout link actually work
2019-12-15 18:07:45 -08:00
Dane Everitt
103507d6ee
Fix site name
2019-12-15 18:07:16 -08:00
Dane Everitt
66410a35f1
Fix recaptcha on login forms
2019-12-15 18:05:44 -08:00
Dane Everitt
f864b72e0a
Get formik used on login form
2019-12-15 16:41:20 -08:00
Dane Everitt
926b5ac099
Only show 250 files in a directory listing
2019-12-15 14:16:47 -08:00
Dane Everitt
39f1392eee
Hide navigation links that haven't been built out yet
2019-12-09 22:07:21 -08:00
Dane Everitt
81bd67cc76
Add ability for user to change server's name
2019-12-09 22:03:10 -08:00
Dane Everitt
564d947f7e
[#3c9g25] Add support for new endpoint to collect node information
2019-12-09 21:05:39 -08:00
Dane Everitt
979bdc1f9f
Use YAML for configuration file
2019-12-08 11:29:46 -08:00
Dane Everitt
c087f6429f
Temporary patch to get user management pages displaying correctly
2019-12-08 11:02:59 -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
9b80546c0c
Fix design and auto-selection of file format type
2019-12-07 12:16:35 -08:00
Dane Everitt
4e3e9a95e4
eslint error fixes
2019-12-07 12:13:46 -08:00
Dane Everitt
bfd62304ae
Package updates
2019-12-07 12:12:33 -08:00
Dane Everitt
ae3f05b8f7
Always show the resource graph boxes
2019-12-07 11:11:40 -08:00
Dane Everitt
976ad7497f
Don't trigger reloads when working with HMR
2019-12-07 11:03:23 -08:00
Dane Everitt
c17f9ba8a9
Move server view management parts to new controller and clean up code
2019-11-24 12:50:16 -08:00
Dane Everitt
634c1cae9a
Show link to admin area in nav
2019-11-16 13:08:38 -08:00
Dane Everitt
e9b12282b9
Remove all existing language files for other languages until this is restabalized
2019-11-16 12:46:30 -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
de464d35a2
Prevent a double file manager load
2019-11-03 10:46:43 -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
AreYouScared
c116c3392d
More uniformity
...
More uniforminity within the egg page
2019-10-22 19:37:42 -04:00
AreYouScared
1922db60db
Update new.blade.php ( #1732 )
2019-10-21 15:23:33 -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
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