1
0
mirror of https://github.com/netdata/netdata.git synced 2021-06-06 23:03:21 +03:00

7 Commits

Author SHA1 Message Date
George Moschovitis
fe5646ce76 Split js 2 (#4581)
* Mild cleanup of dashboard.js (#4461)

* Balancing of else clauses

* More cleanup, fixed nasty bug introduced by previous commit

* More cleanup

* More refactoring

* Wip

* More refactoring

* Wip

* Cleanup, wip

* Refactor for-loop

* Remove .hasOwnProperties, wip

* Split dashboard.js into multiple files, wip #4479

* Fixed a bug in common min/max

* Extracted more files from dashboard.js

* Extracted more code, wip

* Extract units-conversion.js and sparkline.js

* Do not include morris.js, c3.js and raphael.js in dashbaord.js

They are extracted as separate files but not included in dashboards.js

* Removed refs to obsolete charting libraries #4492

* Extracted google-charts #4479

* Extracted google-charts

* Extracted more charting libraries, cleanup

* Organize charting libs in subfolder

* Apply WebStorm formatter (mostly adds missing braces)

* Additional formatting with WebStorm #4461

* Extracted d3pie, peity, localstorage

* Extracted options.js, fixed some issues with dependencies, wip

* Extracted boot.js

* Fixes in for loops #4461

* Removed extrtacted d3pie from main file

* Extracted registry.js

* Extracted alarms.js

* Extracted error-handling.js

* Extracted fast formatting to utils.js

* Extracted chart libraries registration code

* Extracted some js/css loading code into boot.js

* Added some info on generating dashboard.js

* Fixed issues reported by LGTM

* added slitted dashboard.js to makefiles

* Minor

* Please keep build-dashboard-js

It's useful during development, I will clean this up in the mid-term

* Moved server-detection to utils

* Extracted themes.js

* Extracted common.js

* Extracted dependencies.js

* Extracted server-detection.js

* Extracted timeout.js

* Extracted chart-registry.js

* Remove excessive requestAnimationFrame compat checks, fixes #4501

* Remove that == this #4514

* Wip, #4514

* Wip, #4514

* More that -> this conversions

* Configure LGTM to ignore web/gui/src #4515

* (x === false) -> (!x) #4461

* Cleaned up commented === false clauses

* Properly configure LGTM to ignore web/gui/src #4515

* Snake-case to camel-case #4509

* wip #4509

* Minor

* Updated Makefile.am

* Case changes, wip #4509

* Removed double underscores

* Wip #4509

* Wip #4509

* merged dashboard.js

* deleted build-dashboard-js.sh
2018-11-08 11:37:06 +02:00
Costa Tsaousis
d802f83e4a Fix make dist (#4401)
* fix make dist; fixes #4400

* added daemon dir

* fix edit-config in dist

* removed config.h from file dependencies

* do not attempt to detect stock files on vanilla installations

* add missing files to dist

* another fix for missing dist files

* modular plugins are now self-configured for automake

* updated lgtm

* fix cncf urls
2018-10-16 15:26:28 +03:00
Costa Tsaousis
8fbf817ef8 modularized all source code (#4391)
* modularized all external plugins

* added README.md in plugins

* fixed title

* fixed typo

* relative link to external plugins

* external plugins configuration README

* added plugins link

* remove plugins link

* plugin names are links

* added links to external plugins

* removed unecessary spacing

* list to table

* added language

* fixed typo

* list to table on internal plugins

* added more documentation to internal plugins

* moved python, node, and bash code and configs into the external plugins

* added statsd README

* fix bug with corrupting config.h every 2nd compilation

* moved all config files together with their code

* more documentation

* diskspace info

* fixed broken links in apps.plugin

* added backends docs

* updated plugins readme

* move nc-backend.sh to backends

* created daemon directory

* moved all code outside src/

* fixed readme identation

* renamed plugins.d.plugin to plugins.d

* updated readme

* removed linux- from linux plugins

* updated readme

* updated readme

* updated readme

* updated readme

* updated readme

* updated readme

* fixed README.md links

* fixed netdata tree links

* updated codacy, codeclimate and lgtm excluded paths

* update CMakeLists.txt

* updated automake options at top directory

* libnetdata slit into directories

* updated READMEs

* updated READMEs

* updated ARL docs

* updated ARL docs

* moved /plugins to /collectors

* moved all external plugins outside plugins.d

* updated codacy, codeclimate, lgtm

* updated README

* updated url

* updated readme

* updated readme

* updated readme

* updated readme

* moved api and web into webserver

* web/api web/gui web/server

* modularized webserver

* removed web/gui/version.txt
2018-10-15 23:16:42 +03:00
Paweł Krupa
a0f1d2beca Update .lgtm.yml (#4272) 2018-09-24 02:39:20 +03:00
Paweł Krupa
bbea403290 [WIP] LGTM tag classification (#4269)
* test classification

* try different approach
2018-09-23 23:51:47 +03:00
Costa Tsaousis
8e0b0bcb55 fixes identified by LGTM (#4220)
* fixes identified by LGTM

* fixed hex of quote and slash

* fixed hex of quote and slash on all files

* escape more characters

* removed test

* do not read document.location

* exclude full subpaths for LGTM

* exclude the tests path

* excluded lgtm paths in quotes

* excluded sub-paths on LGTM

* fix xss identified by LGTM
2018-09-18 13:34:27 +03:00
Paweł Krupa
ed289f31f6 Create lgtm config (#4213)
* Create lgtm config

* remove exclusions
2018-09-18 02:34:51 +03:00