Commit Graph

586 Commits

Author SHA1 Message Date
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 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 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 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 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 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 634c1cae9a
Show link to admin area in nav 2019-11-16 13:08:38 -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
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 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 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 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
Dane Everitt 3db7698170
Basic design for server listing page 2019-06-25 22:00:28 -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 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 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