Commit Graph

1356 Commits

Author SHA1 Message Date
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
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
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
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
0385d2a05c Merge pull request #1939 from Sir3lit/optionaldesc
Allow description fields to be optional
2020-04-23 20:37:02 -07:00
Dane Everitt
0ccfdd722c Merge pull request #1924 from Sir3lit/adminchanges
Update Admin Overview for server
2020-04-23 20:36:43 -07: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