This fixes two issues:
- if the course pointed to doesn't exist, GA was added to the iframe twice
- more importantly, we don't want to count these as separate views anyway--
we just care about the about page itself.
- I also added a note about where we would put our segment.io widget if we want it
later
LMS-2581
The button text default is now in the template and i18n-able, a
PROGRESS_SUCCESS_BUTTON_TEXT_OVERRIDE option is offered in settings.
The button url now uses string formatting.
Show a button at the top of lms/templates/courseware/progress.html if the
lowest nonzero grade cutoff has been reached. Introduce two settings:
PROGRESS_SUCCESS_BUTTON_URL is the href of that button (the course id is
appended); PROGRESS_SUCCESS_BUTTON_TEXT is the text, defaults to
"Download your certificate"
Changed tiny-MCE to not load CSS files dynamically.
Added CSS files for tiny-MCE in env files.
Moved TinyMCE files to directory structure required by Jake command.
Changed clients of "tinymce.min.js" to use "tinymce.full.min.js" instead.
Updated CHANGELOG to indicate tinymce version 4.0.20.
Renamed tinymce.css.
Directions for creating tinymce.full.min.js and commenting of edX changes.
Updated comments related to disabling dynamic JS and CSS file loading in tinymce.
Allow TinyMCE to handle CSS within the iframe.
Detailed commit messages:
deleted old tinymce
new tinymce
js changes to support new tinymce
scss changes for alignments
Include all the controls on the toolbar that we previously had.
Changes to support Bulk e-mail usage.
adding new studio skin for TinyMCE4
Get handling of static image links working again.
Delete old Studio skin.
Version 1.3 of CodeMirror plugin.
Modify paths for location of CodeMirror files.
Fire events when CodeMirror Editor is open and closed.
Needed to switch static links back and forth.
Remove CodeMirror tabbed editor.
fixed tinymce visual editor css
Change how we detect that an image has been inserted.
made the codemirror look more studio-like
reordered the tinymce buttons
Update unit tests.
Update acceptance test for image plugin.
Make sure to strip out temporary caret.
It can get left behind in style blocks.
Test for style block being maintained.
Allow TinyMCE to create p's, else formatting doesn't work.
Add tests for toolbar buttons and converting links.
Add test for code format toolbar button.
Remove unnecessary code.
Remove unused testing templates and unused tabs.
Update tinymce paths.
Fire an event with the link plugin closes so we can rewrite links.
pep8
Updates from code review.
Change the name of the button to "Edit HTML".
Changed menu name for consistency, but we don't show it.
Changed name of "code" toolbar button to "Code block".
Switch from tabbed Visual/HTML Editor for HTML modules to showing the code editor as a plugin within TinyMCE (triggered from toolbar). STUD-1422
Fire events before and after the image dialog is shown.
We use this to rewrite links.
Change the event handling for image plugin.
Fixes FireFox bug, and allows us to correct the image path when we show the plugin (as opposed ot only correcting path when we close the plugin).
Code review feedback.
Fire events before and after the link dialog is shown.
This allows us to convert the static links.
Remove unnecessary helper method.
keeping the component editor inside the component window
Use compressed CodeMirror file.
replaced code icon in TinyMCE editor; simplified UI on TMCE toolbar
Change code editor icon to say HTML.
Move code style block button.
Update tests for minor UI changes.
Code editor button no longer shows an icon, and code style toolbar button location has moved.
Fix typos.
The strings in share links should be in unicode, otherwise when the name of a course is non-ascii, it will generate a decode error.
And some of these strings is actually translatable, so they should be collected into mako.po.
if course title use Chinese or other language got the 500 error when visit the course_about page ,and the log shows :UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-3: ordinal not in range(128)
In the near future an answer distribution report will be displayed in the data download reports table. In order to avoid confusion, we need to clean up several misleading labels and remove a redundant feature.
Note that the redundant feature is surrounded by a feature flag so that it can be disabled once the report goes live in the table.
Fixes: AN-694
Changed "Status Page" -> "Page".
UX:
support for displaying built-in tabs
restored drag and drop on Studio Pages
additional styling for fixed state on Studio Pages
add a new page action added to bottom of Studio Pages
Dev
changes for viewing tabs in studio,
refactored the tab code,
decoupled the code from django layer.
is_hideable flag on tabs
get_discussion method is needed to continue to support
external_discussion links for now since used by 6.00x course.
override the __eq__ operator to support comparing with
dict-type tabs.
Test
moved test code to common,
added acceptance test for built-in pages
added additional unit tests for tabs.
changed test_split_modulestore test to support serializing objects
that are fields in a Course.
Env:
updated environment configuration settings so they are
consistent for both cms and lms.
The availability of the YouTube API will be stored in student's settings.
The YouTube API is loaded asynchronously now, so no need to pass a
parameter to the front-end telling it if YouTube API should not be loaded
because of it's unavailability.
Removing loading of YouTube API from Studio RequireJS config. Now loading
of YouTube API is handled by Video module.
BLD-531.
Metrics tab shows student data:
-Count of students opened a subsection
-Grade distribution per problem
for each section/subsection of the course.
Implemented for both the old and beta dashboard
Controlled by a feature flag 'CLASS_DASHBOARD'
Data is aggregated across all students
Aggregate data computed from courseware_studentmodule