Commit Graph

60 Commits

Author SHA1 Message Date
DaneEveritt 922d75f471
fix remaining eslint error 2022-06-26 15:30:05 -04:00
DaneEveritt dc84af9937
Apply new eslint rules; default to prettier for styling 2022-06-26 15:13:52 -04:00
DaneEveritt 1eb3ea2ee4
Some code cleanup, add jest coverage and begin using it for utility functions 2022-06-26 14:34:09 -04:00
DaneEveritt 7dd74ecc9d
Modal cleanup, begin transitioning towards the new dialog 2022-06-20 11:17:33 -04:00
Matthew Penner 10b357b71e
ui(server): fix used backup count (#3526)
* ui(server): fix used backup count

* ui(server): refactor backup count code
2021-08-04 20:34:00 -07:00
Matthew Penner 970f281859
backups: default is_successful to false (#3522)
* backups: default is_successful to false
* backups: properly query backups
2021-08-03 19:45:25 -07:00
Linux123123 2c2c35303a
Fix backup dropdown permissions (#3469) 2021-07-17 10:02:37 -07:00
Dane Everitt 5d5e4ca7b1
Add support for locking backups to prevent any accidental deletions 2021-05-03 21:26:09 -07:00
Alex 38be4c9e4b
More descriptive error for when backup limit is 0 (#3244) 2021-04-17 14:05:31 -07:00
Matthew Penner 5653b03ddb cleanup BackupContextMenu.tsx 2021-03-12 15:40:45 -07:00
Matthew Penner 582521f419 fix: backup restore delete all files 2021-03-12 14:47:49 -07:00
mammut53 8dca2140b3
Fix displaying wrong backup number on pages
By having multiplie pages the current number of backups broke
2021-03-07 01:57:02 +01:00
Dane Everitt c8ecbe6e79
Update logic to listen for a restoration completion event 2021-01-30 18:43:46 -08:00
Dane Everitt f558bc880a
Correctly handle error; don't overwrite laravel method 2021-01-30 18:07:48 -08:00
Dane Everitt 32fb21d0b7
Update use of server error blocks 2021-01-30 18:01:32 -08:00
Dane Everitt 187df97590
Add UI for restoring backup checkpoint text 2021-01-17 18:25:13 -08:00
Dane Everitt c75f89889a
Update to Tailwind V2 2020-12-26 09:50:09 -08:00
Dane Everitt a8d9eccf9c
Support pagination of server backups, closes #2787 2020-12-06 12:01:42 -08:00
Charles Morgan 4a234af7a3
Minor changes
Changes CopyOnClick to allow any.
Allows database information to be copied on click.
Changes layouts on database/backups to match the network tab.
Changes text to lighten it one level from 400 to 300 for easier visibility.
Moves database api endpoints to their own folder for some organization.
2020-11-08 21:09:22 -05:00
Matthew Penner 85af073438 Switch to s3 multipart uploads for backups 2020-11-01 15:27:43 -07:00
Dane Everitt 2f5e080074
Remove unnecessary break-all 2020-10-11 12:34:48 -07:00
Dane Everitt 2a42ef5c62
Mobile responsiveness fixes 2020-10-03 16:25:39 -07:00
Dane Everitt 47d59ca20f
Fix mobile UI for allocation rows 2020-10-03 15:48:31 -07:00
Oreo Oreoniv 10eeae0927
Fix text overflows through out the front end (#2406) 2020-10-03 11:22:37 -07:00
Dane Everitt cc6f98c0fd
Replace all instances of 255 as a max length with 191; ref #2421 2020-09-26 16:29:26 -07:00
Charles Morgan f6bec474f4
Remove unused imports 2020-09-18 03:43:33 -04:00
Dane Everitt 353f2487a0
Correctly send backup ignored files from textarea; closes #2349
For some reason Formik can't handle the css macro on these fields? Concerning, but not wasting time this close to release to dig into it more.
2020-09-16 20:20:48 -07:00
Rihan 9a4c0d8ba7
Make interface mobile responsive (#2273) 2020-09-13 10:02:25 -07:00
Dane Everitt 8c98264eed
Remove last calls to useServer 2020-08-25 22:09:54 -07:00
Dane Everitt 034a310702
Use checksum more broadly, not specifically SHA256 2020-08-23 18:06:47 -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 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
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 d604a4a5f2
Merge branch 'develop' into pagetitles2 2020-08-01 22:03:07 -05:00
Dane Everitt c58348735d
Avoid double-click double-submit issues in modals; closes #2199 2020-08-01 19:49:38 -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 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 f3586056f4
Update users screens 2020-07-04 16:26:07 -07:00
Dane Everitt 5473edc006
Get spinners back in working order 2020-07-04 12:39:55 -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
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
Dane Everitt 00b0d30c60
Fix handling for backups; correctly send along ignored files & directories 2020-04-18 23:26:59 -07:00
Dane Everitt e6a61fbe9b
Update views to support a more logical container 2020-04-17 11:17:01 -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 07d19ad326
Code cleanup and formatting 2020-04-10 10:11:15 -07:00