Commit Graph

139 Commits

Author SHA1 Message Date
cp6
f44c69caed Fixed save_yabs_as_txt causing settings update to fail validation 2023-09-14 23:44:27 +10:00
cp6
6bbbc232bd Removed un-needed imports in Controllers 2023-08-20 21:25:45 +10:00
cp6
3bef30d861 Removed un unused create() and store() from YabsController.php 2023-08-19 23:46:52 +10:00
cp6
afe5c1e525 Cleaned up queries that had un-needed '=' 2023-08-18 19:33:26 +10:00
cp6
de66fb2852 Fixed spelling mistake in array key 2023-08-18 19:26:00 +10: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
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
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
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
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
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
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
cp6
20d308b7be Removed unused labels.label with
Removed unused labels.label with
2022-10-13 13:43:09 +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
8221bf45d8 Removed unused functions in controllers
Removed unused functions in controllers
2022-09-22 12:59:58 +10:00
cp6
bb901ca703 Removed old YABS add/store method & functions
Removed old YABS store method & functions
2022-09-22 12:24:47 +10:00
cp6
badb640bd9 Updated storeYabs API function
Updated storeYabs API function
Now used to insert YABS from the POST request

-s flag
2022-09-07 13:57:43 +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
007890855b Added YABS to API
Get YABS from API
Add/create/post/store YABS
2022-08-10 00:34:03 +10:00
cp6
3340d296f9 Updated ApiController to use new Class fetching (Relationships)
Updated ApiController to use new Class fetching (Relationships)
2022-07-20 14:37:37 +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
36194efbd8 Updated Shared for data index
Updated Shared for data index
2022-07-19 15:55:37 +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
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
38fe21bbef Fixed switch in getIpForDomain()
Fixed switch in getIpForDomain()
2022-07-18 14:51:25 +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
cp6
ee73ea1a31 Fixed YABs, disk speed and network foreign key on delete issues
Fixed YABs, disk speed and network foreign key on delete issues
2022-06-24 11:17:59 +10:00