Commit Graph

86 Commits

Author SHA1 Message Date
cp6
ae9b23cba7 Added return types 2023-08-19 23:48:34 +10:00
cp6
507f128bf6 Added return types 2023-08-19 23:46:18 +10:00
cp6
455cf45c29 Cleaned up Server.php
Added Return types on relations
2023-08-18 19:35:53 +10:00
cp6
afe5c1e525 Cleaned up queries that had un-needed '=' 2023-08-18 19:33:26 +10:00
cp6
877592f614 Updated count 2023-08-18 19:31:21 +10:00
cp6
e100203331 Updated counts to use Eloquent 2023-08-18 19:28:53 +10:00
cp6
65f0474ebe Merge remote-tracking branch 'origin/main' into main 2023-08-18 19:26:14 +10:00
cp6
de66fb2852 Fixed spelling mistake in array key 2023-08-18 19:26:00 +10:00
corbpie
171eb63b9a
Update Pricing.php
Updated allPricing() to only be for active services, changed its cache name so this will instantly populate and work
2023-08-15 19:04:56 +10:00
cp6
a683f0ea42 Updated Settings.php
getSettings() now uses Eloquent rather than DB
Gave getSettings() return type of Settings
2023-03-31 11:56:18 +11:00
cp6
f488e10c2f Updated array() usages to be [] 2023-03-31 11:38:21 +11:00
cp6
8a6748f1b0 Added ability to upload own favicon
Must be either .ico, .jpg or .png format and under 40KB
Upload is done in /settings
Also removed save YABS to text input in settings form
2023-03-31 11:31:19 +11:00
cp6
c24056c511 Fix for issue 89
Locations, OS and Providers now Alpha-Sorted correctly
2023-03-20 10:37:28 +11:00
cp6
924415eb66 Added & implemented notes
Added & implemented notes to servers, shared, reseller, domains, DNS and IPs

/notes is a CRUD resource
2022-12-02 13:57:28 +11:00
cp6
34a12e6ffd Updated YABS single to be first() views updated for this
Updated YABS single use first()
Updated show and compare blade views
2022-11-05 12:47:08 +11:00
wky0211
6b12e764c2 style: capitalization 2022-11-02 11:02:12 +00:00
cp6
724b7536a7 Updated resellerHosting() input parameter name
Updated resellerHosting() input parameter name to be $reseller_id
2022-10-31 15:58:47 +11:00
cp6
285786d1a5 Minor comment fixup
Minor comment fixup
2022-10-31 11:17:30 +11:00
cp6
10e2d7dbba Fix orderByProcess() input being null
Fix orderByProcess() input being null by having the input be 2 if the settings values via the session havent  been set
2022-10-31 11:14:26 +11:00
cp6
beaf9af041 Updated order/sort by on index pages
Updated order/sort by on index pages
As using the relationship for price related sorts does not work this method does
2022-10-20 13:57:04 +11:00
cp6
9c1a853d6a Updated labels_assigned insert
Updated labels_assigned insert
2022-10-20 11:27:01 +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
736b6c9479 Minor code update
Minor code update
2022-10-20 11:12:53 +11:00
cp6
20d308b7be Removed unused labels.label with
Removed unused labels.label with
2022-10-13 13:43:09 +11:00
cp6
a1d81a3244 Updated cache timeframes
Updated cache timeframes
2022-10-13 13:37:02 +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
cp6
41413a224f Updated server fixed server_type & virt
Updated server fixed server_type & virt
Merged server_type & virt into just server_type
Updated serviceServerType() for paramater types and a short/long return value
2022-10-04 11:13:57 +11: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
69a972e0d9 Updated & fixed YABS JSON parser
Fixed ram conversion
Fixed disk conversion
Fixed disk speed conversion
2022-09-22 12:26:56 +10:00
cp6
51bad4a64b Fixed OS icons not showing for correct OS INT
Fixed OS icons not showing for correct OS INT
2022-09-22 12:25:19 +10:00
cp6
9dc73ba4fe Fixed YABS JSON parsing disk as ram
Fixed YABS JSON parsing disk as ram
Added cache forget for YASB and server
2022-09-22 11:12:29 +10:00
cp6
c79f67916e Added YABS from JSON parsing
Added YABS from JSON parsing
2022-09-07 13:56:56 +10:00
cp6
f36d73c04d Merge branch 'Development' of https://github.com/cp6/my-idlers into Development 2022-08-30 23:37:21 +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
20058cb9c9 Issue 56 & 57 fix?
Issue 56 & 57 fix?
2022-07-22 23:49:18 +10:00
cp6
bb07f86deb Updated Labels class
Removed unused function
Added assigned() hasMany
2022-07-20 14:36:19 +10:00
cp6
c9108efd63 Updated SeedBoxes class to use relationships + cache
Updated SeedBoxes class to use relationships + cache
2022-07-20 14:35:37 +10:00
cp6
356bd368a4 Updated Misc class to use relationships + cache
Updated Misc class to use relationships + cache
2022-07-20 14:35:12 +10:00
cp6
47bfcea4c8 Added more YABs value saving & YABs save txt setting
Added more YABs value saving (uptime, distro, kernel and swap memory)
Added setting for saving YABs output to txt yes/no
2022-07-20 12:51:45 +10:00
cp6
b9aed757ad Added YABs to Json output
Added YABs to Json output
Cleaned up old unused functions
2022-07-20 00:20:15 +10:00
cp6
88636b88c7 Updated Domains model for relationships
Updated Domains model for relationships
Added caching
2022-07-20 00:19:05 +10:00
cp6
eb31701076 Updated Reseller model to use relationships
Updated Reseller model to use relationships
Added caching for Reseller
2022-07-19 15:55:10 +10:00
corbpie
dbc54c44d1
Merge pull request #54 from cp6/Development
Development (2.1.2)
2022-07-19 15:27:16 +10:00
cp6
cf386e8776 Updated Labels class to have table name
Updated Labels class to have table name
2022-07-19 15:21:35 +10:00
cp6
aaac697774 Updated Shared class to use relationships
Updated Shared class to use relationships
No more joins
Added cache for all shared and single shared
2022-07-19 15:21:13 +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
5a4d0bf13f Updated DiskSpeed &NetworkSpeed for YABs relationship
Updated DiskSpeed &NetworkSpeed for YABs relationship
2022-07-18 14:43:22 +10:00
cp6
50d4b8b3e2 Added YABs compare & implemented cache for YABs
Added YABs compare
Made YABs calls use relationship with disk and network table
Update YABs views to reflect access changes in data
Implemented cache for YABs
Added Server function serverYabsAmount() to count YABs for a server id
2022-07-18 14:27:11 +10:00