Add oppressive language presubmit

BUG=b:162024466
TEST=try to upload a CL with a blocked term

Change-Id: Ib7ffaa2a6a302bf74c0d6aaf67bab0f61c3da5bc
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/optofidelity_chrome_touch_client/+/2683220
Tested-by: Sean O'Brien <seobrien@chromium.org>
Auto-Submit: Sean O'Brien <seobrien@chromium.org>
Reviewed-by: Harry Cutts <hcutts@chromium.org>
Commit-Queue: Harry Cutts <hcutts@chromium.org>
1 file changed
tree: 7437bbe81ec7057834a8a26adfb1540de84b3b6d
  1. chrome_plugin/
  2. README.chromium
  3. README.md
  4. unblocked_terms.txt
README.md

Chrome Extension

To enable in Chrome browser:

  1. navigate to chrome://extensions
  2. enable “developer mode”
  3. click “load unpacked” and select chrome_plugin directory

To create package:

  1. navigate to chrome://extensions
  2. you have to have the Touch Client plugin installed in developer mode
  3. click “Details” in Touch Client plugin
  4. at the top bar click “Pack Extension”

Usage:

When installed, the chrome plugin will show as a button at the toolbar. The button looks like Optofidelity logo; red, green and blue squares.

  1. Open settings by right-clicking the button.
  2. Set TPPT server's ip-address, port 50009 and DUT name (default: Dut1)
  3. Make sure that you have started the TPPT server.
  4. Left-click the toolbar button, this should open a new page with “full screen” button on it. This will also open the connection to the TPPT server.
  5. Follow the instructions from the TPPT server.

If the connection is lost, refresh the page. Refreshing the page will create new connection to the server.