-
Notifications
You must be signed in to change notification settings - Fork 221
Fixes: #1679. Remove unsafe-eval directive from our CSP policy. #1682
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
260c05b
Issue #1679. Add grunt-contrib-jst dependency to package.json
ed3f430
Issue #1679. Add jst grunt task and generate a templates.js as a result.
0e510cf
Issue #1679. Move inline templates into their own files, and import t…
2aa9490
Issue #1679. Handle authenticated check via JS.
5206012
Issue #1679. Inline html includes into jst templates, and remove redu…
e0cf9c4
Issue #1679. DRY: the diagnosis section of the homepage, and both sec…
727f56a
Issue #1679. Rename tmpl to jst (to match configs), and use shorter p…
5f4df15
Issue #1679. Remove 'unsafe-eval' from script-src directive of CSP po…
a28e01d
Issue #1679. Move subTemplate inline template into its own jst file.
fa64824
Issue #1679. Update dev-env-setup.md to mention the need to re-build …
697d8b5
Issue #1679. Add external .jst template for showThanks flash message.
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Issue #1679. Rename tmpl to jst (to match configs), and use shorter p…
…ath for convenience.
- Loading branch information
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
webcompat/templates/issue/aside.tmpl → webcompat/templates/issue/aside.jst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,8 @@ | ||
| <aside class="wc-Issue-aside"> | ||
| <div class="wc-Issue-information wc-Issue-information--fullWidth" id="js-Issue-aside"> | ||
| {% include "issue/aside.tmpl" %} | ||
| {% include "issue/aside.jst" %} | ||
| </div> | ||
| <div class="wc-Issue-labels js-Issue-labels"> | ||
| {% include "issue/issue-labels.tmpl" %} | ||
| {% include "issue/issue-labels.jst" %} | ||
| </div> | ||
| </aside> |
2 changes: 1 addition & 1 deletion
2
...t/templates/issue/issue-comment-list.tmpl → ...at/templates/issue/issue-comment-list.jst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| <div class="wc-Issue-information"> | ||
| <div id="js-Issue-information"> | ||
| {% include "issue/metadata.tmpl" %} | ||
| {% include "issue/metadata.jst" %} | ||
| </div> | ||
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
webcompat/templates/issue/issue-report.tmpl → webcompat/templates/issue/issue-report.jst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
webcompat/templates/issue/metadata.tmpl → webcompat/templates/issue/metadata.jst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| <script type="text/template" id="metadata-tmpl"> | ||
| <script type="text/template"> | ||
| <div class="wc-Issue-information-content"> | ||
| <div class="js-Issue-markdown wc-Markdown"> | ||
| <%= body %> | ||
| </div> | ||
| </div> | ||
| </script> | ||
| </script> |
2 changes: 1 addition & 1 deletion
2
webcompat/templates/issue/state-button.tmpl → webcompat/templates/issue/state-button.jst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| <script type="text/template" id="state-button-tmpl"> | ||
| <script type="text/template"> | ||
| <span class="js-comment-<%= stateClass %>"><%= state %></span> | ||
| </script> |
2 changes: 1 addition & 1 deletion
2
webcompat/templates/issue/upload-image.tmpl → webcompat/templates/issue/upload-image.jst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
webcompat/templates/list-issue/dropdown.tmpl → webcompat/templates/list-issue/dropdown.jst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...templates/list-issue/issuelist-issue.tmpl → .../templates/list-issue/issuelist-issue.jst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...emplates/list-issue/issuelist-search.tmpl → ...templates/list-issue/issuelist-search.jst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...mplates/list-issue/issuelist-sorting.tmpl → ...emplates/list-issue/issuelist-sorting.jst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| <script type="text/template" id="issuelist-sorting-tmpl"> | ||
| <script type="text/template"> | ||
| <div class="wc-Dropdown js-Dropdown js-Dropdown-pagination"></div> | ||
| <div class="wc-Dropdown js-Dropdown js-Dropdown-sort"></div> | ||
| </script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,4 +6,4 @@ | |
| {% endfor %} | ||
| </div> | ||
|
|
||
| {% include "list-issue/dropdown.tmpl" %} | ||
| {% include "list-issue/dropdown.jst" %} | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| <div class="wc-SearchForm js-SearchForm"> | ||
| {% include "list-issue/issuelist-search.tmpl" %} | ||
| {% include "list-issue/issuelist-search.jst" %} | ||
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...pat/templates/web_modules/issue-list.tmpl → ...mpat/templates/web_modules/issue-list.jst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...t/templates/web_modules/label-editor.tmpl → ...at/templates/web_modules/label-editor.jst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This comment was marked as abuse.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.