/Light_Kit_Admin_DebugTrace

A debug helper for Light_Kit_Admin.

Primary LanguagePHP

Light_Kit_Admin_DebugTrace

2019-11-07 -> 2021-07-08

A debug helper for Light_Kit_Admin.

This is a Light plugin.

This is part of the universe framework.

Install

Using the planet installer via light-cli

lt install Ling.Light_Kit_Admin_DebugTrace

Using the uni command.

uni import Ling/Light_Kit_Admin_DebugTrace

Or just download it and place it where you want otherwise.

Summary

Services

This plugin provides the following services:

  • kit_admin_debugtrace (returns a LightKitAdminDebugTraceService instance)

Here is an example of the service configuration:

kit_admin_debugtrace:
    instance: Ling\Light_Kit_Admin_DebugTrace\Service\LightKitAdminDebugTraceService
    methods:
        setContainer:
            container: @container()
        setTargetFile:
            file: /tmp/lka_debugtrace.txt
        setTargetDir:
            file: /tmp/lka_debugtrace
        setHttpRequestFilters:
            filters:
                urlIgnoreIfStartWith: []
                    - /user-data
                    - /ajax-handler
                    - /plugins/
                    - /css/tmp/
                    - /browser-sync/


# --------------------------------------
# hooks
# --------------------------------------
$events.methods_collection:
    -
        method: registerListener
        args:
            event: Ling.Light.on_route_found
            listener:
                instance: @service(kit_admin_debugtrace)
                callable_method: onRouteFound
    -
        method: registerListener
        args:
            event: Ling.Light_Kit_Admin.on_page_rendered_before
            listener:
                instance: @service(kit_admin_debugtrace)
                callable_method: onPageRenderedBefore
    -
        method: registerListener
        args:
            event: Ling.Light_Kit.on_page_conf_ready
            listener:
                instance: @service(kit_admin_debugtrace)
                callable_method: onKitPageConfReady
    -
        method: registerListener
        args:
            event: Ling.Light.initialize_1
            listener:
                instance: @service(kit_admin_debugtrace)
                callable_method: initialize
    -
        method: registerListener
        args:
            event: Ling.Light.end_routine
            listener:
                instance: @service(kit_admin_debugtrace)
                callable_method: onEndRoutine


History Log

  • 1.6.20 -- 2021-07-08

    • update service, now inherits Ling.Light_Kit_DebugTrace
  • 1.6.19 -- 2021-06-03

    • adapt api to work with Light_PlanetInstaller:2.0.4
  • 1.6.18 -- 2021-05-31

    • Removing trailing plus in lpi-deps file (to work with Light_PlanetInstaller:2.0.0 api
  • 1.6.17 -- 2021-05-31

    • update api to work with Light_PlanetInstaller 2.0.0
  • 1.6.16 -- 2021-05-03

    • Update dependencies to Ling.Light_Events (pushed by SubscribersUtil)
  • 1.6.15 -- 2021-05-03

    • Update dependencies to Ling.Light_Events (pushed by SubscribersUtil)
  • 1.6.14 -- 2021-05-02

    • fix service->onKitPageConfReady returning erroneous widgetFile property (missing templates part)
  • 1.6.13 -- 2021-05-02

    • add service->getTargetDirFilePathByUri method
  • 1.6.12 -- 2021-05-02

    • fix service->resetFile method not resetting files in the target directory
  • 1.6.11 -- 2021-03-22

    • adapt api to work with Ling.Light_Events:1.10.0
  • 1.6.10 -- 2021-03-19

    • switch some listeners to Ling.Light_Events' open registration system
  • 1.6.9 -- 2021-03-15

    • update planet to adapt Ling.Light:0.70.0
  • 1.6.8 -- 2021-03-09

    • update planet to adapt Ling.Light_Kit_Admin:0.12.25
  • 1.6.7 -- 2021-03-05

    • update README.md, add install alternative
  • 1.6.6 -- 2020-12-08

    • Fix lpi-deps not using natsort.
  • 1.6.5 -- 2020-12-04

    • Add lpi-deps.byml file
  • 1.6.4 -- 2020-06-25

    • update conception notes
  • 1.6.3 -- 2019-12-20

    • fix LightKitAdminDebugTraceService->onEndRoutine erroneously handling refuted requests
  • 1.6.2 -- 2019-12-20

    • fix LightKitAdminDebugTraceService->onEndRoutine not displaying objects in session properly
  • 1.6.1 -- 2019-12-19

    • add security section in the conception notes
  • 1.6.0 -- 2019-12-19

    • add events and session information to the debug file
  • 1.5.0 -- 2019-12-17

    • update plugin to accommodate Light 0.50 new initialization system
  • 1.4.0 -- 2019-11-27

    • use of csrf_session service replaces csrf_simple
  • 1.3.0 -- 2019-11-18

    • add datetime property
  • 1.2.0 -- 2019-11-08

    • add csrf_token_regenerated optional property
  • 1.1.1 -- 2019-11-08

    • fix too long filenames not handled properly
  • 1.1.0 -- 2019-11-08

    • add targetDir system
    • add csrf_token info to the debugtrace
  • 1.0.0 -- 2019-11-07

    • initial commit