forked from oppia/oppia
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added cache slugs for images and modified all references to the images. * Added interpolation service to get static image url, modified non-page level html files and corresponding directives/controllers to use it, addressed review comments * Modified /script tags * Added cache slugs for i18n * Fixed failing test and added i18n/prod to git ignore. * Cache slugs new approach POC * Modified references for images, scripts and i18n. Added methods to return static resource url. Modified app.yaml. * Modified gulp file and references to oppia.css and third_party css and js files. * Added slugs to extensions * Fixed test for get_cache_slug * Modified build.py and deploy.py * Addressed review comments * Modify imports * Modified src to ng-src and other review comments fixed. * Modified build.py * Minor change * Removed feconf.CACHE_SLUG_DEV and refactored * Added random cache slug * Refactored code. * Modified references for extensions, added extensions to build process and refactored methods in UrlInterpolationService * Fixed bug * Addressed review comments. * Fix failing tests * Fixed bug. * Added tests for urlinterpolationservice. * Added interpolation for interactions and logic_proof.html * Addressed review comments * Addressed review comments * Removed unnecessary include from templates * Modified precommit linter script to fix endless waiting * Commented script and added assets/scripts to exclusions.
- Loading branch information
Showing
213 changed files
with
1,590 additions
and
897 deletions.
There are no files selected for viewing
This file contains 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 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 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
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Oops, something went wrong.
File renamed without changes
436 changes: 218 additions & 218 deletions
436
static/images/library/banner1.svg → assets/images/library/banner1.svg
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
This file contains 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
File renamed without changes.
This file contains 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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<h2>v0.0.0</h2> | ||
<p>For instructions: see the README file in /static/dev/scripts.</p> | ||
|
||
<h3>Standard embedding of the latest version</h3> | ||
<oppia oppia-id="0"></oppia> | ||
<script src="http://localhost:8181/assets/scripts/oppia-player-0.0.0.js"></script> | ||
|
||
<h3>Standard embedding of version 1 of the exploration</h3> | ||
<oppia oppia-id="0" exploration-version="1"></oppia> | ||
<script src="http://localhost:8181/assets/scripts/oppia-player-0.0.1.js"></script> | ||
|
||
<h3>ERROR: No oppia id specified</h3> | ||
<oppia></oppia> | ||
<script src="http://localhost:8181/assets/scripts/oppia-player-0.0.0.js"></script> | ||
|
||
<h3>ERROR: 404 error</h3> | ||
<oppia oppia-id="fake_id"></oppia> | ||
<script src="http://localhost:8181/assets/scripts/oppia-player-0.0.0.js"></script> |
This file contains 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
6 changes: 3 additions & 3 deletions
6
...cripts/embedding_tests_dev_0.0.1.min.html → ...cripts/embedding_tests_dev_0.0.1.min.html
This file contains 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 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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<h2>v0.0.1 (unminified)</h2> | ||
<p>For instructions: see the README file in /assets/scripts.</p> | ||
|
||
<script src="/assets/scripts/oppia-player-0.0.1.js"></script> | ||
<script src="/assets/scripts/embedding_tests.js"></script> | ||
|
||
<div class="protractor-test-embedded-exploration"> | ||
<h3>Standard embedding of the latest version</h3> | ||
<oppia oppia-id="12"></oppia> | ||
</div> |
This file contains 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Cache slug is a prefix that is attached to static resource paths such as | ||
# images, scripts and css. It should only contain alphanumeric characters. | ||
# It will be automatically updated when deploy.py is run. | ||
cache_slug: | ||
default |
This file contains 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 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 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 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 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 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
Oops, something went wrong.