Commit Graph

10188 Commits

Author SHA1 Message Date
Tom Giannattasio
a0eefd1ea2 tweaked inline responses and new response toolbar 2012-09-11 10:59:40 -04:00
Kyle Fiedler
3fd640aef3 Removed display none for histogram 2012-09-11 10:22:03 -04:00
Tom Giannattasio
00156fd600 fixed textbook bug 2012-09-11 10:14:20 -04:00
Ibrahim Awwal
2d105265f9 Add @references for deeply nested (3+) comments. 2012-09-11 05:43:21 -07:00
Ibrahim Awwal
fc459f7e44 Displays deeply nested comments inline.
This just puts them in three traversal order rather than chronological order.
Not sure which makes the most sense, but I'll implement both ways.
2012-09-11 05:08:55 -07:00
Ibrahim Awwal
7e96f668c0 Render courseware context after creating a new post. 2012-09-11 04:28:24 -07:00
Ibrahim Awwal
ce16d22451 Fix anonymous posts on the inline discussion view. 2012-09-11 04:09:53 -07:00
Ibrahim Awwal
8b7940f413 Fixed context links after searching for real, and removed some more dead code. 2012-09-11 03:40:33 -07:00
Ibrahim Awwal
8f776ab2d8 Comment out some things which I am 99.9% sure are vestigial, which cuts
down on the amount of data shuffled around and saves some rendering time
on the forum index as well.
2012-09-11 02:02:15 -07:00
Ibrahim Awwal
b60feb164c Remove user_id from content renderer although I'm 99.9% sure this isn't
used anywhere anyway.
2012-09-11 01:51:16 -07:00
Ibrahim Awwal
9266ade9b6 Removed helpers.show_if.
I don't know why this was ever defined when python has a ternary operator
which doesn't require its arguments to be evaluated if the condition
evaluates to false, whereas this helper method does.
2012-09-11 01:49:43 -07:00
Ibrahim Awwal
fd6e30abfc Don't try to retrieve roles for anonymous posts. 2012-09-11 01:33:59 -07:00
Ibrahim Awwal
45ba58318f Hide usernames for anonymous posts. 2012-09-11 01:33:59 -07:00
Arjun Singh
a49b638027 Edit post works now. 2012-09-11 01:07:03 -07:00
Matthew Mongeau
79775c6ea8 Remove all number. Toggle search and dropdown. 2012-09-10 21:51:25 -07:00
Ibrahim Awwal
e3ef9993a0 Fix context for posts that don't have it. 2012-09-10 20:35:06 -07:00
Ibrahim Awwal
c2f741c392 Revert "Disable posting anonymously for now."
This reverts commit 6ee6e1c656.
2012-09-10 20:18:46 -07:00
Ibrahim Awwal
12dbdfa0f8 Removed some dead code and marked a method that I think is dead.
Related templates should probably also be deleted. I did this mainly
because it's confusing to have so many functions with similar names and
there's a lot of unused stuff from discussion v1.
2012-09-10 20:07:41 -07:00
Ibrahim Awwal
a8beb2a807 Add context link to threads rendered via AJAX. 2012-09-10 19:48:11 -07:00
ichuang
bffd9ac38d center histogram bars; pep8 2012-09-10 22:28:37 -04:00
Arjun Singh
ca8b299711 drop unread counts for now 2012-09-10 19:16:57 -07:00
ichuang
1f07bb0466 Merge branch 'master' of github.com:MITx/mitx into feature/ichuang/psychometrics 2012-09-10 22:03:08 -04:00
ichuang
56d44ec7f3 display_name may be empty (eg in tests) 2012-09-10 21:55:58 -04:00
ichuang
c6f794547f more tabs -> spaces 2012-09-10 21:45:38 -04:00
ichuang
d8c8c85041 tabs to spaces 2012-09-10 21:42:44 -04:00
ichuang
97a32e64ee fix tooltip titles in seq_module for non-new-xml-format courses 2012-09-10 21:33:54 -04:00
ichuang
e62e58dc6e log attempts in tracking 2012-09-10 20:33:56 -04:00
Ibrahim Awwal
0da2f60a5e [Fixes #35791223] Clear the WMD preview after posting a new post. 2012-09-10 17:29:34 -07:00
Ibrahim Awwal
96eb40384f Fix markdown in thread view. 2012-09-10 16:45:48 -07:00
kimth
bbfc875ff2 Merge branch 'master' into kimth/fix-dynamath-6002x 2012-09-10 19:45:14 -04:00
kimth
bd72fbdfd8 Allow textinputdynamath to specify its Mathjax preprocessor per-problem 2012-09-10 19:42:40 -04:00
Tom Giannattasio
5688cbf0f9 hid inline response toolbar due to lacking inline styles for the icons 2012-09-10 16:14:04 -07:00
Matthew Mongeau
6ee6e1c656 Disable posting anonymously for now. 2012-09-10 16:14:04 -07:00
Tom Giannattasio
d673b3bcf9 tweaked expanded style 2012-09-10 16:14:04 -07:00
Tom Giannattasio
cf998898bd tweaked new post modal styles 2012-09-10 16:14:03 -07:00
Arjun Singh
7fa68bcc80 Remove unused css class 2012-09-10 15:52:53 -07:00
Arjun Singh
7ad9b39b98 Merge master 2012-09-10 15:33:59 -07:00
kimth
971fe53dec Another step towards Javascriptinput-style script loading 2012-09-10 17:42:15 -04:00
Victor Shnayder
9266bcca6d fix stupid bug in textbook handling code 2012-09-10 17:42:01 -04:00
Ibrahim Awwal
042ab6d2ef Suppress underscore errors when not on the right page. Ideally page specific JS execution would take care of this. 2012-09-10 14:08:18 -07:00
ichuang
c1d92f9351 track psychometrics requests; add grade statistics, check for wrong
value of max_grade (something not right about StudentModule.max_grade)
2012-09-10 16:57:47 -04:00
kimth
9931b5ae3f Mimic javascriptinput displayClass 2012-09-10 16:20:06 -04:00
Ibrahim Awwal
259e6e46ad Fix discussion module
It worked in Chrome because Chrome appears to magically infer some missing
arguments to methods. This is the second time this happened, should be more
careful about it in the future, because it causes confusion when features
work for some students but not others.
2012-09-10 12:59:14 -07:00
Tom Giannattasio
19bd60e905 tightened dropdown topic name treatment 2012-09-10 12:23:47 -07:00
Matthew Mongeau
5e0913547f Add backbone checks. 2012-09-10 12:23:29 -07:00
kimth
5862d04b65 Set up mathjax_preprocessor 2012-09-10 15:16:40 -04:00
Tom Giannattasio
d0c2d31558 new show/hide button for inline discussions 2012-09-10 12:12:46 -07:00
Carlos Andrés Rocha
e55e1a99cb Fix django pipeline configuration for discussion forum coffescript includes 2012-09-10 12:12:31 -07:00
Tom Giannattasio
9c85be9d5e fixed show/hide glitch on inline discussion button 2012-09-10 12:12:07 -07:00
Tom Giannattasio
8b64dd6a27 new inline thread styles 2012-09-10 12:11:43 -07:00