Skip to content

Add auto rules: allow/block by publisher or versioned folder - #2175

Open
GeneralTITO wants to merge 1 commit into
henrypp:masterfrom
GeneralTITO:feature/autorules
Open

GeneralTITO wants to merge 1 commit into
henrypp:masterfrom
GeneralTITO:feature/autorules

Conversation

@GeneralTITO

Copy link
Copy Markdown

Blocking an app in a notification only covers its exact path, so apps that move to a new versioned folder on every update (Google Update, Teams, Edge Update, Discord...) keep asking again.

Auto rules make one decision cover all of them:

  • The Block button in the notification is now a split button, and both Allow and Block dropdowns offer "everything from " (valid Authenticode signer) and "everything in *" (version numbers in folder names replaced by a wildcard).
  • Creating a rule applies it at once to the current app, to every other pending notification it covers (the menu shows how many are waiting), and to undecided apps already in the list.
  • New apps that match are decided silently in the log thread, with no popup. Apps the user already allowed/blocked are never overridden.
  • Rules are stored in profile.xml under and can be reviewed/deleted from Edit > Auto rules.

Claude-Session: https://claude.ai/code/session_01S5ye8chWku5hhs4CtdjR17

Blocking an app in a notification only covers its exact path, so apps
that move to a new versioned folder on every update (Google Update,
Teams, Edge Update, Discord...) keep asking again.

Auto rules make one decision cover all of them:
- The Block button in the notification is now a split button, and
  both Allow and Block dropdowns offer "everything from <publisher>"
  (valid Authenticode signer) and "everything in <folder>\*" (version
  numbers in folder names replaced by a wildcard).
- Creating a rule applies it at once to the current app, to every
  other pending notification it covers (the menu shows how many are
  waiting), and to undecided apps already in the list.
- New apps that match are decided silently in the log thread, with no
  popup. Apps the user already allowed/blocked are never overridden.
- Rules are stored in profile.xml under <autorules> and can be
  reviewed/deleted from Edit > Auto rules.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S5ye8chWku5hhs4CtdjR17
@henrypp

henrypp commented Nov 17, 2026

Copy link
Copy Markdown
Owner

looks good, can you make little bit refactor for this:

  • need to move code from src/autorules.c/src/autorules.h into profile.c or db.c there is profile working code, new file is not needed for this

  • and no need to move _app_getfilesignaturestring in helper.c, this is useless, stay where it placed

  • and also IDS_AUTORULES did not applied locale to main menu

@henrypp

henrypp commented Nov 17, 2026

Copy link
Copy Markdown
Owner

and also update i18n, only if you retain "Auto-rules" and no changes will be, just start build_locale.bat, ofc you need clone builder into parent directory of this repo

@henrypp

henrypp commented Nov 18, 2026 •

Copy link
Copy Markdown
Owner

i dont have AI bullshit account, so i cannot open this link, so what are your answer?

This branch has not been deployed

No deployments
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.

3 participants