billing: Update billing system.

This commit is contained in:
Rishi Gupta
2018-03-30 19:13:44 -07:00
committed by Tim Abbott
parent 872e8c1d7b
commit 16334a1ba7
17 changed files with 909 additions and 479 deletions

View File

@@ -623,7 +623,8 @@ def build_custom_checkers(by_lang):
'bad_lines': ['<button aria-label="foo"></button>']},
{'pattern': 'script src="http',
'description': "Don't directly load dependencies from CDNs. See docs/subsystems/front-end-build-process.md",
'exclude': set(["templates/zilencer/billing.html", "templates/zerver/hello.html"]),
'exclude': set(["templates/zilencer/billing.html", "templates/zerver/hello.html",
"templates/zilencer/upgrade.html"]),
'good_lines': ["{{ render_bundle('landing-page') }}"],
'bad_lines': ['<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>']},
{'pattern': "title='[^{]",