librenms/tests
Zane C. Bowers-Hadley 2618a99be5
Application Soft Delete (#15270)
* add the softdeletes migrations for applications

* add working migration file

* add deleted_at to db schema.yaml for applications

* update includes/html/forms/application-update.inc.php to work with softdeletes

* update includes/html/pages/device/edit/apps.inc.php for softdelete

* update includes/discovery/applications.inc.php to work with softdelete

* minor updates to application-update.inc.php for disabling

* style cleanup

* set discovered when running discovery

* update application tests to include deleted_at

* add deleted_at to a missed test

* a few more tweaks for opensips

* add a missing deleted_at for linux_suricata_extract-v1

* fix fillable for Application model

* massive cleanup of the application update widget thingy

* improve the code for discovery and using Laravel

* add a missing line to app/Models/Application

* add a missing include to app/Models/Application.php

* record includes for Application model

* remove apps from the applications table when a device is deleted

* revert to using upcert and where for discovery to fix CI

* make discovered fillable and set it when running discovery... convert back to firstOrNew

* clean up application discovery a bit and use observer

* style fix

* spelling fix... disablaed -> disabled

* rever removal to just use where

* cleanup app removal on delete

* add restored to ModuleModelObserver

* delete -> forcedelete fix

* apply the suggested changes

* use murrants other suggestion

* style fix
2023-09-06 16:34:39 -05:00
..
Browser Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
data Application Soft Delete (#15270) 2023-09-06 16:34:39 -05:00
Feature Implement RBAC (only built in roles) (#15212) 2023-08-28 00:13:40 -05:00
Mocks Set mibs explicitly in SnmpQuery (#15199) 2023-08-05 14:45:15 +02:00
phpstan Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
snmpsim Added support for Nutanix VM count, disk state, CPU usage and RAM usage (#15252) 2023-08-30 21:11:04 +02:00
Traits Alert transport cleanup, no_proxy support and other proxy cleanups (#14763) 2023-05-23 09:25:17 -05:00
Unit Set mibs explicitly in SnmpQuery (#15199) 2023-08-05 14:45:15 +02:00
__init__.py New python service for poller, discovery + more (#8455) 2018-06-30 12:19:49 +01:00
AddHostCliTest.php Migrate addhost.php to lnms device:add (#13870) 2022-04-04 10:41:18 -05:00
AddHostTest.php New device:add code (#13842) 2022-03-12 16:14:32 -06:00
AlertingTest.php Alert transport cleanup, no_proxy support and other proxy cleanups (#14763) 2023-05-23 09:25:17 -05:00
AuthHTTPTest.php Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
AuthSSOTest.php Implement RBAC (only built in roles) (#15212) 2023-08-28 00:13:40 -05:00
BasicApiTest.php Implement RBAC (only built in roles) (#15212) 2023-08-28 00:13:40 -05:00
bootstrap.php Laravel 9.x Shift (#14504) 2023-04-17 06:51:35 -05:00
CommonFunctionsTest.php Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
ConfigTest.php Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
CreatesApplication.php Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
DBSetupTest.php Use Laravel schema migration command directly (#14039) 2023-08-03 19:26:48 -05:00
DBTestCase.php Improve trap testing (#14546) 2022-11-05 14:43:54 -05:00
DocsTest.php Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
DuskTestCase.php Apply fixes from StyleCI (#13224) 2021-09-10 20:09:53 +02:00
FpingTest.php Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
FunctionsTest.php Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
GitIgnoreTest.php Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
InMemoryDbTestCase.php lnms config:set ability to set os settings (#13151) 2021-08-19 18:34:19 -05:00
IpTest.php Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
MibTest.php Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
module_tables.yaml Fix cisco-pw test capture (#14415) 2022-10-02 23:10:36 -05:00
OSDiscoveryTest.php Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
OSModulesTest.php Misc fixes 2 (#15190) 2023-08-13 18:43:52 +02:00
ProxyTest.php Alert transport cleanup, no_proxy support and other proxy cleanups (#14763) 2023-05-23 09:25:17 -05:00
QueryBuilderTest.php Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
RrdDefinitionTest.php Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
RrdtoolTest.php Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
SchemaTest.php Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
SmokepingCliTest.php Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
SnmpsimHelpers.php Apply fixes from StyleCI (#13224) 2021-09-10 20:09:53 +02:00
SVGTest.php Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
SyslogTest.php Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
TestCase.php Test PHP 8.1 (#14109) 2022-07-20 15:27:57 +02:00
testing_config.yaml Speed up tests by reducing snmp timeout (#13725) 2022-01-28 12:07:05 -06:00
tests.py Format python code with Black (#12663) 2021-03-28 11:02:33 -05:00
YamlSchemaTest.php Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00