Commit Graph

7928 Commits

Author SHA1 Message Date
Valera Rozuvan
1353ae3ec2 Added license information to d3 JS file and to the word cloud layout. 2013-05-13 14:44:10 +03:00
Vasyl Nakvasiuk
4138c47128 merge all word_cloud Xmodule fields to one WordCloudFields class 2013-05-13 14:44:10 +03:00
Alexander Kryklia
09f6d2a651 updated docstrings 2013-05-13 14:44:10 +03:00
Vasyl Nakvasiuk
5e6f3601eb Word Cloud: docstrings + pep8 2013-05-13 14:44:10 +03:00
Alexander Kryklia
af8b9eca65 removes display_name from studio template 2013-05-13 14:44:10 +03:00
Alexander Kryklia
7559cd90d6 separates xfields that descriptor use and module use 2013-05-13 14:44:10 +03:00
Alexander Kryklia
36d2dd632d adds mako_template string to desctiptor for studio integration 2013-05-13 14:44:10 +03:00
Alexander Kryklia
bdc62e7d2e word cloud studio integration 2013-05-13 14:44:09 +03:00
Alexander Kryklia
04b712510e PEPifying 2013-05-13 14:44:09 +03:00
Alexander Kryklia
2d68e4ee9f PEPifying 2013-05-13 14:44:09 +03:00
Alexander Kryklia
ecb9857bda imports forgotter RawDescriptor 2013-05-13 14:44:09 +03:00
Alexander Kryklia
dccadff3a6 changes descriptor in word_cloud to Raw 2013-05-13 14:44:09 +03:00
Alexander Kryklia
6e46dc5447 correct calculation of percents 2013-05-13 14:44:09 +03:00
Alexander Kryklia
23802f873b add tests for percents and for total percents 2013-05-13 14:44:09 +03:00
Anto Stupak
116b07df6d word cloud: return percents. Attribute name is changed 2013-05-13 14:44:09 +03:00
Anto Stupak
0f83170d6f word cloud: return percents. Additional attribute and labels for text on hover are added 2013-05-13 14:44:08 +03:00
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
Chris Dodge
d95e87cf67 insert the textbook XML element when writing definition to xml 2013-05-11 10:34:36 -04:00
cahrens
fd52980a2d Option view, changes getting persisted. 2013-05-10 16:02:22 -04:00
Calen Pennington
ea859bd6c7 Filter out the template course from the mongo modulestore get_courses function 2013-05-09 16:22:23 -04:00