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
Unknown Object (File)
Thu, Apr 25, 12:03 AM
Unknown Object (File)
Sun, Apr 14, 9:24 AM
Unknown Object (File)
Thu, Apr 11, 8:21 AM
Unknown Object (File)
Sat, Mar 30, 5:11 AM
Unknown Object (File)
Mar 22 2024, 2:01 AM
Unknown Object (File)
Feb 17 2024, 5:05 PM
Unknown Object (File)
Jan 27 2024, 11:40 PM
Unknown Object (File)
Jan 10 2024, 5:10 AM
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.