Commit Graph

193 Commits

Author SHA1 Message Date
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
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
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
bb901ca703 Removed old YABS add/store method & functions
Removed old YABS store method & functions
2022-09-22 12:24:47 +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
9e824e0cb6 Added version v2022-08-20 to YABS parser
Added version v2022-08-20 to YABS parser
2022-09-07 15:50:01 +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
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
8f8ae8edb5 Updated YABS processor
Removed === and replaced with str_contains for the line validators

As when posting with API the \r character post-pending each line don't exist
2022-08-10 00:37:40 +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
20058cb9c9 Issue 56 & 57 fix?
Issue 56 & 57 fix?
2022-07-22 23:49:18 +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
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
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
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
38fe21bbef Fixed switch in getIpForDomain()
Fixed switch in getIpForDomain()
2022-07-18 14:51:25 +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
imlonghao
6014663a9f
model(home): refresh servers cache on due date changed 2022-07-03 11:23:11 +08:00
imlonghao
209528da15
feat(pricing): add currency api 2022-06-27 22:04:30 +08:00
imlonghao
9fd7d3d33b
model(server): add cpu to fillable 2022-06-26 15:47:18 +08: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
cp6
2f8db4ca24 Updated YABs processing for newer network location
Updated YABs processing for newer network location
2022-06-24 11:17:28 +10:00
cp6
b9c756c8d5 Added pricing update with API
Added pricing update with API
2022-06-19 21:22:23 +10:00
cp6
b34780546b Added destroy and update server to API
Added destroy and update server to API
2022-06-19 16:30:27 +10:00
cp6
546f0ba565 Added YABs version v2022-06-11
Added YABs version v2022-06-11

Cleaned up version validation check
2022-06-19 15:30:32 +10:00
cp6
227677a62a Added POST API to create server
Added POST request to API to create a server
2022-06-19 14:56:19 +10:00
cp6
025d206618 Updated doServicesCount func to be cached
Updated doServicesCount func to be cached
2022-05-29 17:02:49 +10:00
cp6
8e5a1f62c3 Added home page pricing break down func to cache
Added home page pricing break down func to cache
2022-05-29 16:56:13 +10:00
cp6
f72eec01f7 Extended settings cache expiration length
Extended settings cache expiration length
2022-05-29 16:50:15 +10:00
cp6
73f2d8f07f Added dashboard currency setting
Added dashboard currency setting
2022-05-29 16:46:55 +10:00
cp6
908f8b904f Updated YABs insert for version v2022-05-06
Updated YABs insert for version v2022-05-06
2022-05-16 21:32:07 +10:00
cp6
f6cf9c7a65 Fixed YABs insert error displaying
Fixed YABs insert error displaying
2022-05-16 21:30:52 +10:00
cp6
e1bbcc3c9f Added Seedbox to API
Added Seedbox to API
2022-05-16 16:36:58 +10:00
cp6
ebb8edaac3 Updated Home controller
Moved last logics into model

Added comments

Simplified calls
2022-05-16 16:22:19 +10:00
cp6
24a583f3fd Added setSettingsSession function
Added setSettingsSession function

Moved get settings from Home controller into settings model
2022-05-16 15:43:51 +10:00
cp6
f9e6ec1da3 Updated DNS controller for labels insert & delete
Updated DNS controller for labels insert & delete
2022-05-16 14:54:37 +10:00
cp6
59f644a1c9 Added forget all_pricing cache to Server model
Added forget all_pricing cache to Server model
2022-05-16 14:45:22 +10:00
cp6
81b8dcaa74 Removed defunct cache forget functions 2022-05-16 14:44:05 +10:00
cp6
f70d01552b Updated home page cache forget for Home model one
Updated home page cache forget for Home model one
2022-05-16 14:43:33 +10:00
cp6
8e968a60c9 Updated Home controller Added Home model
Moved most DB calls and logic into the model
2022-05-16 14:42:48 +10:00
cp6
07c0b8a655 Added Seed box CRUD
Added Seed box CRUD
2022-05-16 12:07:35 +10:00
cp6
e4f0d95128 Updated Providers controller
Moved show functions into model
2022-05-15 21:01:02 +10:00
cp6
f5cc42c0fe Updated Reseller controller
Cleaned up, Moved DB calls to model
2022-05-15 16:49:54 +10:00
cp6
6d1cbef740 Updated Domains controller
Cleaned up, Moved DB calls to model
2022-05-15 16:22:47 +10:00
cp6
a054e83d1e Updated Shared controller
Moved DB calls to model
Used existing DB call functions
2022-05-15 12:01:48 +10:00
cp6
70622f827b Cleaned up servers controller
removed unused classes
2022-05-15 12:00:05 +10:00
cp6
e33559fddc Updated pricing, labels and dns calls to be cached
Updated pricing, labels and dns calls to be cached
2022-05-15 01:22:47 +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
779412a8da Updated label and DNS count to use cache
Updated label and DNS count to use cache
2022-05-15 00:15:20 +10:00
cp6
da34256194 Added VMware for server virt type
Added VMware for server virt type
2022-05-14 23:39:31 +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
31f1faf8ee Added a dark mode theme
Added a dark mode theme with settings option
2022-05-09 15:57:02 +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
d3125170e6 Fixed locations cache
Fixed locations cache
2022-05-09 15:00:33 +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
corbpie
2834924045
Updated YABs version compatibility
Updated YABs version compatibility for version v2022-04-30
2022-05-01 13:23:23 +10:00
Manuel Riel
4e661682c2 Add Dockerfile, fix https 2022-03-13 20:09:50 +00: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
e9123763f8 Added settings for due soon & recently added amounts
Added settings for due soon & recently added amounts tables on the homepage
2022-03-09 13:41:12 +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
347d1a3186 V2 (Laravel re-make)
V2 (Laravel re-make)
2022-03-06 02:21:57 +11:00
cp6
fd22b0bf58 V2 (Laravel re-make)
V2 (Laravel re-make)
2022-03-06 02:02:12 +11:00
cp6
a9adf342c0 Added os select component
Added os select component
2022-03-06 00:54:24 +11:00
cp6
a7d0e07723 Added default OS and currency to settings
Added default OS and currency to settings
2022-03-06 00:53:57 +11:00
cp6
9305789b7b Updated servers edit next_due_date to be date validated
Updated servers edit next_due_date to be date validated
2022-03-05 15:05:35 +11:00
cp6
d129e966b9 Updated On YABs delete foreget serevrs cache 2022-03-05 14:14:15 +11:00
cp6
c079e72104 Formatting fixes
Formatting fixes
2022-03-05 12:02:10 +11:00
cp6
b4f214f376 Updated yabs delete
Updated yabs delete
2022-03-05 11:57:12 +11:00
cp6
87322fd2b5 Updated settings to be fillable
Updated settings to be fillable
2022-03-05 11:06:58 +11:00
cp6
58aabe8fc1 Fixed show_public on servers create
Fixed show_public on servers create
2022-03-05 11:06:15 +11:00
cp6
e84f404af8 If no users exist redirect to /register from /login
If no users exist redirect to /register from /login
2022-03-05 11:05:59 +11:00