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
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
Bridger Maxwell
5df381e728
Merge remote-tracking branch 'origin/master' into feature/bridger/course_grading
2012-09-11 13:37:54 -04:00
Ibrahim Awwal
7e96f668c0
Render courseware context after creating a new post.
2012-09-11 04:28:24 -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
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
Arjun Singh
a49b638027
Edit post works now.
2012-09-11 01:07:03 -07:00
Ibrahim Awwal
e3ef9993a0
Fix context for posts that don't have it.
2012-09-10 20:35:06 -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
ichuang
1f07bb0466
Merge branch 'master' of github.com:MITx/mitx into feature/ichuang/psychometrics
2012-09-10 22:03:08 -04:00
Arjun Singh
7ad9b39b98
Merge master
2012-09-10 15:33:59 -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
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
ichuang
2f2e71e0d1
add tracking log entries for modulestore reload
2012-09-09 21:08:31 -04:00
ichuang
ccbbb5a993
commit_id may be specified for modulestore reload - for multi-worker configs
...
also show pid in migration and instructor dashboard views for thread debugging
2012-09-09 19:39:11 -04:00
ichuang
31dd119e79
settings.DATABASE_FOR_PSYCHOMETRICS overrides db for psychometrics
2012-09-09 17:50:11 -04:00
ichuang
0bf85992da
psychometrics djangoapp
2012-09-08 22:32:28 -04:00
ichuang
ab0a58fb7a
add psychometrics - grade histograms, check time diffs, and IRT plots
2012-09-08 22:31:45 -04:00
Bridger Maxwell
87da104974
Changes to speed up the progress summary too.
2012-09-08 01:09:42 -04:00
Bridger Maxwell
3baf92a849
Changed course grading to avoid initing capa modules.
2012-09-08 00:26:16 -04:00
David Ormsbee
db0549be78
Merge pull request #594 from MITx/feature/ibrahim/discussion_distinguish_instructors
...
Feature/ibrahim/discussion distinguish instructors
2012-09-07 06:52:15 -07:00
David Ormsbee
b276d8b4b1
Changes as per cpennington's code review
2012-09-07 09:47:13 -04:00
David Ormsbee
8312ddf01d
Merge pull request #629 from MITx/feature/victor/save-course-position
...
Feature/victor/save course position
2012-09-07 06:42:48 -07:00
Victor Shnayder
1e94ff19f3
remove debuging log message
2012-09-07 08:20:59 -04:00
Ibrahim Awwal
b2f3eee93b
Pagination in inline discussion views.
2012-09-07 03:37:19 -07:00
Ibrahim Awwal
c3e3fee963
Convert expand/collapse into buttons and change default sort order to date. Buttons should be styled better but I don't know how to do it.
2012-09-06 23:37:43 -07:00
Victor Shnayder
048dea0eff
make test course loading deterministic by using course_id
2012-09-06 16:38:33 -04:00
Victor Shnayder
02ddeed72a
better error handling in index view
2012-09-06 16:24:59 -04:00
Victor Shnayder
d4c0516c8b
another attempt to see what's broken on jenkins
2012-09-06 14:41:09 -04:00
Victor Shnayder
6ab80fb4a8
debug msg to diagnose jenkins
2012-09-06 12:06:51 -04:00
Victor Shnayder
f44898677a
Allow course info and course about pages to vary per-run
...
* looks in about/{course.url_name}/ first, then in about/
* same for info/
2012-09-06 11:17:55 -04:00
Victor Shnayder
91d0fe8a1b
extend test to cover first-chapter state
2012-09-06 10:25:56 -04:00
Ibrahim Awwal
00a6526fd0
Make voting render properly in inline discussions. Also might have fixed
...
following if it wasn't working before.
2012-09-05 17:58:18 -07:00
kimth
d3cd85d81f
Merge pull request #627 from MITx/feature/kfiedler/problems
...
Style changes to problems
2012-09-05 16:06:16 -07:00
Victor Shnayder
7c34b02e3b
use a NoFollow redirect check
2012-09-05 17:25:16 -04:00
Victor Shnayder
5738a8cdbb
update tests
2012-09-05 16:15:53 -04:00
Victor Shnayder
c354a120d8
Track accordion state:
...
- on first visit to courseware, go straight to first section of first chapter
- after, clicking on courseware tab sends you most recent chapter, with a link to the most recent section
(not to section because that might be confusing, and you might want to do something else (e.g. do homework instead of watch videos)
- Moved course errors into instructor tab.
2012-09-05 16:15:53 -04:00
Victor Shnayder
4481adb041
Track current chapter.
...
- courseware index view now redirects to most recent chapter, or first
- simplify the view a bit
2012-09-05 16:15:53 -04:00
Victor Shnayder
d0fcbdda8c
convert answers to strings to make sure they're hashable
2012-09-05 16:00:04 -04:00
Calen Pennington
4088ac5428
Isolate manual git reload behind a feature flag
2012-09-05 15:16:40 -04:00
Kyle Fiedler
8a5e872c8f
Removed a bunch of font tags
2012-09-05 14:24:12 -04:00
Victor Shnayder
a8cd4633c0
remove debugging statements
2012-09-05 13:46:15 -04:00
Victor Shnayder
f04cd838e5
Integrate csv export of answer distributions with Ike's sweet dashboard
2012-09-05 13:40:29 -04:00
Victor Shnayder
c89031b077
Export of answer distibutions to csv
...
- go through all students, all of their problems, save count for each answer
- return csv
- url exists, but no links to it yet
- Will need to integrate with Ike's new dashboard code
2012-09-05 13:40:29 -04:00