Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a last updated timestamp to objects the plugin makes changes to #242

Open
sol1-matt opened this issue Feb 20, 2025 · 0 comments
Open
Assignees
Labels
accepted This issue has been accepted for implementation feature Introduction of new functionality to the application

Comments

@sol1-matt
Copy link

sol1-matt commented Feb 20, 2025

Problem

While it may be possible to determine when the plugin last changed a object using the change log, as opposed to a user changing a object. It is not trivial for users to get a list of objects the plugin changed and the last change date of each object from the changelog.

Solution

Add a date based custom field to all objects that the plugin updates and update that field each time the plugin makes a change to the object.
This will allow easy filtering of objects by object type for when the plugin last updated that object, it also shows this value in the UI for each object.

name: something like promox_last_modified
object_types: all the ones the plugin modifies
group_name: Promox Plugin
type: value: datetime, label: Date & time

@emersonfelipesp emersonfelipesp self-assigned this Feb 20, 2025
@emersonfelipesp emersonfelipesp added feature Introduction of new functionality to the application accepted This issue has been accepted for implementation labels Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted This issue has been accepted for implementation feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

2 participants