Commit Graph

1667 Commits

Author SHA1 Message Date
Dane Everitt 655a751ef3 Prefix command with sudo 2020-06-29 20:34:58 -07:00
Dane Everitt 4a0627d182 Don't trigger a 500 error due to unchecked data being inserted; closes #2087
This also clears up allowed values for the disk input and normalizes the messaging between edit and create screens.
2020-06-23 20:24:09 -07:00
Dane Everitt 497f73d820 Only show limit warnings when necessary and relevant 2020-06-23 20:13:58 -07:00
Dane Everitt 1b54112129 Merge pull request #2118 from Sir3lit/stylingchanges
Add scrollbar styling + change syntax background color
2020-06-23 19:27:59 -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 9efac27020 Merge pull request #2063 from Sir3lit/adminoverview
Show Unlimited instead of 0MB for disk space on about page ( Admin Side )
2020-06-23 19:24:10 -07:00
Dane Everitt 693b9eab0c Fix handling of backup tasks; closes #2067 2020-06-18 21:00:04 -07:00
Charles Morgan ad0fd4bf72 Change syntax background
Matches the background of file editor, keeps lighter border to say defiend.
2020-06-14 03:47:37 -04:00
Charles Morgan 03f37e1fb9 Add global scrollbar styling
Addeding styling to the scroll bar so its not "out of place" from everything else. Open to changes to the style. Anything is better then what it was.

Maybe remove the hover color?
2020-06-14 03:45:56 -04: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
Matthew Penner 0bec5b8581 Merge branch 'develop' into feature/server-mounts 2020-06-06 11:41:18 -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 6c60305617 Show Unlimited instead of 0, admin view
Guess i missed this one when i set everything to show unlimited when its 0 / -1.

Shows Unlimited disk space instead of 0 on admin about page.
2020-05-24 00:57:30 -04:00
Matthew Penner 0eb29dac9c Add mount_server table, fix wrong field type on other many to many tables, add routes for mounting and unmounting mounts on a server, finish server admin mounts page 2020-05-21 14:23:12 -06:00
Matthew Penner fa902cc074 Add mounts page to server admin view 2020-05-21 13:19:59 -06:00
Matthew Penner 34f718a8b1 Finish mount admin view page, add unique index to migration 2020-05-20 20:50:56 -06:00
Matthew Penner 0db7debb46 Add mount update and deletion services, add MountController@update and MountController@delete 2020-05-20 19:35:30 -06:00
Matthew Penner 77150b2551 Add increment id to mount, add basic mount view page 2020-05-20 19:17:35 -06:00
Matthew Penner a4af8ec977 Add the ability to create mounts 2020-05-20 18:55:59 -06:00
Matthew Penner 00d1b5861a Properly setup Mount model, add database migration, get mount admin page added 2020-05-20 18:07:56 -06:00
Matthew Penner 59a150148a feature/server-mounts initial commit 2020-05-20 17:29:03 -06: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
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