Rihan
9a4c0d8ba7
Make interface mobile responsive ( #2273 )
2020-09-13 10:02:25 -07:00
Arnaud Lier
34117017ec
fix: only show download button if it's a file
2020-09-13 09:35:35 +02:00
Dane Everitt
74767ed6a2
Disable buttons when not fully connected to instance
2020-09-11 23:18:01 -07:00
Dane Everitt
1c00c3b234
Merge pull request #2323 from Sir3lit/patch-1
...
Arrange cron times in proper order to match
2020-09-10 20:20:51 -07:00
Dane Everitt
d946cba2f3
Merge pull request #2321 from Sir3lit/movetitles
...
Move page titles to PageContentBlocks
2020-09-10 20:20:35 -07:00
Charles Morgan
735aae6df7
Arrange cron times in proper order to match
...
Moves the rendering of the time boxes to proper locations to match the view on the main schedules page and to match cron syntax
2020-09-10 01:02:44 -04:00
Dane Everitt
d86d0fedb4
Don't re-render entire file list when opening modals
2020-09-09 21:32:43 -07:00
Dane Everitt
deb61623b2
Don't try to upload dropped text
2020-09-09 21:22:13 -07:00
Dane Everitt
98d7b32036
Use fixed spinner overlay for uploads
2020-09-09 21:08:34 -07:00
Dane Everitt
6d922a7563
Show normal upload box when using upload button; closes #2294
2020-09-09 21:07:57 -07:00
Charles Morgan
861911ca49
Move page titles to PageContentBlocks
2020-09-07 23:26:18 -04:00
Dane Everitt
ed83ab8fe9
Clear error when navigating through file manager; closes #2314
2020-09-07 15:03:26 -07:00
Dane Everitt
de9ec1eba6
Confirmation when deleting files via dropdown menu; closes #2293
2020-08-31 21:05:52 -07:00
Dane Everitt
981edb0d64
Require specific permission for reading the actual contents of a file; ref #2288
2020-08-31 19:36:30 -07:00
Dane Everitt
d87438621f
Don't allow opening of files we know cannot be edited; closes #2286
2020-08-30 10:25:48 -07:00
Dane Everitt
8c98264eed
Remove last calls to useServer
2020-08-25 22:09:54 -07:00
Dane Everitt
1598dac6f8
Remove more references to useServer
2020-08-25 21:39:00 -07:00
Dane Everitt
c4418640eb
Start cleaning up the mess of useServer; make startup page update in real time
2020-08-25 21:25:31 -07:00
Dane Everitt
96fef94578
Don't try to use the contents of the file as the file name when using the save shortcut... closes #2266
2020-08-25 18:47:26 -07:00
Matthew Penner
773c42e4f2
Fix #2253
2020-08-24 11:26:05 -06:00
Dane Everitt
034a310702
Use checksum more broadly, not specifically SHA256
2020-08-23 18:06:47 -07:00
Dane Everitt
4cd44d2025
Hide checkbox when editing/creating files
2020-08-23 16:03:54 -07:00
Dane Everitt
5173f1f7e8
Don't allow editing read only values; closes #2252
2020-08-23 14:56:05 -07:00
Dane Everitt
f21aca20b2
Mutate the store after uploading
2020-08-22 22:36:53 -07:00
Dane Everitt
b4c64d3dc0
Better handling of file uploads
2020-08-22 22:35:53 -07:00
Dane Everitt
f561089cad
Fix the unholy hell that is drag events
2020-08-22 22:10:16 -07:00
Dane Everitt
56475d89bb
Fix rendering when trying to access server from state
2020-08-22 19:05:43 -07:00
Dane Everitt
9ae3c17913
Don't even render components if the user doesn't have permission
2020-08-22 19:01:29 -07:00
Dane Everitt
54f9c5f187
Merge branch 'develop' into feature/file-uploads
2020-08-22 18:33:09 -07:00
Dane Everitt
91cdbd6c2e
Support modifying startup variables for servers
2020-08-22 18:13:59 -07:00
Dane Everitt
cae604e79d
Include egg variables in the output from the API
2020-08-22 15:43:28 -07:00
Dane Everitt
1e735cf0e8
Support failed backup display on the frontend; use SWR for backup pages
2020-08-20 21:44:33 -07:00
Dane Everitt
13ace83f42
Move the file selector out of the editor itself; closes #2147
2020-08-19 21:11:29 -07:00
Dane Everitt
57bb652d81
Whoops, don't always show this modal
2020-08-18 20:16:13 -07:00
Dane Everitt
c28cba92e2
Make modals programatically controllable via a HOC
...
This allows entire components to be unmounted when the modal is hidden without affecting the fade in/out of the modal itself.
This also makes it easier to programatically dismiss a modal without having to copy the visibility all over the place, and makes working with props much simpler in those modal components
2020-08-17 21:35:11 -07:00
Dane Everitt
231ff0386c
Fix kill button not showing up when restarting
2020-08-13 20:47:16 -07:00
Dane Everitt
14c587eabe
Correctly inject new directory into file manager
2020-08-06 20:33:17 -07:00
Dane Everitt
26704a2d5f
Clear reinstall messages when mounting; closes #2213
2020-08-03 20:58:15 -07:00
Dane Everitt
941da821e1
Merge pull request #2205 from Sir3lit/pagetitles2
...
Page Titles v2 - Using React Helmet
2020-08-01 21:27:23 -07:00
Dane Everitt
9387be3b0d
Fix permissions on subuser rows
2020-08-01 21:25:28 -07:00
Charles Morgan
d3316f61d7
Titles on index / account pages
...
Also changed to use `const { ..., name: serverName } = useServer();` where feasible
2020-08-01 23:49:00 -04:00
Charles Morgan
27f201f27e
Merge branch 'develop' into pagetitles2
2020-08-01 22:10:58 -05:00
Dane Everitt
dd381f65a9
Don't try to be fancy, just pain
2020-08-01 20:06:17 -07:00
Charles Morgan
d604a4a5f2
Merge branch 'develop' into pagetitles2
2020-08-01 22:03:07 -05:00
Dane Everitt
a966613890
Fix task edit modal not filling the payload correctly
2020-08-01 19:52:13 -07:00
Dane Everitt
c58348735d
Avoid double-click double-submit issues in modals; closes #2199
2020-08-01 19:49:38 -07:00
Dane Everitt
0c7f118f45
add withFlash() context HOC
2020-08-01 19:44:50 -07:00
Dane Everitt
b92c97060b
Use a key that doesn't change to avoid re-render issues; closes #2203
2020-08-01 18:48:58 -07:00
Dane Everitt
b5d97c00df
Merge pull request #2184 from Sir3lit/scrollbar
...
Re-add scroll bar style, fix missed tw conversion
2020-08-01 16:55:23 -07:00
Dane Everitt
0fa90dd6bd
Add listener for install start/end
2020-07-29 22:02:00 -07:00
Dane Everitt
4c558a8662
Fix date display for scheduled tasks; closes #2195
2020-07-29 20:23:46 -07:00
Charles Morgan
6d79ad23a5
Attempt 2?
...
80% sure this isn't how to use react-helmet.... but it works....
2020-07-26 23:32:24 -04:00
Charles Morgan
1fe254efc6
Re-add scroll bar style, fix missed tw conversion
...
Fixed backup message still using old method of "className" changed to use css={ts}
readded scrollbar styling from PR#2118
2020-07-22 01:54:49 -04:00
Dane Everitt
ff9f893dc3
Code cleanup for file manager
2020-07-18 10:45:41 -07:00
Dane Everitt
c2b1e7e6ab
Use archive icon
2020-07-16 22:21:06 -07:00
Dane Everitt
1a6669aa5c
Add endpoint support for decompressing files
2020-07-14 21:16:49 -07:00
Matthew Penner
67ba3baff0
Fix lint warnings
2020-07-12 16:47:00 -06:00
Matthew Penner
1d2acbd5b4
Get basic file upload functionality working
2020-07-12 16:42:32 -06:00
Matthew Penner
3ebb6eadbf
Add upload button and drag&drop modal
2020-07-12 15:20:37 -06:00
Dane Everitt
831673755a
Merge pull request #2105 from pterodactyl/fix/2071
...
Fix improper byte conversions
2020-07-11 17:18:45 -07:00
Dane Everitt
3df4d433f0
Support checking all
2020-07-11 17:09:54 -07:00
Dane Everitt
cb3288500a
Fix render performance and avoid re-rendering rows constantly
2020-07-11 16:57:30 -07:00
Dane Everitt
325626e46d
Only render the modal when needed
2020-07-11 16:49:46 -07:00
Dane Everitt
80ecd58b30
Mass actions for moving files, mostly working?
2020-07-11 16:47:13 -07:00
Dane Everitt
121f163b81
Handle new file rename/move API
2020-07-11 16:20:42 -07:00
Dane Everitt
2653321fc2
Support renaming multiple files at once
2020-07-11 16:00:30 -07:00
Dane Everitt
43f8ec23b8
Show a message when the spinner is displayed
2020-07-11 15:45:28 -07:00
Dane Everitt
93cab68cc3
Handle mass actions for file deletion
2020-07-11 15:37:59 -07:00
Dane Everitt
82bc9e617b
Add support for compressing items in the file manager
2020-07-11 13:38:49 -07:00
Matthew Penner
a9bb692112
Merge branch 'develop' into fix/2071
2020-07-11 12:29:04 -06:00
Dane Everitt
117c1b1778
Support right click to use file context menu
2020-07-11 11:12:59 -07:00
Dane Everitt
fa9800fa88
Fix some SWR funkiness
2020-07-10 22:53:52 -07:00
Dane Everitt
5da9824fb7
Continue with file manager code cleanup
2020-07-10 22:38:07 -07:00
Dane Everitt
2692e98cd8
Massive speed improvements to filemanager
2020-07-10 22:10:51 -07:00
DarthShmev
f2cb41c074
Remove colon from port field on allocations page. Closes #2160
2020-07-10 11:37:55 -04:00
Dane Everitt
82d7fa1c53
Support setting notes on allocations; closes #561
2020-07-09 21:00:03 -07:00
Dane Everitt
2278927fb6
Update allocations to support ids; protect endpoints; support notes
2020-07-09 20:36:08 -07:00
Dane Everitt
9c3b9a0fae
Fix error handling and simplify showing http errors
2020-07-09 20:00:05 -07:00
Dane Everitt
fc9054312d
Support modifying the primary allocation for a server
2020-07-09 19:56:46 -07:00
Dane Everitt
5c18fd1f0c
Show allocated ports on settings page
2020-07-08 21:42:37 -07:00
Dane Everitt
28992c5e43
Speed up animations throughout the panel
2020-07-05 13:56:04 -07:00
Dane Everitt
db7f3e5fc0
Fix console and charting
2020-07-04 22:36:28 -07:00
Dane Everitt
cbea4078fb
Remove lodash deps to reduce bundle size more
2020-07-04 21:46:49 -07:00
Dane Everitt
7f5ee04978
Remove a hilarious number of unused dependencies
2020-07-04 19:01:49 -07:00
Dane Everitt
732594a164
Remove unused imports
2020-07-04 18:46:09 -07:00
Dane Everitt
c419d15907
eslint cleanup
2020-07-04 18:30:50 -07:00
Dane Everitt
43fbefbdb6
Fix up file manager
2020-07-04 17:57:24 -07:00
Dane Everitt
7e8a5f1271
Update database screens
2020-07-04 17:15:49 -07:00
Dane Everitt
a288374027
Update schedule page
2020-07-04 17:00:19 -07:00
Dane Everitt
f3586056f4
Update users screens
2020-07-04 16:26:07 -07:00
Dane Everitt
d27bda1c74
Get settings page in working order
2020-07-04 15:58:14 -07:00
Dane Everitt
1e163aa792
Get server console page rendering (mostly) correctly
2020-07-04 15:40:41 -07:00
Matthew Penner
e4d141fa6f
Merge branch 'develop' into fix/2071
2020-07-04 15:22:25 -06:00
Dane Everitt
5473edc006
Get spinners back in working order
2020-07-04 12:39:55 -07:00
Dane Everitt
94e3acb9c4
Get compilation back to working
2020-07-03 14:19:05 -07:00
Dane Everitt
2193916fe4
Get basic compiling working with new CSS setup
2020-07-03 13:55:33 -07:00
Dane Everitt
497f73d820
Only show limit warnings when necessary and relevant
2020-06-23 20:13:58 -07:00
Dane Everitt
173b75d44d
Merge pull request #2089 from Sir3lit/changedatabases
...
Database page edits, Shows message x of x databases when limit > 0, removes create button once limit is reached.
2020-06-23 19:27:00 -07:00
Dane Everitt
24852b8982
Merge pull request #2088 from Sir3lit/changebackup
...
Backup page edits, Shows client x of x backups when limit > 0. Removes create button if limit is reached or limit is 0
2020-06-23 19:26:43 -07:00
Dane Everitt
3d99b50e15
Merge pull request #2031 from Sir3lit/showunlimited
...
Show "unlimited" not 0
2020-06-23 19:24:32 -07:00
Dane Everitt
693b9eab0c
Fix handling of backup tasks; closes #2067
2020-06-18 21:00:04 -07:00
Dane Everitt
364b645b81
Actually link the save action; closes #2092
2020-06-13 10:07:16 -07:00
Dane Everitt
b30d7429f3
Decode the filename when rendering it to the screen; closes #2101
2020-06-13 09:49:32 -07:00
Matthew Penner
e903d4cc2a
Use 1024 instead of 1000 for byte conversions, rename gloabl.d.ts to global.d.ts
2020-06-10 14:00:43 -06:00
Charles Morgan
5e68290267
Apply same logic to databases
...
Same logic as PR #2088
Shows using x of x databases.
Once limit is reached the create button is removed
2020-06-02 23:40:40 -04:00
Charles Morgan
2c326dcbe7
Fix condition
...
Fix condition for using message
2020-06-02 23:30:43 -04:00
Charles Morgan
e3ac933591
Add using x of x when limit > 0
...
Added a using x of x so the end user knows how many they have and are using.
2020-06-02 23:27:10 -04:00
Charles Morgan
48869d2eda
Remove create backup button if limit = 0, display message none can be created
...
Removes the create button if the limit is 0, just like it does with the database page
Also once limit is reached the create button is removed from view.
2020-06-02 23:14:16 -04:00
Charles Morgan
4d3563b8e1
Merge branch 'develop' into showunlimited
2020-06-02 11:18:00 -05:00
Dane Everitt
0795f8763d
Fix admins being unable to select permissions for subusers; closes #2055
2020-05-31 11:14:31 -07:00
Charles Morgan
3b42f110fb
Show BytestoHuman value, not server limit, change graph
...
Changes server view to use bytestohuman to show 10 GB like it does on the main index.
Removed animation duration so the graph dosn't look likes it glitching when a new value is pushed, also made it a little more curved.
2020-05-27 00:00:50 -04:00
Charles Morgan
917a1e8a87
Update ServerConsole.tsx
2020-05-18 13:33:02 -04:00
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
Dane Everitt
6056b6f45d
Show console when an admin is viewing an installing server
2020-04-26 13:21:39 -07:00
Dane Everitt
67c6be9f6f
Make switches not reliant on Formik
2020-04-25 17:37:03 -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
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
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
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
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
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
48c39abfcb
Add database password rotation to view
2019-07-27 15:17:50 -07: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
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
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