Commit Graph

5853 Commits

Author SHA1 Message Date
Tom Giannattasio
a0eefd1ea2 tweaked inline responses and new response toolbar 2012-09-11 10:59:40 -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
Arjun Singh
ca8b299711 drop unread counts for now 2012-09-10 19:16:57 -07: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
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
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
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
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
Tom Giannattasio
5841bdcef0 tweaking loading animation so that it removes more smoothly 2012-09-10 12:11:01 -07:00
Arjun Singh
aa7af4e6fe Make thread view with subview work 2012-09-10 11:40:52 -07:00
Calen Pennington
317e2c345e Add autodeploy properties task to rakefile 2012-09-10 11:37:02 -04:00
Calen Pennington
669c2f60d6 Merge pull request #651 from MITx/feature/victor/proper-404s
Feature/victor/proper 404s
2012-09-10 08:01:06 -07:00
Calen Pennington
cbda5fab66 Merge pull request #652 from MITx/feature/victor/catch-s3-errors
don't break courseware if S3 is unreachable
2012-09-10 07:57:55 -07:00
Victor Shnayder
779f865691 remove check-for-404 hack from tests now that we get real 404s 2012-09-10 10:49:12 -04:00
Victor Shnayder
814cd56034 return proper error codes for 404 and 500 errors 2012-09-10 10:38:17 -04:00
Victor Shnayder
bff8cd4e4e don't break courseware if S3 is unreachable 2012-09-10 10:10:25 -04:00
Arjun Singh
80a9620a84 Merge branch 'feature/tomg/new-discussions' of github.com:MITx/mitx into feature/tomg/new-discussions 2012-09-07 14:20:03 -10:00
Tom Giannattasio
4f4f35f59e prevent defaults added 2012-09-07 17:04:06 -04:00
Calen Pennington
b85fefe61a Fixing tests that were failing to due static content directory change 2012-09-07 17:02:00 -04:00
Tom Giannattasio
891a223f72 tweaked styling of inline pagination 2012-09-07 16:50:32 -04:00
Calen Pennington
b27802b319 Merge pull request #604 from MITx/feature/cale/content-static-dir
Set the course static file dir to /static directories in course repos if...
2012-09-07 13:50:21 -07:00
Tom Giannattasio
a0c887cd5f new inline post styles 2012-09-07 16:24:25 -04:00
Arjun Singh
9d222469fa Merge branch 'feature/tomg/new-discussions' of github.com:MITx/mitx into feature/tomg/new-discussions 2012-09-07 10:22:15 -10:00