Commit graph

131 commits

Author SHA1 Message Date
Dane Everitt
54f9c5f187
Merge branch 'develop' into feature/file-uploads 2020-08-22 18:33:09 -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
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
14c587eabe
Correctly inject new directory into file manager 2020-08-06 20:33:17 -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
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
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
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
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
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
Dane Everitt
28992c5e43
Speed up animations throughout the panel 2020-07-05 13:56:04 -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
2193916fe4
Get basic compiling working with new CSS setup 2020-07-03 13:55:33 -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
Dane Everitt
0d57e591cb
Pteroignore details 2020-04-19 20:04:39 -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
b72a770ec9
Don't execute unnecessary HTTP requests when browing a file directory 2020-04-10 13:57:24 -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
9b4f2deb78
Update permissions handling for file manager; ensure errors are shown 2020-03-29 21:42:02 -07:00
Dane Everitt
edb9657e2b
Upgrade to formik@2 2020-03-18 21:32:07 -07:00
Dane Everitt
3e915e526b
Fix file creation in nested directory 2019-12-21 17:43:50 -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
c37baa0867
Always show the save buttons 2019-12-08 10:44:52 -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
c66d2cd123
A few adjustments for chunking the new file edit page 2019-09-28 14:59:05 -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