For most bots using the API, you'll want to give each bot
its own name and API key using the above section. But if you
want to write a bot that can access your own private
- messages, you should use your personal API key.
+ messages, you should use your personal API key.
+
@@ -231,7 +240,8 @@
-
+
+
diff --git a/tools/check-handlebar-templates b/tools/check-handlebar-templates
index 3821e3642f..e5a8224919 100755
--- a/tools/check-handlebar-templates
+++ b/tools/check-handlebar-templates
@@ -84,7 +84,15 @@ def validate(fn):
assert state.depth == 0
git_files = map(str.strip, check_output(['git', 'ls-files']).split('\n'))
+
+# Check all our handlebars templates.
templates = [fn for fn in git_files if fn.endswith('.handlebars')]
assert len(templates) >= 10 # sanity check that we are actually doing work
+
+# Django templates are pretty messy now, so we whitelist them for now.
+templates += [
+ 'templates/zerver/settings.html'
+]
+
for fn in templates:
validate(fn)