Commit Graph

193 Commits

Author SHA1 Message Date
cp6
ebf4e5243c Added LabelsAssigned::create into try catch
Added LabelsAssigned::create into try catch
2023-09-25 23:40:13 +10:00
cp6
f44c69caed Fixed save_yabs_as_txt causing settings update to fail validation 2023-09-14 23:44:27 +10:00
cp6
b2595fc920 Fixed pricing breakdown cache not being refreshed 2023-09-14 23:38:46 +10:00
cp6
aadfc481ac timestamps false for LabelsAssigned
timestamps false for LabelsAssigned
2023-09-11 23:32:07 +10:00
cp6
6bbbc232bd Removed un-needed imports in Controllers 2023-08-20 21:25:45 +10:00
cp6
f0178ac74f Removed un-needed imports 2023-08-20 21:25:22 +10:00
cp6
966ff38320 Unused cleanup 2023-08-19 23:59:51 +10:00
cp6
7fcbd53c84 Cleaned up unused file imports 2023-08-19 23:58:51 +10:00
cp6
b20e405906 Used Eloquent 2023-08-19 23:58:25 +10:00
cp6
b512caecc7 Updated to use Eloquent rather than DB::table() 2023-08-19 23:52:59 +10:00
cp6
ae9b23cba7 Added return types 2023-08-19 23:48:34 +10:00
cp6
3bef30d861 Removed un unused create() and store() from YabsController.php 2023-08-19 23:46:52 +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
Gamerboy59
792f010f27
Update Kernel.php
Use build in cors module of Laravel/framework which should work like the version of fruitcake.
2023-02-14 18:28:58 +01: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
e31a785844 Updated destroy() methods for delete condition
Updated destroy() methods for delete condition
If not true then return with the error alert
2022-11-09 15:18:25 +11:00
cp6
43d22f8e16 Updated IPsController create variable names & added seed box to input
Updated IPsController create variable names & added seed boxes to select input
2022-11-09 15:05:55 +11:00
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
74691a6ed8 Added max length validation for OS, Provider and Location
Added max length validation for OS, Provider and Location
2022-11-08 10:39:05 +11:00
cp6
997b07a0b7 Update YabsController return formatting & compare data check
Update YabsController return formatting
Update for an is null check on data calling
2022-11-05 12:48:07 +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
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
9d33f8ad6e Updated Reseller controller and create & edit views
Uses the resource id now
No passing hidden input id
Uses alert component for response
2022-10-31 16:00:43 +11:00
cp6
d79c571505 Updated Shared controller and create & edit views
Updated Shared controller and create & edit views

Uses the resource id now
No passing hidden input id
Uses alert component for response
2022-10-31 16:00:00 +11: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
f7cdaeb342 Removed unused getProviders() function
Removed unused getProviders() function
2022-10-31 15:19:27 +11:00
cp6
ac0cf82e8d SettingsController update
Updated validation
Updated index view return
Update response from update
2022-10-31 14:46:07 +11:00
cp6
285786d1a5 Minor comment fixup
Minor comment fixup
2022-10-31 11:17:30 +11:00
cp6
a20ce989dc Fixed domain cache not clearing on settings update
Fixed domain cache not clearing on settings update
2022-10-31 11:15:28 +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
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
83500fa58e Updated RouteServiceProvider::HOME for '/'
Updated RouteServiceProvider::HOME for '/' instead of '/dashboard'
2022-10-13 16:04:26 +11:00
cp6
cde2c8d8b6 Added input parameters for compareYabs()
Added input parameters for compareYabs()
Used abort(404) instead of return response()->view('errors.404',........
2022-10-13 14:21:27 +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