summaryrefslogtreecommitdiffstats
path: root/.codacy.yml
AgeCommit message (Collapse)Author
2024-05-08Remove contrib now that we use cpack for DEB packages (#17614)vkalintiris
2024-02-12Move web/ under src/ (#16992)vkalintiris
2024-02-08fix move collectors to src/ leftovers (#16967)Ilya Mashchenko
2024-01-11Recursively merge mqtt_websockets (#16755)vkalintiris
* initial version * basic GitHub Actions CI * Create README.md * run GitHub Action at least once weekly to check test pass if distro was updated but project doesn't get any change for long time * add test for rbuf_find_bytes * minor - add .vscode to .gitignore * minor - add CFLAGS to makefile * minor - silence unused var warning * minor - update readme * add submodules * initial commit * add README * allow setting MQTT LWT * allow setting LWT QOS * handle MQTT keep-alives properly * allow choosing keep alive time * handle WS_OP_CONNECTION_CLOSE * allow sending other frames than WS_OP_BINARY_FRAME * minor readability improvements * work on graceful disconnect * reset ws_client state on subsequent connections * implement mqtt_wss_destroy * more descriptive RC for mqtt_wss_service * properly free/destroy SSL * work on reconnect * set return code for WS disconnect * Less logging under normal operation * readme point to `test.c` as how-to for now * OpenSSL certificate checking by default * reset poll_fds on reconnect * fix older SSL versions * empty install and dist targets * fix LGTM warning * add rbuf_get_capacity * gh actions test * ws_ping impl * test.c - port as cmd line param * properly handle WebSocket disconnect packet * initial HTTPS proxy support * remove base64 submodule, use OpenSSL * change to urandom * ws_client_process WS_RAW retval fix * coverity fixes * CID 1448838 * CID 1448836 * CID 1448829 * test check for error on init * make it play nicer with automake projects * MQTT-C coverity fixes * Create codeql-analysis.yml * Make typedef introduce a new name for struct. (#2) * add autotools related files to gitignore * minor - silence -Wmaybe-uninitialized warning * reinit on MQTT clean session connect * fix apple endianness functions * add libcrypto for macos * MacOS compatibility * fix FreeBSD build * use TLS SNI * propagate buffer full EC to app layer * store buffer sizes in mqtt_wss_client * allow auto buffer growth on buffer too small * quicker connection drop on BUFFER FULL * always clear last_ec on connect * parse all HTTP headers * minor - rename constant for clarity * rename idx and idx2 for code readability * limit response header field count * flush not needed, replace with descriptive err msg * bump MQTT-C * Blocking publish and inflight MQTT-C buffer growth * update obsolete comment * add missing unlock in error case * fix EINTR * initial MQTT 5 implementation Implements minimal MQTT 5 features. Up to QoS1 * fixes for bugs in initial MQTT5 implementation * initial statistics support * fix vbi parser * initial base http proxy auth support * fix base64 helper for longer credentials * minor - create with single allocation * allow defining custom alloc functions for user * Allow custom memory fncs and macros by user (#5) * update crbuf module * allow custom malloc, free, strdup, calloc ... * use long long for till_next_keep_alive * dont send PUBACK on QOS0 (#6) * fix publish parser (#7) * mark QoS0 as GC on send (#8) * log extra info in case of OpenSSL error (#9) * log extra info in case of SSL error * fix build error with older SSL (#10) * adds possibility to decrypt traffic with wireshark for debugging (#13) * initial commit * add fncs key:uint64 and data:opaque ptr * add uint64_t key iterator * add github test runner * start working on proper tests * Initial support for topic aliases (#12) Add support for topic alias functionality for PUBLISH packets also adds support for parsing all MQTT properties as opposed to just skipping and ignoring them (what we did previously) * implement c_rhash_iter_str_keys + tests * Fixes of Topic Alias implementation (#14) * initial removal of mqtt-c support (#15) * honor max msglen for server (#19) * Update README.md (#20) * memory align fragments (#21) * Remove mqtt_websocket submodule * Remove c-rbuf and c_rhash submodules * Exclude mqtt_websockets from Codacy It seems that it was excluded before merging the mqtt_websockets submodule. --------- Co-authored-by: Timotej Šiškovič <timotejs@gmail.com> Co-authored-by: Timotej S <6674623+underhood@users.noreply.github.com> Co-authored-by: Emmanuel Vasilakis <mrzammler@mm.st>
2024-01-11dyncfg v2 (#16702)Costa Tsaousis
* split rrdfunctions streaming and progress * simplified internal inline functions API * split rrdfunctions inflight management * split rrd functions exporters * renames * base dyncfg structure * config pluginsd * intercept dyncfg function calls * loading and saving of dyncfg metadata and data * save metadata and payload to a single file; added code to update the plugins with jobs and saved configs * basic working unit test * added payload to functions execution * removed old dyncfg code that is not needed any more * more cleanup * cleanup sender for functions with payload * dyncfg functions are not exposed as functions * remaining work to avoid indexing the \0 terminating character in dictionary keys * added back old dyncfg plugins.d commands as noop, to allow plugins continue working * working api; working streaming; * updated plugins.d documentation * aclk and http api requests share the same header parsing logic * added source type internal * fixed crashes * added god mode for tests * fixes * fixed messages * save host machine guids to configs * cleaner manipulation of supported commands * the functions event loop for external plugins can now process dyncfg requests * unified internal and external plugins dyncfg API * Netdata serves schema requests from /etc/netdata/schema.d and /var/lib/netdata/conf.d/schema.d * cleanup and various fixes; fixed bug in previous dyncfg implementation on streaming that was sending the paylod in a way that allowed other streaming commands to be multiplexed * internals go to a separate header file * fix duplicate ACLK requests sent by aclk queue mechanism * use fstat instead of stat * working api * plugin actions renamed to create and delete; dyncfg files are removed only from user actions * prevent deadlock by using the react callback * fix for string_strndupz() * better dyncfg unittests * more tests at the unittests * properly detect dyncfg functions * hide config functions from the UI * tree response improvements * send the initial update with payload * determine tty using stdout, not stderr * changes to statuses, cleanup and the code to bring all business logic into interception * do not crash when the status is empty * functions now propagate the source of the requests to plugins * avoid warning about unused functions * in the count at items for attention, do not count the orphan entries * save source into dyncfg * make the list null terminated * fixed invalid comparison * prevent memory leak on duplicated headers; log x-forwarded-for * more unit tests * added dyncfg unittests into the default unittests * more unit tests and fixes * more unit tests and fixes * fix dictionary unittests * config functions require admin access
2023-11-02Systemd units function (#16318)Costa Tsaousis
* split systemd-journal.c * split fstat caching * split systemd-journal further * working systemd-units function * do not enable systemd-units when libsystemd does not provide the interface * move the header to the right place * mixed parantheses * update codacy exlcusions * update codacy exlcusions * update codacy exlcusions * added option to show show expanded filters by default * keep the original extension and decode descriptions too * updated systemd-units function to handle all known unit states * dont show the path by default * final touches * remove trailing spaces
2023-08-09ci: codacy exclude web/gui/v2/ (#15780)Ilya Mashchenko
2022-07-20codacy/lgtm ignore judy sources (#13411)Timotej S
2022-05-03Remove node.d.plugin and relevant files (#12769)Suraj Neupane
* Remove node.d.plugin and relevant files * fix build packages * remove node.d related words/phrases from docs and tests
2020-03-14Improving the ACLK performance - initial changes (#8399)Andrew Moss
Add an inspection point for VerneMQ in the local dev env. Remove the bottleneck in sending websocket messages, at the expense of increased CPU-load. Fixed the message encoding. Added support for stress testing - it is still enabled in the main loop so will fire stress-testing payloads when the ACLK is established. Next patch will integrate the socket polling properly to reduce the CPU overhead and remove the stress testing payloads.
2019-02-06Codacy js fixes (#5337)Chris Akritidis
* Ignore main.js which will be deprecated and fix some warnings in dashboard * Minor fixes to resolve codacy issues in dashboard.js.
2019-02-04Update .codacy.ymlPaweł Krupa
[netdata minor release]
2018-11-08Refactoring dashboard.js, splitting monolithic file into multiple source ↵George Moschovitis
files. (#4496) * 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 * Removed refs to morris, c3, raphael from dashboard.html * Wip #4479 * 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 * Minor * added slitted dashboard.js to makefiles * updated merged dashboard.js * excluded paths from codacy * minor pending fixes * updated README.md for release 1.11
2018-10-29exclude web/gui/src from codacy checks (#4515)Paweł Krupa
2018-10-19remove unused variables (#4437)Paweł Krupa
##### Summary <!--- Describe the change below, including rationale and design decisions --> Removing variables which are not used in Python code <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue --> ##### Component Name <!--- Write the short name of the module or plugin below --> - python.d.plugin - portcheck python module - postgres python module ##### Additional Information <!--- Include additional information to help people understand the change here --> <!--- A step-by-step reproduction of the problem is helpful if there is no related issue --> <!--- Paste log output below, e.g. before and after your change --> ```paste below ```
2018-10-15modularized all source code (#4391)Costa Tsaousis
* 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
2017-08-27added asn-ber.js to codacy excludesCosta Tsaousis (ktsaou)
2017-07-24updated .codacy.yml to ignore all third-party filesCosta Tsaousis (ktsaou)
2017-07-24updated .codacy.ymlCosta Tsaousis (ktsaou)
2017-07-20codacy.yml addedIlya