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

Support for filter #53

Merged
merged 1 commit into from
Aug 30, 2024
Merged

Conversation

daimor
Copy link
Member

@daimor daimor commented Apr 20, 2024

Added support for filters, e.g. to hide Ens packages use 'Ens*

Examples are 'Ens*,'HS*
* means 0 or more characters
_ means any one character
' at the beginning means NOT pattern

Copy link
Collaborator

@gjsjohnmurray gjsjohnmurray left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not tested, but code review indicates we should assess whether a viable SQL injection exploit is being introduced.

src/ls/driver.ts Show resolved Hide resolved
src/ls/queries.ts Show resolved Hide resolved
Copy link
Contributor

@isc-tleavitt isc-tleavitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we're safe from an SQL injection perspective.

I also haven't tested. My main concern is the changes in other areas unrelated to adding filters, it's possible that some of the main GitHub actions workflow changes were not expected. I'd appreciate confirmation/explanation on this.

@isc-rsingh should there be someone other than me reviewing this from an InterSystems dev perspective? Maybe Brett?

.github/workflows/main.yml Show resolved Hide resolved
src/ls/queries.ts Show resolved Hide resolved
@gjsjohnmurray
Copy link
Collaborator

I'm hoping the CI changes will fix the CI failure in my #54 PR once merged. Ideally they would have been on their own PR, but I can live with them being part of this one.

@gjsjohnmurray gjsjohnmurray merged commit f3deda2 into intersystems-community:master Aug 30, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants