Remove the DarkLang middleware from the LMS
Created and basic routing to the update_lang page for the GET Request
TNL-4742
Basic form functionality
Working example in LMS of the form to set the language
Login now required to change the preview language, and corrected some minor bugs
Updates to move the template code to lms and to correct minor defects
TNL-4742
Added template for preview_lang.html to cms
TNL-4742
Changed filename of darklang.py to api.py to match convention
TNL-4742
Updated and refactored the Darklang tests
TNL-4742
Updated comments in tests
TNL-4742
Formating updates
TNL-4742
Updated comments and formatting
TNL-4742
Corrected i18n tests and corrected PEP8 format issues
TNL-4742
Code Lint/PEP-8 corrections and upates
TNL-4742
Removed constant that was not needed (to be squashed)
TNL-4742
Added init method to clear up PEP8 Warnings (will squash)
TNL-4742
PEP-8/Lint issue resolved (squash)
Updated for i18n
TNL-4742
Refactored the preview_lang.html page to use a common included template
Refactoring and changes from PR comments
TNL-4742
Correction for safecommit violation (Squash)
TNL-4742
PR changes and refactoring (Squash)
Updates to reduce changes made in the urls used
TNL-4742
Removed unneeded aria-described by and bug in MAKO Template (squash)
TNK-4742
Updated docstring comments
Clarified form response text
Minor PR request (Squash)
Refactoring of how the responses are generated within the DarkLang views file
A series of refactors in response to PR comments
Method name change for clarity in reponse to PR comments (Squash)
Updates to tests per PR requests (Squash)
Minor comment updates for clarity and PR requests (Squash)
Updated per PR comments and added a test for empty preview_language
Layout and code style updates (Squash)
Updated test to contain method in the request.
Removed the Darklang preview-lang and clear-lang parameters and added the new DarkLang settings form at /update_lang
Refactored tests and added some tests for coverage, corrected defect with empty input codes
Removed unused and obsolete code
Corrected test errors, resolved PR comments, and updated comments to clarify testing
TNL-4742
Updated tests to deal with Pylint quality issue (Squash)
Updated tests to better reflect test case and PR updates (Squash)
Clicking on conflicting option box unchecks all conflicts
LMS: Clicking license text should bring to new window
updated styles to reflect html reuse inside of xblock edit modal area.
Add ARIA attributes to license for a11y
Gracefully handle re-selecting of selected license
Use native checkboxes for courseware license options
In Studio settings editor for video module, don't show license if feature-flagged off
Don't let Scope.contents fields leak to Studio editor
JS gettext() must all be on the same line for i18n
Add docstrings for bok-choy tests
Remove LicenseMixin from HTMLDescriptor
Responding to UX review feedback
Add aria-pressed attribute
Use https links instead of protocol-relative links for links to creativecommons.org
Remove license from course outline page in Studio
This allows course authors to choose between two difference licenses for their
course content: All Rights Reserved, or Creative Commons. In the backend, XBlocks
that wish to allow custom licenses need only inherit from LicenseMixin, which
adds a `license` field as a string.
License information is displayed in the Studio editor view, and just below the
rendered XBlock in the LMS. In addition, if the course block itself has a custom
license set, this license will display just below the main body of the page
on courseware pages.
This entire feature is gated behind the LICENSING feature flag.
* Adds a credit course mode to indicate that a course
has a credit option.
* Hides the credit option from the track selection and
pay-and-verify pages.
* Shows different messaging for the verified track if
it's possible to upgrade from verified to credit at the end
of the course.
1. Fix sentence breaks inside `photo_reverification.html` and `midcourse_photo_reverification.html`.
2. Combine three setences inside `choose.html`.
3. Adding some punctuation marks to reduce duplicated strings with only different Punctuation marks in translation.
4. Move the colons inside the strings to be translated. This may be not necessary for now, but I think this may help translation by removing potential word meaning conflict.
5. Sorry for
Adds an /xdomain_proxy.html endpoint that serves
the proxy file from the xdomain library. This
allows IE9 users to iframe in the proxy page
to simulate a cross-domain request with cookies.
The string "</script>" in JSON data would end the script element we're
embedding the data in. To make sure the data doesn't disrupt the
script, we escape the slash as \/ .
When cdn is down specially in the country like china
and others user face problem as application doesn't
work as intended. Instead of making mathjax hard
dependecy I have converted it into soft dependey
so that it won't cause user problem to use application
smothly if mathjax is not present.
TNL-1498
When mathjax is down discussion forum doesn't work
as we were using markdown.js with processor as
mathjax. Unavailability of mathjax raise error in
js which stops discussion to render. So I made
markdown independent of mathjax. Markdown now will
use mathjax when it is available otherwise ignore it.
TNL-1149