Commit Graph

7931 Commits

Author SHA1 Message Date
Valera Rozuvan
65a9ce24dd Merge pull request #3170 from edx/valera/remove_ipython_dependent_methods
Remove a method call which depends on IPython.
2014-04-02 23:18:51 +03:00
Calen Pennington
af486423c8 Merge pull request #3179 from cpennington/problem-check-metrics
Rename metrics so that we capture checks as well as scores and number of attempts
2014-04-02 15:34:00 -04:00
Christina Roberts
269cd19abe Merge pull request #3155 from edx/christina/tinymce-update-cdn2
Upgrade TinyMCE to 4.0.20 and replaced tabbed HTML editor
2014-04-02 13:55:50 -04:00
Valera Rozuvan
638da490ad Remove a method call which depends on IPython.
Because IPython is not part of edx-platform dependencies, the
method assert_in has to be defined.
2014-04-02 16:36:24 +00:00
Calen Pennington
7e23e2655a Rename metrics so that we capture checks as well as scores and number of attempts 2014-04-02 11:54:30 -04:00
cahrens
e4de5d2eda Match our default code editor font size of 13. 2014-04-02 11:12:34 -04:00
Brian Talbot
473ed4cc89 Studio: syncing up font-based styling between TinyMCE editing view and Studio HTML xmodule preview
Separating and documenting tinyMCE font imports from customized vendor code and customized render styling css files (because font must load first in iframe).

Add the TinyMCE font file to the CMS pipeline.
2014-04-02 11:12:34 -04:00
cahrens
b04a0d9986 Update default font size to 14 for bulk e-mail editor (LMS). 2014-04-02 11:12:34 -04:00
Brian Talbot
cc15a267ae revising default (minified) TinyMCE content CSS to be scoped to .mce-content-body element 2014-04-02 11:12:34 -04:00
Brian Talbot
6443486dd0 scoping TinyMCE editing CSS to just tinyMCE context-based elements 2014-04-02 11:12:33 -04:00
cahrens
9d9b2b8e18 Directions for creating codemirror-compressed.js 2014-04-02 11:12:33 -04:00
cahrens
aaf842f83a Add dialog plugin code to compressed JS file and CSS file.
Needed for TinyMCE CodeMirror plugin.
2014-04-02 11:12:33 -04:00
Frances Botsford
786b416bad removing tinymce button border only on active to counteract fun LMS button styles 2014-04-02 11:12:33 -04:00
Nimisha Asthagiri
f44a1b6c1c Tiny MCE version 4.0.20
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.
2014-04-02 11:12:26 -04:00
cahrens
9c1a42b852 Use postMessage to communicate between the iframe and TinyMCE.
This gets around cross-origin issues on the CDN.

Delete plugin.min.js as the Jake command will minimize into the full file.
2014-04-02 11:06:49 -04:00
David Baumgold
a8b77b99dd Merge pull request #3171 from abdoosh00/unicode-fixes
unicode fixes
2014-04-02 10:45:28 -04:00
Abdallah
fe847720ea Upgrade to TinyMCE 4.0.16.
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.
2014-04-02 10:35:27 -04:00
Jay Zoldak
186e3b8612 Temporarily disable studio acid block tests that are failing 2014-04-02 10:21:05 -04:00
David Baumgold
d44b117b4b Merge pull request #3148 from louyihua/localization-fix
Make new-style chinese language codes works for translation
2014-04-02 09:49:54 -04:00
Calen Pennington
f5c919841d Merge pull request #3162 from cpennington/problem-check-metrics
Capture metrics for problem attempts and histograms of problem grades
2014-04-02 09:41:14 -04:00
Abdallah
bb9f720fa6 unicode fixes 2014-04-02 16:18:56 +03:00
louyihua
80e1270587 Make new-style chinese language codes works for translation
The old-style chinese language codes used in django 1.4 series are now deprecated, as discussed here:  https://code.djangoproject.com/ticket/18419.
Although majority of browsers still use the old-style language codes, some new browsers such as IE11 in Windows 8.1 start to use the new-style names instead of old-style ones which makes the current chinese translations of edX can't work properly under these browsers.
As there is no easy way for edX to change a higher version of django, I think we could do some mapping here so that the users who use IE11 in Windows 8.1 or other browsers that use the new-style names can view correct translations.
Also, this fix will make users who use one of the language codes:  zh-hk ,  zh-sg  and  zh-mo  can see the correct translations.
2014-04-02 13:12:44 +08:00
Calen Pennington
630a0b08ba Capture metrics for problem attempts and histograms of problem grades 2014-04-01 16:35:28 -04:00
Calen Pennington
1bd0bcb8c0 Merge pull request #3091 from cpennington/ora-metrics
Add metrics around old ORA requests
2014-04-01 16:09:11 -04:00
Calen Pennington
2689967905 Merge pull request #3158 from cpennington/enrollment-metrics
Emit datadog events for all course enrollments, not just those outside of verified courses
2014-04-01 14:05:10 -04:00
Calen Pennington
0513e144b1 Actually push json parsing all the way down to the bottom of the GradingService get and post methods 2014-04-01 14:04:17 -04:00
Calen Pennington
f2b554db2a Record metrics about the peer grading service 2014-04-01 14:04:17 -04:00
Calen Pennington
6430e7e98c Make GradingServices always return dictionaries, rather than sometimes returning strings 2014-04-01 14:04:16 -04:00
Calen Pennington
bdee9a9857 Correctly catch RubricParsingErrors 2014-04-01 14:04:16 -04:00
Calen Pennington
fe7e420ad5 Collect metrics around the open_ended_grading controller_query_service 2014-04-01 14:04:16 -04:00
Dave St.Germain
66ecbc9e6e Merge pull request #3134 from edx/dcs/a11y-gentle-alert
Fixes LMS-2474 by ensuring that readElts reads always reads an element
2014-04-01 13:15:27 -04:00
Calen Pennington
9bcbba6750 Emit datadog events for all course enrollments, not just those outside of verified courses 2014-04-01 13:02:29 -04:00
Dave St.Germain
1cd932c92b Fixes LMS-2474 by ensuring that readElts reads always reads an element 2014-04-01 11:57:42 -04:00
Greg Price
2a1ddab224 Improve inline discussion UI
1. Add space between threads
2. Change Show/Hide to Expand/Collapse and visually separate it
3. Limit a thread to 700px high and scroll if longer

