Tom Giannattasio
ffd60fbd7e
added margin to tags
2012-09-13 11:19:57 -04:00
Tom Giannattasio
cb1db86100
additional margins for thread-tags
2012-09-13 11:01:42 -04:00
Tom Giannattasio
6e217b315d
added conditional to render tags wrapper only if there are tags
2012-09-13 10:59:47 -04:00
Tom Giannattasio
3496e4ee05
added sidebar load more styles
2012-09-13 10:47:50 -04:00
Tom Giannattasio
a152041ef8
fixed inline thread replace error
2012-09-13 10:25:10 -04:00
Tom Giannattasio
85abb71398
styles for inline comment count
2012-09-13 10:13:49 -04:00
Tom Giannattasio
b3335ec551
brought vote button back to collapsed inline discussions
2012-09-13 10:08:31 -04:00
Ibrahim Awwal
aa6e878626
Fix repeated edits on inline threads.
2012-09-13 05:50:43 -07:00
Ibrahim Awwal
b03bcae4a2
Re expand thread if edit is canceled.
...
Should rework how inline threads are expanded/collapsed a little so that this kind of
thing is not needed.
2012-09-13 05:45:32 -07:00
Ibrahim Awwal
5fd45a50bc
Enable editing for inline threads.
...
Currently there's a bug where editing more than once without reloading the page
causes it to successively get more and more broken.
2012-09-13 05:36:46 -07:00
Ibrahim Awwal
30b4918e77
Fix tags updating after editing a post.
2012-09-13 04:14:19 -07:00
Ibrahim Awwal
62b047f3c2
Refactored DiscussionThreadInlineView to inherit from DiscussionThreadView and
...
use subviews for rendering. Functionality should be the same. Changed a few things
in DiscussionThreadView to make this a little easier.
2012-09-13 03:11:30 -07:00
Ibrahim Awwal
58fc3eca12
Fix staff markers for inline threads and double staff markers for threads with deeply nested comments.
2012-09-13 02:20:35 -07:00
Ibrahim Awwal
d9018658b7
Remove whitespace around post body in edit template.
...
Extra spaces actually get added to a post when activating a WMD editor which can
get saved into the post if you click update.
2012-09-13 00:13:34 -07:00
Ibrahim Awwal
8c9febe549
Add quotes to fix thread editor title bug.
2012-09-12 20:55:55 -07:00
Ibrahim Awwal
712e59a68d
Merge branch 'feature/arjun/new-discussions' of github.com:MITx/mitx into feature/arjun/new-discussions
...
Conflicts:
lms/djangoapps/django_comment_client/forum/views.py
lms/static/sass/_discussion.scss
2012-09-12 15:18:34 -07:00
Ibrahim Awwal
9a0798b68f
Remove old backbone views (the last place they were being used was the profile page).
2012-09-12 15:16:44 -07:00
Ibrahim Awwal
b4828db1e3
User profile page redone to act like the inline discussion, except threads are
...
loaded into the page in a data attribute instead of loaded on request via ajax.
The user profile page also does not provide facilities for adding
comments/responses, which I think would clutter the page too much.
Also removed some unused stuff from views.py.
2012-09-12 15:16:35 -07:00
Matthew Mongeau
ba56afae7c
Clear search when clicking topic dropdown.
2012-09-12 16:57:19 -04:00
Matthew Mongeau
d425f525b8
Display tags.
2012-09-12 16:43:52 -04:00
Tom Giannattasio
1d71a2cfbd
tweaked usernames so they were more prominent throughout
2012-09-12 13:40:11 -04:00
Carlos Andrés Rocha
18b5a1f5a2
Temporary fix to get the discussion profile page rendering
2012-09-12 13:20:04 -04:00
Matthew Mongeau
1a402f7fda
Mark responses and comments as staff
2012-09-12 11:09:36 -04:00
Tom Giannattasio
d1292949be
fixed spinner positioning on inline discussions
2012-09-12 11:03:18 -04:00
Tom Giannattasio
9ef83b0ca5
edit post style clean up
2012-09-12 10:19:25 -04:00
Tom Giannattasio
7098b2e658
cleaned up loading animation in post-list
2012-09-12 10:07:16 -04:00
Tom Giannattasio
87dcd07112
delayed appearance of spinner in thread so things are less jumpy
2012-09-12 10:07:16 -04:00
Tom Giannattasio
d88de52181
fixed jump to top on browse buttons
2012-09-12 09:41:34 -04:00
Tom Giannattasio
ff94541e40
tweaked inline hide/show and new post buttons
2012-09-12 09:41:34 -04:00
Arjun Singh
452414da37
Kill requests for loading responses when selecting another thread. This ensures that the thread you're viewing has the right responses loaded.
2012-09-12 06:13:46 -07:00
Arjun Singh
a900998145
Fix anonymity leak; fix editing when rendering from main page.
2012-09-12 04:32:32 -07:00
Ibrahim Awwal
3bc9c7496c
Update discussion setup instructions to clarify that you need to specify a
...
course id for seed_permissions_roles, and also the script itself to tell you that.
2012-09-11 19:15:18 -07:00
Ibrahim Awwal
1be378e697
Render comment replies properly, and update them after receiving a response.
2012-09-11 14:31:03 -07:00
Ibrahim Awwal
a91a5df499
Use regular javascript attributes for parent reference rather than setting
...
Backbone.Model attributes because Model attributes get serialized into
JSON which is wasteful.
2012-09-11 13:57:51 -07:00
Ibrahim Awwal
f97d4fe983
Add @login_required to forum views so that they redirect to a login page if you're not logged in.
2012-09-11 13:41:30 -07:00
Ibrahim Awwal
2c6c64d533
Sort comment replies in chronological order, keeping the parent references.
2012-09-11 13:12:01 -07:00
Carlos Andrés Rocha
2900c169cc
Load inline comments templates at render time and not during page load
2012-09-11 15:58:16 -04:00
Matthew Mongeau
f4ba65c5d5
Show and hide search correctly. Added loading icon.
2012-09-11 13:30:00 -04:00
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