Dashboard code cleanup (#13996)

* Dashboard Cleanup
Remove static widgets table, list of available widgets should not be in the database.
Remove legacy ajax scripts
Cleanup and reorganize controllers

* reorganize code to put all dashboard things into it's controller
better url scheme while supporting the original

* lint clean ups

* properly formatted language file

* style fixes

* update schema
This commit is contained in:
Tony Murray
2022-05-31 08:08:40 -05:00
committed by GitHub
parent 4e5355b11d
commit 32f1ce494e
26 changed files with 726 additions and 762 deletions

View File

@@ -3087,51 +3087,6 @@ parameters:
count: 1
path: includes/html/forms/update-alert-rule.inc.php
-
message:
"""
#^Call to deprecated function dbDelete\\(\\)\\:
Please use Eloquent instead; https\\://laravel\\.com/docs/eloquent\\#deleting\\-models$#
"""
count: 2
path: includes/html/forms/update-dashboard-config.inc.php
-
message:
"""
#^Call to deprecated function dbFetchCell\\(\\)\\:
Please use Eloquent instead; https\\://laravel\\.com/docs/eloquent$#
"""
count: 4
path: includes/html/forms/update-dashboard-config.inc.php
-
message:
"""
#^Call to deprecated function dbFetchRow\\(\\)\\:
Please use Eloquent instead; https\\://laravel\\.com/docs/eloquent$#
"""
count: 1
path: includes/html/forms/update-dashboard-config.inc.php
-
message:
"""
#^Call to deprecated function dbInsert\\(\\)\\:
Please use Eloquent instead; https\\://laravel\\.com/docs/eloquent\\#inserting\\-and\\-updating\\-models$#
"""
count: 1
path: includes/html/forms/update-dashboard-config.inc.php
-
message:
"""
#^Call to deprecated function dbUpdate\\(\\)\\:
Please use Eloquent instead; https\\://laravel\\.com/docs/eloquent\\#inserting\\-and\\-updating\\-models$#
"""
count: 1
path: includes/html/forms/update-dashboard-config.inc.php
-
message:
"""