Co-authored-by: marco <marcotuts@gmail.com>
2014-04-01 11:52:54 -04:00
Valera Rozuvan
8708c37a01 Merge pull request #3126 from edx/valera/convert_xmodule_to_javascript
Converting XModule module to JS.
2014-04-01 17:26:24 +03:00
Calen Pennington
6c06b39b3f Centralize when json parsing of responses from controller_query_service happens 2014-04-01 10:10:54 -04:00
Calen Pennington
d0daa61705 Remove unused function 2014-04-01 10:10:54 -04:00
Diana Huang
f3ff6cf318 Merge pull request #3144 from edx/diana/monitor-xqueue-graders
Add in metric tracking to xqueue.
2014-04-01 10:07:19 -04:00
Valera Rozuvan
269d72469b Converted XModule to JavaScript. Added Jasmine tests.
Part of the process for removing CoffeeScript from
edx-platform dependencies. Covering XModule with JavaScript
Jasmine unit tests.
2014-04-01 16:45:44 +03:00
Anton Stupak
08538e89c1 Merge pull request #3128 from edx/anton/transcript-generation
Update captions logic on front-end.
2014-04-01 14:53:50 +03:00
polesye
92cd46277d BLD-950: Update captions logic on front-end. 2014-04-01 12:25:45 +03:00
Waheed Ahmed
eaa5b6ed6f Changed wording for setting up ORA question.
ORA-351
2014-04-01 11:12:24 +05:00
Diana Huang
9b3d68c2b9 Add in metric tracking to xqueue.
Covers external grading and certificates.
2014-03-31 16:50:23 -04:00
Alexander Kryklia
64e286763d Revert "Transcript translations should be displayed in their source language."
This reverts commit b4ba04bae9.
2014-03-31 19:42:52 +03:00
Alexander Kryklia
b4ba04bae9 Transcript translations should be displayed in their source language. 2014-03-31 19:40:56 +03:00
Alexander Kryklia
dfa7c27e77 Add multiple transcripts editor.
Fix donwload subs for non youtube videos and non-en language - continue.
Add acceptance tests.
Add detetion of assets on request.
Updated docstring.
Add fixes and acceptance tests.
Fix acceptance tests.
Update docsrtings and cleanup code, resful for language_id.
Specify exception type in POST.
Fix url in upload module.
Improve exception handling.
Remove 'en' and catching in editable_metadata.
Move descriptor.get_context test to lms tests.
Add query parameter to translation dispatch.
Response to format parameter of translatin GET request.
Fix Acceprance test: Metadata Editor.
move handlers to proper scores.
Split video player into smaller files.
Add ugettext and fix typoes.
Add changelog.
Support for downloading non-ascii filenames.
Change event binding.
Add content-language to download requests.
Reractor POST handler to not update self.transcripts.
2014-03-31 18:49:56 +03:00
Carlos Andrés Rocha
7d618f26ca Merge branch 'release'
Conflicts:
	lms/djangoapps/courseware/features/video.feature
2014-03-29 20:37:49 -04:00
Valera Rozuvan
a883d2530d Fix multiple videos on page
If there are several videos on page, make sure that
the global onYouTubeIframeAPIReady function is properly
setup so that all callbacks are trigerred when the YouTube API
loads.

BLD-972
2014-03-29 23:58:15 +02:00
Calen Pennington
bb2508aca4 Merge pull request #3062 from cpennington/comment-client-metrics
Add metrics to comment_client requests
2014-03-28 16:34:24 -04:00
Calen Pennington
f4e55ccb76 Merge pull request #3061 from cpennington/model-metrics
Add datadog metrics logging for django model creates, updates, and deletes
2014-03-28 16:33:53 -04:00