Commit Graph

80 Commits

Author SHA1 Message Date
Tony Murray
22f947c066
Test PHP 8.2 and MariaDB 10.11 (#15007) 2023-04-26 10:14:24 +02:00
Tony Murray
106d4c4a4a
Fix sqlite test (#14642)
* Fix sqlite test

* Add sqlite database to ci

Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
2022-11-17 10:57:40 +01:00
Tony Murray
a00ad931ab
Github tests log improvement (#14559)
* Github tests log improvement
Don't fail when dumping non-existent log file

* Update test.yml
2022-11-02 17:09:18 +01:00
Tony Murray
334150ec17
Disable super-linter PHP lint (#14518)
* Disable super-linter PHP lint
It does not support PHP 8.1 yet.

* remove variable completely
2022-10-25 14:00:55 -05:00
Jellyfrog
9d00b0c12c
Run CI on ubuntu 22.04 (#14379)
* Run CI on ubuntu 20.04

* wip

* wip

* wip

* Update all test data

* remove slashes

* wip

* wip

* wip

* wip

* wip

* wip

* iwp

* wip

* wip

* wip

* wip

* wip

* wip

* wip

Co-authored-by: Tony Murray <murraytony@gmail.com>
2022-10-10 16:44:11 +02:00
Tony Murray
883071dcfc
Test supported PHP versions only (#14389)
* Test supported PHP versions only
Lower mariadb and mysql to their minimum supported versions for unit tests

* Cannot test PHP 8.2 yet, dependencies need to be updated first.
2022-09-27 14:28:28 -05:00
Alex
b1d25a96e4
GitHub Workflows security hardening (#14388)
* build: harden lint.yml permissions

Signed-off-by: Alex <aleksandrosansan@gmail.com>

* build: harden doc.yml permissions

Signed-off-by: Alex <aleksandrosansan@gmail.com>

* build: harden test.yml permissions

Signed-off-by: Alex <aleksandrosansan@gmail.com>

Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-09-27 17:25:39 +02:00
Jellyfrog
152497a098
PHPStan: Enable more checks (#14318)
* PHPStan: Enable more checks

* Fixes

* Fixes

* Deprecation fixes
2022-09-09 07:08:06 -05:00
Jellyfrog
36e9c5e0b9
PHPStan: Remove PHP version constraint (#14314) 2022-09-06 23:43:51 +02:00
Tony Murray
98da97c816
Test PHP 8.1 (#14109)
* Test PHP 8.1
Would love to remove the PHP7 versions, but we need to update our minimum version first.

* Try mariadb 10.8

* Reduce the number of open connections during testing.
2022-07-20 15:27:57 +02:00
Jellyfrog
38a2d38e6e
Update github actions (#14033) 2022-06-13 19:33:31 +02:00
Jellyfrog
8f474dd4d4
Rework documentation (#13709)
* Rework documentation

* Slightly adjust theme

* wip

* fixes

* Remove unneeded header

* Re-added Acknowledgement.md file

* Added Acknowledgement.md to mkdocs.yml

Co-authored-by: Neil Lathwood <gh+n@laf.io>
2022-02-08 23:02:28 +00:00
Tony Murray
6bd0bb1f66
Speed up tests by reducing snmp timeout (#13725) 2022-01-28 12:07:05 -06:00
Tony Murray
3aed776a70
Update PULL_REQUEST_TEMPLATE.md 2021-10-28 11:15:58 -05:00
Tony Murray
e6807382db
Update PULL_REQUEST_TEMPLATE.md 2021-10-28 11:15:29 -05:00
Jellyfrog
c075194d84
Use PHPStan level 6 (#13308) 2021-10-28 07:54:29 -05:00
Jellyfrog
81a7cdfcb2
Update label-actions.yml 2021-10-18 15:44:34 +02:00
Jellyfrog
b0d49debe7
Update label-actions.yml 2021-10-18 15:30:08 +02:00
Jellyfrog
90936c569e
Use the new Label Actions (#13374) 2021-10-18 15:13:28 +02:00
Jellyfrog
be3d3d171d
Lint: Disallow usage of deprecated functions (#13267) 2021-09-23 21:27:14 +02:00
Jellyfrog
3f9d16a096
Run PHPStan with higher level for new files (#13108) 2021-08-06 16:40:04 +02:00
Jellyfrog
7f278cdd14
Add issue forms (#13092) 2021-08-02 16:06:01 +02:00
Jellyfrog
2b98e92fa1
Bump super-linter (#13073)
* Bump super-linter

* Update lint.yml

* Update lint.yml

* Update lint.yml

* Update lint.yml
2021-07-27 12:51:03 +02:00
Jellyfrog
e873768845
Bump larastan (#13071)
* Bump larastan

* Use php7.4 for lint test
2021-07-26 09:00:34 -05:00
Jellyfrog
ae04b7d6db
Point device/feature requests to community site (#12797)
* Point device/feature requests to community site

* Update bug_report.md
2021-04-27 07:40:32 -05:00
Jellyfrog
165c4fd53c
Enable PHPStan linter (#12678)
* Enable PHPStan linter

* Add PHPStan baseline

* Switch to Level 5

* Fix StringBlade errors with a stub file
2021-04-21 07:41:34 -05:00
Tony Murray
1695f86af8
Always skip style check for dev:check ci (#12654)
* Always skip style check for dev:check ci

* fix names and mysql 8 was barely being tested

* fix sql mode test

* safer vendor check

* flubbed the regex

* ...

* Mysql 8 fixes

Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
2021-03-28 23:55:41 +02:00
Jellyfrog
9946fe8b15
Format python code with Black (#12663) 2021-03-28 11:02:33 -05:00
Jellyfrog
f06e81b357
Switch to utf8mb4 (#12580)
* Switch to utf8mb4

This allows emojis to function correctly

* Update URLs
2021-03-28 16:23:08 +02:00
Tony Murray
896386d2c7
Add lint Github Action (#12655)
* Add lint ghaction

* test full codebase for fun

* run only desired linters

* Set to regular values

* oops, remove bash exec

* Run on master too

Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
2021-03-27 19:18:49 +01:00
Tony Murray
61316ce2cc
PHP 8 fixes (#12528)
* port related errors

* more fixes

* fix storage count

* add tests for php8

* style

* only need not empty

* aix fixes....

* storage WIP

* fix aix discovering hrstorage
fix db test adding .gitkeep
fix os modules when discovery only

* fix aos processors wrong oid

* fix mempool number casting

* fix aos7 cpu

* use + 0 cast instead of floatval()

* more verbose error on invalid json

* remove invalid data in json

* actually fix the json

* correct json error fix

* cast_number() function
fix aruba-instant and aos6 bugs exposed by new function, probably more...

* fix a-f
fix inadequate sort for component data

* fix global port poll time

* fix mempools precent 0, route count, ntp const

* fix schleifenbauer liberal current usage

* further number casting refinement

* vrp

* fix tests

* fix arbos

* warn cleanups adjust to :: change

* fix ciena-sds

* fix drac

* fix dell-rpdu anddlink

* fix and improve arubaos
better error when getting an array in Processor

* fix atenpdu, add missing arubaos files

* aruba-instant to yaml
apparently I didn't need to do this, the diff just looks really odd
It did add ranged sub-index replacements

* docker app, was completely wrong... fixed

* fix sentry4 divide by 0...

* fixed root issue, remove check

* nicer cidr in ipv6 code

* remove bogus enuxus battery bank skip_values

* Fix InfluxDB tests

* remove extra import

* fix other style issues.

* influx "style" fixes
2021-03-12 18:10:14 -06:00
Tony Murray
f5a0959181
Revert "Switch to utf8mb4 (#12501)" (#12578)
This reverts commit 8e2e67d0ee.
2021-03-01 14:59:06 -06:00
Jellyfrog
8e2e67d0ee
Switch to utf8mb4 (#12501)
* Switch to utf8mb4

This allows emojis to function correctly

* Update URLs
2021-03-01 08:02:26 -06:00
Jellyfrog
34885b0a76
Test both MariaDB and MySQL (#12547) 2021-02-22 15:20:51 +01:00
Jellyfrog
b68793b70d
Add cache busting support to gh action (#12473) 2021-01-28 17:11:14 +01:00
Jellyfrog
956494a95b
Switch GH pages to own repo (#12472) 2021-01-28 02:19:56 +01:00
Jellyfrog
32ed73b93e
Speedup tests (#12470)
Moving the up check to later saves unnecessary waiting time
2021-01-27 21:46:45 +01:00
Jellyfrog
8d99a89814
Remove deprecated composer argument (#12468) 2021-01-27 10:17:21 +01:00
CrazyMax
4126dddf73
GitHub Actions dev:check ci (#12392)
* Refactor test for GitHub Actions

* Checkout pull request HEAD commit instead of merge commit

* Fetch changed files from API instead of git

* HEAD commit

* Origin

* Fix env

* force full unit checks on gh actions change

* Fix DB conn

* Update test.yml

* Also set port in PDO connection

* Exit with correct exit code

* Update CiHelper.php

* Update test.yml

* Update CiHelper.php

* Update Proc.php

* Cleanups

Remove extra unit test run on php 7.4
Add names that will hopefully show in github.
Remove redundant DB env variables.

* Fix

Shorter names
and DB_TEST env is required

* Change command for information purposes

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
Co-authored-by: Tony Murray <murraytony@gmail.com>
Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
2021-01-03 00:54:01 -06:00
CrazyMax
a0062aa633
Remove hardcoded URLs to doc (#12364)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-11-27 23:34:58 +01:00
CrazyMax
d8c617d2ae
GitHub Actions for doc (#12353)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-11-25 22:18:02 +00:00
Tony Murray
e944456943
Use lnms dev:check instead of pre-commit.php (#12149)
* Remove pre-commit.php references WIP

* remove pre-commit.php references
2020-09-24 12:32:03 +02:00
SourceDoctor
fa1254e114
Updating Pull Request initial text (#11440) 2020-04-20 15:01:14 +02:00
Tony Murray
5f2eab0ba5
Create FUNDING.yml 2020-04-06 14:12:24 -05:00
PipoCanaja
63b812356d
GitHub - Add the ScreenShot hint in the PR Template (#11119)
* GitHub - Add the ScreenShot hint in the PR Template

* revert the version

checking if the tests are now running correctly without this version constraints
2020-02-09 19:29:15 +01:00
Jellyfrog
c76e95d343 Markdown linting of docs (#10595)
* Remove trailing spaces

* Markdown linting of docs
2019-10-21 00:47:40 +00:00
PipoCanaja
25ee86c9ad Issue Template - Encourage users to add support (#10550)
* Issue Template - Encourage users to add support

by linking to the doc

* Update New-Device.md
2019-08-22 21:59:56 -05:00
Kevin Krumm
4a9ee7ae56 Update github issue template (#9993)
* update github issue template
added more warnings to github issue template.

* Update ISSUE_TEMPLATE.md
2019-03-19 10:35:38 +01:00
Tony Murray
91faa510cc
Add automated responses for some labels (#9775) 2019-02-07 01:21:31 -06:00
Tony Murray
1a7ec8823d verbage 2018-09-17 12:08:13 -05:00