summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAustin S. Hemmelgarn <austin@netdata.cloud>2021-05-14 11:41:16 -0400
committerGitHub <noreply@github.com>2021-05-14 11:41:16 -0400
commit9574cb4c956652372789d0c81d2cb7d35e36369c (patch)
tree50345a629f3714edd60e8d9ab6417238b9077dfc
parent48dd96c5325d3d5b9b9e5412701d2e2bb6fe383a (diff)
Bundle the react dashboard code into the agent repo directly. (#11139)
* Remove code for bundling the dashoard on install. * Bundle the dashboard code directly into the agent repo. This diffstat looks huge, but it’s actually relatively simple. The only _actual_ changes are in the Makefiles, `configure.ac`, and the addition of `generate_dashboard_makefile.py`. Everything else consists of removing files that are included in the dashboard tarball, and extracting the contents of the tarball into `web/gui/dashboard`. * CI cleanup. * Automate bundling of the dashboard code. This replaces the makefile generator script with one that handles bundling of the dashboard code in it’s entirety, and updates the GHA workflow used for generating dashboard PRs to use that instead of the existing shell commands. It also removes the packaging/dashboard.* files, as they are no longer needed.
-rw-r--r--.eslintignore1
-rw-r--r--.github/workflows/checks.yml22
-rw-r--r--.github/workflows/dashboard-pr.yml9
-rw-r--r--.gitignore1
-rw-r--r--Makefile.am3
-rw-r--r--configure.ac1
-rwxr-xr-xcontrib/debian/rules1
-rwxr-xr-xnetdata-installer.sh34
-rw-r--r--netdata.spec.in1
-rwxr-xr-xpackaging/bundle-dashboard.sh14
-rw-r--r--packaging/dashboard.checksums1
-rw-r--r--packaging/dashboard.version1
-rw-r--r--web/gui/.dashboard-notice.md7
-rw-r--r--web/gui/Makefile.am99
-rwxr-xr-xweb/gui/bundle_dashboard.py105
-rw-r--r--web/gui/dashboard/Makefile.am198
l---------web/gui/dashboard/README.md1
-rw-r--r--web/gui/dashboard/asset-manifest.json47
-rw-r--r--web/gui/dashboard/console.html (renamed from web/gui/console.html)0
-rw-r--r--web/gui/dashboard/css/bootstrap-3.3.7.css (renamed from web/gui/css/bootstrap-3.3.7.css)12
-rw-r--r--web/gui/dashboard/css/bootstrap-slate-flat-3.3.7.css (renamed from web/gui/css/bootstrap-slate-flat-3.3.7.css)0
-rw-r--r--web/gui/dashboard/css/bootstrap-slider-10.0.0.min.css (renamed from web/gui/css/bootstrap-slider-10.0.0.min.css)0
-rw-r--r--web/gui/dashboard/css/bootstrap-theme-3.3.7.min.css (renamed from web/gui/css/bootstrap-theme-3.3.7.min.css)0
-rw-r--r--web/gui/dashboard/css/bootstrap-toggle-2.2.2.min.css (renamed from web/gui/css/bootstrap-toggle-2.2.2.min.css)0
-rw-r--r--web/gui/dashboard/css/dashboard.css785
-rw-r--r--web/gui/dashboard/css/dashboard.slate.css (renamed from web/gui/dashboard.slate.css)62
-rw-r--r--web/gui/dashboard/dash-example.html1020
-rw-r--r--web/gui/dashboard/dashboard-react.js675
-rw-r--r--web/gui/dashboard/dashboard.css785
-rw-r--r--web/gui/dashboard/dashboard.html (renamed from web/gui/dashboard.html)8
-rw-r--r--web/gui/dashboard/dashboard.js (renamed from web/gui/dashboard.js)93
-rw-r--r--web/gui/dashboard/dashboard.slate.css (renamed from web/gui/dashboard.css)106
-rw-r--r--web/gui/dashboard/demo.html (renamed from web/gui/demo.html)0
-rw-r--r--web/gui/dashboard/demo2.html (renamed from web/gui/demo2.html)4
-rw-r--r--web/gui/dashboard/demosites.html (renamed from web/gui/demosites.html)36
-rw-r--r--web/gui/dashboard/demosites2.html (renamed from web/gui/demosites2.html)4
-rw-r--r--web/gui/dashboard/favicon.ico (renamed from web/gui/favicon.ico)bin1150 -> 1150 bytes
-rw-r--r--web/gui/dashboard/fonts/glyphicons-halflings-regular.eot (renamed from web/gui/fonts/glyphicons-halflings-regular.eot)bin20127 -> 20127 bytes
-rw-r--r--web/gui/dashboard/fonts/glyphicons-halflings-regular.svg (renamed from web/gui/fonts/glyphicons-halflings-regular.svg)0
-rw-r--r--web/gui/dashboard/fonts/glyphicons-halflings-regular.ttf (renamed from web/gui/fonts/glyphicons-halflings-regular.ttf)bin45404 -> 45404 bytes
-rw-r--r--web/gui/dashboard/fonts/glyphicons-halflings-regular.woff (renamed from web/gui/fonts/glyphicons-halflings-regular.woff)bin23424 -> 23424 bytes
-rw-r--r--web/gui/dashboard/fonts/glyphicons-halflings-regular.woff2 (renamed from web/gui/fonts/glyphicons-halflings-regular.woff2)bin18028 -> 18028 bytes
-rw-r--r--web/gui/dashboard/goto-host-from-alarm.html (renamed from web/gui/goto-host-from-alarm.html)13
-rw-r--r--web/gui/dashboard/images/alert-128-orange.png (renamed from web/gui/images/alert-128-orange.png)bin3477 -> 3477 bytes
-rw-r--r--web/gui/dashboard/images/alert-128-red.png (renamed from web/gui/images/alert-128-red.png)bin3743 -> 3743 bytes
-rw-r--r--web/gui/dashboard/images/alert-multi-size-orange.ico (renamed from web/gui/images/alert-multi-size-orange.ico)bin112374 -> 112374 bytes
-rw-r--r--web/gui/dashboard/images/alert-multi-size-red.ico (renamed from web/gui/images/alert-multi-size-red.ico)bin112458 -> 112458 bytes
-rw-r--r--web/gui/dashboard/images/android-icon-144x144.png (renamed from web/gui/images/android-icon-144x144.png)bin2721 -> 2721 bytes
-rw-r--r--web/gui/dashboard/images/android-icon-192x192.png (renamed from web/gui/images/android-icon-192x192.png)bin3923 -> 3923 bytes
-rw-r--r--web/gui/dashboard/images/android-icon-36x36.png (renamed from web/gui/images/android-icon-36x36.png)bin539 -> 539 bytes
-rw-r--r--web/gui/dashboard/images/android-icon-48x48.png (renamed from web/gui/images/android-icon-48x48.png)bin762 -> 762 bytes
-rw-r--r--web/gui/dashboard/images/android-icon-72x72.png (renamed from web/gui/images/android-icon-72x72.png)bin1153 -> 1153 bytes
-rw-r--r--web/gui/dashboard/images/android-icon-96x96.png (renamed from web/gui/images/android-icon-96x96.png)bin1747 -> 1747 bytes
-rw-r--r--web/gui/dashboard/images/animated.gif (renamed from web/gui/images/animated.gif)bin389597 -> 389597 bytes
-rw-r--r--web/gui/dashboard/images/apple-icon-114x114.png (renamed from web/gui/images/apple-icon-114x114.png)bin3651 -> 3651 bytes
-rw-r--r--web/gui/dashboard/images/apple-icon-120x120.png (renamed from web/gui/images/apple-icon-120x120.png)bin2315 -> 2315 bytes
-rw-r--r--web/gui/dashboard/images/apple-icon-144x144.png (renamed from web/gui/images/apple-icon-144x144.png)bin4001 -> 4001 bytes
-rw-r--r--web/gui/dashboard/images/apple-icon-152x152.png (renamed from web/gui/images/apple-icon-152x152.png)bin5026 -> 5026 bytes
-rw-r--r--web/gui/dashboard/images/apple-icon-180x180.png (renamed from web/gui/images/apple-icon-180x180.png)bin3645 -> 3645 bytes
-rw-r--r--web/gui/dashboard/images/apple-icon-57x57.png (renamed from web/gui/images/apple-icon-57x57.png)bin1250 -> 1250 bytes
-rw-r--r--web/gui/dashboard/images/apple-icon-60x60.png (renamed from web/gui/images/apple-icon-60x60.png)bin1052 -> 1052 bytes
-rw-r--r--web/gui/dashboard/images/apple-icon-72x72.png (renamed from web/gui/images/apple-icon-72x72.png)bin1427 -> 1427 bytes
-rw-r--r--web/gui/dashboard/images/apple-icon-76x76.png (renamed from web/gui/images/apple-icon-76x76.png)bin1711 -> 1711 bytes
-rw-r--r--web/gui/dashboard/images/apple-icon-precomposed.png (renamed from web/gui/images/apple-icon-precomposed.png)bin3926 -> 3926 bytes
-rw-r--r--web/gui/dashboard/images/apple-icon.png (renamed from web/gui/images/apple-icon.png)bin3926 -> 3926 bytes
-rw-r--r--web/gui/dashboard/images/banner-icon-144x144.png (renamed from web/gui/images/banner-icon-144x144.png)bin2724 -> 2724 bytes
-rw-r--r--web/gui/dashboard/images/check-mark-2-128-green.png (renamed from web/gui/images/check-mark-2-128-green.png)bin3771 -> 3771 bytes
-rw-r--r--web/gui/dashboard/images/check-mark-2-multi-size-green.ico (renamed from web/gui/images/check-mark-2-multi-size-green.ico)bin111893 -> 111893 bytes
-rw-r--r--web/gui/dashboard/images/favicon-128.png (renamed from web/gui/images/favicon-128.png)bin2436 -> 2436 bytes
-rw-r--r--web/gui/dashboard/images/favicon-16x16.png (renamed from web/gui/images/favicon-16x16.png)bin285 -> 285 bytes
-rw-r--r--web/gui/dashboard/images/favicon-196x196.png (renamed from web/gui/images/favicon-196x196.png)bin10025 -> 10025 bytes
-rw-r--r--web/gui/dashboard/images/favicon-32x32.png (renamed from web/gui/images/favicon-32x32.png)bin454 -> 454 bytes
-rw-r--r--web/gui/dashboard/images/favicon-96x96.png (renamed from web/gui/images/favicon-96x96.png)bin1925 -> 1925 bytes
-rw-r--r--web/gui/dashboard/images/favicon.ico (renamed from web/gui/images/favicon.ico)bin1150 -> 1150 bytes
-rw-r--r--web/gui/dashboard/images/ms-icon-144x144.png (renamed from web/gui/images/ms-icon-144x144.png)bin4001 -> 4001 bytes
-rw-r--r--web/gui/dashboard/images/ms-icon-150x150.png (renamed from web/gui/images/ms-icon-150x150.png)bin2867 -> 2867 bytes
-rw-r--r--web/gui/dashboard/images/ms-icon-310x150.png (renamed from web/gui/images/ms-icon-310x150.png)bin3632 -> 3632 bytes
-rw-r--r--web/gui/dashboard/images/ms-icon-310x310.png (renamed from web/gui/images/ms-icon-310x310.png)bin7215 -> 7215 bytes
-rw-r--r--web/gui/dashboard/images/ms-icon-36x36.png (renamed from web/gui/images/ms-icon-36x36.png)bin536 -> 536 bytes
-rw-r--r--web/gui/dashboard/images/ms-icon-70x70.png (renamed from web/gui/images/ms-icon-70x70.png)bin2436 -> 2436 bytes
-rw-r--r--web/gui/dashboard/images/netdata-logomark.svg (renamed from web/gui/images/netdata-logomark.svg)0
-rw-r--r--web/gui/dashboard/images/netdata.svg (renamed from web/gui/images/netdata.svg)0
-rw-r--r--web/gui/dashboard/images/packaging-beta-tag.svg (renamed from web/gui/images/packaging-beta-tag.svg)0
-rw-r--r--web/gui/dashboard/images/post.png (renamed from web/gui/images/post.png)bin9043 -> 9043 bytes
-rw-r--r--web/gui/dashboard/images/seo-performance-128.png (renamed from web/gui/images/seo-performance-128.png)bin1828 -> 1828 bytes
-rw-r--r--web/gui/dashboard/index-node-view.html30
-rw-r--r--web/gui/dashboard/index.html16
-rw-r--r--web/gui/dashboard/infographic.html (renamed from web/gui/infographic.html)6
-rw-r--r--web/gui/dashboard/lib/bootstrap-3.3.7.min.js (renamed from web/gui/lib/bootstrap-3.3.7.min.js)0
-rw-r--r--web/gui/dashboard/lib/bootstrap-slider-10.0.0.min.js (renamed from web/gui/lib/bootstrap-slider-10.0.0.min.js)0
-rw-r--r--web/gui/dashboard/lib/bootstrap-table-1.11.0.min.js (renamed from web/gui/lib/bootstrap-table-1.11.0.min.js)0
-rw-r--r--web/gui/dashboard/lib/bootstrap-table-export-1.11.0.min.js (renamed from web/gui/lib/bootstrap-table-export-1.11.0.min.js)0
-rw-r--r--web/gui/dashboard/lib/bootstrap-toggle-2.2.2.min.js (renamed from web/gui/lib/bootstrap-toggle-2.2.2.min.js)0
-rw-r--r--web/gui/dashboard/lib/clipboard-polyfill-be05dad.js (renamed from web/gui/lib/clipboard-polyfill-be05dad.js)0
-rw-r--r--