Commit Graph

71 Commits

Author SHA1 Message Date
Tony Murray
ddf24809d4 Bump version to 22.10.0 2022-10-17 23:47:05 -05:00
Tony Murray
e4451714e2 version and git helper improvements (#14412)
* Fix up version and git helpers
Improve method names
Move all git calls into the git helper
Allow runtime and external cache of results where appropriate
Consolidate version headers for discovery, poller, and validate

* Style fixes

* improve consistency in git calls

* fix style

* don't send name inconsistently

* Improve database versions

* No need to cache Version it is not used more than once currently.
2022-10-02 00:41:56 -05:00
Tony Murray
f60b6788d3 Cache version data (#14404)
* Cache version data
Calling cli commands can be expensive, cache the results.

* style fixes

* Fix pre-laravel usage

* fix lint
2022-09-28 23:23:32 -05:00
Tony Murray
dbcee24749 Bump version to 22.9.0 2022-09-21 01:51:22 -05:00
Tony Murray
ff7d89e5e4 Bump version to 22.8.0 2022-08-19 20:34:31 -05:00
Mark Nagel
3309750f35 replace git show --no-patch option with --quiet (#14160)
* replace git show --no-patch option with --quiet

Older versions of git do not support --no-patch or -q, but both older and modern versions support --quiet.

* Merge #14161

Co-authored-by: Tony Murray <murraytony@gmail.com>
2022-07-30 14:57:26 +02:00
Jellyfrog
670f964e98 Validate: use "database version" instead of "mysql version" (#14158)
* Validate: use "database version" instead of "mysql version"

* wip

* wip
2022-07-29 11:36:18 -05:00
Tony Murray
8508710e62 Stats: Collect OS distro and LibreNMS version (#14138)
* Stats: Collect OS distro and LibreNMS version

Add os distro/version and LibreNMS version to stats collection.

To view stats: https://stats.librenms.org

* style/lint fixes

* Put debug where it will work

* One call sends int, which is ok
2022-07-29 08:53:41 -05:00
Tony Murray
747d6f288c Bump version to 22.7.0 2022-07-20 21:53:17 -05:00
Jellyfrog
5980d9d042 Use --no-patch instead (#14047) 2022-06-20 22:59:15 +02:00
Tony Murray
3724aaa836 Bump version to 22.6.0 2022-06-14 21:53:42 -05:00
Tony Murray
1d442fa5c2 Fix an issue when getting the local version from git (#14020)
* Fix an issue when getting the local version from git
If the process is not the owner of the git repo, an unsafe directory error is thrown.

* fix style
2022-06-10 16:19:40 -05:00
Tony Murray
5a4fd0bb13 Bump version to 22.5.0 2022-05-21 08:45:24 -05:00
Tony Murray
acaa0695f4 Fix version check error (#13981) 2022-05-14 08:08:38 -05:00
Tony Murray
014213680f Move Config loading to a service provider (#13927)
* Move Config loading to a service provider
That way other service providers can depend on it
Move various random listener registrations into the EventServiceProvider
Various startup cleanup

* Config::persist Set live variable before persisting incase db update fail

* Disable strict mode for legacy code (init.php)

* Disable debug after os test data is gathered

* remove Eloquent::boot it is never used

* remove Eloquent::version

* lint fixes

* style fixes

* there is no c_echo here
2022-04-22 19:12:07 -05:00
Tony Murray
15feac7297 Bump version to 22.4.0 2022-04-21 21:13:47 -05:00
Tony Murray
6ad5fdada5 Validate fixes (#13935)
* Fix version check abort when something goes wrong

* more generic message when failing to parse ajax
2022-04-20 23:10:36 -05:00
Tony Murray
0a84098211 Port Validation Page to Laravel (#13921)
* Revamp validate web page
 to load page then validate, instead of validate then load page

* style fixes

* lint cleanups

* fixes

* translations and a couple fixes

* style fixes

* move result serialization into the class.
2022-04-14 11:22:40 -05:00
Tony Murray
22209732dd Bump version to 22.3.0 2022-03-17 23:00:10 -05:00
Dan Langille
0c08670acc Bump version to 22.2.1 (#13798)
* Bump version to 22.2.0

This was missed?

* Update Version.php

Co-authored-by: Neil Lathwood <gh+n@laf.io>
2022-02-18 09:12:46 +00:00
Tony Murray
e1908f26d6 Bump version to 22.1.0 2022-01-23 08:47:41 -06:00
Tony Murray
b27efefb91 Bump version to 21.12.0 2021-12-21 19:57:55 -06:00
Tony Murray
c79b187d72 Poller rewrite (Try 2) (#13525)
* core WIP

* try to finish up

* trim space too
and a couple of cleanups

* update test data

* put escapes back

* another net-snmp difference

* correct copy paste error

* WIP

* Use new code YAY

* a tiny bit more

* Kind of working

* Handle manual modules correctly

* convert core to modern module

* Only save metrics if modules is not overridden

* correct module exists check

* database error handling

* debug handling

* restore bad changes

* Introduce Actions
 RunAlertRulesAction
 UpdateDeviceGroupsAction

* tweaks to output

* Fix some issues in outside code

* Style fixes

* fixes to module status checks

* typehints!

* Use logger only and DI

* OS module not named correctly

* Work on quiet output a bit more

* generically don't change output when disabling debug if the driver is already stack

* Fix missing $device variable for legacy os polling
Fix missing dbFacile functions when no legacy modules polled in RunAlertRulesAction

* restore legacy os module shim

* use the new poller code for tests

* PollingDevice event

* Fix some issues and enable/disable error reporting around legacy modules

* typehints

* fully update baseline

* Use Process for version commands so we don't leak debug output.

* don't detect rrdtool version in ci every time

* style fixes

* Warning fixes

* more fixes

* re-update baseline

* remove diff noise

* fix up alerts

* Catch exceptions in device ip lookup

* Revert accidental snmp.inc.php poller target change
(should have been ?: not ??)
2021-11-17 19:23:55 -06:00
Tony Murray
f8764ddcb5 Revert "Poller command rewrite (#13414)" (#13524)
This reverts commit 1752d1efd4.
2021-11-16 21:40:29 -06:00
Tony Murray
1752d1efd4 Poller command rewrite (#13414)
* core WIP

* try to finish up

* trim space too
and a couple of cleanups

* update test data

* put escapes back

* another net-snmp difference

* correct copy paste error

* WIP

* Use new code YAY

* a tiny bit more

* Kind of working

* Handle manual modules correctly

* convert core to modern module

* Only save metrics if modules is not overridden

* correct module exists check

* database error handling

* debug handling

* restore bad changes

* Introduce Actions
 RunAlertRulesAction
 UpdateDeviceGroupsAction

* tweaks to output

* Fix some issues in outside code

* Style fixes

* fixes to module status checks

* typehints!

* Use logger only and DI

* OS module not named correctly

* Work on quiet output a bit more

* generically don't change output when disabling debug if the driver is already stack

* Fix missing $device variable for legacy os polling
Fix missing dbFacile functions when no legacy modules polled in RunAlertRulesAction

* restore legacy os module shim

* use the new poller code for tests

* PollingDevice event

* Fix some issues and enable/disable error reporting around legacy modules

* typehints

* fully update baseline

* Use Process for version commands so we don't leak debug output.

* don't detect rrdtool version in ci every time

* style fixes

* Warning fixes

* more fixes

* re-update baseline

* remove diff noise

* fix up alerts
2021-11-16 16:59:46 -06:00
Tony Murray
6b41c29f5f Bump version to 21.11.0 2021-11-12 11:03:39 -06:00
Tony Murray
98ee237420 Bump version to 21.10.0 2021-10-16 08:02:35 -05:00
Tony Murray
b4b4820cba Bump version to 21.9.0 2021-09-16 22:45:07 -05:00
Jellyfrog
258505ed44 Apply fixes from StyleCI (#13224) 2021-09-10 20:09:53 +02:00
Tony Murray
e5e2633fbb Bump version to 21.8.0 2021-08-22 15:49:45 -05:00
Tony Murray
5147ce866c Bump version to 21.7.0 2021-07-16 17:28:22 -05:00
Tony Murray
fb2608ee3d Bump version to 21.6.0 2021-06-17 23:35:44 -05:00
maesbrisa
bc46491349 Bump version to 21.5.1 (#12900) 2021-05-25 15:30:01 +02:00
Tony Murray
e782bdbe02 Bump version to 21.5.0 2021-05-17 19:17:53 -05:00
Tony Murray
5f7682d4fe Bump version to 21.4.0 2021-04-17 23:05:07 -05:00
Jellyfrog
d24730818f Bump version to 21.3.0 2021-03-21 00:58:30 +01:00
Tony Murray
7b52b70b3a Bump version to 21.2.0 2021-02-15 22:52:41 -06:00
Jellyfrog
20b4215204 Swich links to https (#12511)
* Switch librenms links to https

* Convert librenms links in comments

* Switch gnu.org url to https

* switch php urls to https
2021-02-09 00:29:04 +01:00
Tony Murray
58a740cf81 Bump version to 21.1.0 2021-02-01 20:57:06 -06:00
Tony Murray
c79dc47e00 Bump version to 20.1.0 2021-02-01 20:52:47 -06:00
Tony Murray
e2fb7ba635 Fix version compare (#12376)
* Fix daily.sh version compare

* 1.70.1
2020-12-02 08:39:06 -06:00
Tony Murray
84c08f424c Bump version to 1.70.0 2020-12-01 22:01:19 -06:00
Tony Murray
0ac05fda69 Bump version to 1.69 2020-11-01 21:25:18 -06:00
Tony Murray
90d0d46dfb Bump version to 1.68 2020-09-29 22:16:05 -05:00
Jellyfrog
0d56bbd946 Apply fixes from StyleCI (#12123) 2020-09-21 15:51:53 +02:00
Jellyfrog
77c531527c Apply fixes from StyleCI (#12117)
* Apply fixes from StyleCI

* Disable style check
2020-09-21 14:54:51 +02:00
Jellyfrog
dd23dea019 Bump version to 1.67 2020-09-03 13:17:55 +02:00
Tony Murray
9fdea8c3b5 Bump version to 1.66 2020-07-30 00:27:39 -05:00
Tony Murray
8a6de3ef23 Bump version to 1.65 2020-07-03 00:50:46 -05:00
Tony Murray
e8dff37eef Bump version to 1.64 2020-05-31 10:48:00 -05:00