Commit Graph

5543 Commits

Author SHA1 Message Date
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
91d0fe8a1b extend test to cover first-chapter state 2012-09-06 10:25:56 -04: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
6cfe52680b Fix XModule __unicode__ method
- was referencing no-longer-present attributes
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
cd6b21472d Merge pull request #628 from MITx/feature/cale/manual-git-reload-feature-flag
Isolate manual git reload behind a feature flag
2012-09-05 12:29:31 -07:00
Calen Pennington
4088ac5428 Isolate manual git reload behind a feature flag 2012-09-05 15:16:40 -04:00
Calen Pennington
579544ec6a Merge pull request #626 from MITx/feature/victor/answer-export
Feature/victor/answer export
2012-09-05 11:04:34 -07: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
Calen Pennington
7702907662 Make module system handle not having a user, and pass a user in when previewing in the cms 2012-09-05 13:29:30 -04:00
Calen Pennington
82c877c036 Merge pull request #598 from MITx/kimth/solutions
Let admins see answers of problems at any time
2012-09-05 08:24:45 -07:00
Calen Pennington
5a137cf3ec Merge pull request #625 from MITx/feature/ichuang/fix-force-univ-domain
fix FORCE_UNIVERSITY_DOMAIN check in student.views
2012-09-05 08:22:24 -07:00
Calen Pennington
8c301e04ae Merge pull request #614 from MITx/feature/arjun/fix_customresponse_msg
Clean up customresponse messages + points
2012-09-05 08:20:54 -07:00
ichuang
34ea1e0b95 fix FORCE_UNIVERSITY_DOMAIN check in student.views 2012-09-05 11:19:02 -04:00
Calen Pennington
a0608df706 Merge pull request #621 from MITx/feature/victor/fewer-xml-warnings
Remove lots of loud warnings about duplicate url names for things which ...
2012-09-05 08:17:02 -07:00
Calen Pennington
2f3f9e5ce9 Merge pull request #624 from MITx/rocha/master
Cleanup of 'About Course' page link to its Courseware
2012-09-05 08:15:33 -07:00
Calen Pennington
54e8819fb1 Merge pull request #615 from MITx/feature/ichuang/instructor-dashboard-upgrade
Upgrade to instructor dashboard
2012-09-05 08:03:55 -07:00
Carlos Andrés Rocha
2d42c91b9d Cleanup of 'About Course' page link to its Courseware 2012-09-05 10:22:36 -04:00
Calen Pennington
4d2983cb99 Merge pull request #587 from MITx/feature/victor/forum-anon-user-500
Add some rudimentary error checking to forum views
2012-09-05 06:21:46 -07:00
kimth
46389550f7 Merge pull request #623 from MITx/feature/dave/courseware_button_fix
Quick fix for prod issue -- making view courseware link from course abou...
2012-09-05 05:21:27 -07:00
David Ormsbee
44722e86e1 Quick fix for prod issue -- making view courseware link from course about page always work. 2012-09-05 08:20:06 -04:00
ichuang
d56d235fc9 minor change to create_user command, don't fail on kerberos lookup failure 2012-09-04 23:02:51 -04:00
David Ormsbee
319e6260d0 Upped the number of threads per discussion page to 8, per Tony's request. 2012-09-04 21:11:34 -04:00
David Ormsbee
f26dae1a9f Merge pull request #622 from MITx/rocha/master
[#35491529] Small corrections to OpenID provider login page
2012-09-04 17:58:11 -07:00
Carlos Andrés Rocha
0f1db7969d [#35491529] Small corrections to OpenID provider login page 2012-09-04 20:53:51 -04:00
ichuang
566b9694c4 revert inadvertent change to course.html 2012-09-04 19:47:37 -04:00
ichuang
5c90ec19d9 clarify that /gitreload is behind ENABLE_LMS_MIGRATION in docs 2012-09-04 19:08:28 -04:00
ichuang
98eb764525 cleaned up instructor dashboard CSV unit test code, per https://github.com/MITx/mitx/pull/615 2012-09-04 18:56:49 -04:00
ichuang
0c3d054253 fix: university domain should not be determined by HTTP_HOST for dev or behind proxy 2012-09-04 18:36:26 -04:00
ichuang
4cbdf90d5e cleaned up access.py - now has _has_instructor_access_to_loation 2012-09-04 18:26:22 -04:00
Victor Shnayder
c23b31c6ee Remove lots of loud warnings about duplicate url names for things which don't store state, and have the same hash.
- should make 6.002 discussion tags happier
2012-09-04 16:20:39 -04:00
ichuang
d643057052 count all types of modules, not just childless ones 2012-09-04 11:21:18 -04:00
ichuang
4f8161df84 address two comments in https://github.com/MITx/mitx/pull/615 2012-09-04 11:10:22 -04:00
David Ormsbee
41b5e5b81f Merge pull request #619 from MITx/feature/arjun/generalize_show
Make show answer work for choiceresponse + javascriptinputs
2012-09-04 07:49:02 -07:00
ichuang
258274f2a7 add string to model class unicode 2012-09-04 10:25:28 -04:00
Arjun Singh
93ed042786 Make show answer work for choicegroups + javascriptinputs 2012-09-03 19:37:48 -07:00
ichuang
520d5620d0 more general catch for gunicorn sync error 2012-09-03 20:37:33 -04:00
ichuang
dbeca659bd suppress gunicorn error which is being caught by errortracker. The
gunicorn error is of this form:

Traceback (most recent call last):
  File "/home/ike/mitx_all/python/local/lib/python2.7/site-packages/gunicorn/workers/sync.py", line 33, in run
    client, addr = self.socket.accept()
  File "/usr/lib/python2.7/socket.py", line 202, in accept
    sock, addr = self._sock.accept()
error: [Errno 11] Resource temporarily unavailable
2012-09-03 20:32:07 -04:00
ichuang
a973c1c21e use module.descriptor.start for start date in xmodule_modifiers 2012-09-03 16:49:55 -04:00
ichuang
02d58a7ca2 display course load error messages on modulestore reload by instructor 2012-09-03 16:49:34 -04:00
David Ormsbee
999343d641 Merge pull request #618 from MITx/feature/victor/hide-progress-tab
Feature/victor/hide progress tab
2012-09-03 11:40:35 -07:00
Victor Shnayder
f926925ca6 Add a hide_progress_tab course policy flag
- for internal cs50 until we have grade integration set up (only really needed for external version)
2012-09-03 14:12:43 -04:00
Victor Shnayder
79109a6244 Apply attr_map translation to metadata loaded from policy file as well as from xml. 2012-09-03 13:51:20 -04:00