Files
librenms-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
..
2023-05-24 22:21:54 +02:00
2023-09-06 16:34:39 -05:00
2023-05-24 22:21:54 +02:00
2023-05-24 22:21:54 +02:00
2023-04-17 06:51:35 -05:00
2023-05-24 22:21:54 +02:00
2022-11-05 14:43:54 -05:00
2023-05-24 22:21:54 +02:00
2023-05-24 22:21:54 +02:00
2023-05-24 22:21:54 +02:00
2023-05-24 22:21:54 +02:00
2023-05-24 22:21:54 +02:00
2023-05-24 22:21:54 +02:00
2023-08-13 18:43:52 +02:00
2023-05-24 22:21:54 +02:00
2023-05-24 22:21:54 +02:00
2023-05-24 22:21:54 +02:00
2023-05-24 22:21:54 +02:00
2022-07-20 15:27:57 +02:00
2023-05-24 22:21:54 +02:00