Commit Graph

29 Commits

Author SHA1 Message Date
cp6
3bd9d5890c Updated all destroy() methods
Updated all destroy() methods to directly delete the resource rather than fetch from database which turns out is not needed
2022-11-08 11:14:07 +11:00
cp6
1c0a82d533 Updated Server controller and create & edit views
Uses the resource id now
No passing hidden input id
Uses alert component for response
2022-10-31 16:02:50 +11:00
cp6
2139629077 Updated updatePricing() to not need as_usd parameter
Updated updatePricing() to not need as_usd parameter
2022-10-20 11:17:34 +11:00
cp6
a649f1749e Added/Updated validation on store and update
Added/Updated validation on store and update
Updated update method in shared, server, seedboxes, reseller and misc
2022-10-20 11:06:44 +11:00
cp6
dcb8a78ff8 Updated the server choose compare method
Updated the server choose compare method
If 2 suitable servers aren't found then throw an error alert
2022-10-13 14:20:26 +11:00
corbpie
d0d2cc71ac
Merge pull request #70 from cp6/Development
Added order by for index actions
2022-10-13 13:30:32 +11:00
cp6
b44b4bb259 Code cleanup
Removed unused osIdAsString function
Added return types to some functions
2022-10-05 11:58:19 +11:00
cp6
4abbd451b9 Added order by for index actions
Added order by setting
Order by for index
Updated showing 404 methods in serverController
2022-10-04 14:35:46 +11:00
imlonghao
3f669df922
controller(server): fix update server ssh port 2022-09-27 00:05:57 +08:00
cp6
df779ba633 Updated models and controllers to use first()
Updated models and controllers to use first() rather than get() with [0]
2022-09-22 13:20:23 +10:00
cp6
d1eb588b11 Updated pricing model insertPricing() func
Updated pricing model insertPricing() function
Move as_usd parameter into the function
Updated is_active check as it is an int anyway
2022-08-30 23:37:05 +10:00
cp6
0491f84ed4 Updated Server model & Added LabelsAssigned model
Huge update for Server to use relationships (no more joins)
Created LabelsAssigned class for the labels relationship
Removed pricingForService() function
Removed now unused server cache forgets
2022-07-19 13:12:51 +10:00
cp6
70622f827b Cleaned up servers controller
removed unused classes
2022-05-15 12:00:05 +10:00
cp6
2f3eaadb25 Cleaned up server controller
Moved DB calls into models & cached them
2022-05-15 01:21:51 +10:00
cp6
ed0d76df25 Updated servers index cache time to 1 month
Updated servers index cache time to 1 month
2022-05-15 00:45:33 +10:00
cp6
18c73aca95 Added and applied updatePricing function
Added and applied updatePricing function
2022-05-15 00:43:36 +10:00
cp6
9204a05654 Added insertPricing & allPricing function
Added insertPricing & allPricing function
2022-05-15 00:24:05 +10:00
cp6
571c1c2d28 Removed server edit passed in data
Removed server edit passed in data
2022-05-14 23:36:16 +10:00
cp6
5ed5dc91a9 Updated server create view data
Updated server create view data
2022-05-09 16:03:17 +10:00
cp6
7b37eba517 Update all locations call type
Update all locations call type
2022-05-09 15:39:29 +10:00
cp6
1251fae0df Fixed providers cache
Fixed providers cache
2022-05-09 15:39:03 +10:00
cp6
6da3af1364 Fixed OS cache
Fixed OS cache
2022-05-09 14:57:38 +10:00
cp6
ecc9a61069 Cleaned up IPs & Label assignments
Cleaned up IPs & Label assignments when creating, updating and deleting
2022-05-09 14:35:07 +10:00
cp6
5b1c1b663f Fixed sqlite not supporting 'IGNORE' on insert queries
Fixed sqlite not supporting 'IGNORE' on insert queries
2022-03-13 22:28:01 +11:00
cp6
f3c3d3a9f3 Updated Ram and Disk MB, GB and TB conversion to binary
Updated Ram and Disk MB, GB and TB conversion to binary
2022-03-13 22:13:45 +11:00
cp6
8195fba66e Fix for Undefined array key 0 due to seed not being run
Fix for Undefined array key 0 due to seed not being run
2022-03-09 23:16:15 +11:00
cp6
4688dd15ca Added new SUM cards for server specs
Added new SUM cards for server specs e.g Total CPU, ram, disk, bandwidth and different locations and providers
2022-03-09 13:18:30 +11:00
cp6
da83aa1f23 Fix
Fix
2022-03-06 02:58:25 +11:00
cp6
fd22b0bf58 V2 (Laravel re-make)
V2 (Laravel re-make)
2022-03-06 02:02:12 +11:00