Page MenuHomePhabricator

Make the chatbot obey the object name blacklist
ClosedPublic

Authored by jcox on Aug 24 2016, 7:47 PM.
Tags
None
Referenced Files
F14017426: D16442.id39547.diff
Mon, Nov 4, 5:11 PM
F13988269: D16442.id39547.diff
Mon, Oct 21, 2:22 PM
F13965264: D16442.diff
Oct 16 2024, 12:57 AM
Unknown Object (File)
Oct 13 2024, 9:49 PM
Unknown Object (File)
Oct 1 2024, 12:11 PM
Unknown Object (File)
Sep 30 2024, 8:51 PM
Unknown Object (File)
Sep 25 2024, 3:32 PM
Unknown Object (File)
Sep 16 2024, 5:04 PM
Subscribers

Details

Summary

Fixes T11508. The config entry remarkup.ignored-object-names already contains a blacklist of object names that should be ignored in the web UI. This change makes that blacklist also apply to the chatbot. This makes it possible to have a chatbot ignore things like V1, V2, Q1 and any other phrases the user may not want to generate links to objects.

Test Plan

Create objects (tasks, slowvotes, etc.) then mention the object names in chat (with the bot running). The bot should respond with helpful links to the given objects. Then add the object names to the blacklist through the config web UI. This apparently triggers the bot to restart itself. Then mention the object names in chat again. The bot should no longer respond with links because those object names have been added to the blacklist regex.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jcox retitled this revision from to Make the chatbot obey the object name blacklist.
jcox updated this object.
jcox edited the test plan for this revision. (Show Details)
This revision is now accepted and ready to land.Aug 24 2016, 7:49 PM
This revision was automatically updated to reflect the committed changes.