Commit Graph

4456 Commits

Author SHA1 Message Date
Anto Stupak
c70fa41d69 word cloud: return percents 2013-05-13 14:44:08 +03:00
Vasyl Nakvasiuk
f1d1a3f606 refactoring after Python code review 2013-05-13 14:44:07 +03:00
Valera Rozuvan
7b5d5a0499 Removed Object.keys() usage. Now uses simple Array.push() to retrieve all keys. 2013-05-13 14:44:07 +03:00
Valera Rozuvan
13bed39dde Refactoring after peer review. 2013-05-13 14:44:07 +03:00
Valera Rozuvan
f4b247d2bb Refactoring, documenting, moving all HTML generation to template. 2013-05-13 14:44:07 +03:00
Vasyl Nakvasiuk
97855bb4c1 add test_good_ajax_request for WordCloud 2013-05-13 14:44:07 +03:00
Vasyl Nakvasiuk
cb1d3a30bb pep8 2013-05-13 14:44:06 +03:00
Vasyl Nakvasiuk
3bccf54835 remove trash code 2013-05-13 14:44:06 +03:00
Anto Stupak
6763584216 Word cloud JS: data is not loaded without page refresh. Fixed. Also was fixed bug, when font-size is 0 2013-05-13 14:44:06 +03:00
Vasyl Nakvasiuk
72b094e5e9 fix get_state 2013-05-13 14:44:05 +03:00
Vasyl Nakvasiuk
9495059fdc add "get_state" dispatch for WordCloud 2013-05-13 14:44:05 +03:00
Valera Rozuvan
338c1541c0 Added semicolon. 2013-05-13 14:44:04 +03:00
Valera Rozuvan
96637e9ae7 Change some code styling. Added statistics display. Minor tweaks. 2013-05-13 14:44:04 +03:00
Vasyl Nakvasiuk
6deeb60278 update template for word_cloud, refactor empty json answer 2013-05-13 14:44:04 +03:00
Vasyl Nakvasiuk
ed23aef607 use post.getlist word wordcloud param 2013-05-13 14:44:04 +03:00
Vasyl Nakvasiuk
328b5b3d08 use postWithPrefix + $.param 2013-05-13 14:44:03 +03:00
Valera Rozuvan
82209850e4 Small refactor. 2013-05-13 14:44:03 +03:00
Vasyl Nakvasiuk
2bcc0065b1 use ajaxWithPrefix 2013-05-13 14:44:03 +03:00
Vasyl Nakvasiuk
36c8af611b use user_state, add test_logic test 2013-05-13 14:44:03 +03:00
Vasyl Nakvasiuk
9b9749160e add more docstrings 2013-05-13 14:44:02 +03:00
Vasyl Nakvasiuk
b273011727 add total_count to answer from server 2013-05-13 14:44:02 +03:00
Vasyl Nakvasiuk
66615cab4a fix cloude size 2013-05-13 14:44:02 +03:00
Valera Rozuvan
82f87a915c Added rough version of d3 word cloud. 2013-05-13 14:44:02 +03:00
Vasyl Nakvasiuk
acfbe14e39 word cloud done 2013-05-13 14:44:01 +03:00
Vasyl Nakvasiuk
dac9b5c038 Word Cloud: add full cycle Python + HTML + JS 2013-05-13 14:44:01 +03:00
Vasyl Nakvasiuk
5a36b7c332 Word cloud: add test_import 2013-05-13 14:44:01 +03:00
Vasyl Nakvasiuk
dd5a7e7ba8 initialize JS for word_cloud 2013-05-13 14:44:01 +03:00
Vasyl Nakvasiuk
4b3fe54d48 add test data xml for word_cloud 2013-05-13 14:44:00 +03:00
Vasyl Nakvasiuk
143d2c8636 fix WordCloudDescriptor 2013-05-13 14:44:00 +03:00
Alexander Kryklia
bb9bc42171 adds initial word_cloud_module files 2013-05-13 14:44:00 +03:00
Alexander Kryklia
e5daeb41fb update docstring 2013-05-13 14:44:00 +03:00
Calen Pennington
ee52726853 Merge pull request #2000 from edx/fix/cale/dont-show-template-course
Filter out the template course from the mongo modulestore get_courses function
2013-05-10 04:06:33 -07:00
ichuang
2bb180a353 Merge pull request #1935 from edx/fix/formularesponse_needs_samples
formularesponse requires the "samples" attribute
2013-05-09 19:02:57 -07:00
Calen Pennington
ea859bd6c7 Filter out the template course from the mongo modulestore get_courses function 2013-05-09 16:22:23 -04:00
David Baumgold
d09e93142f Merge pull request #1980 from edx/backbone-1.0.0
Upgrade to Backbone 1.0.0
2013-05-09 09:34:35 -07:00
Greg Price
0e525d69ff Disable SSL cert validation for Zendesk API
They are currently using a CA that is not installed on our servers. Since it
isn't a top-tier CA and we aren't submitting anything particularly sensitive
anyway, we don't have to feel too bad about this.
2013-05-08 15:45:12 -04:00
Christina Roberts
0c6c7868ae Merge pull request #1965 from edx/feature/christina/fields
Pass through the value (either default or inherited) that a metadata field WILL have if it is not explicitly set.
2013-05-08 10:32:55 -07:00
David Baumgold
ec79ebd4a7 Updated Backbone.js and Underscore.js
Backbone 1.0.0, Underscore 1.4.4
2013-05-08 09:29:15 -04:00
Will Daly
b19c80ccb5 Merge pull request #1957 from edx/fix/will/bug_392
Added unit tests for safe_key() to resolve bug 392.
2013-05-08 06:23:49 -07:00
VikParuchuri
fb4685fe9a Merge pull request #1976 from edx/vik/fix/oe-bugs
Vik/fix/oe bugs
2013-05-07 14:54:17 -07:00
Vik Paruchuri
5cd9641f24 Update peer grading comment 2013-05-07 17:35:00 -04:00
Vik Paruchuri
530ac51c1c Add .error callback back in 2013-05-07 17:33:34 -04:00
Vik Paruchuri
2648a19cc2 Fix check for use for single location 2013-05-07 17:08:14 -04:00
Vik Paruchuri
e0d1eca6aa Delete two lines. without this, the xblock fields are never created in cases where the module is "fresh" (ie has no existing data) 2013-05-07 16:56:08 -04:00
Will Daly
aaa383b8ca safe_key() now hashes the prefix/version as well, just in case
these are configured to be too long in the settings.
2013-05-07 15:48:51 -04:00
Vik Paruchuri
1398b55713 Comment touched modules 2013-05-07 15:48:19 -04:00
Vik Paruchuri
9e03280f50 Make peer grading fields stringy and fix js to avoid strange error 2013-05-07 15:33:15 -04:00
cahrens
9e1c935b60 Merge branch 'master' into feature/christina/fields 2013-05-07 12:39:45 -04:00
Christina Roberts
729ca900e6 Merge pull request #1920 from edx/feature/christina/fields
Pass additional field information from editable_metadata_fields, remove system_metadata_fields variable.
2013-05-07 09:38:34 -07:00
Will Daly
1b0b365fa6 Added unit tests for safe_key() to resolve bug 392.
Updated safe_key() so that it: (a) avoids creating keys that
are too long for memcache, and (b) handles unicode in keys, prefixes,
and versions

Added __init__.py, which should have been in the last commit

Pep8/Pylint fixes
2013-05-06 17:26:18 -04:00