Git Product home page Git Product logo

Comments (11)

 avatar commented on July 18, 2024

I'd like to turn some attention on this and implement at least a workaround

With the number of modules growing this will be becoming more important. Related discussion

from munkireport-php.

bochoven avatar bochoven commented on July 18, 2024

Ok, I'm thinking about an error/warning model that is accessible to all modules. It will collect errors and warnings that are triggered on a client. There needs to be a system that sets and resets errors in this table. We can then use this table for report_broken_client data as well.

I would like a simple table like:
id
serial_number
type - error, warning or some other type
module - module that triggered the error
message - short description of the error

We could put the errors on the dashboard and update them periodically.

from munkireport-php.

 avatar commented on July 18, 2024

90bda14 does this arrange with what you had in mind?

from munkireport-php.

 avatar commented on July 18, 2024

*report_broken_client should be bash, sorry

from munkireport-php.

bochoven avatar bochoven commented on July 18, 2024

I already wrote something similar, maybe you can build on that: 3b42f09

from munkireport-php.

 avatar commented on July 18, 2024

sure but all I had in mind is done or almost done!
What else do you feel is missing? pointing other scripts to it?

from munkireport-php.

bochoven avatar bochoven commented on July 18, 2024

There are still some loose ends: for instance I don't know when to reset the messages for a particular machine.
Other scripts could use this framework as well, so we can show all errors and warnings together.

from munkireport-php.

 avatar commented on July 18, 2024

This is already in place

from munkireport-php.

bochoven avatar bochoven commented on July 18, 2024

What is already in place? I just revisited the messages module, but is still a little rough.

from munkireport-php.

 avatar commented on July 18, 2024

it is not, my bad. I confused this issue with the preflight script handling thread

from munkireport-php.

bochoven avatar bochoven commented on July 18, 2024

Fixed with bd9f972

from munkireport-php.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.