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

[1428] Event Timestamp Checker #2369

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

Rixxan
Copy link
Contributor

@Rixxan Rixxan commented Feb 17, 2025

Description

This PR implements a version of the Event Timestamp Check function used by @kenneaal in the FCMS plugin. This function checks the event timestamp is within 1 hour of the current time, and by default discards the timestamp entry if it is aged. The goal of this is to prevent duplicate reads from sending aged data to plugins. This can be disabled by a command-line argument.

This PR also includes a command-line argument (as requested by @Athanasius) to allow this check to be disabled by the user at runtime.

Removes an unneeded modification of the ExecutionPolicy in the Windows installer.

Finally, this also unpins the exact patch version of Python 3.11, to allow GitHub to use the most recent build available by default instead of mandating a version specifically.

Type of Change

New Feature Enhancement

How Tested

This code is already in use in the EDMC FCMS Plugin. 1

Notes

Resolves #1428

Why pin the specific build? Just use the lastest GitHub available 3.11 version.
@Rixxan Rixxan added enhancement Plugins Anything related to plugins labels Feb 17, 2025
@Rixxan Rixxan added this to the 5.13 milestone Feb 17, 2025
@Rixxan Rixxan self-assigned this Feb 17, 2025
This command isn't needed and opens EDMC to a potential security bug.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Plugins Anything related to plugins
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update Python Build Version Check event timestamp before passing anything to plugins
1 participant